Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnGarbutt authored Sep 4, 2024
1 parent 3696044 commit 5e72aee
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ into your Blazar configuration:
[enforcement]
enabled_filters = ExternalServiceFilter
external_service_bearer_token = <token goes here>
external_service_check_create_endpoint = https://credits.<azimuth_url>/consumer/check-create/
external_service_commit_create_endpoint = https://credits.<azimuth_url>/consumer/create/
external_service_check_update_endpoint = https://credits.<azimuth_url>/consumer/check-update/
external_service_commit_update_endpoint = https://credits.<azimuth_url>/consumer/update/
external_service_on_end_endpoint = https://credits.<azimuth_url>/consumer/on-end/
external_service_check_create_endpoint = https://coral.<azimuth_url>/consumer/check-create/
external_service_commit_create_endpoint = https://coral.<azimuth_url>/consumer/create/
external_service_check_update_endpoint = https://coral.<azimuth_url>/consumer/check-update/
external_service_commit_update_endpoint = https://coral.<azimuth_url>/consumer/update/
external_service_on_end_endpoint = https://coral.<azimuth_url>/consumer/on-end/
```

To generate the service bearer token do something
like this:
```
CONTENT_TYPE="Content-Type: application/json"
TEST_PASSWORD=<password>
SITE_URL="https://credits.<azimuth_url>"
SITE_URL="https://coral.<azimuth_url>"
TOKEN=$(curl -s -X POST -H "$CONTENT_TYPE" -d \
"{
Expand Down

0 comments on commit 5e72aee

Please sign in to comment.