Commit Graph

68 Commits

Author SHA1 Message Date
Aleksandr Melnikov
ac8c3e39b1 Updated code to execute a SQL request to insert into workflow_executions. 2020-04-14 12:25:22 -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
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
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
93fdaed526 Added directory to api conversion 2020-02-27 16:47:05 -08:00
Andrey Melnikov
e65fe291c2 Added endpoint to list files. 2020-02-27 14:44:50 -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
93ac9b9140 simplify grpc errors 2020-02-20 20:58:57 -08:00
rushtehrani
be711a94c0 rename Workflow to workflowExecution 2020-02-20 20:43:02 -08:00
rushtehrani
48cd98344d authorizations for remaining resources 2020-02-20 16:02:46 -08:00
rushtehrani
f61b08b535 move /util to /pkg/util 2020-02-20 12:14:37 -08:00
Rush Tehrani
161a6b6677 Merge branch 'master' into feature/client-auth 2020-02-19 16:02:37 -08:00
Aleksandr Melnikov
0e2e7837f0 Fixing a case where req.Page is 0 after the math calculation. 2020-02-19 15:14:24 -08:00
rushtehrani
2e0ae10d56 move reusable components to pkg 2020-02-19 14:42:48 -08:00
Rush Tehrani
1c828a04e4 Merge pull request #60 from onepanelio/feature/workflow.pagination
Fixed issue where workflows would not return anything if there was ju…
2020-02-15 18:30:30 -08:00
Andrey Melnikov
ad06456c4b Fixed issue where workflows would not return anything if there was just one result 2020-02-15 18:09:00 -08:00
rushtehrani
4de8228a5b remove slice instantiations 2020-02-13 11:59:04 -08:00
rushtehrani
8b4b109389 update metrics api 2020-02-13 11:29:52 -08:00
rushtehrani
0e3d9d3ab4 use var decleration instead of make for slice 2020-02-13 11:21:50 -08:00
Andrey Melnikov
497e060fce Added pagination to workflows request. 2020-02-13 10:22:33 -08:00
rushtehrani
d19df434a0 workflow phase, start/finish time 2020-02-13 10:22:33 -08:00
rushtehrani
bf9ad3ddce add metrics endpoint 2020-02-12 09:46:21 -08:00
rushtehrani
75077a9b8c executed workflow manifest + inject metrics (wip) 2020-02-12 09:46:21 -08:00
rushtehrani
34d8ed26a4 resubmitworkflow + additional wf methods 2020-02-12 09:46:21 -08:00
Aleksandr Melnikov
816a14bff1 Updating workflow_server.go to use GRPCError(). 2020-02-10 16:32:09 -08:00
rushtehrani
c66a7f6c50 add terminate workflow service 2020-02-06 14:29:21 -08:00
rushtehrani
e698386840 split log timestamp into its own field 2020-02-04 17:03:28 -08:00
rushtehrani
04b76e6aa8 support archiving workflow_templates 2020-02-04 12:23:52 -08:00
Andrey Melnikov
c5986a0132 Added createdAt field to be set when created in workflow_manager 2020-01-30 10:17:41 -08:00
Andrey Melnikov
6fa397cdbd Added logic to get a secret and worked on adding createdAt timestamps to models. 2020-01-27 10:05:23 -08:00
Andrey Melnikov
f2ed4833b2 Updated ListWorkflows to filter by workflow template version 2020-01-27 10:00:12 -08:00
Andrey Melnikov
11e90e17da Updated Workflow Template Versions to support IsLatest and added API methods to save, save & publish 2020-01-27 09:50:24 -08:00
rushtehrani
d124e587c1 pod logging 2020-01-09 15:08:25 -08:00
rushtehrani
32e8b51251 support kubernetes secret creation 2020-01-07 16:38:52 -08:00
rushtehrani
40741d2214 create workflow template version 2019-12-20 23:19:50 -08:00
rushtehrani
3d5aeccaa1 add ListWorkflowTemplates 2019-12-19 11:15:53 -08:00
rushtehrani
bdcd517135 workflow watch grpc version 2019-12-16 21:06:38 -08:00
rushtehrani
66d10fac40 initial implementation of watchworkflow 2019-12-16 17:17:53 -08:00