Tags: jakubikan/skipper
Tags
OIDC auth filters to return raw ID Token (zalando#1468) * Update oidc.go Request header parameter 'skipper-oidc-info' will also return raw ID token for the 3 filters OidcUserInfoName, OidcAnyClaimsName, OidcAllClaimsName Signed-off-by: anchalkhandelwal <anchalkhandelwal04@gmail.com> * End of line period removed Signed-off-by: anchalkhandelwal <anchalkhandelwal04@gmail.com> * Removing whitespace Signed-off-by: anchalkhandelwal <anchalkhandelwal04@gmail.com>
Mitigates server startup race conditions in tests (zalando#1480) * in filters/auth/tokenintrospection_test.go creates downstream servers once for all test cases * in dataclients/routestring/example_test.go introduces delay for server to startup Tests flakiness detected via: ``` $ while go test -count=1 github.com/zalando/skipper/filters/auth; do : ; done ok github.com/zalando/skipper/filters/auth 3.950s ... ok github.com/zalando/skipper/filters/auth 3.851s time="2020-07-09T15:54:06+02:00" level=error msg="Failed to create new provider no%20url: Get \"no%20url/.well-known/openid-configuration\": unsupported protocol scheme \"\"." time="2020-07-09T15:54:08+02:00" level=error msg="Error while calling tokeninfo: Get \"http://127.0.0.1:45657/test-auth\": net/http: timeout awaiting response headers." time="2020-07-09T15:54:08+02:00" level=error msg="Error while calling token introspection: Post \"http://client-id:***@127.0.0.1:33641/test-auth\": dial tcp 127.0.0.1:33641: connect: connection refused." --- FAIL: TestOAuth2Tokenintrospection (0.11s) --- FAIL: TestOAuth2Tokenintrospection/secureAllKV():_valid_token,_one_valid_key_value_pair (0.00s) tokenintrospection_test.go:603: unexpected status code: 401 != 200 time="2020-07-09T15:54:09+02:00" level=error msg="Failed to make authentication webhook request: Get \"http://127.0.0.1:45451\": net/http: timeout awaiting response headers." FAIL FAIL github.com/zalando/skipper/filters/auth 3.837s FAIL $ while go test -count=1 github.com/zalando/skipper/dataclients/routestring; do : ; done time="2020-07-09T15:54:40+02:00" level=info msg="Expose metrics in codahale format" time="2020-07-09T15:54:40+02:00" level=info msg="Metrics are disabled" time="2020-07-09T15:54:40+02:00" level=info msg="proxy listener on :9999" time="2020-07-09T15:54:40+02:00" level=info msg="TLS settings not found, defaulting to HTTP" time="2020-07-09T15:54:40+02:00" level=info msg="route settings, reset, route: : * -> inlineContent(\"Hello, world!\") -> <shunt>" time="2020-07-09T15:54:40+02:00" level=info msg="route settings received" 2020/07/09 15:54:40 Get "http://localhost:9999": dial tcp 127.0.0.1:9999: connect: connection refused --- FAIL: Example (0.00s) got: want: Hello, world! FAIL FAIL github.com/zalando/skipper/dataclients/routestring 0.006s FAIL ``` Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
Fixes static check (zalando#1479) Followup for zalando#1476 Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
doc: add docs to the new logHeaders feature (zalando#1471) Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
fix routegroup crd schema for json validation (zalando#1475) Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
add load balancer algorithm tests (zalando#1474) Signed-off-by: Sandor Szuecs <sandor.szuecs@zalando.de>
logHeader filter to have options "request" and "response" (zalando#1467) * compatible version of logHeader() filter which logs the request headers also if we have a non nil body and added possibility to log response headers Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de> * fix default logHeader test Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de> * add POST with body test Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de> * strip Auth headers content from logHeader() output Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de> * drop POST body test Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Tracing/add stream body errors (zalando#1469) * set an error Tag and add a log for errors while streaming body Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de> * Add error Tag Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
-s (zalando#1460) Signed-off-by: Henning Jacobs <henning@zalando.de>
PreviousNext