aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2021-05-11 22:11:39 +0200
committersonartech <sonartech@sonarsource.com>2021-05-21 20:03:36 +0000
commit97baa10facb3a4e6295fd7dfe93359ebd578c60f (patch)
treeff378b5065356d43d1e86ca2cb0e453ce485a9df /sonar-ws
parent5333756be234c4bb50c9edf3c4b2cab5e0483559 (diff)
downloadsonarqube-97baa10facb3a4e6295fd7dfe93359ebd578c60f.tar.gz
sonarqube-97baa10facb3a4e6295fd7dfe93359ebd578c60f.zip
SONAR-14802 Search bitbucket cloud repository for onboarding
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-alm_integrations.proto16
1 files changed, 16 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-alm_integrations.proto b/sonar-ws/src/main/protobuf/ws-alm_integrations.proto
index 68ad17281da..465293d5492 100644
--- a/sonar-ws/src/main/protobuf/ws-alm_integrations.proto
+++ b/sonar-ws/src/main/protobuf/ws-alm_integrations.proto
@@ -32,6 +32,13 @@ message SearchBitbucketserverReposWsResponse {
repeated BBSRepo repositories = 2;
}
+// WS api/alm_integrations/search_bibucketcloud_repos
+message SearchBitbucketcloudReposWsResponse {
+ optional sonarqube.ws.commons.Paging paging = 1;
+ optional bool isLastPage = 2;
+ repeated BBCRepo repositories = 3;
+}
+
// WS api/alm_integrations/search_azure_repos
message SearchAzureReposWsResponse {
repeated AzureRepo repositories = 2;
@@ -55,6 +62,15 @@ message BBSRepo {
optional string projectKey = 5;
}
+message BBCRepo {
+ optional string slug = 1;
+ optional string uuid = 2;
+ optional string name = 3;
+ optional string sqProjectKey = 4;
+ optional string projectKey = 5;
+ optional string workspace = 6;
+}
+
message AzureRepo {
optional string name = 1;
optional string projectName = 2;