Skip to content

Commit

Permalink
Merge pull request #2001 from DSD-DBS/session-sharing-internal
Browse files Browse the repository at this point in the history
fix: Connect to shared sessions via internal session viewer
  • Loading branch information
MoritzWeber0 authored Nov 14, 2024
2 parents ed2237d + eca76fb commit 3ff3651
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/capellacollab/core/database/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def get_eclipse_session_configuration() -> (
if not core.LOCAL_DEVELOPMENT_MODE
else "http://localhost:8080"
)
+ "{CAPELLACOLLAB_SESSIONS_BASE_PATH}/?floating_menu=0&path={CAPELLACOLLAB_SESSIONS_BASE_PATH}/"
+ "{CAPELLACOLLAB_SESSIONS_BASE_PATH}/?floating_menu=0&sharing=1&path={CAPELLACOLLAB_SESSIONS_BASE_PATH}/"
),
cookies={},
sharing=tools_models.ToolSessionSharingConfiguration(
Expand Down
2 changes: 1 addition & 1 deletion backend/capellacollab/sessions/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def get_all_sessions(
)
def get_session(
session: models.DatabaseSession = fastapi.Depends(
injectables.get_existing_session
injectables.get_existing_session_including_shared
),
):
return session
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/routing/sessions.ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
rules:
- http:
paths:
- path: /session
- path: /session/
pathType: Prefix
backend:
service:
Expand Down

0 comments on commit 3ff3651

Please sign in to comment.