Commit Graph

105 Commits

Author SHA1 Message Date
Aleksandr Melnikov
735b10c025 Refactored name to uid. 2020-05-14 10:31:33 -07:00
Aleksandr Melnikov
460b7c0604 Putting UID back as part of the WorkflowExecution response. 2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
b41c2ea848 Changed name to uid for CloneWorkflowExecution.
- Added supporting changes
2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
c1ce0ad17b Changed name to uid for WatchWorkflowExecution. 2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
d308761f27 Changed name to uid for GetWorkflowExecution. 2020-05-14 10:29:55 -07:00
Aleksandr Melnikov
8f257ca73e Removing UID as a value returned by the API request.
- This value is not managed by the user in the UI
- It may impact the UI code, to be determined
2020-05-14 10:29:55 -07:00
Andrey Melnikov
e339e698d0 update: Workflow Execution body into a separate message 2020-05-08 13:25:58 -07:00
Andrey Melnikov
872ed2d9af update/fix: fixed issue where parameters were not being sent with API response.
Fixed issue where cron workflows did not apply their labels to the newly created workflow executions.
2020-05-06 15:39:55 -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
rushtehrani
af82c312a7 move workspace_types and common_types and refactor Parameter alias 2020-04-29 17:31:44 -07:00
Andrey Melnikov
d493bfb19a Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes 2020-04-29 09:53:22 -07:00
rushtehrani
beea0ce69e refactor workflow stats 2020-04-28 16:59:24 -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
rushtehrani
07fe5325af check auth and use env var for token 2020-04-27 21:19:51 -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
Aleksandr Melnikov
74b3043db1 Using workflow name instead of uuid. 2020-04-22 11:58:52 -07:00
Aleksandr Melnikov
5128135be7 Added endpoint for workflows created by Crons to ping, when they start. 2020-04-21 16:58:13 -07:00
Aleksandr Melnikov
08a432cf23 Updated endpoint called by CURL.
- CreatedAt is no longer parsed
- Passing in uid from request
2020-04-20 15:22:36 -07:00
Andrey Melnikov
ad36870b28 fix: wrong workflow status for success 2020-04-16 15:21:00 -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
6d2d7a0f03 fix: occasional nil access for stats 2020-04-16 13:46:13 -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
Andrey Melnikov
aac67a9c6d feat: reworked parameters to be annotations - first draft 2020-04-15 10:43:41 -07:00
Aleksandr Melnikov
8cdafc77cb Adjusting the JSON Body
- Since we are posting to HTTP, we do not need the surrounding pieces.
Just the "Body".
- Removing debugging statements.
2020-04-14 18:39:11 -07:00
Aleksandr Melnikov
332e7176d8 Adding new layout for parsing createdAt
- Debugging code kept in
2020-04-14 17:57:56 -07:00
Aleksandr Melnikov
1e594eb63f Parsing the created_at timestamp from Argo workflow. 2020-04-14 14:03:24 -07:00
Aleksandr Melnikov
ac8c3e39b1 Updated code to execute a SQL request to insert into workflow_executions. 2020-04-14 12:25:22 -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
Aleksandr Melnikov
e2152058c6 Adding function to accept workflow statistics.
- Currently, code outputs the request for debugging purposes.
2020-04-14 10:27:49 -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
39c675b3d3 fix: Issue where getting workflow manifest was showing all of the fields. 2020-04-10 15:39:12 -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
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
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
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
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
1ffdcf4a3d Adding an exposed method for apiWorkflowExecution 2020-03-27 12:20:58 -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
Aleksandr Melnikov
fac5e5cbab Returning a 404 if no metrics are found. 2020-03-18 16:49:43 -07:00
Andrey Melnikov
29d45015d2 fix: issue where logs were sending duplicate data.
issue: #91
2020-03-10 17:07:38 -07:00
Andrey Melnikov
ea04a661b3 Fixed issue where dates were not being set on workflow executions 2020-03-02 15:19:39 -08:00
Andrey Melnikov
262b32895c Removed name requirements for listing files 2020-03-02 11:41:27 -08:00
Andrey Melnikov
c36e383a16 Sort files so that folder is first. 2020-03-02 11:05:48 -08:00