Andrey Melnikov
d4d4884e5b
feat: initial pagination updates
2020-09-16 18:26:51 -07:00
Andrey Melnikov
25049535e3
feat: Added generator for web routes. Added url for workflow executions.
2020-07-28 11:12:19 -07:00
rushtehrani
5f6bda8838
refactor: clean up client code
2020-06-08 15:25:02 -07:00
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
92b9aba0d1
Adding namespace to cron workflow related code.
2020-05-21 12:47:42 -07:00
Aleksandr Melnikov
fc10444656
Updating name to uid in cron_workflow and related code.
2020-05-14 10:31:33 -07:00
Andrey Melnikov
d1235ee2cb
fix: Cron update params and field types
2020-05-02 17:57:13 -07:00
Andrey Melnikov
912c492272
fix: issue where not all parameter configuration was allowed through
2020-05-02 17:10:51 -07:00
Andrey Melnikov
adb59a36a3
Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes
2020-05-01 23:36:59 -07:00
rushtehrani
dfe606447c
create workspace logic
2020-04-30 16:47:25 -07:00
Andrey Melnikov
1fe4201704
feat: updated crons to have a manifest in db
2020-04-30 14:52:26 -07:00
rushtehrani
af82c312a7
move workspace_types and common_types and refactor Parameter alias
2020-04-29 17:31:44 -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
a5060a71ae
fix: Get label requests now use "get" permission instead of "create"
2020-04-14 11:22:54 -07:00
Andrey Melnikov
fa7dd28a9a
fix: permission verbs for adding/replacing labels are now "update" instead of "create"
2020-04-14 11:20:20 -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
f71eb9d6ad
Adding a fix for deleting labels from CronWorklows and WorkflowExecutions.
...
- WorkflowTemplates appears to be un-affected
2020-04-02 17:16:31 -07:00
Aleksandr Melnikov
b32ceca18d
Added support for label operations in CronWorkflows.
...
- Endpoints added are add, list, update, and delete.
Note: A bug exists with delete, it doesn't actually delete the label.
WIP.
2020-04-02 15:19: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
Andrey Melnikov
3fe93a64c9
feat: Updated cron to return the active parameters
2020-03-31 19:20:55 -07:00
Aleksandr Melnikov
da2a0c06a7
Fixing the Terminate CronWorkflow
...
- Was deleting workflow executions instead of Cron Workflows.
2020-03-31 13:19:08 -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
d7a289c895
Renaming variable testCWF.
...
Adding the workflow spec correctly to the CronWorkflow spec.
2020-03-27 12:22:01 -07:00
Aleksandr Melnikov
aab8b4a69b
Setting cronWorkflow values during server create request,
...
from the request data.
2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
e1892d6527
Fixing CronWorkflow values.
2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
4d66356c26
Fixing double error check.
2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
f92964937e
Added CreateCronWorkflow function to server.
2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
8719a1ee2a
Adding apiCronWorkflow function, to return the expected API response
...
struct.
2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
26615700e6
Adding cron_workflow_server.go
...
- Connecting it to main.go
2020-03-27 12:17:39 -07:00