Commit Graph

959 Commits

Author SHA1 Message Date
Rush Tehrani
a0196f433f Merge pull request #189 from onepanelio/feat/workspaces
feat: use uid in workspaces
2020-05-08 16:21:33 -07:00
rushtehrani
cc7cd1201b check for existing workspace on creation 2020-05-08 16:21:00 -07:00
rushtehrani
de9947defa change namespace and uid to 30 characters each 2020-05-08 15:53:30 -07:00
rushtehrani
841c3bc635 use sys-uid instead of sys-name 2020-05-08 15:10:30 -07:00
rushtehrani
5659975fb9 generate UID based on name 2020-05-08 14:26:10 -07:00
Rush Tehrani
61763f7eaf Merge pull request #188 from onepanelio/feature/simplify.workflow.executions
update: Workflow Execution body into a separate message
2020-05-08 14:25:05 -07:00
Andrey Melnikov
e339e698d0 update: Workflow Execution body into a separate message 2020-05-08 13:25:58 -07:00
Rush Tehrani
79d02f2b5c Merge pull request #185 from onepanelio/feature/simplify.workflow.executions
update: simplified create workflow execution
2020-05-08 13:12:24 -07:00
Rush Tehrani
e7483535f8 Merge pull request #187 from onepanelio/revert-183-feat/simplify.create.workflow.execution
Revert "update: simplified request for creating a workflow execution."
2020-05-08 13:11:37 -07:00
Rush Tehrani
3a8e170e73 Revert "update: simplified request for creating a workflow execution." 2020-05-08 13:11:13 -07:00
Rush Tehrani
828315ef94 Merge pull request #183 from onepanelio/feat/simplify.create.workflow.execution
update: simplified request for creating a workflow execution.
2020-05-08 13:05:40 -07:00
Andrey Melnikov
6e9105a742 update: simplified create workflow execution 2020-05-08 11:21:39 -07:00
Andrey Melnikov
97f9b78efa update: workspaces with labels and simplified use of parameters. 2020-05-08 11:02:42 -07:00
Andrey Melnikov
af6b053147 update: removed inner body from create workflow request. 2020-05-08 09:38:16 -07:00
Rush Tehrani
1480a8da8c Merge pull request #184 from onepanelio/feat/core.124-add.envoy.filter
feat: add envoy filter
2020-05-07 16:32:40 -07:00
Andrey Melnikov
5859da5520 update: simplified request for creating a workflow execution. 2020-05-07 13:36:16 -07:00
Rush Tehrani
473bc9d27a Merge branch 'master' into feat/core.124-add.envoy.filter 2020-05-07 10:29:49 -07:00
Andrey Melnikov
243a147482 Merge pull request #181 from onepanelio/feat/integrate.workflow.changes
Feat/integrate.workflow.changes
v0.6.0
2020-05-07 10:08:47 -07:00
Andrey Melnikov
4f549d0103 Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes 2020-05-07 09:59:12 -07:00
rushtehrani
7d720a43fb delete/pause workspace 2020-05-06 22:23:35 -07:00
Andrey Melnikov
9d1e8ecf68 update: added labels to create workspace request. 2020-05-06 16:59:36 -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
c64954562b Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes 2020-05-06 14:29:27 -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
Aleksandr Melnikov
49451b5008 Per feedback, using the new auth code logic.
Also, using "apps" instead of "apps/v1"
2020-05-06 14:10:09 -07:00
Andrey Melnikov
7f6445f356 uncommented output artifacts code as it was commented out during testing. 2020-05-06 13:13:27 -07:00
rushtehrani
ca5d69e3f8 additional status curl calls 2020-05-06 12:44:01 -07:00
Andrey Melnikov
396d95d9d9 update: Added List Workspaces method. 2020-05-06 12:30:12 -07:00
Andrey Melnikov
485c75695d fix: changed default workflow execution parameters to be an array. 2020-05-06 11:36:10 -07:00
rushtehrani
7ca68b6dfa allow inputs for curlNodeTemplate 2020-05-06 10:44:40 -07:00
rushtehrani
1f98997bb3 fix token 2020-05-05 22:57:45 -07:00
rushtehrani
ff51502a0a fix IsAuthorized and statefulsets group 2020-05-05 22:48:31 -07:00
rushtehrani
7d19a8543b add sys-uid as a param to all workflows 2020-05-05 22:16:00 -07:00
rushtehrani
5ebb1db051 make code more modular 2020-05-05 20:52:36 -07:00
rushtehrani
80476af59c update curl template to take http method 2020-05-05 20:40:18 -07:00
Andrey Melnikov
927e49fe63 Merge pull request #173 from onepanelio/feat/workspaces
update protobuf generators
2020-05-05 15:51:25 -07:00
rushtehrani
7082e53328 update protobuf generators 2020-05-05 15:50:09 -07:00
Andrey Melnikov
7b6c46bbda Merge pull request #172 from onepanelio/feat/workspaces
feat: workspaces
2020-05-05 13:57:56 -07:00
rushtehrani
12f2a9bd05 make api 2020-05-05 13:10:07 -07:00
rushtehrani
ff7c79a5ff update and add curl template to workspace template 2020-05-05 12:58:07 -07:00
rushtehrani
58d6029d45 refactor to make curl node reusable 2020-05-05 12:58:07 -07:00
rushtehrani
c5b34248b3 code cleanup 2020-05-05 12:58:07 -07:00
rushtehrani
ab75bb1254 workspace status update api 2020-05-05 12:58:07 -07:00
rushtehrani
51699159c5 update workspace status 2020-05-05 12:58:07 -07:00
rushtehrani
99c17689a2 workspace phases and times 2020-05-05 12:57:45 -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
Aleksandr Melnikov
fae40730ae Fixing the IsAuthorized value checking.
- IsAuthorized would return nil for err, but allowed was false.
The code returned "empty, err", which was "empty, nil".
So nothing was blocked.
- Using status.Error to properly return a 403.
2020-05-04 16:21:17 -07:00
Aleksandr Melnikov
7616a5ff92 Handling an issue if the user is logging in for the first time,
or if they logged out.
- EnvoyFilter would prevent the user from getting to the login page.
Or any page at all, because the "authorization" header would be missing.
Or, the cookie "auth-token".
2020-05-04 16:20:07 -07:00
Andrey Melnikov
b90b702709 update: initial working version of updating workspace templates. 2020-05-04 14:54:57 -07:00
Andrey Melnikov
cfd000d38b Merge remote-tracking branch 'origin/feat/core.124-add.envoy.filter' into feat/integrate.workflow.changes 2020-05-04 11:55:57 -07:00