Skip to content

Commit

Permalink
Merge pull request canonical#14452 from canonical/api-notice-detail-r…
Browse files Browse the repository at this point in the history
…oute

Route notice api detail requests to their own service
  • Loading branch information
jpmartinspt authored Oct 28, 2024
2 parents 9959676 + 707e658 commit ec5bcc3
Showing 1 changed file with 20 additions and 26 deletions.
46 changes: 20 additions & 26 deletions konf/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ env:

- name: CONTRACTS_API_URL
value: https://contracts.canonical.com/

- name: SECURITY_API_URL
value: https://ubuntu.com/security/

Expand Down Expand Up @@ -220,7 +220,7 @@ production:

- name: CONTRACTS_API_URL
value: https://contracts.canonical.com/

- name: SECURITY_API_URL
value: https://ubuntu.com/security/

Expand Down Expand Up @@ -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

Expand All @@ -298,7 +298,7 @@ production:
secretKeyRef:
key: organization
name: credly

- name: CRED_MAINTENANCE
value: true

Expand Down Expand Up @@ -368,13 +368,12 @@ production:
- name: SENTRY_DSN
value: https://[email protected]//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

Expand Down Expand Up @@ -450,7 +449,7 @@ production:

- name: CONTRACTS_API_URL
value: https://contracts.canonical.com/

- name: STRIPE_PUBLISHABLE_KEY
value: pk_live_68aXqowUeX574aGsVck8eiIE

Expand Down Expand Up @@ -539,7 +538,7 @@ staging:

- name: STORE_MAINTENANCE_END
value: 2024-03-27T05:00:00Z

- name: CRED_MAINTENANCE
value: true

Expand Down Expand Up @@ -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/

Expand Down Expand Up @@ -901,14 +900,9 @@ staging:
- name: SENTRY_DSN
value: https://[email protected]//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

Expand Down Expand Up @@ -947,7 +941,7 @@ staging:

- name: SENTRY_DSN
value: https://[email protected]//53

- name: SECURITY_API_URL
value: https://staging.ubuntu.com/security/

Expand Down Expand Up @@ -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/

Expand Down Expand Up @@ -1049,7 +1043,7 @@ demo:

- name: STORE_MAINTENANCE_END
value: 2024-03-27T05:00:00Z

- name: CRED_MAINTENANCE
value: true

Expand Down Expand Up @@ -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/

Expand Down

0 comments on commit ec5bcc3

Please sign in to comment.