Skip to content

Commit

Permalink
[PAGOPA-2017] chore
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-ang committed Aug 26, 2024
1 parent d1e8f92 commit 48bad7d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ public void processGenerateReceipt(
@CosmosDBOutput(
name = "ReceiptDatastore",
databaseName = "db",
collectionName = "receipts",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
containerName = "receipts",
connection = "COSMOS_RECEIPTS_CONN_STRING")
OutputBinding<Receipt> documentdb,
final ExecutionContext context) throws BizEventNotValidException, ReceiptNotFoundException, IOException {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ public void processManageReceiptPoisonQueue(
@CosmosDBOutput(
name = "ReceiptDatastore",
databaseName = "db",
collectionName = "receipts",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
containerName = "receipts",
connection = "COSMOS_RECEIPTS_CONN_STRING")
OutputBinding<Receipt> receiptsOutputBinding,
@CosmosDBOutput(
name = "ReceiptMessageErrorsDatastore",
databaseName = "db",
collectionName = "receipts-message-errors",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
containerName = "receipts-message-errors",
connection = "COSMOS_RECEIPTS_CONN_STRING")
OutputBinding<ReceiptError> receiptErrorOutputBinding,
final ExecutionContext context) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@ public void processRetryReviewedPoisonMessages(
@CosmosDBTrigger(
name = "ReceiptErrorDatastore",
databaseName = "db",
collectionName = "receipts-message-errors",
leaseCollectionName = "receipts-message-errors-leases",
leaseCollectionPrefix = "materialized",
createLeaseCollectionIfNotExists = true,
containerName = "receipts-message-errors",
leaseContainerName = "receipts-message-errors-leases",
leaseContainerPrefix = "materialized",
createLeaseContainerIfNotExists = true,
maxItemsPerInvocation = 100,
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
connection = "COSMOS_RECEIPTS_CONN_STRING")
List<ReceiptError> items,
@CosmosDBOutput(
name = "ReceiptMessageErrorsDatastoreOutput",
databaseName = "db",
collectionName = "receipts-message-errors",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
containerName = "receipts-message-errors",
connection = "COSMOS_RECEIPTS_CONN_STRING")
OutputBinding<List<ReceiptError>> documentdb,
final ExecutionContext context) {

Expand Down

0 comments on commit 48bad7d

Please sign in to comment.