diff options
author | Pierre <pierre.guillot@sonarsource.com> | 2020-04-20 09:53:17 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-05-25 20:05:21 +0000 |
commit | ac532a55b9c7ee51b8ad3516103b453f030392d6 (patch) | |
tree | 44c32aa7e245542fc1e105f339890e2b0a08d46d /sonar-ws/src/main/protobuf | |
parent | 16b2b85fc200856e65175663bbe2477012be9275 (diff) | |
download | sonarqube-ac532a55b9c7ee51b8ad3516103b453f030392d6.tar.gz sonarqube-ac532a55b9c7ee51b8ad3516103b453f030392d6.zip |
SONAR-13221 change PK of quality gates from id to uuid, update FKs, update API
Diffstat (limited to 'sonar-ws/src/main/protobuf')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-qualitygates.proto | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-qualitygates.proto b/sonar-ws/src/main/protobuf/ws-qualitygates.proto index 097e3f56723..ced73a13574 100644 --- a/sonar-ws/src/main/protobuf/ws-qualitygates.proto +++ b/sonar-ws/src/main/protobuf/ws-qualitygates.proto @@ -75,7 +75,7 @@ message GetByProjectResponse { } message QualityGate { - optional int64 id = 1; + optional string id = 1; optional string name = 2; optional bool default = 3; } @@ -96,7 +96,7 @@ message AppResponse { // POST api/qualitygates/create message CreateResponse { - optional int64 id = 1; + optional string id = 1; optional string name = 2; } @@ -118,7 +118,7 @@ message UpdateConditionResponse { // GET api/qualitygates/show message ShowWsResponse { - optional int64 id = 1; + optional string id = 1; optional string name = 2; repeated Condition conditions = 3; optional bool isBuiltIn = 4; @@ -150,11 +150,11 @@ message SearchResponse { message ListWsResponse { repeated QualityGate qualitygates = 1; // Deprecated since 7.0 - optional int64 default = 2; + optional string default = 2; optional RootActions actions = 3; message QualityGate { - optional int64 id = 1; + optional string id = 1; optional string name = 2; optional bool isDefault = 3; optional bool isBuiltIn = 4; |