korpling / ANNIS

ANNIS is an open source, versatile web browser-based search and visualization architecture for complex multilevel linguistic corpora with diverse types of annotation.
http://corpus-tools.org/annis/
Apache License 2.0
67 stars 25 forks source link

Refactor JWT Token renewal #808

Closed thomaskrause closed 1 year ago

thomaskrause commented 1 year ago

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.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

87.0% 87.0% Coverage
0.0% 0.0% Duplication

bors[bot] commented 1 year ago

Build succeeded: