Skip to content
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

DESIGN: Functional separation of components #494

Open
matiwinnetou opened this issue Oct 29, 2023 · 0 comments
Open

DESIGN: Functional separation of components #494

matiwinnetou opened this issue Oct 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@matiwinnetou
Copy link
Contributor

matiwinnetou commented Oct 29, 2023

In our the project's microservices we currently do not separate controllers, service and repositories into functional layers, they are split by technical principles.

Refactor the code into functional modules within each micro-service. Remove controllers, service and repository packages / folders.

Use ArchUnit to capture controller depending only on service and service only on repositories.

@matiwinnetou matiwinnetou added the enhancement New feature or request label Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant