diff options
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/almsettings/AlmSettingsService.java | 1 | ||||
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/almsettings/SetGitlabBindingRequest.java | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/almsettings/AlmSettingsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/almsettings/AlmSettingsService.java index 0427f8cffa6..4c97122f428 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/almsettings/AlmSettingsService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/almsettings/AlmSettingsService.java @@ -213,6 +213,7 @@ public class AlmSettingsService extends BaseService { .setParam("almSetting", request.getAlmSetting()) .setParam("project", request.getProject()) .setParam("repository", request.getRepository()) + .setParam("monorepo", request.getMonorepo()) .setMediaType(MediaTypes.JSON)).content(); } diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/almsettings/SetGitlabBindingRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/almsettings/SetGitlabBindingRequest.java index 6bf7770575f..41cfbdc1e86 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/almsettings/SetGitlabBindingRequest.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/almsettings/SetGitlabBindingRequest.java @@ -32,7 +32,7 @@ public class SetGitlabBindingRequest { private String almSetting; private String project; private String repository; - + private String monorepo; public String getRepository() { return repository; @@ -67,4 +67,13 @@ public class SetGitlabBindingRequest { return project; } + public String getMonorepo() { + return monorepo; + } + + public SetGitlabBindingRequest setMonorepo(String monorepo) { + this.monorepo = monorepo; + return this; + } + } |