-
Story
-
Resolution: Done
-
Medium
-
Istanbul Release
Implement automatic application architecture verification for CPS Core with ArchUnit as per:
- Spike
CPS-347 - Wiki https://wiki.onap.org/display/DW/CPS-347%3A+Spike+for+architecture+quality+tools
- see Brunos commit in temporal https://gerrit.onap.org/r/c/cps/cps-temporal/+/121322
AC:
- ArchUnit tests are in place and are verified from maven lifecycle test phase in CPS-Core
- ArchUnit tests are failing when architecture and design requirements are broken
- Main packages dependencies are verified (controller -> service -> repository)
- Job should fail on cyclic dependencies cycles is verified
- Quick demo to team
Out of Scope
- Fixing architecture issues found as part of test (unless easy fix can be added)