Skip to content

Commit

Permalink
[Feature] [Integration] Services Endpoint (#1761)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanikow authored Nov 7, 2024
1 parent a09403d commit ed06868
Show file tree
Hide file tree
Showing 9 changed files with 363 additions and 31 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- (Feature) (Platform) Storage V1Alpha1 RC
- (Feature) (Networking) ArangoRotue WebSocket Support
- (Feature) (Scheduler) Helm Driver Param
- (Feature) (Integration) Services Endpoint

## [1.2.43](https://github.com/arangodb/kube-arangodb/tree/1.2.43) (2024-10-14)
- (Feature) ArangoRoute CRD
Expand Down
203 changes: 181 additions & 22 deletions integrations/pong/v1/definition/pong.pb.go

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

19 changes: 19 additions & 0 deletions integrations/pong/v1/definition/pong.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ option go_package = "github.com/arangodb/kube-arangodb/integrations/pong/v1/defi
service PongV1 {
// Sends ping to the server
rpc Ping(shared.Empty) returns (PongV1PingResponse);

// Asks for the services details
rpc Services(shared.Empty) returns (PongV1ServicesResponse);
}

// Responses
Expand All @@ -41,4 +44,20 @@ service PongV1 {
message PongV1PingResponse {
// Current time in UTC
google.protobuf.Timestamp time = 1;
}

// PongV1 Services Call Response
message PongV1ServicesResponse {
// List of the Services
repeated PongV1Service services = 1;
}

// Service Definition
message PongV1Service {
// Service Name
string name = 1;
// Service Version
string version = 2;
// states if service is enabled
bool enabled = 3;
}
38 changes: 38 additions & 0 deletions integrations/pong/v1/definition/pong_grpc.pb.go

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

Loading

0 comments on commit ed06868

Please sign in to comment.