aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2019-10-08 17:51:53 +0200
committersonartech <sonartech@sonarsource.com>2019-11-06 10:04:19 +0100
commit58d04f69bb33f17cfe6db3d9885fe4c9adabd2d1 (patch)
treebc48a5c0b0e2884ffa6ec2b61c99326844f030ba /sonar-ws/src/main/protobuf
parentf8c9b9c8b3e7040907e0ded89511f86b827449ad (diff)
downloadsonarqube-58d04f69bb33f17cfe6db3d9885fe4c9adabd2d1.tar.gz
sonarqube-58d04f69bb33f17cfe6db3d9885fe4c9adabd2d1.zip
SONAR-12512 Allow configuration of multiple GitHub instances
Diffstat (limited to 'sonar-ws/src/main/protobuf')
-rw-r--r--sonar-ws/src/main/protobuf/ws-alm_settings.proto38
1 files changed, 38 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-alm_settings.proto b/sonar-ws/src/main/protobuf/ws-alm_settings.proto
new file mode 100644
index 00000000000..ba67e11017e
--- /dev/null
+++ b/sonar-ws/src/main/protobuf/ws-alm_settings.proto
@@ -0,0 +1,38 @@
+// 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.almsetting;
+
+option java_package = "org.sonarqube.ws";
+option java_outer_classname = "AlmSettings";
+option optimize_for = SPEED;
+
+// WS api/alm_settings/list_definitions
+message ListDefinitionsWsResponse {
+ repeated AlmSettingGithub github = 1;
+}
+
+message AlmSettingGithub {
+ optional string key = 1;
+ optional string url = 2;
+ optional string appId = 3;
+ optional string privateKey = 4;
+}
+