aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-projectbranches.proto
diff options
context:
space:
mode:
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>2017-11-14 10:42:32 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-11-16 17:37:18 +0100
commitbff9cf373e2ecbe66344d58c3423b873f1fb17c5 (patch)
tree1aab779cba6f12fb3ea423d80aab3d65f68ef420 /sonar-ws/src/main/protobuf/ws-projectbranches.proto
parenta7d7fa94bf725af62447f4d42fc8a923bba77ff9 (diff)
downloadsonarqube-bff9cf373e2ecbe66344d58c3423b873f1fb17c5.tar.gz
sonarqube-bff9cf373e2ecbe66344d58c3423b873f1fb17c5.zip
Auto-generate sonar-ws for integration tests
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-projectbranches.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-projectbranches.proto60
1 files changed, 0 insertions, 60 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-projectbranches.proto b/sonar-ws/src/main/protobuf/ws-projectbranches.proto
deleted file mode 100644
index d4b2a183e4e..00000000000
--- a/sonar-ws/src/main/protobuf/ws-projectbranches.proto
+++ /dev/null
@@ -1,60 +0,0 @@
-// SonarQube, open source software quality management tool.
-// Copyright (C) 2008-2016 SonarSource
-// mailto:contact AT sonarsource DOT com
-//
-// SonarQube is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 3 of the License, or (at your option) any later version.
-//
-// SonarQube is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public License
-// along with this program; if not, write to the Free Software Foundation,
-// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-syntax = "proto2";
-
-package sonarqube.ws.projectbranch;
-
-option java_package = "org.sonarqube.ws";
-option java_outer_classname = "WsBranches";
-option optimize_for = SPEED;
-
-import "ws-commons.proto";
-
-// WS api/project_branches/list
-message ListWsResponse {
- repeated Branch branches = 1;
-}
-
-// WS api/project_branches/show
-message ShowWsResponse {
- optional Branch branch = 1;
-}
-
-message Branch {
- optional string name = 1;
- optional bool isMain = 2;
- optional sonarqube.ws.commons.BranchType type = 3;
- // Merge branch is only present for short living branch
- optional string mergeBranch = 4;
- optional Status status = 5;
- optional bool isOrphan = 6;
- optional string analysisDate = 7;
-
- message Status {
- // Quality gate status is only present for long living branch
- optional string qualityGateStatus = 1;
- // Merge bugs, vulnerabilities and codeSmell are only present for short living branch
- optional int64 bugs = 2;
- optional int64 vulnerabilities = 3;
- optional int64 codeSmells = 4;
- }
-
-}
-
-