diff --git a/odpf/optimus/runtime_service.proto b/odpf/optimus/runtime_service.proto index c092d984..7f895060 100644 --- a/odpf/optimus/runtime_service.proto +++ b/odpf/optimus/runtime_service.proto @@ -85,7 +85,7 @@ service RuntimeService { // CheckJobSpecifications checks if the job specifications are valid rpc CheckJobSpecifications(CheckJobSpecificationsRequest) returns (stream CheckJobSpecificationsResponse) {} - // RegisterProject creates a new project + // RegisterProject creates a new optimus project rpc RegisterProject(RegisterProjectRequest) returns (RegisterProjectResponse) { option (google.api.http) = { post: "/api/v1/project" @@ -314,10 +314,6 @@ message VersionResponse { message DeployJobSpecificationRequest { string project_name = 1; // unique project identifier repeated JobSpecification jobs = 2; - - // TODO: not implemented yet, default behaviour is to treat this true always till then - // bool synchronize = 3; // deletes job that are not sent as part of this deployment - string namespace = 4; } diff --git a/odpf/optimus/task_plugin.proto b/odpf/optimus/task_plugin.proto index a491453b..faa83df4 100644 --- a/odpf/optimus/task_plugin.proto +++ b/odpf/optimus/task_plugin.proto @@ -61,14 +61,19 @@ message GetTaskSchema { } message PluginQuestion { + reserved 6, 7; + string name = 1; string prompt = 2; string help = 3; string default = 4; repeated string multiselect = 5; - string sub_questions_if_value = 6; - repeated PluginQuestion sub_questions = 7; + message SubQuestion { + string if_value = 1; + repeated PluginQuestion questions = 2; + } + repeated SubQuestion sub_questions = 8; } message PluginAnswer {