Commit Graph

54 Commits

Author SHA1 Message Date
Andrey Melnikov
72fbff18cd fix: issue where workflow template labels did not work 2020-05-18 16:38:17 -07:00
Andrey Melnikov
b9ccacc2ea fix: issue where workspace template labels were not working. 2020-05-16 17:37:47 -07:00
rushtehrani
61704062ba fix template version update uid 2020-05-14 15:57:44 -07:00
rushtehrani
f530a7fac2 fix workflowTemplate and version uid 2020-05-14 15:46:58 -07:00
Aleksandr Melnikov
076917278b Consolidated UID generation for WorkflowTemplate and WorkspaceTemplate 2020-05-14 15:04:49 -07:00
Aleksandr Melnikov
9e48c3b406 Updating name generated to use onepanel uid generation. 2020-05-14 10:31:33 -07:00
rushtehrani
6c785ed2a6 add is_system to workflow_templates for sys workflows 2020-05-10 20:42:33 -07:00
Andrey Melnikov
d6c9ffb1c1 fix: Added a clone workflow execution endpoint and cleaned up code a bit. 2020-05-05 12:19:06 -07:00
Andrey Melnikov
b90b702709 update: initial working version of updating workspace templates. 2020-05-04 14:54:57 -07:00
Andrey Melnikov
11c18f23a9 auto-generated: ran make api 2020-05-04 10:42:20 -07:00
rushtehrani
6761633ce5 make name special field and snapshot parameters 2020-05-03 19:41:26 -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
Andrey Melnikov
031122ed79 fix: issue where a badly formatted workflow template manifest would delete the latest label and not revert the changes. 2020-04-30 21:23:09 -07:00
rushtehrani
14b8e4c1c6 minor refactor 2020-04-30 10:49:33 -07:00
Andrey Melnikov
724a640127 fix: case where there are no labels input. 2020-04-27 20:29:02 -07:00
Andrey Melnikov
3ce771967b update: Get Workflow Template Versions to use db records and order by created at desc by default. 2020-04-27 20:17:00 -07:00
Andrey Melnikov
9c193b3616 feature: centralize labels to one location. 2020-04-27 19:55:44 -07:00
Andrey Melnikov
c2cf26b313 fix: issue where workflow template version uid was not being set on creation. 2020-04-27 16:40:59 -07:00
Andrey Melnikov
9533251227 feat: Added cron workflow statistics to workflow templates 2020-04-27 11:34:44 -07:00
Andrey Melnikov
6cacf140c3 Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes 2020-04-27 09:54:06 -07:00
Andrey Melnikov
1920eb5ed0 update: database records for all resources. 2020-04-27 09:32:45 -07:00
rushtehrani
151bf47dba workspace database table updates 2020-04-26 11:27:18 -07:00
rushtehrani
27c586560b store workspace information in database 2020-04-25 18:53:28 -07:00
Andrey Melnikov
fd686a0672 update: workflow versions are db records again to more easily store custom user manifest and parameters 2020-04-22 12:18:39 -07:00
Andrey Melnikov
d5c3a8bf95 fix: issue where a default versions counter was not created when a workflow template was. 2020-04-20 14:08:14 -07:00
Andrey Melnikov
ae524fbd2e feat: added versions to workflow tempaltes.
update: updated logic to get workflow template executions stats to be a single query.
2020-04-20 13:47:48 -07:00
Andrey Melnikov
74f1019e76 Merge branch 'feat/core.144-workflow.stats' into feat/dev-core-144-workflow.stats 2020-04-16 14:44:11 -07:00
Andrey Melnikov
d4687e1b78 Merge remote-tracking branch 'origin/feat/core.144-workflow.stats' into feat/core.144-workflow.stats 2020-04-16 13:46:26 -07:00
Andrey Melnikov
6d2d7a0f03 fix: occasional nil access for stats 2020-04-16 13:46:13 -07:00
Aleksandr Melnikov
ba9f2669db Added logging per feedback. 2020-04-16 13:14:06 -07:00
Andrey Melnikov
94de4aafe3 feat: Updated functions that worked with workflow templates to be methods and renamed them a bit for simplicity. 2020-04-16 11:02:58 -07:00
Aleksandr Melnikov
7574c1500f Added code to retrieve workflow execution statistics for a workflow template.
- Code will calculate expected values and attach them to the given
WorkflowTemplate.
2020-04-15 14:34:02 -07:00
Andrey Melnikov
aac67a9c6d feat: reworked parameters to be annotations - first draft 2020-04-15 10:43:41 -07:00
rushtehrani
07ae9b9777 use system name in labels 2020-04-14 15:26:47 -07:00
Andrey Melnikov
fd9a9cc871 feat: updated workflow template name (k8) to be {name}-v{version} 2020-04-14 11:57:40 -07:00
Andrey Melnikov
c0a4549d41 fix consistency: updated workflow template labels to use dashes instead of underscores. 2020-04-14 11:38:16 -07:00
Andrey Melnikov
86b307cd42 fix: rename LatestArgo to ArgoWorkflowTemplate to be more descriptive. 2020-04-14 11:20:20 -07:00
rushtehrani
e3fc34840b fix workflowtemplate name in label 2020-04-13 18:18:11 -07:00
Andrey Melnikov
318869bba4 fix: Updated workflow template labels request so a version can be specified. 2020-04-13 13:01:40 -07:00
Andrey Melnikov
628c68c24f clean/fix: fixed issues with creating workflow template versions and labels.
Removed most of the logic from updating a workflow template version as it is currently not used.
2020-04-13 12:45:36 -07:00
Andrey Melnikov
57dcd1d399 fix: updated resources so they can be provided labels on creation. 2020-04-12 13:28:45 -07:00
Andrey Melnikov
19195fa23b Revert "removed template manifest formatting based on potential need for metadata provided by user."
This reverts commit d4c919c9be.
2020-04-10 13:34:26 -07:00
Andrey Melnikov
bfb65dd1ad fix: issue with cron workflows not working and updated workflow executions to include the version of the workflow template they ran. 2020-04-10 12:04:12 -07:00
Andrey Melnikov
02815b9cf0 progress: basic workflow execution from template. 2020-04-09 15:49:03 -07:00
Andrey Melnikov
d4c919c9be removed template manifest formatting based on potential need for metadata provided by user. 2020-04-09 15:49:03 -07:00
Andrey Melnikov
a520f3c6c3 Prototyping removing workflow versions and updating workflow templates to always create a k8 resources. 2020-04-09 15:49:03 -07:00
Aleksandr Melnikov
e621882b63 Removing un-used function. 2020-04-07 11:03:42 -07:00
Aleksandr Melnikov
6e043b9b7b Added endpoint to clone workflow templates.
- Added endpoint to proto
- Added supporting functions and error checking
2020-04-06 18:00:44 -07:00
Andrey Melnikov
d293a85cd0 feat: added label support for workflow executions and templates.
Also updated workflow templates to create a workflow template k8 resource so we can easily work with labels.
2020-03-25 12:46:55 -07:00
rushtehrani
be711a94c0 rename Workflow to workflowExecution 2020-02-20 20:43:02 -08:00