Skip to content

#28: Change Priotities of implemented Rules#45

Merged
hohwille merged 3 commits into
devonfw-sample:masterfrom
dendmicap:change-priorities
Mar 30, 2023
Merged

#28: Change Priotities of implemented Rules#45
hohwille merged 3 commits into
devonfw-sample:masterfrom
dendmicap:change-priorities

Conversation

@dendmicap
Copy link
Copy Markdown
Contributor

@dendmicap dendmicap commented Mar 27, 2023

Some rules in the old SonarQube plugin had different priorities than other rules. The most used priority was "CRITICAL". The default priority of ArchUnit is "MEDIUM". This way a mapping like this can be implemented:

HIGH=BLOCKER
MEDIUM=CRITICAL
LOW=MAJOR

LayerRules had the most variation of different priorities, but its currently not possible to simply add different priorities to the implementation of the LayerRules in ArchUnit.

#28

@dendmicap dendmicap requested a review from hohwille March 27, 2023 10:18
Copy link
Copy Markdown
Contributor

@hohwille hohwille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dendmicap Thanks for your PR and thanks for figuring out how to change the prios 👍
Sorry, that it took so long for me to review...
For homogeneous code style you could use static imports in all or no cases, but this is really unimportant so I can already merge your PR.

@hohwille hohwille linked an issue Mar 30, 2023 that may be closed by this pull request
@hohwille hohwille merged commit 3da3b31 into devonfw-sample:master Mar 30, 2023
@hohwille hohwille changed the title Change Priotities of implemented Rules #28: Change Priotities of implemented Rules Mar 30, 2023
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.

Give implemented Rules specific Priorities

2 participants