diff options
author | Pierre <pierre.guillot@sonarsource.com> | 2022-07-15 11:50:31 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-07-21 20:03:05 +0000 |
commit | 4d4fa01b933038ba8e9639679fab4a36b6eff91a (patch) | |
tree | 7d5b99d4ffe2beab24dcb49a101d7e60127e1e0e /sonar-ws | |
parent | 5f4e6f7f86a2d780f92125a4fac844d1c2ca5a07 (diff) | |
download | sonarqube-4d4fa01b933038ba8e9639679fab4a36b6eff91a.tar.gz sonarqube-4d4fa01b933038ba8e9639679fab4a36b6eff91a.zip |
SONAR-16613 Migrate users field 'sonarlint_ad_seen' to use the new notice mechanism
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/users/UsersService.java | 15 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-users.proto | 2 |
2 files changed, 1 insertions, 16 deletions
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 0bdf172ec5c..f23de0edab8 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 @@ -221,21 +221,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/dismiss_sonarlint_ad">Further information about this action online (including a response example)</a> - * @since 9.2 - */ - public void dismissSonarlintAd() { - call( - new PostRequest(path("dismiss_sonarlint_ad")) - .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/dismiss_notice">Further information about this action online (including a response example)</a> * @since 9.6 */ diff --git a/sonar-ws/src/main/protobuf/ws-users.proto b/sonar-ws/src/main/protobuf/ws-users.proto index 462aa020fc8..cac3168f8d6 100644 --- a/sonar-ws/src/main/protobuf/ws-users.proto +++ b/sonar-ws/src/main/protobuf/ws-users.proto @@ -112,7 +112,7 @@ message CurrentWsResponse { optional Homepage homepage = 13; reserved 15; // settings removed optional bool usingSonarLintConnectedMode = 16; - optional bool sonarLintAdSeen = 17; + reserved 17; // sonarLintAdSeen removed map<string,bool> dismissedNotices = 18; message Permissions { |