]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8291 make organization parameters as internal
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Sun, 16 Oct 2016 17:43:42 +0000 (19:43 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 17 Oct 2016 09:50:06 +0000 (11:50 +0200)
server/sonar-server/src/main/java/org/sonar/server/permission/ws/PermissionsWsParametersBuilder.java
server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/CreateAction.java
server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/GroupWsSupport.java
server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/SearchAction.java

index f9032be648a9262fe4485e576addd6f827b33ade..fcb0f6284d2eba6122e3b657c264548f262330d8 100644 (file)
@@ -82,7 +82,8 @@ public class PermissionsWsParametersBuilder {
     action.createParam(PARAM_ORGANIZATION_KEY)
       .setDescription("Key of organization, used when group name is set")
       .setExampleValue("my-org")
-      .setSince("6.2");
+      .setSince("6.2")
+      .setInternal(true);
   }
 
   public static void createGroupIdParameter(NewAction action) {
index fa93dbb5787c668a968b1ca6dbd6df29a4de8424..490628d17f54c8857367372840bf075f8a006a2b 100644 (file)
@@ -64,7 +64,8 @@ public class CreateAction implements UserGroupsWsAction {
     action.createParam(PARAM_ORGANIZATION_KEY)
       .setDescription("Key of organization. If unset then default organization is used.")
       .setExampleValue("my-org")
-      .setSince("6.2");
+      .setSince("6.2")
+      .setInternal(true);
 
     action.createParam(PARAM_GROUP_NAME)
       .setDescription(String.format("Name for the new group. A group name cannot be larger than %d characters and must be unique. " +
index d702b684aded14985806272d484996525c7c8028..7ec61e13d825dcae2fad531c2de7372fcba609ff 100644 (file)
@@ -181,6 +181,7 @@ public class GroupWsSupport {
     action.createParam(PARAM_ORGANIZATION_KEY)
       .setDescription("Key of organization")
       .setExampleValue("my-org")
+      .setInternal(true)
       .setSince("6.2");
     action.createParam(PARAM_GROUP_NAME)
       .setDescription("Group name")
index 947a4431c268564b353d2d390c5256d0bc72d489..1bc40570c2f334ef9f7553c52911b9c13a33c66c 100644 (file)
@@ -75,7 +75,8 @@ public class SearchAction implements UserGroupsWsAction {
     action.createParam(PARAM_ORGANIZATION_KEY)
       .setDescription("Key of organization. If not set then groups are searched in default organization.")
       .setExampleValue("my-org")
-      .setSince("6.2");
+      .setSince("6.2")
+      .setInternal(true);
   }
 
   @Override