-
Notifications
You must be signed in to change notification settings - Fork 1
Use authorized wildcat admin endpoints #20
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
Conversation
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall 👍
The token issue (if it's not just temporary) would be good to address imo
src/main.tsx
Outdated
} | ||
|
||
void prepare().then(() => { | ||
// loadToken(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be removed?
src/pages/quotes/QuotePage.tsx
Outdated
} | ||
|
||
const onActivateKeyset = () => { | ||
toast.loading("Activating keyset…", { id: `quote-${value.id}-activate-keyset` }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one could go inside the onMutate
callback of activateKeysetMutation
mutation
📝 Description
Changes
Demo environment, please see .env.development
The login for the demo user from wildcat at the time of writing (1b3b3e64af1f48a138ed80e3beb69e2564cc3521) is democat:bitcredit
This update was tested locally without running it in a docker container, pointing toward the keycloak auth endpoint and bff-dashboard-service endpoint from wildcat.
Out of scope
Currently the client and endpoints are generated using open api json. The wildcat admin endpoints are aggregated from multiple services each using their own specification.
Since only a few endpoints are practically used, there is a (re)consideration whether the proceed with OpenAPI generated code.
TODO
✅ Checklist
Please ensure the following tasks are completed before requesting a review:
npm run lint
or the equivalent linting command.Screenshots