Skip to content

Commit faaa7f2

Browse files
[SELC-5648] fix: add productId filter in getInstitutions API (#509)
1 parent 07ec6a0 commit faaa7f2

File tree

4 files changed

+31
-1
lines changed

4 files changed

+31
-1
lines changed

infra/apim_v2/api/ms_external_api/v2/openapi.dev.json

+10
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,16 @@
222222
"schema": {
223223
"type": "string"
224224
}
225+
},
226+
{
227+
"name": "productId",
228+
"in": "query",
229+
"description": "productId",
230+
"required": false,
231+
"style": "form",
232+
"schema": {
233+
"type": "string"
234+
}
225235
}
226236
],
227237
"responses": {

infra/apim_v2/api/ms_external_api/v2/openapi.prod.json

+10
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,16 @@
222222
"schema": {
223223
"type": "string"
224224
}
225+
},
226+
{
227+
"name": "productId",
228+
"in": "query",
229+
"description": "productId",
230+
"required": false,
231+
"style": "form",
232+
"schema": {
233+
"type": "string"
234+
}
225235
}
226236
],
227237
"responses": {

infra/apim_v2/api/ms_external_api/v2/openapi.uat.json

+10
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,16 @@
222222
"schema": {
223223
"type": "string"
224224
}
225+
},
226+
{
227+
"name": "productId",
228+
"in": "query",
229+
"description": "productId",
230+
"required": false,
231+
"style": "form",
232+
"schema": {
233+
"type": "string"
234+
}
225235
}
226236
],
227237
"responses": {

infra/apim_v2/apim.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ module "apim_external_api_ms_v2" {
378378
},
379379
{
380380
operation_id = "getInstitutionsUsingGET"
381-
xml_content = templatefile("./api/base_ms_url_external_policy.xml.tpl", {
381+
xml_content = templatefile("./api/base_ms_url_external_product_policy.xml.tpl", {
382382
MS_BACKEND_URL = "https://selc-${var.env_short}-ms-core-ca.${var.ca_suffix_dns_private_name}/"
383383
TENANT_ID = data.azurerm_client_config.current.tenant_id
384384
EXTERNAL-OAUTH2-ISSUER = data.azurerm_key_vault_secret.external-oauth2-issuer.value

0 commit comments

Comments
 (0)