Skip to content

Commit

Permalink
chore: ApiConfig-swagger-update (#2424)
Browse files Browse the repository at this point in the history
* Update from pagopa/pagopa-api-config@9ed065d

* chore(apiconfig): bump openapi version

* fix cdn_storage_account_replication_type prod

---------

Co-authored-by: pagopa-github-bot <[email protected]>
Co-authored-by: Jacopo Carlini <[email protected]>
Co-authored-by: Francesco <[email protected]>
  • Loading branch information
4 people authored Jan 31, 2025
1 parent d70f244 commit e56e086
Show file tree
Hide file tree
Showing 2 changed files with 213 additions and 4 deletions.
215 changes: 212 additions & 3 deletions src/domains/apiconfig-app/api/apiconfig_api/v1/_openapi.json.tpl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"openapi": "3.0.1",
"info": {
"title": "api-config core ${host}",
"title": "core",
"description": "Spring application exposes APIs to manage configuration for CI/PSP on the Nodo dei Pagamenti",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "0.59.12"
"version": "0.59.26"
},
"servers": [
{
Expand Down Expand Up @@ -684,6 +684,168 @@
}
]
},
"/brokers/station-maintenances": {
"get": {
"tags": [
"Creditor Institutions"
],
"summary": "Get a list of all stations' maintenance filtered by dates",
"operationId": "getAllStationsMaintenances",
"parameters": [
{
"name": "startDateTimeBefore",
"in": "query",
"description": "Start date of maintenance, used to retrieve all maintenance that start before the provided date (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')",
"required": false,
"schema": {
"type": "string",
"format": "date-time"
},
"example": "2024-04-01T10:00:00.000Z"
},
{
"name": "startDateTimeAfter",
"in": "query",
"description": "Start date of maintenance, used to retrieve all maintenance that start after the provided date (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')",
"required": false,
"schema": {
"type": "string",
"format": "date-time"
},
"example": "2024-04-01T10:00:00.000Z"
},
{
"name": "endDateTimeBefore",
"in": "query",
"description": "End date of maintenance, used to retrieve all maintenance that start before the provided date (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')",
"required": false,
"schema": {
"type": "string",
"format": "date-time"
},
"example": "2024-04-01T13:00:00.000Z"
},
{
"name": "endDateTimeAfter",
"in": "query",
"description": "End date of maintenance, used to retrieve all maintenance that start after the provided date (yyyy-MM-dd'T'HH:mm:ss.SSS'Z')",
"required": false,
"schema": {
"type": "string",
"format": "date-time"
},
"example": "2024-04-01T13:00:00.000Z"
}
],
"responses": {
"200": {
"description": "OK",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
"schema": {
"type": "string"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StationMaintenanceListResource"
}
}
}
},
"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"
}
}
}
},
"401": {
"description": "Unauthorized",
"headers": {
"X-Request-Id": {
"description": "This header identifies the call",
"schema": {
"type": "string"
}
}
}
},
"403": {
"description": "Forbidden",
"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"
}
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemJson"
}
}
}
}
},
"security": [
{
"ApiKey": []
},
{
"Authorization": []
}
]
},
"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"
}
}
]
},
"/brokers/{brokercode}": {
"get": {
"tags": [
Expand Down Expand Up @@ -18538,6 +18700,7 @@
"required": [
"broker_code",
"enabled",
"flag_standin",
"port",
"primitive_version",
"protocol",
Expand Down Expand Up @@ -18716,6 +18879,16 @@
"type": "integer",
"description": "Primitive number version",
"format": "int32"
},
"flag_standin": {
"type": "boolean",
"description": "Represents the authorization to use the standin mode with this station"
},
"is_payment_options_enabled": {
"type": "boolean"
},
"rest_endpoint": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -18853,6 +19026,13 @@
"type": "string",
"example": "Comune di Lorem Ipsum"
},
"description": {
"maxLength": 255,
"minLength": 0,
"type": "string",
"description": "The description of the Creditor Institution",
"example": "Comune di Roma"
},
"cbill_code": {
"type": "string",
"example": "1234567890100"
Expand Down Expand Up @@ -18920,6 +19100,9 @@
},
"stand_in": {
"type": "boolean"
},
"spontaneous_payment": {
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -19197,6 +19380,7 @@
"digital_stamp_brand",
"enabled",
"flag_psp_cp",
"flag_standin",
"on_us",
"payment_model",
"port",
Expand Down Expand Up @@ -19375,6 +19559,10 @@
"flag_psp_cp": {
"type": "boolean",
"description": "Represents the authorization to carry out the transfer of the information present in additional payment information in the tags relating to payment by card for the PA in V1"
},
"flag_standin": {
"type": "boolean",
"description": "Represents the authorization to use the standin mode with this channel"
}
}
},
Expand Down Expand Up @@ -19497,7 +19685,8 @@
"type": "string",
"description": "Code of the broker that owns the station"
}
}
},
"description": "List of station's maintenance"
},
"PspChannelCode": {
"required": [
Expand Down Expand Up @@ -19849,6 +20038,13 @@
"type": "string",
"example": "Comune di Lorem Ipsum"
},
"description": {
"maxLength": 255,
"minLength": 0,
"type": "string",
"description": "The description of the Creditor Institution",
"example": "Comune di Roma"
},
"application_code": {
"type": "integer",
"format": "int64"
Expand All @@ -19872,6 +20068,9 @@
},
"stand_in": {
"type": "boolean"
},
"spontaneous_payment": {
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -20260,6 +20459,13 @@
"minLength": 0,
"type": "string",
"example": "Comune di Lorem Ipsum"
},
"description": {
"maxLength": 255,
"minLength": 0,
"type": "string",
"description": "The description of the Creditor Institution",
"example": "Comune di Roma"
}
}
},
Expand Down Expand Up @@ -20355,6 +20561,9 @@
},
"stand_in": {
"type": "boolean"
},
"spontaneous_payment": {
"type": "boolean"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/domains/apiconfig-app/env/weu-prod/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sku_name = "P1v3"
# API Config FE
api_config_fe_enabled = true
cname_record_name = "config"
cdn_storage_account_replication_type = "GRS"
cdn_storage_account_replication_type = "GZRS"

pod_disruption_budgets = {
"apiconfig-selfcare-integration" = {
Expand Down

0 comments on commit e56e086

Please sign in to comment.