Skip to content

84 facade migration t3 course - #131

Open
DjesikaV wants to merge 8 commits into
mainfrom
84-Facade-Migration-T3-course
Open

84 facade migration t3 course#131
DjesikaV wants to merge 8 commits into
mainfrom
84-Facade-Migration-T3-course

Conversation

@DjesikaV

Copy link
Copy Markdown
Contributor

Changes:

  • Added CourseWebFacade
  • Added CourseValidator
  • Updated CourseController to inject only the facade
  • Refactored CourseService to use only the repository
  • Moved @transactional from service to facade.
  • Updated CourseMapper
  • Removed validation annotations from CourseResponseDto
  • Added validation messages in CourseRequestDto
  • Updated CourseServiceTest
  • Added CourseWebFacadeTest
  • Added CourseValidatorTest

@DjesikaV
DjesikaV requested a review from a team as a code owner July 17, 2026 10:16
Comment thread src/main/java/org/unilab/uniplan/course/CourseController.java Outdated
Comment thread src/main/java/org/unilab/uniplan/course/CourseController.java Outdated
Comment thread src/main/java/org/unilab/uniplan/course/CourseValidator.java Outdated
@DjesikaV DjesikaV self-assigned this Jul 28, 2026

@PIPetkova19 PIPetkova19 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method in repository doesn't need public access modifier


@PutMapping("/{id}")
public ResponseEntity<CourseResponseDto> updateCourse(@PathVariable @NotNull final UUID id,
public ResponseEntity<CourseResponseDto> updateCourse(@PathVariable final UUID id,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Return type should be void

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants