diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-10-16 19:43:42 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-10-17 11:50:06 +0200 |
commit | 6bbc81b3eb838f9e721eea947513fc86a33fc05e (patch) | |
tree | efb3010e1bc604cde862b7a81efa10a18f2b8a59 /server | |
parent | 935c1feb44d80daeb01282b22910c22d0e2b8851 (diff) | |
download | sonarqube-6bbc81b3eb838f9e721eea947513fc86a33fc05e.tar.gz sonarqube-6bbc81b3eb838f9e721eea947513fc86a33fc05e.zip |
SONAR-8291 make organization parameters as internal
Diffstat (limited to 'server')
4 files changed, 7 insertions, 3 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/permission/ws/PermissionsWsParametersBuilder.java b/server/sonar-server/src/main/java/org/sonar/server/permission/ws/PermissionsWsParametersBuilder.java index f9032be648a..fcb0f6284d2 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/permission/ws/PermissionsWsParametersBuilder.java +++ b/server/sonar-server/src/main/java/org/sonar/server/permission/ws/PermissionsWsParametersBuilder.java @@ -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) { diff --git a/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/CreateAction.java b/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/CreateAction.java index fa93dbb5787..490628d17f5 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/CreateAction.java +++ b/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/CreateAction.java @@ -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. " + diff --git a/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/GroupWsSupport.java b/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/GroupWsSupport.java index d702b684ade..7ec61e13d82 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/GroupWsSupport.java +++ b/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/GroupWsSupport.java @@ -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") diff --git a/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/SearchAction.java b/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/SearchAction.java index 947a4431c26..1bc40570c2f 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/SearchAction.java +++ b/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/SearchAction.java @@ -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 |