Commit Graph

20 Commits

Author SHA1 Message Date
Andrey Melnikov
9acd4cf6d3 fix: cron workflows now return UID and the delete endpoint doesn't have the terminate suffix.
Also updated Authorized endpoint to not have same path as IsValidToken
2020-05-22 20:25:05 -07:00
Aleksandr Melnikov
eed930c7f6 Adding namespace to Cron Workflow.
- Proto files
2020-05-21 12:45:10 -07:00
Aleksandr Melnikov
bcc72e2567 Changing name to uid for cron_workflow proto requests. 2020-05-14 10:31:33 -07:00
Andrey Melnikov
1fe4201704 feat: updated crons to have a manifest in db 2020-04-30 14:52:26 -07:00
Andrey Melnikov
b0571f69c9 fix: issues with cron workflow labels not being set/saved. 2020-04-29 14:01:37 -07:00
Andrey Melnikov
9c193b3616 feature: centralize labels to one location. 2020-04-27 19:55:44 -07:00
Andrey Melnikov
1920eb5ed0 update: database records for all resources. 2020-04-27 09:32:45 -07:00
Andrey Melnikov
57dcd1d399 fix: updated resources so they can be provided labels on creation. 2020-04-12 13:28:45 -07:00
Aleksandr Melnikov
58eb005851 Moving the label messages out of workflow and into it's own proto file.
- CronWorkflows re-use the same message types.
Added endpoints for CronWorkflow label operations.
2020-04-02 14:56:00 -07:00
Aleksandr Melnikov
a42e7ab7fe Updated List endpoint to take in an optional WorkflowTemplateUID.
- If present, code will try to filter the CronWorkflows by the label
"onepanel.io/workflow-template-uid"
- If not present, all CronWorkflows are returned as normal.
2020-04-02 11:31:01 -07:00
Aleksandr Melnikov
5b9832fdcd Changing terminate end point to be a DELETE request. 2020-03-31 13:19:21 -07:00
Aleksandr Melnikov
e6a0bd8549 Revert "Refactored CronWorkflow message."
This reverts commit 59cbf7d15e.
2020-03-30 14:06:02 -07:00
Aleksandr Melnikov
59cbf7d15e 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.
2020-03-30 11:59:13 -07:00
Aleksandr Melnikov
9045b1a3eb Added UpdateCronWorkflow endpoint. 2020-03-29 22:56:40 -07:00
Aleksandr Melnikov
8b4d93af4b Added TerminateCronWorkflow endpoint.
- Also updated CronWorkflow message to include the name of the cron workflow.
- Updated related function that parses and sets the struct values, to include the name attribute
2020-03-29 22:16:33 -07:00
Aleksandr Melnikov
2ada65e87a Added ListCronWorkflows endpoint. 2020-03-29 22:00:11 -07:00
Aleksandr Melnikov
1096a21058 Adding GetCronWorkflow endpoint.
- Added supporting proto code
- Added supporting server function and cron_workflow client function
- Added extra checking for possible nil values
2020-03-29 21:37:03 -07:00
Aleksandr Melnikov
24b3fe57fb Fixing values inside of proto for CronWorkflow fields. 2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
30ce4335db Adding Create endpoint for Cron Workflow.
- Re-using the WorkflowExecution message, since Cron Workflow will use
that information to figure out the Workflow to execute.
2020-03-27 12:17:39 -07:00
Aleksandr Melnikov
d49614beaf Adding basic cron_workflow.proto file. 2020-03-27 12:17:39 -07:00