diff --git a/helm/Chart.yaml b/helm/Chart.yaml
index 69c43414..aeae5b3a 100644
--- a/helm/Chart.yaml
+++ b/helm/Chart.yaml
@@ -2,8 +2,8 @@ apiVersion: v2
name: pagopa-afm-utils
description: Utility microservice for pagoPA AFM
type: application
-version: 0.13.0
-appVersion: 0.6.2-5-PAGOPA-1215-afm-calculator-creare-dashboard-elk
+version: 0.14.0
+appVersion: 0.6.3
dependencies:
- name: microservice-chart
version: 1.21.0
diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml
index 9a66d18a..05ffb9c8 100644
--- a/helm/values-dev.yaml
+++ b/helm/values-dev.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-afm-utils
- tag: "0.6.2-5-PAGOPA-1215-afm-calculator-creare-dashboard-elk"
+ tag: "0.6.3"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml
index f069a24a..4d50a00b 100644
--- a/helm/values-prod.yaml
+++ b/helm/values-prod.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-afm-utils
- tag: "0.6.2-5-PAGOPA-1215-afm-calculator-creare-dashboard-elk"
+ tag: "0.6.3"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml
index b963cc9e..6aae577a 100644
--- a/helm/values-uat.yaml
+++ b/helm/values-uat.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-afm-utils
- tag: "0.6.2-5-PAGOPA-1215-afm-calculator-creare-dashboard-elk"
+ tag: "0.6.3"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/openapi/openapi.json b/openapi/openapi.json
index 604f3d83..7ae3c9fc 100644
--- a/openapi/openapi.json
+++ b/openapi/openapi.json
@@ -1,646 +1,681 @@
{
- "openapi" : "3.0.1",
- "info" : {
- "title" : "afm-utils",
- "description" : "Utility microservice for pagoPA AFM",
- "termsOfService" : "https://www.pagopa.gov.it/",
- "version" : "0.6.2-5-PAGOPA-1215-afm-calculator-creare-dashboard-elk"
+ "openapi": "3.0.1",
+ "info": {
+ "title": "afm-utils",
+ "description": "Utility microservice for pagoPA AFM",
+ "termsOfService": "https://www.pagopa.gov.it/",
+ "version": "0.6.3"
},
- "servers" : [ {
- "url" : "http://localhost",
- "description" : "Generated server url"
- } ],
- "paths" : {
- "/cdis/sync" : {
- "get" : {
- "tags" : [ "Import CDI rest API" ],
- "summary" : "API to retry the import of the CDIs and convert to bundles.",
- "operationId" : "syncCDI_1",
- "responses" : {
- "200" : {
- "description" : "Obtained bundle list.",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "servers": [
+ {
+ "url": "http://localhost",
+ "description": "Generated server url"
+ }
+ ],
+ "paths": {
+ "/cdis/sync": {
+ "get": {
+ "tags": [
+ "Import CDI rest API"
+ ],
+ "summary": "API to retry the import of the CDIs and convert to bundles.",
+ "operationId": "syncCDI_1",
+ "responses": {
+ "200": {
+ "description": "Obtained bundle list.",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
},
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/BundleResponse"
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/BundleResponse"
}
}
}
}
},
- "401" : {
- "description" : "Unauthorized",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "401": {
+ "description": "Unauthorized",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "403" : {
- "description" : "Forbidden",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "403": {
+ "description": "Forbidden",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "429" : {
- "description" : "Too many requests",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "429": {
+ "description": "Too many requests",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "500" : {
- "description" : "Service unavailable.",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "500": {
+ "description": "Service unavailable.",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
},
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemJson"
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProblemJson"
}
}
}
}
},
- "security" : [ {
- "ApiKey" : [ ]
- } ]
+ "security": [
+ {
+ "ApiKey": []
+ }
+ ]
},
- "post" : {
- "tags" : [ "Import CDI rest API" ],
- "summary" : "API to trigger the import of the CDIs and convert to bundles.",
- "operationId" : "syncCDI",
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/CDI"
+ "post": {
+ "tags": [
+ "Import CDI rest API"
+ ],
+ "summary": "API to trigger the import of the CDIs and convert to bundles.",
+ "operationId": "syncCDI",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CDI"
}
}
}
},
- "required" : true
+ "required": true
},
- "responses" : {
- "200" : {
- "description" : "Obtained bundle list.",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "responses": {
+ "200": {
+ "description": "Obtained bundle list.",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
},
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/BundleResponse"
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/BundleResponse"
}
}
}
}
},
- "401" : {
- "description" : "Unauthorized",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "401": {
+ "description": "Unauthorized",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "403" : {
- "description" : "Forbidden",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "403": {
+ "description": "Forbidden",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "429" : {
- "description" : "Too many requests",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "429": {
+ "description": "Too many requests",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "500" : {
- "description" : "Service unavailable.",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "500": {
+ "description": "Service unavailable.",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
},
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemJson"
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProblemJson"
}
}
}
}
},
- "security" : [ {
- "ApiKey" : [ ]
- } ]
+ "security": [
+ {
+ "ApiKey": []
+ }
+ ]
},
- "delete" : {
- "tags" : [ "Delete CDI rest API" ],
- "summary" : "API to trigger the bulk deletion of the CDIs and its related bundles.",
- "operationId" : "syncCDIDeletion",
- "responses" : {
- "200" : {
- "description" : "Obtained bundle list.",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "delete": {
+ "tags": [
+ "Delete CDI rest API"
+ ],
+ "summary": "API to trigger the bulk deletion of the CDIs and its related bundles.",
+ "operationId": "syncCDIDeletion",
+ "responses": {
+ "200": {
+ "description": "Obtained bundle list.",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "401" : {
- "description" : "Unauthorized",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "401": {
+ "description": "Unauthorized",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "403" : {
- "description" : "Forbidden",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "403": {
+ "description": "Forbidden",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "429" : {
- "description" : "Too many requests",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "429": {
+ "description": "Too many requests",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "500" : {
- "description" : "Service unavailable.",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "500": {
+ "description": "Service unavailable.",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
},
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemJson"
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProblemJson"
}
}
}
}
},
- "security" : [ {
- "ApiKey" : [ ]
- } ]
+ "security": [
+ {
+ "ApiKey": []
+ }
+ ]
},
- "parameters" : [ {
- "name" : "X-Request-Id",
- "in" : "header",
- "description" : "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.",
- "schema" : {
- "type" : "string"
+ "parameters": [
+ {
+ "name": "X-Request-Id",
+ "in": "header",
+ "description": "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.",
+ "schema": {
+ "type": "string"
+ }
}
- } ]
+ ]
},
- "/info" : {
- "get" : {
- "tags" : [ "Home" ],
- "summary" : "health check",
- "description" : "Return OK if application is started",
- "operationId" : "healthCheck",
- "responses" : {
- "200" : {
- "description" : "OK",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "/info": {
+ "get": {
+ "tags": [
+ "Home"
+ ],
+ "summary": "health check",
+ "description": "Return OK if application is started",
+ "operationId": "healthCheck",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
},
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AppInfo"
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AppInfo"
}
}
}
},
- "400" : {
- "description" : "Bad Request",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "400": {
+ "description": "Bad Request",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
},
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemJson"
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProblemJson"
}
}
}
},
- "401" : {
- "description" : "Unauthorized",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "401": {
+ "description": "Unauthorized",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "403" : {
- "description" : "Forbidden",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "403": {
+ "description": "Forbidden",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "429" : {
- "description" : "Too many requests",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "429": {
+ "description": "Too many requests",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "500" : {
- "description" : "Service unavailable",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "500": {
+ "description": "Service unavailable",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
},
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemJson"
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProblemJson"
}
}
}
}
},
- "security" : [ {
- "ApiKey" : [ ]
- } ]
+ "security": [
+ {
+ "ApiKey": []
+ }
+ ]
},
- "parameters" : [ {
- "name" : "X-Request-Id",
- "in" : "header",
- "description" : "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.",
- "schema" : {
- "type" : "string"
+ "parameters": [
+ {
+ "name": "X-Request-Id",
+ "in": "header",
+ "description": "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.",
+ "schema": {
+ "type": "string"
+ }
}
- } ]
+ ]
},
- "/psps/{pspCode}/cdis/{idCdi}" : {
- "delete" : {
- "tags" : [ "Delete Bundles by id CDI rest API" ],
- "summary" : "API to trigger the deletion of the bundles by a CDI id.",
- "operationId" : "syncBundlesDeletionByIdCDI",
- "parameters" : [ {
- "name" : "idCdi",
- "in" : "path",
- "description" : "CDI identifier",
- "required" : true,
- "schema" : {
- "maxLength" : 50,
- "minLength" : 0,
- "type" : "string"
- }
- }, {
- "name" : "pspCode",
- "in" : "path",
- "description" : "PSP code",
- "required" : true,
- "schema" : {
- "pattern" : "[A-Z0-9_]{6,14}",
- "type" : "string"
+ "/psps/{pspCode}/cdis/{idCdi}": {
+ "delete": {
+ "tags": [
+ "Delete Bundles by id CDI rest API"
+ ],
+ "summary": "API to trigger the deletion of the bundles by a CDI id.",
+ "operationId": "syncBundlesDeletionByIdCDI",
+ "parameters": [
+ {
+ "name": "idCdi",
+ "in": "path",
+ "description": "CDI identifier",
+ "required": true,
+ "schema": {
+ "maxLength": 50,
+ "minLength": 0,
+ "type": "string"
+ }
+ },
+ {
+ "name": "pspCode",
+ "in": "path",
+ "description": "PSP code",
+ "required": true,
+ "schema": {
+ "pattern": "[A-Z0-9_]{6,14}",
+ "type": "string"
+ }
}
- } ],
- "responses" : {
- "200" : {
- "description" : "OK",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "401" : {
- "description" : "Unauthorized",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "401": {
+ "description": "Unauthorized",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "403" : {
- "description" : "Forbidden",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "403": {
+ "description": "Forbidden",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "404" : {
- "description" : "Not Found",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "404": {
+ "description": "Not Found",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
},
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemJson"
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProblemJson"
}
}
}
},
- "429" : {
- "description" : "Too many requests",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "429": {
+ "description": "Too many requests",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
}
},
- "500" : {
- "description" : "Service unavailable.",
- "headers" : {
- "X-Request-Id" : {
- "description" : "This header identifies the call",
- "schema" : {
- "type" : "string"
+ "500": {
+ "description": "Service unavailable.",
+ "headers": {
+ "X-Request-Id": {
+ "description": "This header identifies the call",
+ "schema": {
+ "type": "string"
}
}
},
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProblemJson"
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProblemJson"
}
}
}
}
},
- "security" : [ {
- "ApiKey" : [ ]
- } ]
+ "security": [
+ {
+ "ApiKey": []
+ }
+ ]
},
- "parameters" : [ {
- "name" : "X-Request-Id",
- "in" : "header",
- "description" : "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.",
- "schema" : {
- "type" : "string"
+ "parameters": [
+ {
+ "name": "X-Request-Id",
+ "in": "header",
+ "description": "This header identifies the call, if not passed it is self-generated. This ID is returned in the response.",
+ "schema": {
+ "type": "string"
+ }
}
- } ]
+ ]
}
},
- "components" : {
- "schemas" : {
- "CDI" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "string"
+ "components": {
+ "schemas": {
+ "CDI": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
},
- "idPsp" : {
- "type" : "string"
+ "idPsp": {
+ "type": "string"
},
- "idCdi" : {
- "type" : "string"
+ "idCdi": {
+ "type": "string"
},
- "abi" : {
- "type" : "string"
+ "abi": {
+ "type": "string"
},
- "digitalStamp" : {
- "type" : "boolean"
+ "digitalStamp": {
+ "type": "boolean"
},
- "validityDateFrom" : {
- "type" : "string"
+ "validityDateFrom": {
+ "type": "string"
},
- "pspBusinessName" : {
- "type" : "string"
+ "pspBusinessName": {
+ "type": "string"
},
- "details" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Detail"
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Detail"
}
},
- "cdiStatus" : {
- "type" : "string",
- "enum" : [ "NEW", "FAILED", "PROCESSING" ]
+ "cdiStatus": {
+ "type": "string",
+ "enum": [
+ "NEW",
+ "FAILED",
+ "PROCESSING"
+ ]
},
- "cdiErrorDesc" : {
- "type" : "string"
+ "cdiErrorDesc": {
+ "type": "string"
}
}
},
- "Detail" : {
- "type" : "object",
- "properties" : {
- "idBrokerPsp" : {
- "type" : "string"
+ "Detail": {
+ "type": "object",
+ "properties": {
+ "idBrokerPsp": {
+ "type": "string"
},
- "idChannel" : {
- "type" : "string"
+ "idChannel": {
+ "type": "string"
},
- "name" : {
- "type" : "string"
+ "name": {
+ "type": "string"
},
- "description" : {
- "type" : "string"
+ "description": {
+ "type": "string"
},
- "paymentType" : {
- "type" : "string"
+ "paymentType": {
+ "type": "string"
},
- "channelApp" : {
- "type" : "boolean"
+ "channelApp": {
+ "type": "boolean"
},
- "channelCardsCart" : {
- "type" : "boolean"
+ "channelCardsCart": {
+ "type": "boolean"
},
- "serviceAmount" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/ServiceAmount"
+ "serviceAmount": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ServiceAmount"
}
}
}
},
- "ServiceAmount" : {
- "type" : "object",
- "properties" : {
- "paymentAmount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "minPaymentAmount" : {
- "type" : "integer",
- "format" : "int64"
- },
- "maxPaymentAmount" : {
- "type" : "integer",
- "format" : "int64"
+ "ServiceAmount": {
+ "type": "object",
+ "properties": {
+ "paymentAmount": {
+ "type": "integer",
+ "format": "int64"
+ },
+ "minPaymentAmount": {
+ "type": "integer",
+ "format": "int64"
+ },
+ "maxPaymentAmount": {
+ "type": "integer",
+ "format": "int64"
}
}
},
- "ProblemJson" : {
- "type" : "object",
- "properties" : {
- "title" : {
- "type" : "string",
- "description" : "A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable"
- },
- "status" : {
- "maximum" : 600,
- "minimum" : 100,
- "type" : "integer",
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem.",
- "format" : "int32",
- "example" : 200
- },
- "detail" : {
- "type" : "string",
- "description" : "A human readable explanation specific to this occurrence of the problem.",
- "example" : "There was an error processing the request"
+ "ProblemJson": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable"
+ },
+ "status": {
+ "maximum": 600,
+ "minimum": 100,
+ "type": "integer",
+ "description": "The HTTP status code generated by the origin server for this occurrence of the problem.",
+ "format": "int32",
+ "example": 200
+ },
+ "detail": {
+ "type": "string",
+ "description": "A human readable explanation specific to this occurrence of the problem.",
+ "example": "There was an error processing the request"
}
}
},
- "BundleResponse" : {
- "type" : "object",
- "properties" : {
- "idBundle" : {
- "type" : "string"
+ "BundleResponse": {
+ "type": "object",
+ "properties": {
+ "idBundle": {
+ "type": "string"
}
}
},
- "AppInfo" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string"
+ "AppInfo": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
},
- "version" : {
- "type" : "string"
+ "version": {
+ "type": "string"
},
- "environment" : {
- "type" : "string"
+ "environment": {
+ "type": "string"
}
}
}
},
- "securitySchemes" : {
- "ApiKey" : {
- "type" : "apiKey",
- "description" : "The API key to access this function app.",
- "name" : "Ocp-Apim-Subscription-Key",
- "in" : "header"
+ "securitySchemes": {
+ "ApiKey": {
+ "type": "apiKey",
+ "description": "The API key to access this function app.",
+ "name": "Ocp-Apim-Subscription-Key",
+ "in": "header"
}
}
}
-}
\ No newline at end of file
+}
diff --git a/pom.xml b/pom.xml
index 774bc3c1..589ed983 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
it.gov.pagopa
afm-utils
- 0.6.2-5-PAGOPA-1215-afm-calculator-creare-dashboard-elk
+ 0.6.3
afm-utils
Utility microservice for pagoPA AFM
jar