]> source.dussan.org Git - sonarqube.git/commit
SONAR-15579 Improve error verbosity on permission template matching key collision...
authorKlaudio Sinani <klaudio.sinani@sonarsource.com>
Mon, 8 Nov 2021 16:56:58 +0000 (17:56 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 9 Nov 2021 20:03:15 +0000 (20:03 +0000)
commit5819bd5d7d0cbe13cd2ceda0650032f8009ef0d4
tree38019c9868edfe31849281c0986d67850924fbe8
parent669cbe8ddd36e5b5a9d9067f237ee3031fa33eba
SONAR-15579 Improve error verbosity on permission template matching key collision + unit test
server/sonar-db-dao/src/testFixtures/java/org/sonar/db/permission/template/PermissionTemplateDbTester.java
server/sonar-db-dao/src/testFixtures/java/org/sonar/db/permission/template/PermissionTemplateTesting.java
server/sonar-webserver-api/src/main/java/org/sonar/server/exceptions/TemplateMatchingKeyException.java [new file with mode: 0644]
server/sonar-webserver-api/src/test/java/org/sonar/server/exceptions/TemplateMatchingKeyExceptionTest.java [new file with mode: 0644]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/PermissionTemplateService.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/PermissionTemplateServiceTest.java
server/sonar-webserver-ws/src/main/java/org/sonar/server/ws/WebServiceEngine.java