-
Notifications
You must be signed in to change notification settings - Fork 305
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
Development
: Update endpoints used by Scorpio
#10323
Conversation
Development
: Update Endpoints used by Scorpio VSCode Extension
WalkthroughThis pull request modifies the access control annotations on several REST endpoints. In the Changes
Sequence Diagram(s)sequenceDiagram
participant User as User
participant ER as ExerciseResource
participant SM as SecurityModule
User->>ER: Request getExercise(exerciseId)
ER->>SM: Validate @AllowedTools(ToolTokenType.SCORPIO)
SM-->>ER: Token Valid/Invalid
ER-->>User: Return exercise details
sequenceDiagram
participant User as User
participant RR as ResultResource
User->>RR: Request getResultDetails(resultId)
RR-->>User: Return build result details
Possibly related PRs
Suggested labels
Suggested reviewers
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 PMD (7.8.0)src/main/java/de/tum/cit/aet/artemis/exercise/web/ExerciseResource.java[ERROR] Error at ruleset.xml:58:5 59| 67| 72| 76| 79| 80| 82| 83| 84| 85| 86| 87| 88| 91| 92| 107| 120| 125| 135| 138| 185| 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (3)
💤 Files with no reviewable changes (2)
🧰 Additional context used📓 Path-based instructions (1)`src/main/java/**/*.java`: naming:CamelCase; principles:{sin...
⏰ Context from checks skipped due to timeout of 90000ms (8)
🔇 Additional comments (2)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Development
: Update Endpoints used by Scorpio VSCode ExtensionDevelopment
: Update endpoints used by Scorpio
Description
This PR adjustes the endpoints needed by the VSCode API. This change just includes changes to endpoint authorization hooks which verify tokens send by the VSCode extension.
Testserver States
You can manage test servers using Helios. Check environment statuses in the environment list. To deploy to a test server, go to the CI/CD page, find your PR or branch, and trigger the deployment.
Summary by CodeRabbit