diff --git a/infra/apim_v2/api/ms_external_api/v2/openapi.dev.json b/infra/apim_v2/api/ms_external_api/v2/openapi.dev.json index 36ba251c..b7b1a911 100644 --- a/infra/apim_v2/api/ms_external_api/v2/openapi.dev.json +++ b/infra/apim_v2/api/ms_external_api/v2/openapi.dev.json @@ -222,6 +222,16 @@ "schema": { "type": "string" } + }, + { + "name": "productId", + "in": "query", + "description": "productId", + "required": false, + "style": "form", + "schema": { + "type": "string" + } } ], "responses": { diff --git a/infra/apim_v2/api/ms_external_api/v2/openapi.prod.json b/infra/apim_v2/api/ms_external_api/v2/openapi.prod.json index d2c63eed..0ac67fd6 100644 --- a/infra/apim_v2/api/ms_external_api/v2/openapi.prod.json +++ b/infra/apim_v2/api/ms_external_api/v2/openapi.prod.json @@ -222,6 +222,16 @@ "schema": { "type": "string" } + }, + { + "name": "productId", + "in": "query", + "description": "productId", + "required": false, + "style": "form", + "schema": { + "type": "string" + } } ], "responses": { diff --git a/infra/apim_v2/api/ms_external_api/v2/openapi.uat.json b/infra/apim_v2/api/ms_external_api/v2/openapi.uat.json index d2c63eed..0ac67fd6 100644 --- a/infra/apim_v2/api/ms_external_api/v2/openapi.uat.json +++ b/infra/apim_v2/api/ms_external_api/v2/openapi.uat.json @@ -222,6 +222,16 @@ "schema": { "type": "string" } + }, + { + "name": "productId", + "in": "query", + "description": "productId", + "required": false, + "style": "form", + "schema": { + "type": "string" + } } ], "responses": { diff --git a/infra/apim_v2/apim.tf b/infra/apim_v2/apim.tf index 16fb8fe6..eadd7b18 100644 --- a/infra/apim_v2/apim.tf +++ b/infra/apim_v2/apim.tf @@ -378,7 +378,7 @@ module "apim_external_api_ms_v2" { }, { operation_id = "getInstitutionsUsingGET" - xml_content = templatefile("./api/base_ms_url_external_policy.xml.tpl", { + xml_content = templatefile("./api/base_ms_url_external_product_policy.xml.tpl", { MS_BACKEND_URL = "https://selc-${var.env_short}-ms-core-ca.${var.ca_suffix_dns_private_name}/" TENANT_ID = data.azurerm_client_config.current.tenant_id EXTERNAL-OAUTH2-ISSUER = data.azurerm_key_vault_secret.external-oauth2-issuer.value