From cc3c7a40fe16dc66d56f26d03802ed95ecac005c Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Tue, 20 Feb 2024 09:21:09 +0000 Subject: [PATCH 1/2] Bump to version 0.0.0-11-NOD-690-nodo-cfg-sync-microservizio [skip ci] --- helm/Chart.yaml | 4 +- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- openapi/openapi.json | 373 ++++++++++++++++++++++-------------------- pom.xml | 2 +- 6 files changed, 203 insertions(+), 182 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 87a34ad..07e3c40 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.10.0 -appVersion: 0.0.0-10-NOD-690-nodo-cfg-sync-microservizio +version: 0.11.0 +appVersion: 0.0.0-11-NOD-690-nodo-cfg-sync-microservizio dependencies: - name: microservice-chart version: 2.8.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 785e675..c76591b 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-node-cfg-sync - tag: "0.0.0-10-NOD-690-nodo-cfg-sync-microservizio" + tag: "0.0.0-11-NOD-690-nodo-cfg-sync-microservizio" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 51cbbba..5c95f7b 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-node-cfg-sync - tag: "0.0.0-10-NOD-690-nodo-cfg-sync-microservizio" + tag: "0.0.0-11-NOD-690-nodo-cfg-sync-microservizio" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index b0dfe39..fff3326 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-node-cfg-sync - tag: "0.0.0-10-NOD-690-nodo-cfg-sync-microservizio" + tag: "0.0.0-11-NOD-690-nodo-cfg-sync-microservizio" pullPolicy: Always livenessProbe: httpGet: diff --git a/openapi/openapi.json b/openapi/openapi.json index e5eb969..e7d725f 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -1,257 +1,278 @@ { - "openapi" : "3.0.1", - "info" : { - "title" : "cfg-sync", - "description" : "Microservice to update configuration schema of Nodo dei Pagamenti", - "termsOfService" : "https://www.pagopa.gov.it/", - "version" : "0.0.0-9-NOD-690-nodo-cfg-sync-microservizio" + "openapi": "3.0.1", + "info": { + "title": "cfg-sync", + "description": "Microservice to update configuration schema of Nodo dei Pagamenti", + "termsOfService": "https://www.pagopa.gov.it/", + "version": "0.0.0-11-NOD-690-nodo-cfg-sync-microservizio" }, - "servers" : [ { - "url" : "http://localhost", - "description" : "Generated server url" - } ], - "paths" : { - "/ndp/cache" : { - "post" : { - "tags" : [ "Cache" ], - "summary" : "Force cache configuration update", - "operationId" : "cache", - "responses" : { - "200" : { - "description" : "OK", - "headers" : { - "X-Request-Id" : { - "description" : "This header identifies the call", - "schema" : { - "type" : "string" + "servers": [ + { + "url": "http://localhost", + "description": "Generated server url" + } + ], + "paths": { + "/ndp/cache": { + "post": { + "tags": [ + "Cache" + ], + "summary": "Force cache configuration update", + "operationId": "cache", + "responses": { + "200": { + "description": "OK", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" } } }, - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/SyncStatusResponse" + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SyncStatusResponse" } } } } }, - "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" } } } }, - "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" + } } - } ] + ] }, - "/ndp/stand-in" : { - "post" : { - "tags" : [ "StandIn" ], - "summary" : "Force stand-in configuration update", - "operationId" : "standin", - "responses" : { - "200" : { - "description" : "OK", - "headers" : { - "X-Request-Id" : { - "description" : "This header identifies the call", - "schema" : { - "type" : "string" + "/ndp/stand-in": { + "post": { + "tags": [ + "StandIn" + ], + "summary": "Force stand-in configuration update", + "operationId": "standin", + "responses": { + "200": { + "description": "OK", + "headers": { + "X-Request-Id": { + "description": "This header identifies the call", + "schema": { + "type": "string" } } }, - "content" : { - "application/json" : { } + "content": { + "application/json": {} } }, - "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" } } } }, - "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" : { - "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" + "components": { + "schemas": { + "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 + "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" + "detail": { + "type": "string", + "description": "A human readable explanation specific to this occurrence of the problem.", + "example": "There was an error processing the request" } } }, - "SyncStatusResponse" : { - "required" : [ "serviceIdentifier", "status" ], - "type" : "object", - "properties" : { - "serviceIdentifier" : { - "type" : "string", - "description" : "Database service identifier", - "example" : "NDP001" + "SyncStatusResponse": { + "required": [ + "serviceIdentifier", + "status" + ], + "type": "object", + "properties": { + "serviceIdentifier": { + "type": "string", + "description": "Database service identifier", + "example": "NDP001" }, - "status" : { - "type" : "string", - "description" : "Database sync status result", - "example" : "done", - "enum" : [ "done", "disabled", "error" ] + "status": { + "type": "string", + "description": "Database sync status result", + "example": "done", + "enum": [ + "done", + "disabled", + "error" + ] } } } }, - "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 c6ae5bf..c794c51 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ it.gov.pagopa.node cfg-sync - 0.0.0-10-NOD-690-nodo-cfg-sync-microservizio + 0.0.0-11-NOD-690-nodo-cfg-sync-microservizio Microservice to update configuration schema of Nodo dei Pagamenti From ede77ab179d662d9fb17713499315f3c57a27c42 Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Tue, 20 Feb 2024 09:29:34 +0000 Subject: [PATCH 2/2] Bump to version 0.0.0-12-NOD-690-nodo-cfg-sync-microservizio [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- openapi/openapi.json | 2 +- pom.xml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 07e3c40..4d3c271 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.11.0 -appVersion: 0.0.0-11-NOD-690-nodo-cfg-sync-microservizio +version: 0.12.0 +appVersion: 0.0.0-12-NOD-690-nodo-cfg-sync-microservizio dependencies: - name: microservice-chart version: 2.8.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index c76591b..d98c3e8 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-node-cfg-sync - tag: "0.0.0-11-NOD-690-nodo-cfg-sync-microservizio" + tag: "0.0.0-12-NOD-690-nodo-cfg-sync-microservizio" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 5c95f7b..ffba0d7 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-node-cfg-sync - tag: "0.0.0-11-NOD-690-nodo-cfg-sync-microservizio" + tag: "0.0.0-12-NOD-690-nodo-cfg-sync-microservizio" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index fff3326..9dce0a8 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-node-cfg-sync - tag: "0.0.0-11-NOD-690-nodo-cfg-sync-microservizio" + tag: "0.0.0-12-NOD-690-nodo-cfg-sync-microservizio" pullPolicy: Always livenessProbe: httpGet: diff --git a/openapi/openapi.json b/openapi/openapi.json index e7d725f..7f7f452 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4,7 +4,7 @@ "title": "cfg-sync", "description": "Microservice to update configuration schema of Nodo dei Pagamenti", "termsOfService": "https://www.pagopa.gov.it/", - "version": "0.0.0-11-NOD-690-nodo-cfg-sync-microservizio" + "version": "0.0.0-12-NOD-690-nodo-cfg-sync-microservizio" }, "servers": [ { diff --git a/pom.xml b/pom.xml index c794c51..d4757e2 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ it.gov.pagopa.node cfg-sync - 0.0.0-11-NOD-690-nodo-cfg-sync-microservizio + 0.0.0-12-NOD-690-nodo-cfg-sync-microservizio Microservice to update configuration schema of Nodo dei Pagamenti