Commit Graph

178 Commits

Author SHA1 Message Date
Aleksandr Melnikov
bcf4400aac Using exposed function. 2020-03-27 12:31:13 -07:00
Aleksandr Melnikov
96fd279189 Exposing UnmarshalWorkflows.
- So CronWorkflows can use them
2020-03-27 12:22:01 -07:00
Aleksandr Melnikov
a5fc6b238c Renaming create() to createWorkflow(), to help show what the func.
is doing.
2020-03-27 12:20:58 -07:00
Aleksandr Melnikov
4a08971f46 Updated onepanelApiUrl and providerType 2020-03-27 12:17:39 -07:00
Aleksandr Melnikov
52b430dca2 Adding onepanelApiUrl and providerType to templates as ENV vars. 2020-03-27 12:17:39 -07:00
Aleksandr Melnikov
5c3009c6f6 Added helper function to add ENVs to a Template. 2020-03-27 12:17:39 -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
d42a360ec9 Updated onepanelApiUrl and providerType 2020-03-24 17:43:05 -07:00
Aleksandr Melnikov
6c6e7fadb0 Adding onepanelApiUrl and providerType to templates as ENV vars. 2020-03-24 17:43:05 -07:00
Aleksandr Melnikov
a7ce4bd1ae Added helper function to add ENVs to a Template. 2020-03-24 17:43:05 -07:00
Andrey Melnikov
0e100b83d0 feat: updated workflow parameters to ignore values without a default. 2020-03-20 12:38:38 -07:00
Andrey Melnikov
cc7f5678d2 feat: Added function to strip out form field types. 2020-03-19 16:31:28 -07:00
Aleksandr Melnikov
72b162c52f Added an extra error check to GetWorkflowExecutionMetrics.
- If the error is unknown, check to see if S3 says the specified key
does not exist.
This can mean the workflow does not generate any metrics,
or there aren't any generated yet.
Thus, return 404.
2020-03-18 18:02:14 -07:00
Andrey Melnikov
ab938d7312 clean: removed debugging logging from code 2020-03-10 11:12:45 -07:00
Andrey Melnikov
8cbbf585b3 Added logging for extra testing. 2020-03-10 10:38:55 -07:00
Andrey Melnikov
3f5f68e302 Testing sending extra data back to client after channel is closed. 2020-03-09 16:44:50 -07:00
Andrey Melnikov
6e3cb8bdfd Testing catching issue with workflow if it does not type assert 2020-03-09 14:43:00 -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
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
11207725b7 Fixed issue where not all directories were marked as such and folders would list themselves as a file. 2020-02-28 16:22:30 -08:00
Andrey Melnikov
e65fe291c2 Added endpoint to list files. 2020-02-27 14:44:50 -08:00
Andrey Melnikov
cc49bac23b Updated method references 2020-02-26 14:05:44 -08:00
Andrey Melnikov
9fa50edbed Updated GetArtifacts
* No longer base64 encode, as the bytes automatically do that.
* Change GetArtifactDownload to just GetArtifact for consistency
* Change url to have the key on the end instead of a query parameter.
2020-02-26 13:40:20 -08:00
Andrey Melnikov
d969186178 Added endpoint to get artifacts as base64 string 2020-02-26 13:40:20 -08:00
rushtehrani
e3413d0669 v1.Client cleanup 2020-02-25 17:36:00 -08:00
rushtehrani
be711a94c0 rename Workflow to workflowExecution 2020-02-20 20:43:02 -08:00