-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Integration tests runnable with API ML v2 on z/OS #4022
base: v2.x.x
Are you sure you want to change the base?
Conversation
Signed-off-by: nx673747 <[email protected]>
Signed-off-by: nx673747 <[email protected]>
Signed-off-by: nx673747 <[email protected]>
Signed-off-by: nx673747 <[email protected]>
Signed-off-by: nx673747 <[email protected]>
webSocket: | ||
requestBufferSize: 16348 | ||
max-http-request-header-size: 16348 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these are v3-specific, we need to verify
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://www.baeldung.com/spring-boot-max-http-header-size#servermax-http-request-header-size
It seems there should be server.max-http-header-size
.
The websocket config is probably only Zowe related (see WebSocketConfig). I would rather remove both.
Signed-off-by: Pablo Carle <[email protected]>
...ts/src/test/java/org/zowe/apiml/functional/discovery/DiscoveryServiceAuthenticationTest.java
Show resolved
Hide resolved
...ts/src/test/java/org/zowe/apiml/functional/discovery/DiscoveryServiceAuthenticationTest.java
Show resolved
Hide resolved
...gration-tests/src/test/java/org/zowe/apiml/functional/gateway/GatewayAuthenticationTest.java
Show resolved
Hide resolved
...gration-tests/src/test/java/org/zowe/apiml/functional/gateway/GatewayAuthenticationTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Pablo Carle <[email protected]>
Signed-off-by: Pablo Carle <[email protected]>
Signed-off-by: Pablo Carle <[email protected]>
Signed-off-by: Pablo Carle <[email protected]>
Signed-off-by: Pablo Carle <[email protected]>
Signed-off-by: Pavel Jareš <[email protected]>
This reverts commit 63ce607.
Signed-off-by: Pablo Carle <[email protected]>
Signed-off-by: Pavel Jareš <[email protected]>
Signed-off-by: Pablo Carle <[email protected]>
Signed-off-by: Pablo Carle <[email protected]>
|
Signed-off-by: Pablo Carle <[email protected]>
Signed-off-by: Pablo Carle <[email protected]>
Signed-off-by: Pablo Carle <[email protected]>
webSocket: | ||
requestBufferSize: 16348 | ||
max-http-request-header-size: 16348 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://www.baeldung.com/spring-boot-max-http-header-size#servermax-http-request-header-size
It seems there should be server.max-http-header-size
.
The websocket config is probably only Zowe related (see WebSocketConfig). I would rather remove both.
.then().statusCode(401); | ||
.then() | ||
.statusCode(204); | ||
IntStream.range(0, 3).forEach(x -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe using deterministic routing would be better, but I guess it is good enough.
@@ -86,7 +88,7 @@ void givenValidTokenInHeader(String queryUrl) { | |||
@MethodSource("org.zowe.apiml.integration.authentication.providers.QueryTest#queryUrlsSource") | |||
void givenValidTokenInCookie(String queryUrl) { | |||
given() | |||
.cookie(COOKIE, token) | |||
.cookie(COOKIE, validToken) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks strange to me. The cookie should contain also the cookie name.
.build(); | ||
} catch (URISyntaxException e) { | ||
log.error("Can't create URI for endpoint '{}'", endpoint); | ||
e.printStackTrace(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even this is just a test, we should use the logger.
Description
Fix integration tests runnable with API ML v2 on z/OS.
Cherry pick of changes from the following PRs in v3:
#3971
#3967
Type of change
Checklist: