Skip to content

Commit 5f6119a

Browse files
authored
feat: frontend server (#242)
* feat/frontend-server ### Add Frontend Service Protocol Buffers - Introduced a new Protocol Buffers file `server.proto` in `proto/greptime/v1/frontend/`. - Defined the `Frontend` service with an RPC method `ListProcess`. - Added message definitions for `ListProcessRequest`, `ListProcessResponse`, and `ProcessInfo`. - Included fields for process ID, catalog, schema, query, start timestamp, and client information in `ProcessInfo`. Signed-off-by: Lei, HUANG <[email protected]> * feat/frontend-server: ### Update `server.proto` in `greptime/v1/frontend` - Added a newline at the end of the `ProcessInfo` message definition in `server.proto`. Signed-off-by: Lei, HUANG <[email protected]> * feat/frontend-server: Add new proto file to build script - Updated `build.rs` to include `proto/greptime/v1/frontend/server.proto` in the build process. Signed-off-by: Lei, HUANG <[email protected]> * add frontend mod Signed-off-by: Lei, HUANG <[email protected]> * feat/frontend-server: **Add Frontend Info to ProcessInfo** - Updated `server.proto` to include a new field `frontend` in the `ProcessInfo` message, providing additional frontend information for processes. Signed-off-by: Lei, HUANG <[email protected]> * feat/frontend-server: Update `server.proto` to modify data types and field names - Changed the data type of `id` from `uint64` to `string` in `ProcessInfo`. - Renamed field `schema` to `schemas` in `ProcessInfo`. Signed-off-by: Lei, HUANG <[email protected]> * - Signed-off-by: Lei, HUANG <[email protected]> * add catalog to ListProcessRequest --------- Signed-off-by: Lei, HUANG <[email protected]>
1 parent 454c526 commit 5f6119a

File tree

9 files changed

+5585
-0
lines changed

9 files changed

+5585
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ fn main() {
6767
"proto/greptime/v1/meta/procedure.proto",
6868
"proto/greptime/v1/region/server.proto",
6969
"proto/greptime/v1/flow/server.proto",
70+
"proto/greptime/v1/frontend/server.proto",
7071
"proto/greptime/v1/index/bloom_filter.proto",
7172
"proto/greptime/v1/index/inverted_index.proto",
7273
"proto/prometheus/remote/remote.proto",

c++/greptime/v1/frontend/server.grpc.pb.cc

Lines changed: 90 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)