diff --git a/helm/Chart.yaml b/helm/Chart.yaml
index 285df53..7208343 100644
--- a/helm/Chart.yaml
+++ b/helm/Chart.yaml
@@ -2,8 +2,8 @@ apiVersion: v2
name: pagopa-afm-calculator
description: Microservice that handles calculation for pagoPA Advanced Fees Management
type: application
-version: 0.1.0
-appVersion: 1.0.0
+version: 0.2.0
+appVersion: 1.0.1
dependencies:
- name: microservice-chart
version: 2.8.0
diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml
index ea1709d..40eb6b9 100644
--- a/helm/values-dev.yaml
+++ b/helm/values-dev.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-backoffice-external
- tag: "1.0.0"
+ tag: "1.0.1"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml
index cf952f6..7d31f74 100644
--- a/helm/values-prod.yaml
+++ b/helm/values-prod.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-backoffice-external
- tag: "1.0.0"
+ tag: "1.0.1"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml
index c960e18..a446fed 100644
--- a/helm/values-uat.yaml
+++ b/helm/values-uat.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-backoffice-external
- tag: "1.0.0"
+ tag: "1.0.1"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/openapi/openapi.json b/openapi/openapi.json
index 0680cba..8b10f36 100644
--- a/openapi/openapi.json
+++ b/openapi/openapi.json
@@ -1,356 +1,387 @@
{
- "openapi" : "3.0.1",
- "info" : {
- "description" : "Microservice to expose REST API to contact PagoPA Backoffice",
- "termsOfService" : "https://www.pagopa.gov.it/",
- "title" : "Backoffice External",
- "version" : "0.0.1"
+ "openapi": "3.0.1",
+ "info": {
+ "description": "Microservice to expose REST API to contact PagoPA Backoffice",
+ "termsOfService": "https://www.pagopa.gov.it/",
+ "title": "Backoffice External",
+ "version": "1.0.1"
},
- "servers" : [ {
- "url" : "http://localhost:8080"
- }, {
- "url" : "https://{host}{basePath}",
- "variables" : {
- "basePath" : {
- "default" : "/backoffice/external/v1"
- },
- "host" : {
- "default" : "api.dev.platform.pagopa.it",
- "enum" : [ "api.dev.platform.pagopa.it", "api.uat.platform.pagopa.it", "api.platform.pagopa.it" ]
+ "servers": [
+ {
+ "url": "http://localhost:8080"
+ },
+ {
+ "url": "https://{host}{basePath}",
+ "variables": {
+ "basePath": {
+ "default": "/backoffice/external/v1"
+ },
+ "host": {
+ "default": "api.dev.platform.pagopa.it",
+ "enum": [
+ "api.dev.platform.pagopa.it",
+ "api.uat.platform.pagopa.it",
+ "api.platform.pagopa.it"
+ ]
+ }
}
}
- } ],
- "paths" : {
- "/brokers/ibans" : {
- "get" : {
- "description" : "Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nY | N | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | Y\nReturn merged Broker Ibans List",
- "operationId" : "getBrokerIbans",
- "parameters" : [ {
- "in" : "query",
- "name" : "limit",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32",
- "default" : 10
- }
- }, {
- "in" : "query",
- "name" : "page",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32",
- "default" : 0
+ ],
+ "paths": {
+ "/brokers/ibans": {
+ "get": {
+ "description": "Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nY | N | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | Y\nReturn merged Broker Ibans List",
+ "operationId": "getBrokerIbans",
+ "parameters": [
+ {
+ "in": "query",
+ "name": "limit",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "default": 10
+ }
+ },
+ {
+ "in": "query",
+ "name": "page",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "default": 0
+ }
}
- } ],
- "responses" : {
- "200" : {
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/BrokerIbansResponse"
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "*/*": {
+ "schema": {
+ "$ref": "#/components/schemas/BrokerIbansResponse"
}
}
},
- "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"
}
}
}
}
},
- "summary" : "getBrokerIbans",
- "tags" : [ "broker-controller" ]
+ "summary": "getBrokerIbans",
+ "tags": [
+ "broker-controller"
+ ]
},
- "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"
+ "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"
+ }
}
- } ]
+ ]
},
- "/brokers/{brokerCode}/creditor_institutions" : {
- "get" : {
- "description" : "Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nY | N | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | Y\nReturn Broker Creditor Institution List",
- "operationId" : "getCreditorInstitutions",
- "parameters" : [ {
- "in" : "path",
- "name" : "brokerCode",
- "required" : true,
- "schema" : {
- "type" : "string"
- }
- }, {
- "in" : "query",
- "name" : "limit",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32",
- "default" : 10
- }
- }, {
- "in" : "query",
- "name" : "page",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32",
- "default" : 0
+ "/brokers/{brokerCode}/creditor_institutions": {
+ "get": {
+ "description": "Internal | External | Synchronous | Authorization | Authentication | TPS | Idempotency | Stateless | Read/Write Intense | Cacheable\n-|-|-|-|-|-|-|-|-|-\nY | N | Y | ApiKey | ApiKey | 1.0/sec | Y | Y | Read | Y\nReturn Broker Creditor Institution List",
+ "operationId": "getCreditorInstitutions",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "brokerCode",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "in": "query",
+ "name": "limit",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "default": 10
+ }
+ },
+ {
+ "in": "query",
+ "name": "page",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "default": 0
+ }
}
- } ],
- "responses" : {
- "200" : {
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/BrokerInstitutionsResponse"
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "*/*": {
+ "schema": {
+ "$ref": "#/components/schemas/BrokerInstitutionsResponse"
}
}
},
- "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"
}
}
}
}
},
- "summary" : "getBrokerInstitutions",
- "tags" : [ "broker-controller" ]
+ "summary": "getBrokerInstitutions",
+ "tags": [
+ "broker-controller"
+ ]
},
- "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"
+ "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"
+ }
}
- } ]
+ ]
},
- "/info" : {
- "get" : {
- "description" : "Return OK if application is started",
- "operationId" : "healthCheck",
- "responses" : {
- "200" : {
- "content" : {
- "*/*" : {
- "schema" : {
- "$ref" : "#/components/schemas/AppInfo"
+ "/info": {
+ "get": {
+ "description": "Return OK if application is started",
+ "operationId": "healthCheck",
+ "responses": {
+ "200": {
+ "content": {
+ "*/*": {
+ "schema": {
+ "$ref": "#/components/schemas/AppInfo"
}
}
},
- "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"
}
}
}
}
},
- "security" : [ {
- "ApiKey" : [ ]
- } ],
- "summary" : "health check",
- "tags" : [ "Home" ]
+ "security": [
+ {
+ "ApiKey": []
+ }
+ ],
+ "summary": "health check",
+ "tags": [
+ "Home"
+ ]
},
- "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"
+ "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"
+ }
}
- } ]
+ ]
}
},
- "components" : {
- "schemas" : {
- "AppInfo" : {
- "type" : "object",
- "properties" : {
- "environment" : {
- "type" : "string"
+ "components": {
+ "schemas": {
+ "AppInfo": {
+ "type": "object",
+ "properties": {
+ "environment": {
+ "type": "string"
},
- "name" : {
- "type" : "string"
+ "name": {
+ "type": "string"
},
- "version" : {
- "type" : "string"
+ "version": {
+ "type": "string"
}
}
},
- "BrokerIbansResource" : {
- "type" : "object",
- "properties" : {
- "ciFiscalCode" : {
- "type" : "string",
- "description" : "Creditor Institution tax code"
+ "BrokerIbansResource": {
+ "type": "object",
+ "properties": {
+ "ciFiscalCode": {
+ "type": "string",
+ "description": "Creditor Institution tax code"
},
- "ciName" : {
- "type" : "string",
- "description" : "Creditor Institution name"
+ "ciName": {
+ "type": "string",
+ "description": "Creditor Institution name"
},
- "description" : {
- "type" : "string",
- "description" : "description"
+ "description": {
+ "type": "string",
+ "description": "description"
},
- "iban" : {
- "type" : "string",
- "description" : "iban"
+ "iban": {
+ "type": "string",
+ "description": "iban"
},
- "label" : {
- "type" : "string",
- "description" : "label",
- "example" : "CUP"
+ "label": {
+ "type": "string",
+ "description": "label",
+ "example": "CUP"
},
- "status" : {
- "type" : "string",
- "description" : "status",
- "example" : "ENABLED"
+ "status": {
+ "type": "string",
+ "description": "status",
+ "example": "ENABLED"
},
- "validityDate" : {
- "type" : "string",
- "description" : "Activation Date",
- "format" : "date-time"
+ "validityDate": {
+ "type": "string",
+ "description": "Activation Date",
+ "format": "date-time"
}
}
},
- "BrokerIbansResponse" : {
- "type" : "object",
- "properties" : {
- "ibans" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/BrokerIbansResource"
+ "BrokerIbansResponse": {
+ "type": "object",
+ "properties": {
+ "ibans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/BrokerIbansResource"
}
},
- "pageInfo" : {
- "$ref" : "#/components/schemas/PageInfo"
+ "pageInfo": {
+ "$ref": "#/components/schemas/PageInfo"
}
}
},
- "BrokerInstitutionResource" : {
- "type" : "object",
- "properties" : {
- "activationDate" : {
- "type" : "string",
- "description" : "activation date",
- "format" : "date-time"
+ "BrokerInstitutionResource": {
+ "type": "object",
+ "properties": {
+ "activationDate": {
+ "type": "string",
+ "description": "activation date",
+ "format": "date-time"
},
- "applicationCode" : {
- "type" : "string",
- "description" : "application code of the relation station-ec (unique per auxdigit)"
+ "applicationCode": {
+ "type": "string",
+ "description": "application code of the relation station-ec (unique per auxdigit)"
},
- "auxDigit" : {
- "type" : "string",
- "description" : "aux digit number (0,1,2,3, 0/3)"
+ "auxDigit": {
+ "type": "string",
+ "description": "aux digit number (0,1,2,3, 0/3)"
},
- "broadcast" : {
- "type" : "boolean",
- "description" : "true if the station is for broadcast"
+ "broadcast": {
+ "type": "boolean",
+ "description": "true if the station is for broadcast"
},
- "brokerCompanyName" : {
- "type" : "string",
- "description" : "broker name"
+ "brokerCompanyName": {
+ "type": "string",
+ "description": "broker name"
},
- "brokerTaxCode" : {
- "type" : "string",
- "description" : "broker tax code"
+ "brokerTaxCode": {
+ "type": "string",
+ "description": "broker tax code"
},
- "cbillCode" : {
- "type" : "string",
- "description" : "CBILL code"
+ "cbillCode": {
+ "type": "string",
+ "description": "CBILL code"
},
- "companyName" : {
- "type" : "string",
- "description" : "Creditor Institution name"
+ "companyName": {
+ "type": "string",
+ "description": "Creditor Institution name"
},
- "intermediated" : {
- "type" : "boolean",
- "description" : "true if the EC has a broker"
+ "intermediated": {
+ "type": "boolean",
+ "description": "true if the EC has a broker"
},
- "model" : {
- "type" : "integer",
- "description" : "model of the station",
- "format" : "int32"
+ "model": {
+ "type": "integer",
+ "description": "model of the station",
+ "format": "int32"
},
- "segregationCode" : {
- "type" : "string",
- "description" : "segregation code of the relation station-ec (unique per auxdigit)"
+ "segregationCode": {
+ "type": "string",
+ "description": "segregation code of the relation station-ec (unique per auxdigit)"
},
- "stationId" : {
- "type" : "string",
- "description" : "station code"
+ "stationId": {
+ "type": "string",
+ "description": "station code"
},
- "stationState" : {
- "type" : "string",
- "description" : "station state",
- "example" : "enabled"
+ "stationState": {
+ "type": "string",
+ "description": "station state",
+ "example": "enabled"
},
- "taxCode" : {
- "type" : "string",
- "description" : "Creditor Institution tax code"
+ "taxCode": {
+ "type": "string",
+ "description": "Creditor Institution tax code"
},
- "version" : {
- "type" : "string",
- "description" : "station version",
- "example" : "1"
+ "version": {
+ "type": "string",
+ "description": "station version",
+ "example": "1"
}
},
- "description" : "List of creditor institutions"
+ "description": "List of creditor institutions"
},
- "BrokerInstitutionsResponse" : {
- "required" : [ "creditorInstitutions", "pageInfo" ],
- "type" : "object",
- "properties" : {
- "creditorInstitutions" : {
- "type" : "array",
- "description" : "List of creditor institutions",
- "items" : {
- "$ref" : "#/components/schemas/BrokerInstitutionResource"
+ "BrokerInstitutionsResponse": {
+ "required": [
+ "creditorInstitutions",
+ "pageInfo"
+ ],
+ "type": "object",
+ "properties": {
+ "creditorInstitutions": {
+ "type": "array",
+ "description": "List of creditor institutions",
+ "items": {
+ "$ref": "#/components/schemas/BrokerInstitutionResource"
}
},
- "pageInfo" : {
- "$ref" : "#/components/schemas/PageInfo"
+ "pageInfo": {
+ "$ref": "#/components/schemas/PageInfo"
}
}
},
- "PageInfo" : {
- "type" : "object",
- "properties" : {
- "limit" : {
- "type" : "integer",
- "format" : "int32"
+ "PageInfo": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "format": "int32"
},
- "page" : {
- "type" : "integer",
- "format" : "int32"
+ "page": {
+ "type": "integer",
+ "format": "int32"
}
},
- "description" : "info pageable"
+ "description": "info pageable"
}
},
- "securitySchemes" : {
- "ApiKey" : {
- "description" : "The Azure Subscription Key to access this API.",
- "in" : "header",
- "name" : "Ocp-Apim-Subscription-Key",
- "type" : "apiKey"
+ "securitySchemes": {
+ "ApiKey": {
+ "description": "The Azure Subscription Key to access this API.",
+ "in": "header",
+ "name": "Ocp-Apim-Subscription-Key",
+ "type": "apiKey"
}
}
}
diff --git a/pom.xml b/pom.xml
index 021bfbc..6ccc8e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
it.pagopa.selfcare.pagopa
pagopa-backoffice-external
- 1.0.0
+ 1.0.1
Backoffice External
Microservice to expose REST API to contact PagoPA Backoffice