Skip to content

Commit

Permalink
🚧 replace SSE URL to use Waypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Oct 9, 2024
1 parent 6570d18 commit 296b634
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/continuous-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,7 @@ jobs:
-e CLIENT_SECRET=${{ secrets.CLIENT_SECRET }} \
-e GOVERNANCE_CLIENT_SECRET=${{ secrets.GOVERNANCE_CLIENT_SECRET }} \
-e CLOUDAPI_URL=${{ secrets.CLOUDAPI_URL }} \
-e WAYPOINT_URL=${{ secrets.WAYPOINT_URL }} \
-e OAUTH_ENDPOINT=${{ secrets.OAUTH_ENDPOINT }} \
-e GOVERNANCE_OAUTH_ENDPOINT=${{ secrets.GOVERNANCE_OAUTH_ENDPOINT }} \
--workdir /scripts \
Expand Down
2 changes: 1 addition & 1 deletion scripts/k6/libs/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ export function genericWaitForSSEEvent(config) {
sseTag
} = config;

const sseUrl = `${__ENV.CLOUDAPI_URL}/tenant/v1/sse/${walletId}/${sseUrlPath}/${threadId}/${eventType}`;
const sseUrl = `${__ENV.WAYPOINT_URL}/sse/${walletId}/${sseUrlPath}/${threadId}/${eventType}`;
const headers = {
"x-api-key": accessToken,
};
Expand Down

0 comments on commit 296b634

Please sign in to comment.