Skip to content

Commit

Permalink
Merge pull request #135 from pagopa/PAGOPA-2017
Browse files Browse the repository at this point in the history
[PAGOPA-2017] chore: Upgrade ExtensionBundle
  • Loading branch information
jacopocarlini authored Aug 22, 2024
2 parents 96383b5 + 60803d3 commit 501891b
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: pagopareceiptpdfdatastore
description: Microservice description
type: application
version: 0.117.0
appVersion: 1.13.2
version: 0.119.0
appVersion: 1.13.2-2-PAGOPA-2017
dependencies:
- name: microservice-chart
version: 2.4.0
Expand Down
2 changes: 1 addition & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-receipt-pdf-datastore
tag: "1.13.2"
tag: "1.13.2-2-PAGOPA-2017"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-receipt-pdf-datastore
tag: "1.13.2"
tag: "1.13.2-2-PAGOPA-2017"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-receipt-pdf-datastore
tag: "1.13.2"
tag: "1.13.2-2-PAGOPA-2017"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
livenessProbe:
Expand Down
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
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@

<groupId>it.gov.pagopa.receipt</groupId>
<artifactId>receipt-pdf-datastore</artifactId>
<version>1.13.2</version>
<version>1.13.2-2-PAGOPA-2017</version>
<packaging>jar</packaging>

<name>pagopa-receipt-pdf-datastore</name>

<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 Expand Up @@ -245,7 +245,7 @@
<appSettings>
<property>
<name>FUNCTIONS_EXTENSION_VERSION</name>
<value>~3</value>
<value>~4</value>
</property>
</appSettings>
<resourceGroup>java-functions-group</resourceGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ public void processBizEventToReceipt(
@CosmosDBTrigger(
name = "BizEventDatastore",
databaseName = "db",
collectionName = "biz-events",
leaseCollectionName = "biz-events-leases",
leaseCollectionPrefix = "materialized",
createLeaseCollectionIfNotExists = true,
containerName = "biz-events",
leaseContainerName = "biz-events-leases",
leaseContainerPrefix = "materialized",
createLeaseContainerIfNotExists = true,
maxItemsPerInvocation = 100,
connectionStringSetting = "COSMOS_BIZ_EVENT_CONN_STRING")
connection = "COSMOS_BIZ_EVENT_CONN_STRING")
List<BizEvent> items,
@CosmosDBOutput(
name = "ReceiptDatastore",
databaseName = "db",
collectionName = "receipts",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
containerName = "receipts",
connection = "COSMOS_RECEIPTS_CONN_STRING")
OutputBinding<List<Receipt>> documentdb,
final ExecutionContext context) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,22 @@ public void run(
@CosmosDBTrigger(
name = "CartReceiptDatastore",
databaseName = "db",
collectionName = "cart-for-receipts",
leaseCollectionName = "cart-for-receipts-leases",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING",
createLeaseCollectionIfNotExists = true)
containerName = "cart-for-receipts",
leaseContainerName = "cart-for-receipts-leases",
connection = "COSMOS_RECEIPTS_CONN_STRING",
createLeaseContainerIfNotExists = true)
List<CartForReceipt> listCartForReceipt,
@CosmosDBOutput(
name = "ReceiptDatastore",
databaseName = "db",
collectionName = "receipts",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
containerName = "receipts",
connection = "COSMOS_RECEIPTS_CONN_STRING")
OutputBinding<List<Receipt>> receiptDocumentdb,
@CosmosDBOutput(
name = "CartReceiptDatastoreOutput",
databaseName = "db",
collectionName = "cart-for-receipts",
connectionStringSetting = "COSMOS_RECEIPTS_CONN_STRING")
containerName = "cart-for-receipts",
connection = "COSMOS_RECEIPTS_CONN_STRING")
OutputBinding<List<CartForReceipt>> cartForReceiptDocumentdb,
final ExecutionContext context
) {
Expand Down

0 comments on commit 501891b

Please sign in to comment.