DSD-DBS / capella-collab-manager

A web app for collaboration on Capella (MBSE) projects
https://dsd-dbs.github.io/capella-collab-manager/
Apache License 2.0
20 stars 3 forks source link

feat(routing): Add redundancy and 401 error handling to session routing #1612

Closed MoritzWeber0 closed 2 months ago

MoritzWeber0 commented 2 months ago

When a user connects to a terminated or foreign session, nginx raises an 401 error, which is displayed to the user. Since it doesn't contain more information, it might be confusing. This PR adds possible reasons and solution approaches to the error message.

In addition, increase the replica for the nginx sessions router to 2 and introduce a PodDisruptionBudget to ensure that there is always one Pod available.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.81%. Comparing base (91ca9f5) to head (3dd47d7).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1612 +/- ## ======================================= Coverage 79.81% 79.81% ======================================= Files 185 185 Lines 5970 5970 Branches 666 666 ======================================= Hits 4765 4765 Misses 1061 1061 Partials 144 144 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud