Skip to content

Commit

Permalink
Merge pull request #2 from logicmonitor/collector-abcg-proto-changes
Browse files Browse the repository at this point in the history
feat(proto): collector ABCG proto changes
  • Loading branch information
shubhashri12 authored Dec 4, 2023
2 parents 0db8dbd + afa5430 commit 80a5e26
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 71 deletions.
157 changes: 90 additions & 67 deletions api/api.pb.go

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

9 changes: 5 additions & 4 deletions proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ package api;
// The CollectorSetController collectorset service definition.
service CollectorSetController {
// Retrieves a collector ID.
rpc CollectorID(CollectorIDRequest) returns (CollectorIDReply) {}
rpc CollectorIDAndAutoBalancedCollectorGroupId(CollectorIDAndAutoBalancedCollectorGroupIdRequest) returns (CollectorIDAndAutoBalancedCollectorGroupIdReply) {}
rpc CSCVersion(CSCVersionRequest) returns (CSCVersionReply) {}
}

// The CollectorIDRequest message for a collector ID.
message CollectorIDRequest {
message CollectorIDAndAutoBalancedCollectorGroupIdRequest {
string orchestrator = 2;
}

// The CollectorIDReply response message from a collector ID request.
message CollectorIDReply {
int32 id = 1;
message CollectorIDAndAutoBalancedCollectorGroupIdReply {
int32 collectorId = 1;
int32 autoBalancedCollectorGroupId = 2;
}

// The CSCVersionRequest message for a CSC Version.
Expand Down

0 comments on commit 80a5e26

Please sign in to comment.