-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1bb39c
commit e330298
Showing
28 changed files
with
115 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,8 @@ jobs: | |
strategy: | ||
matrix: | ||
environment: [prod] | ||
product: [apim_v1, apim_v2] | ||
infra: [apim_v1, apim_v2] | ||
product: [redirect, trx_v1, trx_v2] | ||
max-parallel: 1 | ||
environment: | ||
name: ${{ matrix.environment }} | ||
|
@@ -43,8 +44,8 @@ jobs: | |
- uses: pagopa/[email protected] | ||
with: | ||
environment: ${{ matrix.environment }} | ||
api-name: ${{ matrix.product }} # empty to have `.opex/env` directory structure | ||
config: .opex/${{ matrix.product }}/env/${{ matrix.environment }}/config.yaml | ||
api-name: ${{ matrix.infra }}/${{ matrix.product }} # empty to have `.opex/env` directory structure | ||
config: .opex/${{ matrix.infra }}/${{ matrix.product }}/env/${{ matrix.environment }}/config.yaml | ||
client-id: ${{ secrets.CLIENT_ID }} | ||
tenant-id: ${{ secrets.TENANT_ID }} | ||
subscription-id: ${{ secrets.SUBSCRIPTION_ID }} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.opex/apim_v1/env/prod/backend.tfvars → .../apim_v1/redirect/env/prod/backend.tfvars
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
resource_group_name = "terraform-state-rg" | ||
storage_account_name = "tfappprodpagopa" | ||
container_name = "terraform-state" | ||
key = "opex.pagopa-ecommerce-transactions-service.terraform.tfstate" | ||
key = "opex.pagopa-ecommerce-transactions-service-redirect.terraform.tfstate" |
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,12 @@ | ||
oa3_spec: ./api-spec/client/openapi/redirect/redirect-api.yaml # If start with http the file would be downloaded from the internet | ||
name: opex_pagopa-ecommerce-transactions-redirect-service | ||
location: West Europe | ||
timespan: 5m # Default, a number or a timespan https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/timespan | ||
data_source: /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-api-rg/providers/Microsoft.ApiManagement/service/pagopa-p-apim | ||
resource_type: api-management | ||
action_groups: | ||
- /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-monitor-rg/providers/microsoft.insights/actionGroups/PagoPA | ||
- /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-monitor-rg/providers/microsoft.insights/actionGroups/SlackPagoPA | ||
overrides: | ||
hosts: # Use these hosts instead of those inside the OpenApi spec | ||
- api.platform.pagopa.it |
File renamed without changes.
File renamed without changes.
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,4 @@ | ||
resource_group_name = "terraform-state-rg" | ||
storage_account_name = "tfappprodpagopa" | ||
container_name = "terraform-state" | ||
key = "opex.pagopa-ecommerce-transactions-v1-service.terraform.tfstate" |
4 changes: 2 additions & 2 deletions
4
.opex/apim_v1/env/prod/config.yaml → .opex/apim_v1/trx_v1/env/prod/config.yaml
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
File renamed without changes.
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 @@ | ||
subscription=PROD-pagoPA |
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,4 @@ | ||
resource_group_name = "terraform-state-rg" | ||
storage_account_name = "tfappprodpagopa" | ||
container_name = "terraform-state" | ||
key = "opex.pagopa-ecommerce-transactions-v1-service.terraform.tfstate" |
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,12 @@ | ||
oa3_spec: ./api-spec/v2/transactions-api.yaml # If start with http the file would be downloaded from the internet | ||
name: opex_pagopa-ecommerce-transactions-v2-service | ||
location: West Europe | ||
timespan: 5m # Default, a number or a timespan https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/timespan | ||
data_source: /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-api-rg/providers/Microsoft.ApiManagement/service/pagopa-p-apim | ||
resource_type: api-management | ||
action_groups: | ||
- /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-monitor-rg/providers/microsoft.insights/actionGroups/PagoPA | ||
- /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-monitor-rg/providers/microsoft.insights/actionGroups/SlackPagoPA | ||
overrides: | ||
hosts: # Use these hosts instead of those inside the OpenApi spec | ||
- api.platform.pagopa.it |
4 changes: 2 additions & 2 deletions
4
.opex/apim_v1/env/uat/terraform.tfvars → .../apim_v1/trx_v2/env/prod/terraform.tfvars
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
subscription=PROD-pagoPA |
2 changes: 1 addition & 1 deletion
2
.opex/apim_v2/env/prod/backend.tfvars → .../apim_v2/redirect/env/prod/backend.tfvars
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
resource_group_name = "terraform-state-rg" | ||
storage_account_name = "tfappprodpagopa" | ||
container_name = "terraform-state" | ||
key = "opex.pagopa-ecommerce-transactions-service-apimv2.terraform.tfstate" | ||
key = "opex.pagopa-ecommerce-transactions-service-redirect-apimv2.terraform.tfstate" |
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,13 @@ | ||
oa3_spec: ./api-spec/client/openapi/redirect/redirect-api.yaml # If start with http the file would be downloaded from the internet | ||
name: opex_pagopa-ecommerce-transactions-redirect-service-apimv2 | ||
location: West Europe | ||
timespan: 5m # Default, a number or a timespan https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/timespan | ||
# data_source: /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-api-rg/providers/Microsoft.ApiManagement/service/pagopa-p-apim | ||
data_source: /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-api-rg/providers/Microsoft.ApiManagement/service/pagopa-p-weu-core-apim-v2 | ||
resource_type: api-management | ||
action_groups: | ||
- /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-monitor-rg/providers/microsoft.insights/actionGroups/PagoPA | ||
- /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-monitor-rg/providers/microsoft.insights/actionGroups/SlackPagoPA | ||
overrides: | ||
hosts: # Use these hosts instead of those inside the OpenApi spec | ||
- api.platform.pagopa.it |
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,11 @@ | ||
prefix = "pagopa" | ||
env_short = "p" | ||
|
||
|
||
tags = { | ||
CreatedBy = "Terraform" | ||
Environment = "Prod" | ||
Owner = "pagoPA" | ||
Source = "https://github.com/pagopa/pagopa-ecommerce-transactions-service" | ||
CostCenter = "TS310 - PAGAMENTI & SERVIZI" | ||
} |
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 @@ | ||
subscription=PROD-pagoPA |
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,4 @@ | ||
resource_group_name = "terraform-state-rg" | ||
storage_account_name = "tfappprodpagopa" | ||
container_name = "terraform-state" | ||
key = "opex.pagopa-ecommerce-transactions-v1-service-apimv2.terraform.tfstate" |
4 changes: 2 additions & 2 deletions
4
.opex/apim_v2/env/prod/config.yaml → .opex/apim_v2/trx_v1/env/prod/config.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
prefix = "pagopa" | ||
env_short = "p" | ||
|
||
|
||
tags = { | ||
CreatedBy = "Terraform" | ||
Environment = "Prod" | ||
Owner = "pagoPA" | ||
Source = "https://github.com/pagopa/pagopa-ecommerce-transactions-service" | ||
CostCenter = "TS310 - PAGAMENTI & SERVIZI" | ||
} |
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 @@ | ||
subscription=PROD-pagoPA |
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,4 @@ | ||
resource_group_name = "terraform-state-rg" | ||
storage_account_name = "tfappprodpagopa" | ||
container_name = "terraform-state" | ||
key = "opex.pagopa-ecommerce-transactions-v2-service-apimv2.terraform.tfstate" |
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,13 @@ | ||
oa3_spec: ./api-spec/v2/transactions-api.yaml # If start with http the file would be downloaded from the internet | ||
name: opex_pagopa-ecommerce-transactions-v2-service-apimv2 | ||
location: West Europe | ||
timespan: 5m # Default, a number or a timespan https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/timespan | ||
# data_source: /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-api-rg/providers/Microsoft.ApiManagement/service/pagopa-p-apim | ||
data_source: /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-api-rg/providers/Microsoft.ApiManagement/service/pagopa-p-weu-core-apim-v2 | ||
resource_type: api-management | ||
action_groups: | ||
- /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-monitor-rg/providers/microsoft.insights/actionGroups/PagoPA | ||
- /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-monitor-rg/providers/microsoft.insights/actionGroups/SlackPagoPA | ||
overrides: | ||
hosts: # Use these hosts instead of those inside the OpenApi spec | ||
- api.platform.pagopa.it |
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,11 @@ | ||
prefix = "pagopa" | ||
env_short = "p" | ||
|
||
|
||
tags = { | ||
CreatedBy = "Terraform" | ||
Environment = "Prod" | ||
Owner = "pagoPA" | ||
Source = "https://github.com/pagopa/pagopa-ecommerce-transactions-service" | ||
CostCenter = "TS310 - PAGAMENTI & SERVIZI" | ||
} |