Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SONAR-6680 RuleRepository now load all rules at first call
RuleRepository now implements a stonger contract (which is documented) method hasKey(RuleKey) is replaced by method findByKey(RuleKey) which returns an Optional (saves using two methods in a row when Rule exists) methods getById(int) and findById(int) added to be able to replace Views' specific RuleRepository with the one from the Compute Engine
- Loading branch information
Showing
11 changed files
with
325 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 0 additions & 58 deletions
58
server/sonar-server/src/main/java/org/sonar/server/computation/issue/RuleCacheLoader.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 0 additions & 70 deletions
70
...er/sonar-server/src/test/java/org/sonar/server/computation/issue/RuleCacheLoaderTest.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.