From 90d53203f9b4b858b4aad7ba61d36624d0f08c5b Mon Sep 17 00:00:00 2001 From: Daniel Schwarz Date: Wed, 12 Apr 2017 14:12:36 +0200 Subject: SONAR-8924 refactored api/qualityprofiles/inheritance to use protobuf --- sonar-ws/src/main/protobuf/ws-qualityprofiles.proto | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'sonar-ws') diff --git a/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto b/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto index fa8c312be2b..43aec89576f 100644 --- a/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto +++ b/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto @@ -71,3 +71,18 @@ message CreateWsResponse { } } } + +// WS api/qualityprofiles/inheritance +message InheritanceWsResponse { + optional QualityProfile profile = 1; + repeated QualityProfile ancestors = 2; + repeated QualityProfile children = 3; + + message QualityProfile { + optional string key = 1; + optional string name = 2; + optional string parent = 3; + optional int64 activeRuleCount = 4; + optional int64 overridingRuleCount = 5; + } +} -- cgit v1.2.3