Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] [Integration] Services Endpoint #1761

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- (Feature) StorageV2 Integration Service Implementation
- (Feature) (Platform) Storage V1Alpha1 RC
- (Feature) (Networking) ArangoRotue WebSocket Support
- (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