aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorPierre Guillot <pierre.guillot@sonarsource.com>2020-02-05 16:31:38 +0100
committerSonarTech <sonartech@sonarsource.com>2020-02-20 20:46:16 +0100
commit591d94c4203e690a2b540047f8419be758376fb9 (patch)
treeda84d0eb918add6f72455d066b43fa14a285c7ec /sonar-ws/src
parent7f6e9853e2d733759d2d21f7a25a9c59d263f68d (diff)
downloadsonarqube-591d94c4203e690a2b540047f8419be758376fb9.tar.gz
sonarqube-591d94c4203e690a2b540047f8419be758376fb9.zip
SONAR-13001 create endpoint alm_integrations/list_bitbucketserver_projects
Diffstat (limited to 'sonar-ws/src')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/almintegration/AlmIntegrationService.java2
-rw-r--r--sonar-ws/src/main/protobuf/ws-alm_integrations.proto10
2 files changed, 12 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegration/AlmIntegrationService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegration/AlmIntegrationService.java
index e68e67138ac..9a159675c55 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegration/AlmIntegrationService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegration/AlmIntegrationService.java
@@ -61,4 +61,6 @@ public class AlmIntegrationService extends BaseService {
.setMediaType(MediaTypes.JSON)).content();
}
+ //xx add projectList and repoList
+
}
diff --git a/sonar-ws/src/main/protobuf/ws-alm_integrations.proto b/sonar-ws/src/main/protobuf/ws-alm_integrations.proto
index e033289968a..9dc36bd419c 100644
--- a/sonar-ws/src/main/protobuf/ws-alm_integrations.proto
+++ b/sonar-ws/src/main/protobuf/ws-alm_integrations.proto
@@ -30,6 +30,11 @@ message ListBitbucketserverReposWsResponse {
repeated BBSRepo repositories = 2;
}
+// WS api/alm_integrations/list_bibucketserver_projects
+message ListBitbucketserverProjectsWsResponse {
+ repeated BBSProject values = 1;
+}
+
message BBSRepo {
optional string slug = 1;
optional int64 id = 2;
@@ -38,3 +43,8 @@ message BBSRepo {
optional string sqProjectKey = 5;
optional string projectKey = 6;
}
+
+message BBSProject {
+ optional string key = 1;
+ optional string name = 2;
+}