-
Notifications
You must be signed in to change notification settings - Fork 158
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
Add requests endpoint to core TRE API #4352
Conversation
Add a new 'requests' endpoint in the core TRE API to view airlock requests across workspaces.
Unit Test Results608 tests 608 ✅ 6s ⏱️ Results for commit 20c5138. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 13 changed files in this pull request and generated no comments.
Files not reviewed (8)
- api_app/api/routes/api.py: Evaluated as low risk
- ui/app/src/components/root/RootLayout.tsx: Evaluated as low risk
- CHANGELOG.md: Evaluated as low risk
- api_app/api/dependencies/database.py: Evaluated as low risk
- api_app/resources/strings.py: Evaluated as low risk
- api_app/_version.py: Evaluated as low risk
- ui/app/src/components/shared/RequestsList.tsx: Evaluated as low risk
- ui/app/src/models/apiEndpoints.ts: Evaluated as low risk
Comments suppressed due to low confidence (1)
api_app/db/repositories/airlock_requests.py:135
- The parameter for workspace_id should only be included if workspace_id is provided. Add a conditional check to include this parameter only when workspace_id is not None.
{"name": "@workspace_id", "value": workspace_id},
… into marrobi/issue2510
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 14 changed files in this pull request and generated no comments.
Files not reviewed (9)
- ui/app/package.json: Language not supported
- api_app/api/routes/api.py: Evaluated as low risk
- ui/app/src/components/root/RootLayout.tsx: Evaluated as low risk
- CHANGELOG.md: Evaluated as low risk
- api_app/api/dependencies/database.py: Evaluated as low risk
- api_app/_version.py: Evaluated as low risk
- api_app/resources/strings.py: Evaluated as low risk
- ui/app/src/models/apiEndpoints.ts: Evaluated as low risk
- api_app/db/repositories/airlock_requests.py: Evaluated as low risk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great PR, the code is well-structured!
Found some minor improvements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/test-extended |
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/13285817274 (with refid (in response to this comment from @marrobi) |
Introduce a new 'requests' endpoint in the core TRE API to facilitate viewing airlock requests across workspaces, along with corresponding tests for added functionality.
api/requests/
takes airlock_manager bool to get requests for workspaces where the user is an airlock manager.Fixes #2510