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
7528348aaf
Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes
2020-04-28 10:21:23 -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
rushtehrani
f40e83f437
alias workflowExecutionParameter to Parameter for future refactor
2020-04-27 14:51:15 -07:00
rushtehrani
dd49f038bb
better duplicate checking + additional field
2020-04-27 14:51:15 -07:00
rushtehrani
2a5905d13b
store workspace information in database
2020-04-27 14:51:15 -07:00
rushtehrani
c105fb3c39
return workspaceTemplate.workflowTemplate in api response
2020-04-27 14:50:21 -07:00
rushtehrani
9158ddc68d
generate api for workspace_template
2020-04-27 14:50:21 -07:00
rushtehrani
25a9042852
use workspace struct
2020-04-27 14:49:15 -07:00
rushtehrani
6615fde6eb
workspace_template logic
2020-04-27 14:49:15 -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
1809215615
alias workflowExecutionParameter to Parameter for future refactor
2020-04-26 15:15:44 -07:00
rushtehrani
18ee46462e
better duplicate checking + additional field
2020-04-26 12:37:15 -07:00
rushtehrani
27c586560b
store workspace information in database
2020-04-25 18:53:28 -07:00
rushtehrani
da6934face
return workspaceTemplate.workflowTemplate in api response
2020-04-25 16:03:07 -07:00
rushtehrani
f74ec05f97
generate api for workspace_template
2020-04-25 00:19:25 -07:00
rushtehrani
9b34aff8fa
use workspace struct
2020-04-24 12:39:52 -07:00
rushtehrani
13ab6c0d90
workspace_template logic
2020-04-24 12:39:52 -07:00
Aleksandr Melnikov
be99db4ffc
Due to adjustments in manifests, and how S3 is stored,
...
we need to parse the new configuration and set it up to be available
as the code expects.
2020-04-23 16:59:26 -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
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
Aleksandr Melnikov
3410898188
Per feedback, using *time.Time to allow nil value.
2020-04-16 13:10:23 -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
Andrey Melnikov
4f69a56996
fix: parameters wrong type in setting it from annotations.
2020-04-15 20:22:48 -07:00
Andrey Melnikov
259c9f8a57
clean: cleaned up code for getting/setting parameters.
2020-04-15 16:22:45 -07:00
Aleksandr Melnikov
01bbca6c73
Renamed WorkflowStatistics to just Stats.
...
Changed value types so they come back as integers in JSON.
2020-04-15 15:16:45 -07:00
Aleksandr Melnikov
72df98834c
Adding code to return the WorkflowStatistics with the ListTemplates
...
response.
2020-04-15 15:03:07 -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
527ea03b41
feat: updated annotations for parameters to keep track of their order and to sort by it in the response. Otherwise it defaults to alphabetical.
2020-04-15 11:29:17 -07:00
Andrey Melnikov
aac67a9c6d
feat: reworked parameters to be annotations - first draft
2020-04-15 10:43:41 -07:00
Andrey Melnikov
77d0b1e0fa
fix: don't show empty values in manifest
2020-04-14 11:20:20 -07:00
Andrey Melnikov
86b307cd42
fix: rename LatestArgo to ArgoWorkflowTemplate to be more descriptive.
2020-04-14 11:20:20 -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
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
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
e1892d6527
Fixing CronWorkflow values.
2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
1412d2907b
Updating CronWorkflow struct to include more fields.
2020-03-27 12:20:58 -07:00