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

#5: implement thirdparty violations #23

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

vlad961
Copy link
Contributor

@vlad961 vlad961 commented Feb 14, 2023

#5
#8
DO NOT MERGE.
This fork branch contains classes demonstrating archunit thirdparty rules violations:
Namely E1, E3 and E4 violations.

vlad961 and others added 22 commits February 13, 2023 14:43
Added hibernate and springframework dependencies to exhibit violations.
Refactored E1, E3, and E4 to have a more concise debug notification.
Refactored the class with respect to @hohwille review annotations.
Refactored violations to include review annotations
Concerning @hohwille review annotation, I adjusted the E3 Rule to correctly check for layers.
I added two public static final patterns for the common and dataaccess layers to use instead of the faulty contains() check which would trigger false positive errors.
Refactored via automatic devonfw-ide code formatting.
Adjusted ArchCondition to fit the recent rule.
ThirdPartyRulesTest.java:
- combined all third-party rules inside ThirdPartyRulesTest.java
- deleted distinct rule test files
- changed all ArchRules to public as a part of the preparation for task devonfw-sample#19
- rules 1, 3, and 4 utilize now the present PackageStructure type.
--- rules 1 and 4 also test scope-related conditions for classic architecture projects now.
- deleted the deprecated distinct rule test files.
- Merged the new scope-related rule tests.
- added scope related violations
-Implemented the most recent annotation of @hohwille.
-Minor refactoring.
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.

2 participants