grpc create session can now specify id, updated all session proto to use SessionState for state, added suite for session testing for grpc
This commit is contained in:
parent
3498a59ed5
commit
1f3e72e014
5 changed files with 130 additions and 11 deletions
|
@ -121,12 +121,12 @@ service CoreApi {
|
|||
|
||||
// rpc request/response messages
|
||||
message CreateSessionRequest {
|
||||
|
||||
int32 id = 1;
|
||||
}
|
||||
|
||||
message CreateSessionResponse {
|
||||
int32 id = 1;
|
||||
int32 state = 2;
|
||||
SessionState state = 2;
|
||||
}
|
||||
|
||||
message DeleteSessionRequest {
|
||||
|
@ -149,7 +149,7 @@ message GetSessionRequest {
|
|||
}
|
||||
|
||||
message GetSessionResponse {
|
||||
int32 state = 1;
|
||||
SessionState state = 1;
|
||||
repeated Node nodes = 2;
|
||||
repeated Link links = 3;
|
||||
}
|
||||
|
@ -713,7 +713,7 @@ message ConfigOption {
|
|||
|
||||
message Session {
|
||||
int32 id = 1;
|
||||
int32 state = 2;
|
||||
SessionState state = 2;
|
||||
int32 nodes = 3;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue