Development: Migrate file upload exercise endpoints to DTOs#13102
Draft
dogusaytok wants to merge 3 commits into
Draft
Development: Migrate file upload exercise endpoints to DTOs#13102dogusaytok wants to merge 3 commits into
Development: Migrate file upload exercise endpoints to DTOs#13102dogusaytok wants to merge 3 commits into
Conversation
End-to-End Test Results
❌ Failed Tests (Phase 1)
Flakiness Scores for Failed Tests
Test Strategy: Two-phase execution
Overall: ❌ E2E tests failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR migrates File Upload exercise CRUD, import, search, course-list, update, and re-evaluation REST contracts from JPA entities to dedicated DTOs. It introduces server-side DTO mappings and client-side adapters while preserving existing endpoint paths, authorization rules, behavior, and exam import semantics. It also reduces the File Upload entity-usage architecture violation budget from 15/3/1 to 8/1/1.
Checklist
General
Server
Client
Motivation and Context
File Upload exercise REST endpoints previously exposed persistence entities directly. This coupled the public API to the JPA model. Dedicated input and response DTOs establish explicit, data-economical API contracts while keeping the internal service layer entity-based.
Description
Steps for Testing
Exam Mode Testing
Prerequisites:
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.
Review Progress
Performance Review
Code Review
Manual Tests
Exam Mode Test
Test Coverage
Note: Some tests in the Test job did not pass (
failure). Coverage below may be partial.Client
Server
Last updated: 2026-07-04 01:32:17 UTC