Skip to content

Commit

Permalink
[PAGOPA-2017] chore: Upgrade ExtensionBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-ang committed Aug 21, 2024
1 parent 5d87beb commit 5fb3ab9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion host.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[2.*, 3.0.0)"
"version": "[4.0.0, 5.0.0)"
},
"extensions": {
"http": {
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<azure.functions.maven.plugin.version>1.15.0</azure.functions.maven.plugin.version>
<azure.functions.java.library.version>1.4.2</azure.functions.java.library.version>
<azure.functions.maven.plugin.version>1.27.0</azure.functions.maven.plugin.version>
<azure.functions.java.library.version>3.1.0</azure.functions.java.library.version>
<functionAppName>com.microsoft.azure-20220215182005862</functionAppName>
<resteasy.version>3.15.3.Final</resteasy.version>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public void processNotifierRetry(
@CosmosDBOutput(
name = "ReceiptOutputDatastore",
databaseName = "db",
collectionName = "receipts",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
containerName = "receipts",
connection = "COSMOS_RECEIPTS_CONN_STRING")
OutputBinding<List<Receipt>> documentReceipts,
final ExecutionContext context
) throws JsonProcessingException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,24 @@ public void processReceiptToIO(
@CosmosDBTrigger(
name = "ReceiptInputDatastore",
databaseName = "db",
collectionName = "receipts",
leaseCollectionName = "receipts-leases",
leaseCollectionPrefix = "materialized",
createLeaseCollectionIfNotExists = true,
containerName = "receipts",
leaseContainerName = "receipts-leases",
leaseContainerPrefix = "materialized",
createLeaseContainerIfNotExists = true,
maxItemsPerInvocation = 300,
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
connection = "COSMOS_RECEIPTS_CONN_STRING")
List<Receipt> listReceipts,
@CosmosDBOutput(
name = "ReceiptOutputDatastore",
databaseName = "db",
collectionName = "receipts",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
containerName = "receipts",
connection = "COSMOS_RECEIPTS_CONN_STRING")
OutputBinding<List<Receipt>> documentReceipts,
@CosmosDBOutput(
name = "IoMessageDatastore",
databaseName = "db",
collectionName = "receipts-io-messages",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
containerName = "receipts-io-messages",
connection = "COSMOS_RECEIPTS_CONN_STRING")
OutputBinding<List<IOMessage>> documentMessages,
final ExecutionContext context
) {
Expand Down

0 comments on commit 5fb3ab9

Please sign in to comment.