Skip to content

Commit 7a6bdf3

Browse files
mdc italy
1 parent c06e005 commit 7a6bdf3

36 files changed

+103
-117
lines changed

.terraform-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.13.3
1+
1.14.4

src/mdc/02_product.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ resource "azurerm_api_management_product_policy" "this" {
2121
api_management_name = local.apim_name
2222

2323
xml_content = each.value.policy
24+
25+
depends_on = [
26+
azurerm_api_management_policy_fragment.this
27+
]
2428
}
2529

2630
resource "azurerm_api_management_product_group" "this" {

src/mdc/99_locals.tf

Lines changed: 65 additions & 66 deletions
Large diffs are not rendered by default.

src/mdc/99_variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ variable "location_short" {
4747

4848
# MDC specific
4949

50-
variable "ingress_load_balancer_hostname" {
51-
type = string
52-
description = "Ingress hostname used by APIM to reach EMD backends."
53-
}
54-
5550
variable "rate_limit_emd_product" {
5651
type = number
5752
description = "Rate limit for MDC and TPP products."

src/mdc/api/emd_citizen/get-citizen-consent-enabled-list-policy.xml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<policies>
1414
<inbound>
1515
<base />
16-
<set-backend-service base-url="https://${ingress_load_balancer_hostname}/emdcitizen" />
16+
<set-backend-service base-url="${ingress_load_balancer_hostname}/emdcitizen" />
1717
<rewrite-uri template="@("/emd/citizen/list/{fiscalCode}/enabled")" />
1818
</inbound>
1919
<backend>

src/mdc/api/emd_citizen/get-citizen-consent-enabled-policy.xml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<policies>
1414
<inbound>
1515
<base />
16-
<set-backend-service base-url="https://${ingress_load_balancer_hostname}/emdcitizen" />
16+
<set-backend-service base-url="${ingress_load_balancer_hostname}/emdcitizen" />
1717
<rewrite-uri template="@("/emd/citizen/{tppId}")" />
1818
</inbound>
1919
<backend>

src/mdc/api/emd_citizen/get-citizen-consent-list-policy.xml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<policies>
1414
<inbound>
1515
<base />
16-
<set-backend-service base-url="https://${ingress_load_balancer_hostname}/emdcitizen" />
16+
<set-backend-service base-url="${ingress_load_balancer_hostname}/emdcitizen" />
1717
<rewrite-uri template="@("/emd/citizen/list/{fiscalCode}")" />
1818
</inbound>
1919
<backend>

src/mdc/api/emd_citizen/get-citizen-consent-status-policy.xml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<policies>
1414
<inbound>
1515
<base />
16-
<set-backend-service base-url="https://${ingress_load_balancer_hostname}/emdcitizen" />
16+
<set-backend-service base-url="${ingress_load_balancer_hostname}/emdcitizen" />
1717
<rewrite-uri template="@("/emd/citizen/{fiscalCode}/{tppId}")" />
1818
</inbound>
1919
<backend>

src/mdc/api/emd_citizen/openapi.citizen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.3
22
info:
3-
title: EMD CITIZEN CONSENT API
3+
title: EMD CITIZEN CONSENT API ITN
44
version: '1.0'
55
description: |-
66
EMD CITIZEN CONSENT

src/mdc/api/emd_citizen/post-insert-citizen-consent-policy.xml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<policies>
1414
<inbound>
1515
<base />
16-
<set-backend-service base-url="https://${ingress_load_balancer_hostname}/emdcitizen" />
16+
<set-backend-service base-url="${ingress_load_balancer_hostname}/emdcitizen" />
1717
<rewrite-uri template="@("/emd/citizen/{fiscalCode}/{tppId}")" />
1818
</inbound>
1919
<backend>

0 commit comments

Comments
 (0)