aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorPierre Guillot <50145663+pierre-guillot-sonarsource@users.noreply.github.com>2022-06-07 09:48:04 +0200
committersonartech <sonartech@sonarsource.com>2022-06-07 20:03:10 +0000
commit4597d09ca1a81c86a56f416d2a9b4cb27e6ca4c2 (patch)
tree454cac73481faf13d3773caab4c5026fbb4541f4 /sonar-ws
parent624f20e1bbcda0bd58e544144b023ad345d582f6 (diff)
downloadsonarqube-4597d09ca1a81c86a56f416d2a9b4cb27e6ca4c2.tar.gz
sonarqube-4597d09ca1a81c86a56f416d2a9b4cb27e6ca4c2.zip
SONAR-16449 remove SonarCloud references in SonarQube codebase
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/user/UsersWsParameters.java1
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/users/UsersService.java13
-rw-r--r--sonar-ws/src/main/protobuf/ws-users.proto2
3 files changed, 1 insertions, 15 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/user/UsersWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/user/UsersWsParameters.java
index feacc9b2de9..9d7c9ea824d 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/user/UsersWsParameters.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/user/UsersWsParameters.java
@@ -27,7 +27,6 @@ public class UsersWsParameters {
public static final String ACTION_CREATE = "create";
public static final String ACTION_DEACTIVATE = "deactivate";
public static final String ACTION_UPDATE = "update";
- public static final String ACTION_SKIP_ONBOARDING_TUTORIAL = "skip_onboarding_tutorial";
public static final String ACTION_CURRENT = "current";
public static final String ACTION_UPDATE_IDENTITY_PROVIDER = "update_identity_provider";
public static final String ACTION_DISMISS_SONARLINT_AD = "dismiss_sonarlint_ad";
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/users/UsersService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/users/UsersService.java
index b90eaecf034..f0b83571dd4 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/users/UsersService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/users/UsersService.java
@@ -171,19 +171,6 @@ public class UsersService extends BaseService {
*
* This is part of the internal API.
* This is a POST request.
- * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/users/skip_onboarding_tutorial">Further information about this action online (including a response example)</a>
- * @since 6.5
- */
- public void skipOnboardingTutorial() {
- call(
- new PostRequest(path("skip_onboarding_tutorial"))
- .setMediaType(MediaTypes.JSON)).content();
- }
-
- /**
- *
- * This is part of the internal API.
- * This is a POST request.
* @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/users/update">Further information about this action online (including a response example)</a>
* @since 3.7
*/
diff --git a/sonar-ws/src/main/protobuf/ws-users.proto b/sonar-ws/src/main/protobuf/ws-users.proto
index ec2af94934e..52579c59150 100644
--- a/sonar-ws/src/main/protobuf/ws-users.proto
+++ b/sonar-ws/src/main/protobuf/ws-users.proto
@@ -107,7 +107,7 @@ message CurrentWsResponse {
repeated string scmAccounts = 8;
repeated string groups = 9;
optional Permissions permissions = 10;
- optional bool showOnboardingTutorial = 11;
+ reserved 11; // showOnboardingTutorial removed
optional string avatar = 12;
optional Homepage homepage = 13;
reserved 15; // settings removed