Commit Graph

38 Commits

Author SHA1 Message Date
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
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
Aleksandr Melnikov
c044cec3e4 Adding CronWorkflow struct. 2020-03-27 12:20:58 -07:00
Andrey Melnikov
9f06daad60 Separated out parsing extension and added it to api response as it was not being set. 2020-02-29 11:39:18 -08:00
Andrey Melnikov
202e6c6613 Added extension and parentPath to files responses 2020-02-29 11:31:41 -08:00
Andrey Melnikov
e65fe291c2 Added endpoint to list files. 2020-02-27 14:44:50 -08:00
rushtehrani
be711a94c0 rename Workflow to workflowExecution 2020-02-20 20:43:02 -08:00
rushtehrani
4d0910846c fix secrets 2020-02-19 14:44:54 -08:00
rushtehrani
2e0ae10d56 move reusable components to pkg 2020-02-19 14:42:48 -08:00