Skip to content

Commit

Permalink
Add bulk upsert (#87)
Browse files Browse the repository at this point in the history
* added bulk

* rebuild

* fixed action.yml

* fixed validation logic

* test bulk operation

* test bulk operation

* test bulk operation

* beautify test input

* fixed cr comment
  • Loading branch information
danielsinai authored Mar 8, 2023
1 parent 90d7a6c commit f496e3e
Show file tree
Hide file tree
Showing 10 changed files with 5,495 additions and 6,623 deletions.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
description: 'Client secret'
operation:
required: true
description: 'One of the following operations: GET, UPSERT, SEARCH'
description: 'One of the following operations: GET, UPSERT, SEARCH, BULK_UPSERT'
default: 'UPSERT'
query:
required: false
Expand Down Expand Up @@ -44,9 +44,14 @@ inputs:
runId:
required: false
description: 'The Port action run id that performed the changes to the catalog'
entities:
required: false
description: 'The entities to be used for BULK_UPSERT operation'
outputs:
identifier:
description: 'The identifier of the created entity'
identifiers:
description: 'When using BULK_UPSERT operation, this is the identifiers array output'
entity:
description: 'The full JSON string entity'
entities:
Expand Down
Loading

0 comments on commit f496e3e

Please sign in to comment.