Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change truability api to new url #13644

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading