Integrate the necessary parts of the kypo2-training
Conditions of satisfaction:
-
Integrate persistence layer
- Add security-commons dependency
- Create entities like definitions, instances, run, etc.
- Create files for migrations
- Configure the project to use Postgres database instead of H2.
- Add JPA repositories.
-
Integrate API layer
- Create DTOs (create validation messages)
- Copy the exceptions from the kypo2-training
-
Integrate service and facade layer
- Create bean mapping using mapstruct
- Create security and transaction annotations
- Create service classes
- Create facade classes
- Integrate elastciserach audit service
-
Integrate rest layer
- Create REST controllers
- Create custom exception handler and necessary classes
- Refactor, fix and complete the missing code.