Skip to content

Commit

Permalink
Merge pull request #62 from pagopa/NOD-872_standin
Browse files Browse the repository at this point in the history
NOD-828
  • Loading branch information
aomegax authored May 10, 2024
2 parents 27fc643 + 9a0bf24 commit 6bf5a62
Show file tree
Hide file tree
Showing 15 changed files with 148 additions and 129 deletions.
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: pagopa-api-cache-chart
description: Microservice that handles calculation for pagoPA Advanced Fees Management
type: application
version: 0.70.0
version: 0.71.0
dependencies:
##############
## POSTGRES ##
Expand Down Expand Up @@ -88,4 +88,4 @@ dependencies:
repository: "https://pagopa.github.io/aks-cron-chart-blueprint"
alias: refresh-p-replica-nexi # postgres prf nexi
condition: postgresql-replica-nexi.enabled
appVersion: 0.9.7-5-NOD-855-deploy-dev
appVersion: 0.9.7-6-NOD-872_standin
2 changes: 1 addition & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart: &microservice-chart
namespace: "apiconfig"
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.9.7-5-NOD-855-deploy-dev
tag: 0.9.7-6-NOD-872_standin
canaryDelivery:
deployment:
image:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart: &microservice-chart
namespace: "apiconfig"
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.9.7-5-NOD-855-deploy-dev
tag: 0.9.7-6-NOD-872_standin
canaryDelivery:
deployment:
image:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart: &microservice-chart
namespace: "apiconfig"
image:
repository: ghcr.io/pagopa/pagopa-api-config-cache
tag: 0.9.7-5-NOD-855-deploy-dev
tag: 0.9.7-6-NOD-872_standin
canaryDelivery:
deployment:
image:
Expand Down
8 changes: 7 additions & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "API-Config Cache ${service}",
"description": "Generate cache for various microservices",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.9.7-5-NOD-855-deploy-dev"
"version": "0.9.7-6-NOD-872_standin"
},
"servers": [
{
Expand Down Expand Up @@ -1805,6 +1805,9 @@
},
"flag_travaso": {
"type": "boolean"
},
"flag_standin": {
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -2519,6 +2522,9 @@
"primitive_version": {
"type": "integer",
"format": "int32"
},
"flag_standin": {
"type": "boolean"
}
}
},
Expand Down
20 changes: 10 additions & 10 deletions openapi/openapi_export.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "API-Config Cache ${service}",
"description": "Generate cache for various microservices",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.9.7-5-NOD-855-deploy-dev"
"version": "0.9.7-6-NOD-872_standin"
},
"servers": [
{
Expand Down Expand Up @@ -44,8 +44,8 @@
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {}
}
},
"400": {
"description": "Bad Request",
"500": {
"description": "Service unavailable",
"content": {
"application/json": {
"schema": {
Expand All @@ -54,24 +54,24 @@
}
}
},
"429": {
"description": "Too many requests"
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"401": {
"description": "Unauthorized"
},
"500": {
"description": "Service unavailable",
"400": {
"description": "Bad Request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemJson"
}
}
}
},
"429": {
"description": "Too many requests"
}
},
"security": [
Expand Down
62 changes: 34 additions & 28 deletions openapi/openapi_fdrv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "API-Config Cache ${service}",
"description": "Generate cache for various microservices",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.9.7-5-NOD-855-deploy-dev"
"version": "0.9.7-6-NOD-872_standin"
},
"servers": [
{
Expand Down Expand Up @@ -50,8 +50,8 @@
}
],
"responses": {
"400": {
"description": "Bad Request",
"500": {
"description": "Service unavailable",
"content": {
"application/json": {
"schema": {
Expand All @@ -60,8 +60,11 @@
}
}
},
"429": {
"description": "Too many requests"
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"200": {
"description": "OK",
Expand All @@ -73,21 +76,18 @@
}
}
},
"403": {
"description": "Forbidden"
},
"401": {
"description": "Unauthorized"
},
"500": {
"description": "Service unavailable",
"400": {
"description": "Bad Request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemJson"
}
}
}
},
"429": {
"description": "Too many requests"
}
},
"security": [
Expand All @@ -105,8 +105,8 @@
"summary": "Get last v1 {stakeholder} cache version",
"operationId": "idV1",
"responses": {
"400": {
"description": "Bad Request",
"500": {
"description": "Service unavailable",
"content": {
"application/json": {
"schema": {
Expand All @@ -115,37 +115,37 @@
}
}
},
"429": {
"description": "Too many requests"
},
"404": {
"description": "Not Found"
"401": {
"description": "Unauthorized"
},
"403": {
"description": "Forbidden"
},
"401": {
"description": "Unauthorized"
"404": {
"description": "Not Found"
},
"500": {
"description": "Service unavailable",
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemJson"
"$ref": "#/components/schemas/CacheVersion"
}
}
}
},
"200": {
"description": "OK",
"400": {
"description": "Bad Request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CacheVersion"
"$ref": "#/components/schemas/ProblemJson"
}
}
}
},
"429": {
"description": "Too many requests"
}
},
"security": [
Expand Down Expand Up @@ -405,6 +405,9 @@
},
"flag_travaso": {
"type": "boolean"
},
"flag_standin": {
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -1119,6 +1122,9 @@
"primitive_version": {
"type": "integer",
"format": "int32"
},
"flag_standin": {
"type": "boolean"
}
}
},
Expand Down
Loading

0 comments on commit 6bf5a62

Please sign in to comment.