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

Use Spring WebClient #829

Draft
wants to merge 64 commits into
base: main
Choose a base branch
from
Draft

Use Spring WebClient #829

wants to merge 64 commits into from

Conversation

thomaskrause
Copy link
Member

For long running operations on the same API Client (e.g. an export), it could happen that the token expired during the process. This refactors the CommonUI#getClient method to return a client that updates the JWT token before each request.

thomaskrause and others added 20 commits November 3, 2022 19:38
…yet)

The WebClient is a Spring class that can support automatic refreshing of the token. But using this new API means we have to change all calls to the (possible blocking) WebFlux calls.
…of strings as mono.

If OpenAPITools/openapi-generator#14125 gets merged, we won't need this workaround anymore
@thomaskrause thomaskrause marked this pull request as draft May 22, 2023 12:09
@thomaskrause thomaskrause self-assigned this May 22, 2023
thomaskrause and others added 29 commits July 27, 2023 17:01
@thomaskrause thomaskrause removed their assignment Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant