diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-09-17 10:41:56 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-09-30 16:27:12 +0200 |
commit | 5af4d8ed1fe0ad9fc75bdf9aaf01410b66c4da5f (patch) | |
tree | ff0b296f7ae1cf3817bd6c82d0bce8ed2388f159 /sonar-ws/src/main/protobuf/ws-batch.proto | |
parent | f728687b5cf55977ce241695097b8e01418988e3 (diff) | |
download | sonarqube-5af4d8ed1fe0ad9fc75bdf9aaf01410b66c4da5f.tar.gz sonarqube-5af4d8ed1fe0ad9fc75bdf9aaf01410b66c4da5f.zip |
SONAR-6823 WS batch/project with protobuf and new behaviors
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-batch.proto')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-batch.proto | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-batch.proto b/sonar-ws/src/main/protobuf/ws-batch.proto new file mode 100644 index 00000000000..cf46d50e59e --- /dev/null +++ b/sonar-ws/src/main/protobuf/ws-batch.proto @@ -0,0 +1,47 @@ +// SonarQube, open source software quality management tool. +// Copyright (C) 2008-2015 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.batch; + +option java_package = "org.sonarqube.ws"; +option java_outer_classname = "WsBatch"; + +option optimize_for = SPEED; + +// WS api/batch/project +message WsProjectResponse { + optional int64 timestamp = 1; + map<string, Settings> settingsByModule = 2; + map<string, FileDataByPath> fileDataByModuleAndPatch = 3; + optional int64 lastAnalysisDate = 4; + + message Settings { + map<string,string> settings = 1; + } + + message FileDataByPath { + map<string, FileData> FileDataByPath = 1; + } + + message FileData { + optional string hash = 1; + optional string revision = 2; + } +} |