-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
100 additions
and
64 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
syntax = "proto3"; | ||
|
||
message Parameter { | ||
string name = 1; | ||
ParameterType parameter_type = 2; | ||
message WorkflowParameterSchema { | ||
string type = 1; | ||
string title =2; | ||
optional string description = 3; | ||
optional string default = 4; | ||
optional string format = 5; | ||
repeated string enum = 6; | ||
optional double minimum = 7; | ||
optional double maximum = 8; | ||
} | ||
|
||
enum ParameterType { | ||
STRING = 0; | ||
INTEGER = 1; | ||
DOUBLE = 2; | ||
DATETIME = 3; | ||
} | ||
message WorkflowParameter { | ||
string key_name = 1; | ||
WorkflowParameterSchema schema = 2; | ||
} | ||
|
||
message WorkFlow { | ||
message Workflow { | ||
string type_name = 1; | ||
string type_description = 2; | ||
repeated Parameter additional_parameters = 3; | ||
repeated WorkflowParameter parameters = 3; | ||
} | ||
|
||
message AvailableWorkFlows { | ||
repeated WorkFlow work_flows = 1; | ||
message AvailableWorkflows { | ||
repeated Workflow workflows = 1; | ||
} | ||
|
||
message RequestAvailableWorkflows {} |