Commit Graph
26 Commits
Author SHA1 Message Date
A.Unger 9ddf0d555b avoid setting a nil context 2020-07-09 14:29:42 +02:00
A.Unger 94adb97ac1 create root span on ocis-proxy 2020-07-09 14:15:20 +02:00
Benedikt Kulmann 3873079c11 Add /data endpoint to builtin default config 2020-06-25 10:19:17 +02:00
Jörn Friedrich Dreyer 4a436a4171 parrallel test execution seems to make the coverage miscount
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 19:08:14 +02:00
Jörn Friedrich Dreyer 399230d3de no confusing names
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 19:07:31 +02:00
Jörn Friedrich Dreyer e7a3ed3fa3 make tests use mock from ocis-accounts
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 18:33:16 +02:00
Jörn Friedrich Dreyer ac2694251b update to new accounts api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-16 18:17:32 +02:00
Ilja Neumann 6b76c2783e Re-enable selector-test 2020-05-28 16:05:10 +02:00
A.Unger 85c4232901 fix linters 2020-05-22 12:55:42 +02:00
A.Unger a8c01a4da8 use latest accounts, get rid of replace, fix api 2020-05-11 12:52:21 +02:00
Ilja Neumann 617628b1a6 Integration test 2020-04-06 09:52:37 +02:00
Ilja Neumann c523942899 User based routing
Implements a configurable "migration" policy-selector which reads the preferred_username attribute from
the oidc claims and checks if the uid exists in the ocis-accounts service.

A configurable policy-name can be selected based on the outcome of the check.
2020-03-27 06:36:17 +01:00
David Christofas a86e745c75 use labeled break 2020-03-24 10:55:09 +01:00
David Christofas 1cd3f8936d add unit tests 2020-03-24 10:43:01 +01:00
David Christofas eb539bc78e implement review feedback 2020-03-24 10:42:47 +01:00
David Christofas a718777747 route requests based on pattern or query parameters 2020-03-23 19:13:46 +01:00
Ilja Neumann 60a1e6a143 Proxy client urls in default configuration #19 2020-03-23 13:01:29 +01:00
A.Unger 747e345b08 rename reverseproxy -> rp 2020-03-18 12:12:12 +01:00
A.Unger ae8150dd57 added logging info 2020-03-18 12:12:12 +01:00
A.Unger 52b81a8605 add default runtime redirects 2020-03-18 12:12:12 +01:00
A.Unger b0e8dbba85 remove mapstructure from config directives 2020-03-18 12:12:12 +01:00
A.Unger 356ad9c9e7 add debug lines 2020-03-18 12:12:12 +01:00
Jörn Friedrich Dreyer 2aba428eb1 add apachevhost option, fix logging defaults
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-06 16:47:26 +01:00
A.Unger 94d83b4f38 add structured logging on url parsing failure 2020-03-04 21:13:07 +01:00
A.Unger e0ca0fbd75 add defensive code on policy checks 2020-03-04 21:13:07 +01:00
A.Unger ea5dfc8f4f move MultiHostReverseProxy logic away from the server command 2020-03-04 21:13:07 +01:00