From cfdeb89638a179b5013f9251fa23d01e2f292878 Mon Sep 17 00:00:00 2001 From: Abhigyan Ghosh <30973042+abhigyanghosh30@users.noreply.github.com> Date: Tue, 5 Mar 2024 02:45:17 +0530 Subject: [PATCH] Change truability api to new url (#13644) --- .env | 2 +- HACKING.md | 4 ++-- konf/site.yaml | 10 +++++----- webapp/shop/decorators.py | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.env b/.env index 0d6a1e1e5d0..1726fb8429a 100644 --- a/.env +++ b/.env @@ -6,7 +6,7 @@ CONTRACTS_API_URL=https://contracts.staging.canonical.com/ STRIPE_PUBLISHABLE_KEY=pk_test_yndN9H0GcJffPe0W58Nm64cM00riYG4N46 STORE_MAINTENANCE=false BADGR_URL=https://api.test.badgr.com -TRUEABILITY_URL="https://app.trueability.com" +TRUEABILITY_URL="https://app3.trueability.com" CREDLY_URL="https://api.credly.com/v1" BADGR_ISSUER="36ZEJnXdTjqobw93BJElog" CERTIFIED_BADGE="x9kzmcNhSSyqYhZcQGz0qg" diff --git a/HACKING.md b/HACKING.md index b5d6ec6257a..bf3ee0901d0 100644 --- a/HACKING.md +++ b/HACKING.md @@ -121,11 +121,11 @@ For the most part this will happen automatically as long as the subpages (/ai/wh ### Working on Credentials If you want to work on [Credentials](https://ubuntu.com/credentials) you need to add some environment vars into your `.env.local`. -If you have a TrueAbility account with API access enabled, you can find your API key in [Settings](https://app.trueability.com/settings). +If you have a TrueAbility account with API access enabled, you can find your API key in [Settings](https://app3.trueability.com/settings). ``` -TRUEABILITY_URL="https://app.trueability.com" +TRUEABILITY_URL="https://app3.trueability.com" TRUEABILITY_API_KEY= BADGR_URL=https://api.test.badgr.com BAGDR_USER= diff --git a/konf/site.yaml b/konf/site.yaml index 32306cf46bb..ca8db983131 100644 --- a/konf/site.yaml +++ b/konf/site.yaml @@ -121,7 +121,7 @@ env: value: pk_live_68aXqowUeX574aGsVck8eiIE - name: TRUEABILITY_URL - value: https://app.trueability.com + value: https://app3.trueability.com - name: TRUEABILITY_API_KEY secretKeyRef: @@ -254,7 +254,7 @@ production: name: confidentiality-webhook - name: TRUEABILITY_URL - value: https://app.trueability.com + value: https://app3.trueability.com - name: TRUEABILITY_API_KEY secretKeyRef: @@ -593,7 +593,7 @@ staging: value: pk_test_yndN9H0GcJffPe0W58Nm64cM00riYG4N46 - name: TRUEABILITY_URL - value: https://app.trueability.com + value: https://app3.trueability.com - name: TRUEABILITY_API_KEY secretKeyRef: @@ -729,7 +729,7 @@ staging: name: confidentiality-webhook - name: TRUEABILITY_URL - value: https://app.trueability.com + value: https://app3.trueability.com - name: TRUEABILITY_API_KEY secretKeyRef: @@ -1018,7 +1018,7 @@ demo: value: pk_test_yndN9H0GcJffPe0W58Nm64cM00riYG4N46 - name: TRUEABILITY_URL - value: https://app.trueability.com + value: https://app3.trueability.com - name: TRUEABILITY_API_KEY secretKeyRef: diff --git a/webapp/shop/decorators.py b/webapp/shop/decorators.py index b4d7e18daa7..d546ccf5e9f 100644 --- a/webapp/shop/decorators.py +++ b/webapp/shop/decorators.py @@ -240,7 +240,7 @@ def get_trueability_api_instance(area, trueability_session) -> TrueAbilityAPI: return None return TrueAbilityAPI( - os.getenv("TRUEABILITY_URL", "https://app.trueability.com"), + os.getenv("TRUEABILITY_URL", "https://app3.trueability.com"), os.getenv("TRUEABILITY_API_KEY", ""), trueability_session, )