-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: Add internal endpoints for sessions and expose backend #2083
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2083 +/- ##
==========================================
+ Coverage 85.50% 85.53% +0.02%
==========================================
Files 224 224
Lines 7431 7446 +15
Branches 520 520
==========================================
+ Hits 6354 6369 +15
Misses 911 911
Partials 166 166 ☔ View full report in Codecov by Sentry. |
API Changelog 4.15.1.dev14+gd74ce1dbGET /api/v1/projects/{project_slug}/models/{model_slug}/provisioning
GET /api/v1/sessions
POST /api/v1/sessions
GET /api/v1/sessions/{session_id}
GET /api/v1/users/{user_id}/sessions
|
This comment has been minimized.
This comment has been minimized.
4f1601b
to
065197c
Compare
The generated OpenAPI client is not up to date with the latest changes in the OpenAPI specification. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
860d71f
to
d666f64
Compare
A Storybook preview is available for commit d74ce1d. |
This comment has been minimized.
This comment has been minimized.
d666f64
to
76a0629
Compare
This comment has been minimized.
This comment has been minimized.
The internal endpoints can be received via the API for inter-session communication. A new network route is available between sessions and the backend. This enables sessions to use the backend API. Two new pre-defined variables were added: - `CAPELLACOLLAB_API_BASE_URL` - `CAPELLACOLLAB_SESSION_REQUESTER_USER_ID`
76a0629
to
e51298e
Compare
Quality Gate passedIssues Measures |
The internal endpoints can be received via the API for inter-session communication.
A new network route is available between sessions and the backend. This enables sessions to use the backend API.
Two new pre-defined variables were added:
CAPELLACOLLAB_API_BASE_URL
CAPELLACOLLAB_SESSION_REQUESTER_USER_ID
This enables sessions to talk to other sessions more easily. For example, this is a small script to send a request to another session. The personal access token has to be replaced manually (until #1774 is implemeted).