Commit 0e99ae0
refactor: complete hexagonal architecture - ports and adapters pattern
- Remove old package directories (controller/, dto/, service/, repository/, connector/, config/, security/, model/)
- Update test package declarations to match new hexagonal structure
- Move test files to corresponding new package directories
- Final cleanup to complete hexagonal architecture migration
Package structure:
domain/model/ <- domain entities
domain/port/input/ <- inbound use-case interfaces
domain/port/output/ <- outbound port interfaces
application/service/ <- application services
adapter/input/rest/ <- REST controllers and DTOs
adapter/output/persistence/ <- JPA repositories
adapter/output/connector/ <- database connectors
infrastructure/config/ <- Spring configuration
infrastructure/security/ <- JWT security
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7a2d2e1 commit 0e99ae0
121 files changed
Lines changed: 1 addition & 12013 deletions
File tree
- backend/src
- main/kotlin/com/opendatamask
- adapter/output/connector
- config
- controller
- dto
- security
- service
- test/kotlin/com/opendatamask
- config
- connector
- controller
- domain/model
- security
- service
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 0 additions & 54 deletions
This file was deleted.
Lines changed: 0 additions & 80 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 0 additions & 59 deletions
This file was deleted.
Lines changed: 0 additions & 50 deletions
This file was deleted.
Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 0 additions & 54 deletions
This file was deleted.
0 commit comments