Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/updated-helm-charts' into update…
Browse files Browse the repository at this point in the history
…d-helm-charts
  • Loading branch information
alessio-cialini committed Sep 25, 2024
2 parents ae11ad2 + 900b191 commit 1a3af73
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 131 deletions.
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: pagopa-payment-options
description: Microservice that handles services for payment options
type: application
version: 0.61.0
appVersion: 0.4.1-15-updated-helm-charts
version: 0.66.0
appVersion: 0.4.1-20-updated-helm-charts
dependencies:
- name: microservice-chart
version: 5.9.0
Expand Down
2 changes: 1 addition & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: "payment-options"
image:
repository: ghcr.io/pagopa/pagopa-payment-options-service
tag: "0.4.1-15-updated-helm-charts"
tag: "0.4.1-20-updated-helm-charts"
pullPolicy: Always
livenessProbe:
httpGet:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: "payment-options"
image:
repository: ghcr.io/pagopa/pagopa-payment-options-service
tag: "0.4.1-15-updated-helm-charts"
tag: "0.4.1-20-updated-helm-charts"
pullPolicy: Always
livenessProbe:
httpGet:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: "payment-options"
image:
repository: ghcr.io/pagopa/pagopa-payment-options-service
tag: "0.4.1-15-updated-helm-charts"
tag: "0.4.1-20-updated-helm-charts"
pullPolicy: Always
livenessProbe:
httpGet:
Expand Down
261 changes: 136 additions & 125 deletions openapi/openapi.json
Original file line number Diff line number Diff line change
@@ -1,176 +1,187 @@
{
"openapi" : "3.0.3",
"info" : {
"title" : "PagoPa Payment Options (TEST)",
"description" : "PagoPa Payment Options description",
"termsOfService" : "https://www.pagopa.gov.it/",
"version" : "${quarkus.application.version}"
"openapi": "3.0.3",
"info": {
"title": "PagoPa Payment Options (TEST)",
"description": "PagoPa Payment Options description",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.4.1-20-updated-helm-charts"
},
"servers" : [ {
"url" : "${host}/quarkus-template/api/v1 - APIM"
} ],
"paths" : {
"/info" : {
"get" : {
"tags" : [ "Generic" ],
"responses" : {
"200" : {
"description" : "OK",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/AppInfo"
"servers": [
{
"url": "${host}/quarkus-template/api/v1 - APIM"
}
],
"paths": {
"/info": {
"get": {
"tags": [
"Generic"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AppInfo"
}
}
}
},
"400" : {
"description" : "Bad Request",
"content" : {
"application/json" : { }
"400": {
"description": "Bad Request",
"content": {
"application/json": {}
}
}
}
}
},
"/payment-options/organizations/{fiscal-code}/notices/{notice-number}" : {
"get" : {
"tags" : [ "Payment Options Resource" ],
"summary" : "Get payment options",
"description" : "Retrieve the payment options related to the provided input",
"operationId" : "getPaymentOptions",
"parameters" : [ {
"name" : "fiscal-code",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "notice-number",
"in" : "path",
"required" : true,
"schema" : {
"type" : "string"
}
}, {
"name" : "idPsp",
"in" : "query",
"schema" : {
"type" : "string"
}
}, {
"name" : "X-Session-Id",
"in" : "header",
"schema" : {
"type" : "string"
"/payment-options/organizations/{fiscal-code}/notices/{notice-number}": {
"get": {
"tags": [
"Payment Options Resource"
],
"summary": "Get payment options",
"description": "Retrieve the payment options related to the provided input",
"operationId": "getPaymentOptions",
"parameters": [
{
"name": "fiscal-code",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "notice-number",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "idPsp",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "X-Session-Id",
"in": "header",
"schema": {
"type": "string"
}
}
} ],
"responses" : {
"500" : {
"$ref" : "#/components/responses/ErrorResponse500"
],
"responses": {
"500": {
"$ref": "#/components/responses/ErrorResponse500"
},
"400" : {
"$ref" : "#/components/responses/ErrorResponse400"
"400": {
"$ref": "#/components/responses/ErrorResponse400"
},
"404" : {
"$ref" : "#/components/responses/ErrorResponse404"
"404": {
"$ref": "#/components/responses/ErrorResponse404"
},
"200" : {
"description" : "Success",
"content" : {
"application/json" : { }
"200": {
"description": "Success",
"content": {
"application/json": {}
}
}
}
}
}
},
"components" : {
"schemas" : {
"AppInfo" : {
"type" : "object",
"properties" : {
"name" : {
"type" : "string"
"components": {
"schemas": {
"AppInfo": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"version" : {
"type" : "string"
"version": {
"type": "string"
},
"environment" : {
"type" : "string"
"environment": {
"type": "string"
}
}
},
"ErrorResponse" : {
"type" : "object",
"properties" : {
"httpStatusCode" : {
"format" : "int32",
"type" : "integer",
"example" : 500
"ErrorResponse": {
"type": "object",
"properties": {
"httpStatusCode": {
"format": "int32",
"type": "integer",
"example": 500
},
"httpStatusDescription" : {
"type" : "string",
"example" : "Internal Server Error"
"httpStatusDescription": {
"type": "string",
"example": "Internal Server Error"
},
"errorMessage" : {
"type" : "string",
"example" : "An unexpected error has occurred. Please contact support."
"errorMessage": {
"type": "string",
"example": "An unexpected error has occurred. Please contact support."
},
"appErrorCode" : {
"type" : "string",
"example" : "ODP-<ERR_ID>"
"appErrorCode": {
"type": "string",
"example": "ODP-<ERR_ID>"
},
"timestamp" : {
"format" : "int64",
"type" : "integer",
"example" : 1724425035
"timestamp": {
"format": "int64",
"type": "integer",
"example": 1724425035
},
"dateTime" : {
"type" : "string",
"example" : "2024-08-23T14:57:15.635528"
"dateTime": {
"type": "string",
"example": "2024-08-23T14:57:15.635528"
}
}
}
},
"responses" : {
"ErrorResponse400" : {
"description" : "Default app exception for status 400",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ErrorResponse"
"responses": {
"ErrorResponse400": {
"description": "Default app exception for status 400",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"ErrorResponse404" : {
"description" : "Default app exception for status 404",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ErrorResponse"
"ErrorResponse404": {
"description": "Default app exception for status 404",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"ErrorResponse500" : {
"description" : "Internal Server Error",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ErrorResponse"
"ErrorResponse500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
},
"securitySchemes" : {
"ApiKey" : {
"type" : "apiKey",
"name" : "Ocp-Apim-Subscription-Key"
"securitySchemes": {
"ApiKey": {
"type": "apiKey",
"name": "Ocp-Apim-Subscription-Key"
}
}
}
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>it.gov.pagopa</groupId>
<artifactId>payment-options-service</artifactId>
<name>Payment Options Service</name>
<version>0.4.1-15-updated-helm-charts</version>
<version>0.4.1-20-updated-helm-charts</version>

<properties>
<jacoco.version>0.8.7</jacoco.version>
Expand Down

0 comments on commit 1a3af73

Please sign in to comment.