Commit Graph

37 Commits

Author SHA1 Message Date
A.Unger
2bdd07e41b add test spans 2021-08-06 15:47:46 +02:00
A.Unger
8301a7e7a3 propagate trace from ocs to proxy 2021-08-06 13:46:54 +02:00
A.Unger
9f50776b17 enable traces in proxy 2021-08-06 13:29:40 +02:00
Jörn Friedrich Dreyer
bea986fe26 pass only request instead of context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 09:03:14 +00:00
Willy Kloucek
a0dce56480 use cookie to enforce routing for regex and claim selector 2021-07-23 08:38:55 +00:00
Jörn Friedrich Dreyer
5c024b4543 use context from middleware in proxy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer
2583c6a1a7 remove comma
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer
b0c742cb2f fix docs typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer
b540ccdf10 add regex rule priority, drop request from selector signature, add unit tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer
4385d3dacb add RegexSelector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:22:40 +00:00
Jörn Friedrich Dreyer
40c8031441 add claims policy selector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:07:17 +00:00
Jörn Friedrich Dreyer
1f3e963c29 use claims map instead of struct
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-22 09:20:36 +00:00
Jörn Friedrich Dreyer
8c7f1f01ff do not try to add the selected policy to the context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 20:45:38 +00:00
Jörn Friedrich Dreyer
1dc7aac6fd proxy access log
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 13:14:27 +00:00
Willy Kloucek
771f85ce2b remove ocis-hello references 2021-04-19 13:05:41 +02:00
Jörn Friedrich Dreyer
9fa77a27ba fix graph and graph-explorer
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-15 15:17:29 +00:00
A.Unger
9284c232b8 undo log lines 2021-03-09 10:31:58 +01:00
A.Unger
34257672d3 log request path instead 2021-03-08 17:18:09 +01:00
Jörn Friedrich Dreyer
bb7cfb5a87 obnoxious proxy logging
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-08 16:13:19 +00:00
David Christofas
cfcd4b5992 resolve linter issues 2021-02-26 14:24:25 +01:00
David Christofas
0fd7580301 resolve linter issues 2021-02-25 10:48:40 +01:00
A.Unger
a1d5e34f41 update proxy to use go-micro v3 2021-02-18 08:01:53 +00:00
Benedikt Kulmann
ca6d59d7c5 Merge pull request #1142 from owncloud/small-refactoring
small refactorings of test code and some methods
2020-12-24 06:06:22 +01:00
Willy Kloucek
73cf0fc36d rename reva to proxy where applicable 2020-12-21 09:15:38 +01:00
David Christofas
cf69537d1b small refactorings of test code and some methods 2020-12-18 14:12:10 +01:00
Willy Kloucek
fe2efc3c46 change to InsecureBackends flag 2020-12-04 07:31:46 +01:00
Willy Kloucek
4c9d990478 tage default values from http.DefaultTransport 2020-12-04 07:31:46 +01:00
Willy Kloucek
200872b3b4 make insecure upstream servers configurable 2020-12-04 07:31:46 +01:00
Lukas Hirt
68b74d11da Create onlyoffice extension 2020-11-26 11:05:10 +01:00
Ilja Neumann
c2aa4b02de Add access-log 2020-11-19 09:05:24 +05:45
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
76c63ef696 close request bodies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
46a11d42ca update proxy rules
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
A.Unger
8fe3ac9b33 wip correctly parse config 2020-10-09 11:24:04 +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