From 97baa10facb3a4e6295fd7dfe93359ebd578c60f Mon Sep 17 00:00:00 2001 From: Zipeng WU Date: Tue, 11 May 2021 22:11:39 +0200 Subject: SONAR-14802 Search bitbucket cloud repository for onboarding --- sonar-ws/src/main/protobuf/ws-alm_integrations.proto | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'sonar-ws') 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; -- cgit v1.2.3