feat: Added generator for web routes. Added url for workflow executions.

This commit is contained in:
Andrey Melnikov
2020-07-28 11:12:19 -07:00
parent cb4a229984
commit 25049535e3
8 changed files with 529 additions and 342 deletions

View File

@@ -31,7 +31,7 @@ func apiCronWorkflow(cwf *v1.CronWorkflow) (cronWorkflow *api.CronWorkflow) {
}
if cwf.WorkflowExecution != nil {
cronWorkflow.WorkflowExecution = GenApiWorkflowExecution(cwf.WorkflowExecution)
cronWorkflow.WorkflowExecution = apiWorkflowExecution(cwf.WorkflowExecution, nil)
for _, param := range cwf.WorkflowExecution.Parameters {
convertedParam := &api.Parameter{
Name: param.Name,