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
c657a004f0
fix: removed references to workflow template version uid as it is not needed and currently causing a crash with migrations as it is set to the timestamp, which is limited to second precision
2020-06-16 20:06:24 -07:00
Andrey Melnikov
29e1550446
fix: added labels to list workspace method
2020-05-27 22:44:39 -07:00
rushtehrani
617806011c
move getCronWorkflowColumns to types.go
2020-05-22 16:01:17 -07:00
Aleksandr Melnikov
cd4f429559
Merge branch 'develop' into feat/core.171-archiving.workflow.template.clean.up
2020-05-22 15:44:01 -07:00
Aleksandr Melnikov
92b9aba0d1
Adding namespace to cron workflow related code.
2020-05-21 12:47:42 -07:00
rushtehrani
609f24fcb2
update documentation
2020-05-19 18:03:58 -07:00
rushtehrani
933e1fa6fd
add json tags for proper marshalling
2020-05-19 17:53:58 -07:00
rushtehrani
2df35cb27e
add workflow status webhook
2020-05-19 17:33:02 -07:00
rushtehrani
227d9c0d4e
move functions to respective types
2020-05-19 14:57:41 -07:00
Rush Tehrani
e75170d468
Merge pull request #205 from onepanelio/fix/labels
...
fix: remove label uid and fix migration
2020-05-19 11:38:48 -07:00
Andrey Melnikov
66760c5f44
fix: issue where labels were not editable for workspaces.
2020-05-18 13:09:02 -07:00
Andrey Melnikov
756010958d
fix: GetWorkflowExecution now gets the same columns as List.
...
Also minor cleanup with method calls.
2020-05-18 12:47:04 -07:00
rushtehrani
cf7d52bb19
namespace config updates
2020-05-18 12:34:05 -07:00
Andrey Melnikov
b9ccacc2ea
fix: issue where workspace template labels were not working.
2020-05-16 17:37:47 -07:00
Rush Tehrani
84c19a231c
Merge pull request #204 from onepanelio/feature/workspace.adjustments
...
Feature/workspace.adjustments
2020-05-14 20:45:04 -07:00
rushtehrani
662f353512
update WorkflowExecutionStatisticReport struct
2020-05-14 20:19:20 -07:00
Andrey Melnikov
1595594dc8
fix: added back function that went missing.
2020-05-14 19:18:55 -07:00
Aleksandr Melnikov
076917278b
Consolidated UID generation for WorkflowTemplate and WorkspaceTemplate
2020-05-14 15:04:49 -07:00
Andrey Melnikov
5fdaf16c47
fix: issue where url was not selected for workspaces.
2020-05-11 19:07:31 -07:00
Rush Tehrani
e85561a651
Merge pull request #193 from onepanelio/feature/workspace.api.updates
...
Feature/workspace.api.updates
2020-05-11 14:15:50 -07:00
Andrey Melnikov
9600794c38
update: List Workspaces request to include the workspace template information.
2020-05-11 12:18:31 -07:00
rushtehrani
6c785ed2a6
add is_system to workflow_templates for sys workflows
2020-05-10 20:42:33 -07:00
Andrey Melnikov
3a9e84c4a5
update: select columns for workspace status.
2020-05-09 18:31:26 -07:00
Andrey Melnikov
383e915fa3
update: added labels and workspace type
2020-05-08 20:38:41 -07:00
Rush Tehrani
3a8e170e73
Revert "update: simplified request for creating a workflow execution."
2020-05-08 13:11:13 -07:00
Andrey Melnikov
97f9b78efa
update: workspaces with labels and simplified use of parameters.
2020-05-08 11:02:42 -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
6f60592669
fix: issue where cron workflows did not pass on parameters to workflow executions in db
2020-05-06 14:22:39 -07:00
Andrey Melnikov
396d95d9d9
update: Added List Workspaces method.
2020-05-06 12:30:12 -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
Andrey Melnikov
b90b702709
update: initial working version of updating workspace templates.
2020-05-04 14:54:57 -07:00
Andrey Melnikov
adb59a36a3
Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes
2020-05-01 23:36:59 -07:00
rushtehrani
dfe606447c
create workspace logic
2020-04-30 16:47:25 -07:00
Andrey Melnikov
1fe4201704
feat: updated crons to have a manifest in db
2020-04-30 14:52:26 -07:00
rushtehrani
af82c312a7
move workspace_types and common_types and refactor Parameter alias
2020-04-29 17:31:44 -07:00
Andrey Melnikov
b0571f69c9
fix: issues with cron workflow labels not being set/saved.
2020-04-29 14:01:37 -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
Andrey Melnikov
3ce771967b
update: Get Workflow Template Versions to use db records and order by created at desc by default.
2020-04-27 20:17:00 -07:00
Andrey Melnikov
9c193b3616
feature: centralize labels to one location.
2020-04-27 19:55:44 -07:00
rushtehrani
f40e83f437
alias workflowExecutionParameter to Parameter for future refactor
2020-04-27 14:51:15 -07:00
rushtehrani
dd49f038bb
better duplicate checking + additional field
2020-04-27 14:51:15 -07:00
rushtehrani
2a5905d13b
store workspace information in database
2020-04-27 14:51:15 -07:00
rushtehrani
c105fb3c39
return workspaceTemplate.workflowTemplate in api response
2020-04-27 14:50:21 -07:00
rushtehrani
9158ddc68d
generate api for workspace_template
2020-04-27 14:50:21 -07:00
rushtehrani
25a9042852
use workspace struct
2020-04-27 14:49:15 -07:00
rushtehrani
6615fde6eb
workspace_template logic
2020-04-27 14:49:15 -07:00
Andrey Melnikov
9533251227
feat: Added cron workflow statistics to workflow templates
2020-04-27 11:34:44 -07:00
Andrey Melnikov
6cacf140c3
Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes
2020-04-27 09:54:06 -07:00
Andrey Melnikov
1920eb5ed0
update: database records for all resources.
2020-04-27 09:32:45 -07:00