Skip to content

Commit

Permalink
Merge pull request #100 from pagopa/PAGOPA-2017
Browse files Browse the repository at this point in the history
[PAGOPA-2017] chore: Upgrade ExtensionBundle
  • Loading branch information
cap-ang authored Aug 22, 2024
2 parents 94186e4 + a1f8d9f commit 2172ac1
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 22 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: pagopareceiptpdfnotifier
description: Microservice description
type: application
version: 0.87.0
appVersion: 0.12.4
version: 0.88.0
appVersion: 0.12.4-1-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-notifier
tag: "0.12.4"
tag: "0.12.4-1-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-notifier
tag: "0.12.4"
tag: "0.12.4-1-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-notifier
tag: "0.12.4"
tag: "0.12.4-1-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
5 changes: 4 additions & 1 deletion openapi/openapi-spec.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
swagger: '2.0'
info:
version: 0.12.4
version: 0.12.4-1-PAGOPA-2017
title: IO API for Public Administration Services
contact:
name: PagoPA S.p.A.
Expand Down Expand Up @@ -107,6 +107,7 @@ info:
* A required `subject`: a short description of the topic.
Expand Down Expand Up @@ -202,6 +203,7 @@ info:
* Headings
Expand Down Expand Up @@ -286,6 +288,7 @@ info:
1. Call [getProfile](#operation/getProfile): if the profile does not exist
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.project</groupId>
<artifactId>pagopa-receipt-pdf-notifier</artifactId>
<version>0.12.4</version>
<version>0.12.4-1-PAGOPA-2017</version>
<packaging>jar</packaging>

<name>pagopa-receipt-pdf-notifier</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 @@ -263,7 +263,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 @@ -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 2172ac1

Please sign in to comment.