Skip to content

Commit

Permalink
PMM-5563 Annotation service, node. (#539)
Browse files Browse the repository at this point in the history
* PMM-5563 Add check node endpoint.

* PMM-5563 Add check service endpoint.

* PMM-5563 API descriptor.

* PMM-5563 API changes.

* PMM-5563 API changes.

* PMM-5563 API changes.

* PMM-5563 API changes.

* PMM-5563 API Changes.

* PMM-5563 API Changes.

* PMM-5563 Update API descriptor.

* PMM-5563 Required changes.

* PMM-5563 Changes.

* Revert "PMM-5563 Update API descriptor."

This reverts commit 57bbd2e.

* PMM-5563 Fix.

Co-authored-by: Alexey Palazhchenko <[email protected]>
  • Loading branch information
JiriCtvrtka and AlekSi authored Jul 1, 2020
1 parent 66f7153 commit 042d284
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 20 deletions.
61 changes: 41 additions & 20 deletions api/managementpb/annotation.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions api/managementpb/annotation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ message AddAnnotationRequest {
];
// Tags are used to filter annotations.
repeated string tags = 2;
// Used for annotate node.
string node_name = 3;
// Used for annotate services.
repeated string service_names = 4;
}

message AddAnnotationResponse {}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions api/managementpb/json/managementpb.json
Original file line number Diff line number Diff line change
Expand Up @@ -1133,6 +1133,19 @@
"description": "AddAnnotationRequest is a params to add new annotation.",
"type": "object",
"properties": {
"node_name": {
"description": "Used for annotate node.",
"type": "string",
"x-order": 2
},
"service_names": {
"description": "Used for annotate services.",
"type": "array",
"items": {
"type": "string"
},
"x-order": 3
},
"tags": {
"description": "Tags are used to filter annotations.",
"type": "array",
Expand Down
13 changes: 13 additions & 0 deletions api/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -11080,6 +11080,19 @@
"type": "string"
},
"x-order": 1
},
"node_name": {
"description": "Used for annotate node.",
"type": "string",
"x-order": 2
},
"service_names": {
"description": "Used for annotate services.",
"type": "array",
"items": {
"type": "string"
},
"x-order": 3
}
}
}
Expand Down

0 comments on commit 042d284

Please sign in to comment.