diff --git a/helm/Chart.yaml b/helm/Chart.yaml
index 33504dc..9247c2d 100644
--- a/helm/Chart.yaml
+++ b/helm/Chart.yaml
@@ -2,8 +2,8 @@ apiVersion: v2
name: pagopa-print-payment-notice-generator
description: Microservice that handles services for notice print generation
type: application
-version: 0.23.0
-appVersion: 0.2.10
+version: 0.24.0
+appVersion: 0.2.11
dependencies:
- name: microservice-chart
version: 5.9.0
diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml
index 0eb9dfb..ed0e0bb 100644
--- a/helm/values-dev.yaml
+++ b/helm/values-dev.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: "print-payment-notice-generator"
image:
repository: ghcr.io/pagopa/pagopa-print-payment-notice-generator
- tag: "0.2.10"
+ tag: "0.2.11"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml
index d62752d..aac3110 100644
--- a/helm/values-prod.yaml
+++ b/helm/values-prod.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: "print-payment-notice-generator"
image:
repository: ghcr.io/pagopa/pagopa-print-payment-notice-generator
- tag: "0.2.10"
+ tag: "0.2.11"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml
index 1e80d19..9148643 100644
--- a/helm/values-uat.yaml
+++ b/helm/values-uat.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: "print-payment-notice-generator"
image:
repository: ghcr.io/pagopa/pagopa-print-payment-notice-generator
- tag: "0.2.10"
+ tag: "0.2.11"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/openapi/openapi.json b/openapi/openapi.json
index 8dbaa71..27f38ba 100644
--- a/openapi/openapi.json
+++ b/openapi/openapi.json
@@ -1,251 +1,279 @@
{
- "openapi" : "3.0.1",
- "info" : {
- "description" : "PagoPA Print Payment Notices Generator",
- "termsOfService" : "https://www.pagopa.gov.it/",
- "title" : "pagopa-print-payment-notice-generator",
- "version" : "0.2.9"
+ "openapi": "3.0.1",
+ "info": {
+ "description": "PagoPA Print Payment Notices Generator",
+ "termsOfService": "https://www.pagopa.gov.it/",
+ "title": "pagopa-print-payment-notice-generator",
+ "version": "0.2.11"
},
- "servers" : [ {
- "url" : "http://localhost",
- "description" : "Generated server url"
- } ],
- "paths" : {
- "/notices/generate" : {
- "parameters" : [ {
- "description" : "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.",
- "in" : "header",
- "name" : "X-Request-Id",
- "schema" : {
- "type" : "string"
+ "servers": [
+ {
+ "url": "http://localhost",
+ "description": "Generated server url"
+ }
+ ],
+ "paths": {
+ "/notices/generate": {
+ "parameters": [
+ {
+ "description": "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.",
+ "in": "header",
+ "name": "X-Request-Id",
+ "schema": {
+ "type": "string"
+ }
}
- } ],
- "post" : {
- "operationId" : "generateNotice",
- "parameters" : [ {
- "in" : "query",
- "name" : "folderId",
- "required" : false,
- "schema" : {
- "type" : "string"
+ ],
+ "post": {
+ "operationId": "generateNotice",
+ "parameters": [
+ {
+ "in": "query",
+ "name": "folderId",
+ "required": false,
+ "schema": {
+ "type": "string"
+ }
}
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/NoticeGenerationRequestItem"
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NoticeGenerationRequestItem"
}
}
},
- "required" : true
+ "required": true
},
- "responses" : {
- "200" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string",
- "format" : "binary"
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string",
+ "format": "binary"
}
}
},
- "description" : "OK",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "description": "OK",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
}
},
- "tags" : [ "Notice Generation APIs" ]
+ "tags": [
+ "Notice Generation APIs"
+ ]
}
}
},
- "components" : {
- "schemas" : {
- "CreditorInstitution" : {
- "required" : [ "appChannel", "taxCode", "webChannel" ],
- "type" : "object",
- "properties" : {
- "appChannel" : {
- "type" : "boolean",
- "description" : "Boolean to refer if it has a app channel"
- },
- "cbill" : {
- "type" : "string",
- "description" : "CI cbill"
- },
- "fullName" : {
- "type" : "string",
- "description" : "CI full name"
- },
- "info" : {
- "type" : "string",
- "description" : "CI info"
- },
- "logo" : {
- "type" : "string"
- },
- "organization" : {
- "type" : "string",
- "description" : "CI Organization"
- },
- "physicalChannel" : {
- "type" : "string",
- "description" : "CI physical channel data"
- },
- "posteAccountNumber" : {
- "type" : "string",
- "description" : "Poste account number"
- },
- "posteAuth" : {
- "type" : "string",
- "description" : "Installment poste auth code"
- },
- "taxCode" : {
- "type" : "string",
- "description" : "CI tax code"
- },
- "webChannel" : {
- "type" : "boolean",
- "description" : "Boolean to refer if it has a web channel"
+ "components": {
+ "schemas": {
+ "CreditorInstitution": {
+ "required": [
+ "appChannel",
+ "taxCode",
+ "webChannel"
+ ],
+ "type": "object",
+ "properties": {
+ "appChannel": {
+ "type": "boolean",
+ "description": "Boolean to refer if it has a app channel"
+ },
+ "cbill": {
+ "type": "string",
+ "description": "CI cbill"
+ },
+ "fullName": {
+ "type": "string",
+ "description": "CI full name"
+ },
+ "info": {
+ "type": "string",
+ "description": "CI info"
+ },
+ "logo": {
+ "type": "string"
+ },
+ "organization": {
+ "type": "string",
+ "description": "CI Organization"
+ },
+ "physicalChannel": {
+ "type": "string",
+ "description": "CI physical channel data"
+ },
+ "posteAccountNumber": {
+ "type": "string",
+ "description": "Poste account number"
+ },
+ "posteAuth": {
+ "type": "string",
+ "description": "Installment poste auth code"
+ },
+ "taxCode": {
+ "type": "string",
+ "description": "CI tax code"
+ },
+ "webChannel": {
+ "type": "boolean",
+ "description": "Boolean to refer if it has a web channel"
}
},
- "description" : "Creditor Institution data"
+ "description": "Creditor Institution data"
},
- "Debtor" : {
- "required" : [ "address", "buildingNumber", "city", "fullName", "postalCode", "province" ],
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "Debtor address"
- },
- "buildingNumber" : {
- "type" : "string",
- "description" : "Debtor building number"
- },
- "city" : {
- "type" : "string",
- "description" : "Debtor city"
- },
- "fullName" : {
- "type" : "string",
- "description" : "Debtor full name"
- },
- "postalCode" : {
- "type" : "string",
- "description" : "Debtor postal code"
- },
- "province" : {
- "type" : "string",
- "description" : "Debtor province"
- },
- "taxCode" : {
- "type" : "string",
- "description" : "Debtor taxCode"
+ "Debtor": {
+ "required": [
+ "address",
+ "buildingNumber",
+ "city",
+ "fullName",
+ "postalCode",
+ "province"
+ ],
+ "type": "object",
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "Debtor address"
+ },
+ "buildingNumber": {
+ "type": "string",
+ "description": "Debtor building number"
+ },
+ "city": {
+ "type": "string",
+ "description": "Debtor city"
+ },
+ "fullName": {
+ "type": "string",
+ "description": "Debtor full name"
+ },
+ "postalCode": {
+ "type": "string",
+ "description": "Debtor postal code"
+ },
+ "province": {
+ "type": "string",
+ "description": "Debtor province"
+ },
+ "taxCode": {
+ "type": "string",
+ "description": "Debtor taxCode"
}
},
- "description" : "Debtor data"
+ "description": "Debtor data"
},
- "InstallmentData" : {
- "required" : [ "amount", "code" ],
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "integer",
- "description" : "Installment amount",
- "format" : "int64"
- },
- "code" : {
- "maxLength" : 18,
- "minLength" : 18,
- "type" : "string",
- "description" : "Installment code"
- },
- "dueDate" : {
- "type" : "string",
- "description" : "Installment dueDate"
+ "InstallmentData": {
+ "required": [
+ "amount",
+ "code"
+ ],
+ "type": "object",
+ "properties": {
+ "amount": {
+ "type": "integer",
+ "description": "Installment amount",
+ "format": "int64"
+ },
+ "code": {
+ "maxLength": 18,
+ "minLength": 18,
+ "type": "string",
+ "description": "Installment code"
+ },
+ "dueDate": {
+ "type": "string",
+ "description": "Installment dueDate"
}
},
- "description" : "Notice installments (if present)"
+ "description": "Notice installments (if present)"
},
- "Notice" : {
- "required" : [ "subject" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "Notice code"
- },
- "discounted" : {
- "$ref" : "#/components/schemas/InstallmentData"
- },
- "dueDate" : {
- "type" : "string",
- "description" : "Notice due date"
- },
- "installments" : {
- "type" : "array",
- "description" : "Notice installments (if present)",
- "items" : {
- "$ref" : "#/components/schemas/InstallmentData"
+ "Notice": {
+ "required": [
+ "subject"
+ ],
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Notice code"
+ },
+ "discounted": {
+ "$ref": "#/components/schemas/InstallmentData"
+ },
+ "dueDate": {
+ "type": "string",
+ "description": "Notice due date"
+ },
+ "installments": {
+ "type": "array",
+ "description": "Notice installments (if present)",
+ "items": {
+ "$ref": "#/components/schemas/InstallmentData"
}
},
- "paymentAmount" : {
- "type" : "integer",
- "description" : "Notice total amount to pay",
- "format" : "int64"
+ "paymentAmount": {
+ "type": "integer",
+ "description": "Notice total amount to pay",
+ "format": "int64"
},
- "reduced" : {
- "$ref" : "#/components/schemas/InstallmentData"
+ "reduced": {
+ "$ref": "#/components/schemas/InstallmentData"
},
- "subject" : {
- "type" : "string",
- "description" : "Notice subject"
+ "subject": {
+ "type": "string",
+ "description": "Notice subject"
}
},
- "description" : "Notice data"
+ "description": "Notice data"
},
- "NoticeGenerationRequestItem" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/NoticeRequestData"
- },
- "templateId" : {
- "type" : "string"
+ "NoticeGenerationRequestItem": {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/components/schemas/NoticeRequestData"
+ },
+ "templateId": {
+ "type": "string"
}
},
- "description" : "templateId to use for retrieval"
+ "description": "templateId to use for retrieval"
},
- "NoticeRequestData" : {
- "required" : [ "creditorInstitution", "debtor", "notice" ],
- "type" : "object",
- "properties" : {
- "creditorInstitution" : {
- "$ref" : "#/components/schemas/CreditorInstitution"
- },
- "debtor" : {
- "$ref" : "#/components/schemas/Debtor"
- },
- "notice" : {
- "$ref" : "#/components/schemas/Notice"
+ "NoticeRequestData": {
+ "required": [
+ "creditorInstitution",
+ "debtor",
+ "notice"
+ ],
+ "type": "object",
+ "properties": {
+ "creditorInstitution": {
+ "$ref": "#/components/schemas/CreditorInstitution"
+ },
+ "debtor": {
+ "$ref": "#/components/schemas/Debtor"
+ },
+ "notice": {
+ "$ref": "#/components/schemas/Notice"
}
}
}
},
- "securitySchemes" : {
- "ApiKey" : {
- "description" : "The API key to access this function app.",
- "in" : "header",
- "name" : "Ocp-Apim-Subscription-Key",
- "type" : "apiKey"
+ "securitySchemes": {
+ "ApiKey": {
+ "description": "The API key to access this function app.",
+ "in": "header",
+ "name": "Ocp-Apim-Subscription-Key",
+ "type": "apiKey"
}
}
}
-}
\ No newline at end of file
+}
diff --git a/pom.xml b/pom.xml
index 9e7d1e4..0ca0557 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
it.gov.pagopa
print-payment-notice-generator
- 0.2.10
+ 0.2.11
pagopa-print-payment-notice-generator
PagoPA Print Payment Notices Generator