Commit Graph

45 Commits

Author SHA1 Message Date
A.Unger
02bfa9509b refactor proxy tracing config 2021-03-18 12:25:23 +01:00
A.Unger
fa27def950 suport for proxy 2021-03-17 15:42:24 +01:00
A.Unger
b52fe95762 run ParseConfig only when running unsupervised 2021-03-11 20:09:05 +01:00
A.Unger
dc4b4b7e46 correctly implement suture v4 interfaces 2021-03-11 15:50:01 +01:00
A.Unger
6054e6b4a1 sequential access to viper config (still broken) + add delayed execution to storage-sharing 2021-03-10 12:26:14 +01:00
A.Unger
e8c57394d8 fix debug services shutdown 2021-03-10 11:38:21 +01:00
A.Unger
4e37d4a2f6 update commands when running in supervised mode 2021-03-10 11:10:46 +01:00
A.Unger
90aea4f58d tweak proxy scalability 2021-03-09 22:58:18 +01:00
A.Unger
5f9133386d fix run / kill 2021-03-09 19:15:59 +01:00
Jörn Friedrich Dreyer
2bfdab8735 add remaining services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-09 16:03:47 +00:00
A.Unger
3c770dd118 add store 2021-03-04 14:03:06 +01:00
A.Unger
e25f5b1c98 add proxy 2021-03-04 13:56:49 +01:00
David Christofas
0fd7580301 resolve linter issues 2021-02-25 10:48:40 +01:00
Jörn Friedrich Dreyer
8a8aa2dc52 use micre v3 registry interface
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-22 15:08:50 +00:00
Jörn Friedrich Dreyer
03e1f95d49 fix lint
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-22 15:10:23 +00:00
Jörn Friedrich Dreyer
7dbc1af76f add OCIS_URL env var
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-21 16:20:02 +00:00
Willy Kloucek
73cf0fc36d rename reva to proxy where applicable 2020-12-21 09:15:38 +01:00
Ilja Neumann
92a1bc8fb6 Make it possible to use CS3 as accounts backend instead of account-service
Configureable via:
PROXY_ACCOUNT_BACKEND_TYPE=cs3
PROXY_ACCOUNT_BACKEND_TYPE=accounts (default)

By using a backend which implements the CS3 user-api (currently provided by reva/storage) it is possible to bypass
the ocis-accounts service and for example use ldap directly.

Hides user and auth related communication behind a facade (user/backend) to minimize logic-duplication across middlewares.
Allows to switich the account backend from accounts to cs3.

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-11 18:34:43 +01:00
A.Unger
be46bacc5b use make(map[string]string) 2020-12-03 13:23:14 +01:00
A.Unger
b9df6e417e use more inclusive language 2020-12-03 12:13:52 +01:00
A.Unger
8c83de7db2 document loadUserAgent 2020-12-03 12:03:59 +01:00
A.Unger
ef4e573e42 split string by reversing it 2020-12-03 11:53:19 +01:00
A.Unger
2910e88ba5 ugly working draft 2020-12-02 15:31:17 +01:00
A.Unger
348c54f2e7 write www-authenticate and delegate to reva 2020-12-01 16:57:36 +01:00
A.Unger
5cb359d877 WIP 2020-11-30 17:19:03 +01:00
Benedikt Kulmann
a410d40166 Make userinfo cache configurable 2020-11-18 11:15:51 +01:00
Benedikt Kulmann
a5c09453b9 First implementation for userinfo cache without config 2020-11-17 17:10:14 +01:00
Florian Schade
9798b49a7e use ocis DefaultClient instead of micros DefaultClient 2020-11-17 11:32:12 +01:00
Florian Schade
8be5323276 linting and other cleanups 2020-11-17 11:32:12 +01:00
Florian Schade
f8aa1a5e08 refactor middlewares and reduce technical complexity
restructure server command and remove cfg.OIDC.Issuer switch, oidc middleware detects now if it should used or not
fix #761
2020-11-17 11:32:12 +01:00
Alex Unger
f90d0d610e Merge pull request #840 from owncloud/ocis-1018
Tweak go-micro behavior
2020-11-12 13:59:12 +01:00
A.Unger
641fd2703a make version command registry aware 2020-11-12 11:53:37 +01:00
Benedikt Kulmann
4059b8e0a0 Fix service name tracing config 2020-11-11 21:08:46 +01:00
A.Unger
951a441f65 cleanup old comments 2020-11-11 15:52:13 +01:00
A.Unger
76c633e650 wip 2020-11-11 11:50:53 +01:00
Jörn Friedrich Dreyer
c124102df2 Merge pull request #627 from butonic/add-basic-auth-option
add enable basic auth option and check permissions
2020-11-05 16:36:16 +01:00
Jörn Friedrich Dreyer
6382cdae3a provide issuer to account_uuid middleware to mint complete token
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
d75d626695 add enable basic auth option
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
A.Unger
157e460945 normalize log messages to use lowercase 2020-11-04 16:00:09 +01:00
A.Unger
8fe3ac9b33 wip correctly parse config 2020-10-09 11:24:04 +02:00
Jörn Friedrich Dreyer
60c319faed Add autoprovision accounts flag
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-05 11:25:02 +02:00
David Christofas
0578092c6f add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 13:31:14 +02:00
A.Unger
d8ea10ccd0 proxy working 2020-09-18 15:18:41 +02:00
A.Unger
91bd83938b update proxy import paths and module name 2020-09-18 12:48:35 +02:00
A.Unger
598ca6c405 Add 'proxy/' from commit '201b9a652685cdfb72ba81c7e7b00ba1c60a0e35'
git-subtree-dir: proxy
git-subtree-mainline: 571d96e856
git-subtree-split: 201b9a6526
2020-09-18 12:47:26 +02:00