Commit Graph

61 Commits

Author SHA1 Message Date
Andrey Melnikov
6e1a3729f2 fix: wrong config 2020-06-10 14:26:26 -07:00
Andrey Melnikov
483c79abb3 update: cache system config for entire application and not just per request 2020-06-10 14:19:33 -07:00
Andrey Melnikov
c226ff8419 update: removed code specific to x-original-auth based on changes upcoming to structure.
* Auth token will always be present unless you are validating an auth token.
2020-06-08 14:44:28 -07:00
Andrey Melnikov
e2f027dd61 update: centralized authorization logic for workspace actions into one IsAuthorized endpoint 2020-06-04 14:01:07 -07:00
Andrey Melnikov
e8c17a04ee feature: added migration with jupyter lab 2020-05-26 10:45:56 -07:00
rushtehrani
4f2f7df8f0 update api for workspace creation 2020-04-30 20:29:53 -07:00
Andrey Melnikov
9c193b3616 feature: centralize labels to one location. 2020-04-27 19:55:44 -07:00
rushtehrani
34556d243b rename auth package functions to not start with package name 2020-04-26 20:23:17 -07:00
rushtehrani
f74ec05f97 generate api for workspace_template 2020-04-25 00:19:25 -07:00
Andrey Melnikov
d42bffa0e2 revert: accidental local config changes. 2020-04-22 14:52:44 -07:00
Andrey Melnikov
fd686a0672 update: workflow versions are db records again to more easily store custom user manifest and parameters 2020-04-22 12:18:39 -07:00
Andrey Melnikov
57dcd1d399 fix: updated resources so they can be provided labels on creation. 2020-04-12 13:28:45 -07:00
Aleksandr Melnikov
e5e3bcfd2e Adding a handler, per Andrey. 2020-03-30 14:01:17 -07:00
Aleksandr Melnikov
26615700e6 Adding cron_workflow_server.go
- Connecting it to main.go
2020-03-27 12:17:39 -07:00
Andrey Melnikov
63c759c525 fix: undid accidental change. 2020-03-26 18:03:27 -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
Andrey Melnikov
7e83da37b3 feat: Added endpoint to check auth token validity
issue: #96
2020-03-10 16:21:50 -07:00
Andrey Melnikov
c5975a4022 feat: Added auth token server
issue #96
2020-03-10 12:53:13 -07:00
rushtehrani
15a86c340c panic instead of err 2020-02-25 18:46:49 -08:00
rushtehrani
e3413d0669 v1.Client cleanup 2020-02-25 17:36:00 -08:00
rushtehrani
6bcc6657da get db connection string from system config 2020-02-25 14:56:32 -08:00
rushtehrani
b40663948b system config 2020-02-25 13:36:37 -08:00
rushtehrani
eb7d99a478 add websocket proxy back in 2020-02-25 12:48:00 -08:00
Rush Tehrani
a38a83ba64 Merge pull request #71 from onepanelio/feature/no-websockets
remove websockets
2020-02-24 19:39:31 -08:00
rushtehrani
5da8d254a6 add logrus to streaming api 2020-02-23 18:36:58 -08:00
rushtehrani
bf06b9cf03 remove websockets 2020-02-22 14:13:16 -08:00
rushtehrani
44aab4bf25 move authorization to server and add it to namespace list 2020-02-20 14:32:04 -08:00
rushtehrani
f61b08b535 move /util to /pkg/util 2020-02-20 12:14:37 -08:00
rushtehrani
a01df001e7 use logrus grpc middleware 2020-02-20 11:52:40 -08:00
rushtehrani
e4e84e53fe support cookie authentication 2020-02-20 11:30:29 -08:00
rushtehrani
2aaf03f2dc allow authorization header 2020-02-19 20:45:41 -08:00
rushtehrani
66c27db71c add interceptors package + grpc middleware updates 2020-02-19 16:59:46 -08:00
rushtehrani
15b37282e6 add interceptor for streaming server as well 2020-02-19 14:42:48 -08:00
rushtehrani
2e0ae10d56 move reusable components to pkg 2020-02-19 14:42:48 -08:00
rushtehrani
42f0ff173f move secret and namespace 2020-02-19 14:41:40 -08:00
rushtehrani
d14904a894 get serviceAccount token from header 2020-02-19 14:36:15 -08:00
Andrey Melnikov
5c2d8c63f2 Added patch to allowed methods 2020-02-19 11:20:24 -08:00
Andrey Melnikov
2739edf9eb Added delete to list of accepted methods to API 2020-02-19 11:11:31 -08:00
Aleksandr Melnikov
b15f6e4f28 Updated main to use new logging. 2020-02-10 15:01:52 -08:00
Aleksandr Melnikov
4c07aab4a9 Added grpc_recovery, so that the API doesn't crash if a panic is hit. 2020-02-07 16:23:15 -08:00
rushtehrani
66a19f1e1b namespace api + server + refactor 2020-02-02 11:06:43 -08:00
Andrey Melnikov
2312aeee04 Updated CORS settings so Web client can access from localhost. 2020-01-27 09:50:24 -08:00
rushtehrani
6f799bcae3 use env vars for all config 2020-01-08 22:00:45 -08:00
rushtehrani
cec8b34bdf combine argo and kube clients 2020-01-08 11:01:02 -08:00
rushtehrani
32e8b51251 support kubernetes secret creation 2020-01-07 16:38:52 -08:00
rushtehrani
f526a08354 go fmt 2020-01-02 18:03:14 -08:00
rushtehrani
bc1e19fbc7 support stream => websocket for web clients 2020-01-02 10:45:51 -08:00
rushtehrani
5b044be67a add gorilla handlers for CORS and more 2019-12-21 12:17:24 -08:00
rushtehrani
ae2386e184 workflow version db logic 2019-12-12 10:03:29 -08:00
rushtehrani
91afb337fc remove sqlx 2019-12-11 21:23:27 -08:00