Andrey Melnikov
080624d9e2
fix: issues with finished logs. Content was repeating, resulting in a large data load - making the stream fail.
...
No timestamps were being returned as timestamps for time 0.
Occasionally lines would cut off across multiple lines.
2020-12-31 11:07:39 -08:00
Andrey Melnikov
543367c36e
feat: updated workflow logs to return a response that may contain several log entries.
2020-12-30 12:04:21 -08:00
Andrey Melnikov
ba776cddbd
fix: fixed issue with logs where the timestamp parsing ignored newlines
2020-12-30 12:04:21 -08:00
Andrey Melnikov
76ecdcfb70
chore: codacy
2020-12-18 19:36:23 -08:00
Andrey Melnikov
2931d5e754
update: fixed missing generated files for grpc and moved generated files into their own subdirectory for easier separation of files.
2020-12-17 15:46:34 -08:00
Andrey Melnikov
d99189807d
feat: updated grpc gateway related code
2020-12-17 14:09:20 -08:00
Andrey Melnikov
b8b6853909
feat: added total results counts to list requests. This simplifies client logic for determining resource counts
2020-11-24 10:55:52 -08:00
Andrey Melnikov
fd713e0800
feat: added update metrics endpoint which replaces the contents. Also renamed merge to add to better distinguish the two
2020-11-17 13:42:19 -08:00
Andrey Melnikov
6af5d5b5b0
feat: added merge method workflow executions merge api
2020-11-17 13:32:55 -08:00
Andrey Melnikov
0a73aed929
feat: updated metrics structure to be an array of structs
2020-11-16 16:04:20 -08:00
rushtehrani
f7e48a0be7
don't update phase for already terminated workflow
2020-11-11 09:53:13 -08:00
Andrey Melnikov
f7770618ca
update: added parameter to control listing of system workflows
2020-09-24 12:32:35 -07:00
Andrey Melnikov
7b404ff0b6
fix: issue where workflow statistics report may have null for last executed.
2020-09-18 12:47:24 -07:00
Andrey Melnikov
d524c3cb66
update: fixed issue where GetWorkflowExecutionStatisticsForNamespace included workspace workflows (is_system = true). Added support for filtering by phase.
2020-09-16 19:37:10 -07:00
Andrey Melnikov
a9953683a9
feat: added endpoint to get the workflow execution statistics for a namespace
2020-09-16 19:37:10 -07:00
Andrey Melnikov
d4d4884e5b
feat: initial pagination updates
2020-09-16 18:26:51 -07:00
Andrey Melnikov
fc7ef5ffac
feat: added retry last action support for workspaces and new failure states
2020-09-10 12:30:18 -07:00
Andrey Melnikov
c81c2d7672
update: fixed issues where workspace template version labels were not being correctly set/got. Also updated generic server endpoints with new logic
2020-08-09 13:45:24 -07:00
Andrey Melnikov
81e3a7f299
fix: wrong namespace variable passed in
2020-07-28 11:53:27 -07:00
Andrey Melnikov
25049535e3
feat: Added generator for web routes. Added url for workflow executions.
2020-07-28 11:12:19 -07:00
Andrey Melnikov
017c3ca899
update: CreateWorkflowExecution now takes in a WorkflowTemplate so it can be more easily configured. Workspaces do this by injecting runtime variables.
2020-06-20 13:18:52 -07:00
Andrey Melnikov
d209423100
clean:
...
* updated method names to fit go conventions of uppercase. Db -> DB
* updated some method calls to use updated column select functions to remove extraneous empty string
* updated methods to use new label function that does nothing if no labels are passed in, this simplifies the code.
* updated some methods to use new Selectx function, reducing code in caller.
2020-06-20 13:18:52 -07:00
Andrey Melnikov
8684e44632
update: added logic to inject runtime variables in Workspace templates
2020-06-18 12:40:08 -07:00
rushtehrani
5f6bda8838
refactor: clean up client code
2020-06-08 15:25:02 -07:00
Aleksandr Melnikov
81566969c7
Merge pull request #223 from onepanelio/feat/ns-scoped-artifact-config
...
feat: ns scoped artifact config
2020-05-20 13:32:19 -07:00
Andrey Melnikov
f3deea797b
update: reworked watching workflow execution to keep watching until the workflow is done or failed.
2020-05-20 11:23:03 -07:00
rushtehrani
2df35cb27e
add workflow status webhook
2020-05-19 17:33:02 -07:00
Andrey Melnikov
f8d7ec73ba
fix: deleting labels and getting labels for workflow execution
...
* Fixed issue where ReplaceLabels did not work when no labels were passed in (a delete essentially)
* Updated workflow execution to also get the labels
* Removed unusued GetResourceIdBuilder method.
2020-05-17 13:25:08 -07:00
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