generated from pagopa/terraform-infrastructure-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(healthcheck-statuspage): PPABV-60 add new product to support nod…
…o,wallet and eCommerce healtcheck (#2678) * feat: add new product to support nodo,wallet and eCommerce healtcheck * chore: precommit refactoring
- Loading branch information
1 parent
73f8772
commit 11a1d56
Showing
8 changed files
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/domains/shared-app/04_apim_pagopa_platform_statuspage.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
############## | ||
## Products ## | ||
############## | ||
|
||
module "apim_pagopa_platform_statuspage_product" { | ||
source = "./.terraform/modules/__v3__/api_management_product" | ||
|
||
product_id = "pagoPAPlatformStatusPage" | ||
display_name = "pagoPA platform Status Page" | ||
description = "Prodotto pagoPA platform Status Page" | ||
|
||
api_management_name = local.pagopa_apim_name | ||
resource_group_name = local.pagopa_apim_rg | ||
|
||
published = true | ||
subscription_required = true | ||
approval_required = true | ||
subscriptions_limit = 1000 | ||
|
||
policy_xml = file("./api_product/_pagopa_platform_statuspage_policy.xml") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/domains/shared-app/api_product/_pagopa_platform_statuspage_policy.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<policies> | ||
<inbound> | ||
<base /> | ||
</inbound> | ||
<backend> | ||
<base /> | ||
</backend> | ||
<outbound> | ||
<base /> | ||
</outbound> | ||
<on-error> | ||
<base /> | ||
</on-error> | ||
</policies> |