-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IOCOM-1996] Add api_io_fims OPEX dashboard (#1173)
* add io_fims opex config * add workflows
- Loading branch information
1 parent
f690ce5
commit 742b3c7
Showing
6 changed files
with
89 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Opex Dashboard api_io_fims | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'openapi/generated/api_io_fims.yaml' | ||
- '.github/workflows/opex_api_io_fims.yml' | ||
- '.opex/api_io_fims/**' | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
|
||
jobs: | ||
apply: | ||
uses: ./.github/workflows/call_opex_api.yml | ||
name: Apply changes to Production | ||
secrets: inherit | ||
with: | ||
api_name: api_io_fims |
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,30 @@ | ||
name: PR - Opex Dashboard api_io_fims | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
branches: | ||
- master | ||
paths: | ||
- 'api_io_fims.yaml' | ||
- '.github/workflows/pr_opex_api_io_fims.yml' | ||
- '.github/workflows/opex_api_io_fims.yml' | ||
- '.opex/api_io_fims/**' | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
plan: | ||
uses: ./.github/workflows/call_pr_opex_api.yml | ||
name: Plan changes against Production | ||
secrets: inherit | ||
with: | ||
api_name: api_io_fims |
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-IO |
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 = "tfappprodio" | ||
container_name = "terraform-state" | ||
key = "opex.io-backend.api_io_fims.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,21 @@ | ||
oa3_spec: api_io_fims.yaml | ||
name: opex_iobackend_api_io_fims | ||
location: West Europe | ||
timespan: 5m | ||
evaluation_frequency: 10 | ||
evaluation_time_window: 30 | ||
event_occurrences: 4 # After 5*4=20 min | ||
data_source: /subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-rg-external/providers/Microsoft.Network/applicationGateways/io-p-appgateway | ||
action_groups: | ||
- /subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-msgs-rg-01/providers/Microsoft.Insights/actiongroups/io-p-com-error-ag-01 | ||
overrides: | ||
hosts: | ||
- app-backend.io.italia.it | ||
- api-app.io.pagopa.it | ||
endpoints: | ||
/api/v1/fims/accesses: | ||
response_time_threshold: 1 | ||
availability_threshold: 0.90 | ||
/api/v1/fims/export-requests: | ||
response_time_threshold: 1 | ||
availability_threshold: 0.90 |
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,10 @@ | ||
prefix = "io" | ||
env_short = "p" | ||
|
||
tags = { | ||
CreatedBy = "Terraform" | ||
Environment = "Prod" | ||
Owner = "io" | ||
Source = "https://github.com/pagopa/io-backend" | ||
CostCenter = "TS310 - PAGAMENTI & SERVIZI" | ||
} |