]> source.dussan.org Git - sonarqube.git/commit
SONAR-9939 add WS api/editions/preview (mock implementation)
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 13 Oct 2017 12:26:52 +0000 (14:26 +0200)
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>
Mon, 23 Oct 2017 15:01:13 +0000 (08:01 -0700)
commit27ab750cd6c6f9c74f46ecd852661f323860b7ed
tree6d9c3674a41c285d63707a1c8e6e8adf4d1b935b
parentf4d47d3d82b331c1a79db68b8eb50f6a1962128b
SONAR-9939 add WS api/editions/preview (mock implementation)

same mock implementation as for api/editions/apply_license
server/sonar-server/src/main/java/org/sonar/server/edition/EditionsWsModule.java
server/sonar-server/src/main/java/org/sonar/server/edition/ws/ApplyLicenseAction.java
server/sonar-server/src/main/java/org/sonar/server/edition/ws/PreviewAction.java [new file with mode: 0644]
server/sonar-server/src/main/resources/org/sonar/server/edition/ws/example-edition-preview.json [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/edition/EditionsWsModuleTest.java
server/sonar-server/src/test/java/org/sonar/server/edition/ws/PreviewActionTest.java [new file with mode: 0644]
sonar-ws/src/main/protobuf/ws-editions.proto