diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2017-06-21 17:02:15 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2017-06-26 09:07:49 +0200 |
commit | 6a292a559b897adbaadde1ecd38303584f2382cd (patch) | |
tree | ef3d60f5ed4ac8a50db87fbb38b3ceec6328bbc2 /sonar-ws/src | |
parent | 63f165ea9ec729f31d578f7f35483cba619e70d0 (diff) | |
download | sonarqube-6a292a559b897adbaadde1ecd38303584f2382cd.tar.gz sonarqube-6a292a559b897adbaadde1ecd38303584f2382cd.zip |
SONAR-9448 Sanitize api/qualityprofiles/deactivate_rules
Diffstat (limited to 'sonar-ws/src')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfileWsParameters.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfileWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfileWsParameters.java index 19fd430ca7f..69070091d51 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfileWsParameters.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfileWsParameters.java @@ -23,11 +23,6 @@ public class QualityProfileWsParameters { public static final String CONTROLLER_QUALITY_PROFILES = "api/qualityprofiles"; - public interface ActivateActionParameters { - String PARAM_PROFILE_KEY = "profile_key"; - } - public static final String ACTION_RESTORE = "restore"; - public interface RestoreActionParameters { String PARAM_BACKUP = "backup"; } @@ -39,8 +34,10 @@ public class QualityProfileWsParameters { public static final String ACTION_COPY = "copy"; public static final String ACTION_CREATE = "create"; public static final String ACTION_DEACTIVATE_RULE = "deactivate_rule"; + public static final String ACTION_DEACTIVATE_RULES = "deactivate_rules"; public static final String ACTION_DELETE = "delete"; public static final String ACTION_REMOVE_PROJECT = "remove_project"; + public static final String ACTION_RESTORE = "restore"; public static final String ACTION_SEARCH = "search"; public static final String ACTION_SET_DEFAULT = "set_default"; |