Refactored CronWorkflow message.

- Moved Parameters to it's own field
- Using WorkflowTemplate directly, instead of nesting it inside of
WorkflowExecution.
- Updated related code to use new structure.
This commit is contained in:
Aleksandr Melnikov
2020-03-30 11:59:13 -07:00
parent 9045b1a3eb
commit 59cbf7d15e
6 changed files with 133 additions and 122 deletions

View File

@@ -88,6 +88,6 @@ message CronWorkflow {
int64 startingDeadlineSeconds = 6;
int32 successfulJobsHistoryLimit = 7;
int32 failedJobsHistoryLimit = 8;
WorkflowExecution workflowExecution = 9;
repeated WorkflowExecutionParameter parameters = 9;
WorkflowTemplate workflowTemplate = 10;
}