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
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