From 2b2669c061036b039edb4d44de8e6a7b7ca4f1e0 Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Wed, 19 Jul 2023 17:17:59 +0000 Subject: [PATCH] Bump to version 1.0.1 [skip ci] --- helm/Chart.yaml | 4 +- helm/values-dev.yaml | 4 +- openapi/openapi.json | 728 +++++++++++++++++++++++-------------------- pom.xml | 2 +- 4 files changed, 387 insertions(+), 351 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 64a7255..1e5e4a7 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-tech-support-api description: Technical support api type: application -version: "0.3.0" -appVersion: "1.0.0-3-implementing" +version: "0.4.0" +appVersion: "1.0.1" dependencies: - name: microservice-chart version: 3.0.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 1dfbd40..93e55a7 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -83,8 +83,8 @@ pagopa-tech-support-api: path: /pagopa-tech-support(/|$)(.*) microservice-chart: image: - tag: 1.0.0-3-implementing + tag: 1.0.1 canaryDelivery: deployment: image: - tag: 1.0.0-3-implementing + tag: 1.0.1 diff --git a/openapi/openapi.json b/openapi/openapi.json index 5266027..e22636c 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -1,32 +1,38 @@ { - "openapi" : "3.0.3", - "info" : { - "title" : "Node technical support - Api (local) ${service}", - "termsOfService" : "https://www.pagopa.gov.it/", - "version" : "1.0.0-3-implementing" + "openapi": "3.0.3", + "info": { + "title": "Node technical support - Api (local) ${service}", + "termsOfService": "https://www.pagopa.gov.it/", + "version": "1.0.1" }, - "servers" : [ { - "url" : "${host}/tenchinal-support/api/v1 - APIM" - } ], - "tags" : [ { - "name" : "Info", - "description" : "Info operations" - } ], - "paths" : { - "/info" : { - "get" : { - "tags" : [ "Info" ], - "summary" : "Get info of FDR", - "responses" : { - "default" : { - "$ref" : "#/components/responses/InternalServerError" - }, - "200" : { - "description" : "Success", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/InfoResponse" + "servers": [ + { + "url": "${host}/tenchinal-support/api/v1 - APIM" + } + ], + "tags": [ + { + "name": "Info", + "description": "Info operations" + } + ], + "paths": { + "/info": { + "get": { + "tags": [ + "Info" + ], + "summary": "Get info of FDR", + "responses": { + "default": { + "$ref": "#/components/responses/InternalServerError" + }, + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InfoResponse" } } } @@ -34,63 +40,70 @@ } } }, - "/organizations/{organizationFiscalCode}/iuv/{iuv}" : { - "get" : { - "tags" : [ "Worker Resource" ], - "parameters" : [ { - "name" : "iuv", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "organizationFiscalCode", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "dateFrom", - "in" : "query", - "schema" : { - "$ref" : "#/components/schemas/LocalDate" - } - }, { - "name" : "dateTo", - "in" : "query", - "schema" : { - "$ref" : "#/components/schemas/LocalDate" + "/organizations/{organizationFiscalCode}/iuv/{iuv}": { + "get": { + "tags": [ + "Worker Resource" + ], + "parameters": [ + { + "name": "iuv", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "organizationFiscalCode", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dateFrom", + "in": "query", + "schema": { + "$ref": "#/components/schemas/LocalDate" + } + }, + { + "name": "dateTo", + "in": "query", + "schema": { + "$ref": "#/components/schemas/LocalDate" + } } - } ], - "responses" : { - "200" : { - "description" : "OK", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/TransactionResponse" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TransactionResponse" } } } }, - "400" : { - "description" : "Bad Request", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500" : { - "description" : "Service unavailable.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "500": { + "description": "Service unavailable.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } @@ -98,70 +111,78 @@ } } }, - "/organizations/{organizationFiscalCode}/iuv/{iuv}/ccp/{ccp}" : { - "get" : { - "tags" : [ "Worker Resource" ], - "parameters" : [ { - "name" : "ccp", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "iuv", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "organizationFiscalCode", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "dateFrom", - "in" : "query", - "schema" : { - "$ref" : "#/components/schemas/LocalDate" - } - }, { - "name" : "dateTo", - "in" : "query", - "schema" : { - "$ref" : "#/components/schemas/LocalDate" + "/organizations/{organizationFiscalCode}/iuv/{iuv}/ccp/{ccp}": { + "get": { + "tags": [ + "Worker Resource" + ], + "parameters": [ + { + "name": "ccp", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "iuv", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "organizationFiscalCode", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dateFrom", + "in": "query", + "schema": { + "$ref": "#/components/schemas/LocalDate" + } + }, + { + "name": "dateTo", + "in": "query", + "schema": { + "$ref": "#/components/schemas/LocalDate" + } } - } ], - "responses" : { - "200" : { - "description" : "OK", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/TransactionResponse" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TransactionResponse" } } } }, - "400" : { - "description" : "Bad Request", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500" : { - "description" : "Service unavailable.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "500": { + "description": "Service unavailable.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } @@ -169,63 +190,70 @@ } } }, - "/organizations/{organizationFiscalCode}/noticeNumber/{noticeNumber}" : { - "get" : { - "tags" : [ "Worker Resource" ], - "parameters" : [ { - "name" : "noticeNumber", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "organizationFiscalCode", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "dateFrom", - "in" : "query", - "schema" : { - "$ref" : "#/components/schemas/LocalDate" - } - }, { - "name" : "dateTo", - "in" : "query", - "schema" : { - "$ref" : "#/components/schemas/LocalDate" + "/organizations/{organizationFiscalCode}/noticeNumber/{noticeNumber}": { + "get": { + "tags": [ + "Worker Resource" + ], + "parameters": [ + { + "name": "noticeNumber", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "organizationFiscalCode", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dateFrom", + "in": "query", + "schema": { + "$ref": "#/components/schemas/LocalDate" + } + }, + { + "name": "dateTo", + "in": "query", + "schema": { + "$ref": "#/components/schemas/LocalDate" + } } - } ], - "responses" : { - "200" : { - "description" : "OK", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/TransactionResponse" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TransactionResponse" } } } }, - "400" : { - "description" : "Bad Request", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500" : { - "description" : "Service unavailable.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "500": { + "description": "Service unavailable.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } @@ -233,70 +261,78 @@ } } }, - "/organizations/{organizationFiscalCode}/noticeNumber/{noticeNumber}/paymentToken/{paymentToken}" : { - "get" : { - "tags" : [ "Worker Resource" ], - "parameters" : [ { - "name" : "noticeNumber", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "organizationFiscalCode", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "paymentToken", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "dateFrom", - "in" : "query", - "schema" : { - "$ref" : "#/components/schemas/LocalDate" - } - }, { - "name" : "dateTo", - "in" : "query", - "schema" : { - "$ref" : "#/components/schemas/LocalDate" + "/organizations/{organizationFiscalCode}/noticeNumber/{noticeNumber}/paymentToken/{paymentToken}": { + "get": { + "tags": [ + "Worker Resource" + ], + "parameters": [ + { + "name": "noticeNumber", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "organizationFiscalCode", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "paymentToken", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dateFrom", + "in": "query", + "schema": { + "$ref": "#/components/schemas/LocalDate" + } + }, + { + "name": "dateTo", + "in": "query", + "schema": { + "$ref": "#/components/schemas/LocalDate" + } } - } ], - "responses" : { - "200" : { - "description" : "OK", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/TransactionResponse" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TransactionResponse" } } } }, - "400" : { - "description" : "Bad Request", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } }, - "500" : { - "description" : "Service unavailable.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ProblemJson" + "500": { + "description": "Service unavailable.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemJson" } } } @@ -305,151 +341,151 @@ } } }, - "components" : { - "schemas" : { - "BasePaymentInfo" : { - "type" : "object", - "properties" : { - "organizationFiscalCode" : { - "type" : "string" + "components": { + "schemas": { + "BasePaymentInfo": { + "type": "object", + "properties": { + "organizationFiscalCode": { + "type": "string" }, - "noticeNumber" : { - "type" : "string" + "noticeNumber": { + "type": "string" }, - "iuv" : { - "type" : "string" + "iuv": { + "type": "string" }, - "pspId" : { - "type" : "string" + "pspId": { + "type": "string" }, - "brokerPspId" : { - "type" : "string" + "brokerPspId": { + "type": "string" }, - "channelId" : { - "type" : "string" + "channelId": { + "type": "string" }, - "outcome" : { - "type" : "string" + "outcome": { + "type": "string" }, - "status" : { - "type" : "string" + "status": { + "type": "string" }, - "insertedTimestamp" : { - "type" : "string" + "insertedTimestamp": { + "type": "string" }, - "updatedTimestamp" : { - "type" : "string" + "updatedTimestamp": { + "type": "string" }, - "isOldPaymentModel" : { - "type" : "boolean" + "isOldPaymentModel": { + "type": "boolean" }, - "serviceIdentifier" : { - "type" : "string" + "serviceIdentifier": { + "type": "string" }, - "positiveBizEvtId" : { - "type" : "string" + "positiveBizEvtId": { + "type": "string" }, - "negativeBizEvtId" : { - "type" : "string" + "negativeBizEvtId": { + "type": "string" } } }, - "ErrorCode" : { - "type" : "object", - "properties" : { - "code" : { - "type" : "string", - "example" : "FDR-0500" - }, - "description" : { - "type" : "string", - "example" : "An unexpected error has occurred. Please contact support." - }, - "statusCode" : { - "format" : "int32", - "type" : "integer", - "example" : 500 + "ErrorCode": { + "type": "object", + "properties": { + "code": { + "type": "string", + "example": "FDR-0500" + }, + "description": { + "type": "string", + "example": "An unexpected error has occurred. Please contact support." + }, + "statusCode": { + "format": "int32", + "type": "integer", + "example": 500 } } }, - "InfoResponse" : { - "type" : "object", - "properties" : { - "name" : { - "type" : "string", - "example" : "pagopa-fdr" - }, - "version" : { - "type" : "string", - "example" : "1.2.3" - }, - "environment" : { - "type" : "string", - "example" : "dev" - }, - "description" : { - "type" : "string", - "example" : "FDR - Flussi di rendicontazione" - }, - "errorCodes" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/ErrorCode" + "InfoResponse": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "pagopa-fdr" + }, + "version": { + "type": "string", + "example": "1.2.3" + }, + "environment": { + "type": "string", + "example": "dev" + }, + "description": { + "type": "string", + "example": "FDR - Flussi di rendicontazione" + }, + "errorCodes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ErrorCode" } } } }, - "LocalDate" : { - "format" : "date", - "type" : "string", - "example" : "2022-03-10" + "LocalDate": { + "format": "date", + "type": "string", + "example": "2022-03-10" }, - "ProblemJson" : { - "type" : "object", - "properties" : { - "title" : { - "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", - "type" : "string" - }, - "status" : { - "format" : "int32", - "description" : "The HTTP status code generated by the origin server for this occurrence of the problem.", - "maximum" : 600, - "minimum" : 100, - "type" : "integer", - "example" : 200 - }, - "details" : { - "description" : "A human readable explanation specific to this occurrence of the problem.", - "type" : "string", - "example" : "There was an error processing the request" + "ProblemJson": { + "type": "object", + "properties": { + "title": { + "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", + "type": "string" + }, + "status": { + "format": "int32", + "description": "The HTTP status code generated by the origin server for this occurrence of the problem.", + "maximum": 600, + "minimum": 100, + "type": "integer", + "example": 200 + }, + "details": { + "description": "A human readable explanation specific to this occurrence of the problem.", + "type": "string", + "example": "There was an error processing the request" } } }, - "TransactionResponse" : { - "type" : "object", - "properties" : { - "dateFrom" : { - "$ref" : "#/components/schemas/LocalDate" - }, - "dateTo" : { - "$ref" : "#/components/schemas/LocalDate" - }, - "data" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/BasePaymentInfo" + "TransactionResponse": { + "type": "object", + "properties": { + "dateFrom": { + "$ref": "#/components/schemas/LocalDate" + }, + "dateTo": { + "$ref": "#/components/schemas/LocalDate" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BasePaymentInfo" } } } } }, - "securitySchemes" : { - "SecurityScheme" : { - "type" : "http", - "description" : "Authentication", - "scheme" : "basic" + "securitySchemes": { + "SecurityScheme": { + "type": "http", + "description": "Authentication", + "scheme": "basic" } } } -} \ No newline at end of file +} diff --git a/pom.xml b/pom.xml index ff157ce..ba2bc2b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 it.gov.pagopa node-techical-support-worker - 1.0.0-3-implementing + 1.0.1 3.11.0 1.18.26