Skip to content

Commit

Permalink
Change truability api to new url (#13644)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhigyanghosh30 committed Mar 4, 2024
1 parent 76ef96e commit cfdeb89
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<trueability_api_key>
BADGR_URL=https://api.test.badgr.com
BAGDR_USER=<badgr_user>
Expand Down
10 changes: 5 additions & 5 deletions konf/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion webapp/shop/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit cfdeb89

Please sign in to comment.