Skip to content

Commit ed06868

Browse files
authored
[Feature] [Integration] Services Endpoint (#1761)
1 parent a09403d commit ed06868

File tree

9 files changed

+363
-31
lines changed

9 files changed

+363
-31
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- (Feature) (Platform) Storage V1Alpha1 RC
1818
- (Feature) (Networking) ArangoRotue WebSocket Support
1919
- (Feature) (Scheduler) Helm Driver Param
20+
- (Feature) (Integration) Services Endpoint
2021

2122
## [1.2.43](https://github.com/arangodb/kube-arangodb/tree/1.2.43) (2024-10-14)
2223
- (Feature) ArangoRoute CRD

integrations/pong/v1/definition/pong.pb.go

Lines changed: 181 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integrations/pong/v1/definition/pong.proto

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ option go_package = "github.com/arangodb/kube-arangodb/integrations/pong/v1/defi
3232
service PongV1 {
3333
// Sends ping to the server
3434
rpc Ping(shared.Empty) returns (PongV1PingResponse);
35+
36+
// Asks for the services details
37+
rpc Services(shared.Empty) returns (PongV1ServicesResponse);
3538
}
3639

3740
// Responses
@@ -41,4 +44,20 @@ service PongV1 {
4144
message PongV1PingResponse {
4245
// Current time in UTC
4346
google.protobuf.Timestamp time = 1;
47+
}
48+
49+
// PongV1 Services Call Response
50+
message PongV1ServicesResponse {
51+
// List of the Services
52+
repeated PongV1Service services = 1;
53+
}
54+
55+
// Service Definition
56+
message PongV1Service {
57+
// Service Name
58+
string name = 1;
59+
// Service Version
60+
string version = 2;
61+
// states if service is enabled
62+
bool enabled = 3;
4463
}

integrations/pong/v1/definition/pong_grpc.pb.go

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)