aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-10-16 19:43:42 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-10-17 11:50:06 +0200
commit6bbc81b3eb838f9e721eea947513fc86a33fc05e (patch)
treeefb3010e1bc604cde862b7a81efa10a18f2b8a59 /server
parent935c1feb44d80daeb01282b22910c22d0e2b8851 (diff)
downloadsonarqube-6bbc81b3eb838f9e721eea947513fc86a33fc05e.tar.gz
sonarqube-6bbc81b3eb838f9e721eea947513fc86a33fc05e.zip
SONAR-8291 make organization parameters as internal
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/permission/ws/PermissionsWsParametersBuilder.java3
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/CreateAction.java3
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/GroupWsSupport.java1
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/SearchAction.java3
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