Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
19 changes: 18 additions & 1 deletion schema/druncschema/controller.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ service Controller {

rpc describe_fsm (AddressedCommand) returns (DescribeFSMResponse) {}
rpc execute_fsm_command (ExecuteFSMCommandRequest) returns (ExecuteFSMCommandResponse) {}
rpc execute_expert_command (Request) returns (Response) {}
rpc execute_expert_command (ExecuteExpertCommandRequest) returns (ExecuteExpertCommandResponse) {}
rpc include (Request) returns (Response) {}
rpc exclude (Request) returns (Response) {}
rpc recompute_status (AddressedCommand) returns (RecomputeStatusResponse) {}
Expand All @@ -34,6 +34,23 @@ message AddressedCommand {
bool execute_on_all_subsequent_children_in_path = 6;
}

message ExecuteExpertCommandRequest {
Token token = 1;
string json_string = 2;
string target = 3;
bool execute_along_path = 4;
bool execute_on_all_subsequent_children_in_path = 5;
}

message ExecuteExpertCommandResponse {
Token token = 1;
string name = 2;
string data = 4;
repeated ExecuteExpertCommandResponse children = 5;
FSMResponseFlag fsm_flag = 6;
ResponseFlag flag = 7;
}

message ExecuteFSMCommandRequest {
Token token = 1;
FSMCommand command = 2;
Expand Down
Loading