From 707e658dc2b162bd92e1ddeb24c7f9b110c33569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Martins?= Date: Mon, 28 Oct 2024 17:30:23 +0100 Subject: [PATCH] Route notice api detail requests to their own service --- konf/site.yaml | 46 ++++++++++++++++++++-------------------------- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/konf/site.yaml b/konf/site.yaml index d95a42f0b60..4807043058b 100644 --- a/konf/site.yaml +++ b/konf/site.yaml @@ -125,7 +125,7 @@ env: - name: CONTRACTS_API_URL value: https://contracts.canonical.com/ - + - name: SECURITY_API_URL value: https://ubuntu.com/security/ @@ -220,7 +220,7 @@ production: - name: CONTRACTS_API_URL value: https://contracts.canonical.com/ - + - name: SECURITY_API_URL value: https://ubuntu.com/security/ @@ -275,17 +275,17 @@ production: secretKeyRef: key: api-key name: trueability - + - name: MARKETO_API_CLIENT secretKeyRef: key: api_client name: marketo - + - name: MARKETO_API_SECRET secretKeyRef: key: api_secret name: marketo - + - name: CREDLY_URL value: https://api.credly.com/v1 @@ -298,7 +298,7 @@ production: secretKeyRef: key: organization name: credly - + - name: CRED_MAINTENANCE value: true @@ -368,13 +368,12 @@ production: - name: SENTRY_DSN value: https://0293bb7fc3104e56bafd2422e155790c@sentry.is.canonical.com//13 - - paths: - [ - /security/notices\.json, - /security/notices/.*\.json - ] + - paths: [/security/notices\.json] service_name: ubuntu-com-security-api-notices - + + - paths: [/security/notices/.*\.json] + service_name: ubuntu-com-security-api-notices-detail + - paths: [/security/updates/.*] service_name: ubuntu-com-security-api-updates @@ -450,7 +449,7 @@ production: - name: CONTRACTS_API_URL value: https://contracts.canonical.com/ - + - name: STRIPE_PUBLISHABLE_KEY value: pk_live_68aXqowUeX574aGsVck8eiIE @@ -539,7 +538,7 @@ staging: - name: STORE_MAINTENANCE_END value: 2024-03-27T05:00:00Z - + - name: CRED_MAINTENANCE value: true @@ -653,7 +652,7 @@ staging: - name: CONTRACTS_API_URL value: https://contracts.staging.canonical.com/ - + - name: SECURITY_API_URL value: https://staging.ubuntu.com/security/ @@ -901,14 +900,9 @@ staging: - name: SENTRY_DSN value: https://0293bb7fc3104e56bafd2422e155790c@sentry.is.canonical.com//13 - - - paths: - [ - /security/notices\.json, - /security/notices/.*\.json - ] + - paths: [/security/notices\.json, /security/notices/.*\.json] service_name: ubuntu-com-security-api-notices - + - paths: [/security/updates/.*] service_name: ubuntu-com-security-api-updates @@ -947,7 +941,7 @@ staging: - name: SENTRY_DSN value: https://08dea8b1d0414fb89b28844cdb1e16a0@sentry.is.canonical.com//53 - + - name: SECURITY_API_URL value: https://staging.ubuntu.com/security/ @@ -987,7 +981,7 @@ staging: - name: CONTRACTS_API_URL value: https://contracts.staging.canonical.com/ - + - name: SECURITY_API_URL value: https://staging.ubuntu.com/security/ @@ -1049,7 +1043,7 @@ demo: - name: STORE_MAINTENANCE_END value: 2024-03-27T05:00:00Z - + - name: CRED_MAINTENANCE value: true @@ -1128,7 +1122,7 @@ demo: - name: CONTRACTS_API_URL value: https://contracts.staging.canonical.com/ - + - name: SECURITY_API_URL value: https://staging.ubuntu.com/security/