Skip to content

Commit

Permalink
Added prod config for opex
Browse files Browse the repository at this point in the history
  • Loading branch information
giampieroferrara committed Oct 7, 2024
1 parent 396d1e9 commit 61d7704
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
subscription=PROD-SelfCare
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
resource_group_name = "terraform-state-rg"
storage_account_name = "tfappprodselfcare"
container_name = "terraform-state"
key = "opex.ms-party-registry-proxy.tfstate"
126 changes: 126 additions & 0 deletions .opex/api-selfcare-party-registry-proxy/env/prod/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
oa3_spec: app/src/main/resources/swagger/api-docs.json
name: opex_api-ms-party-registry-proxy
location: West Europe
timespan: 30m # Default, a number or a timespan https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/timespan
data_source: /subscriptions/813119d7-0943-46ed-8ebe-cebe24f9106c/resourceGroups/selc-p-vnet-rg/providers/Microsoft.Network/applicationGateways/selc-p-app-gw
action_groups:
- /subscriptions/813119d7-0943-46ed-8ebe-cebe24f9106c/resourceGroups/selc-p-monitor-rg/providers/microsoft.insights/actionGroups/PagoPA
- /subscriptions/813119d7-0943-46ed-8ebe-cebe24f9106c/resourceGroups/selc-p-monitor-rg/providers/microsoft.insights/actionGroups/SlackPagoPA
overrides:
hosts: # Use these hosts instead of those inside the OpenApi spec
- api.selfcare.pagopa.it
endpoints:
/aoo:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/aoo/{codiceUniAoo}:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/categories:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/geotaxonomies:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/geotaxonomies/{geotaxId}:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/info-camere/institutions:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/infocamere-pdnd/institution/{taxCode}:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/institutions:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/institutions/{id}:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/insurance-companies:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/insurance-companies/{taxId}:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/insurance-companies/origin/{originId}:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/national-registries/legal-address:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/national-registries/verify-legal:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/origins/{origin}/categories/{code}:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/stations:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/stations/{taxId}:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/uo:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
/uo/{codiceUniUo}:
response_time_threshold: 100 # Default: 1
response_time_evaluation_frequency: 10 # Default: 10
response_time_evaluation_time_window: 30 # Default: 20
response_time_event_occurrences: 30 # Default:
availability_threshold: 0.8
11 changes: 11 additions & 0 deletions .opex/api-selfcare-party-registry-proxy/env/prod/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
prefix = "selc"
env = "prod"
env_short = "p"

tags = {
CreatedBy = "Terraform"
Environment = "Prod"
Owner = "SelfCare"
Source = "https://github.com/pagopa/selfcare-ms-party-registry-proxy"
CostCenter = "TS310 - PAGAMENTI & SERVIZI"
}

0 comments on commit 61d7704

Please sign in to comment.