-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Issue #5320 - using jetty-websocket-httpclient.xml within webapp Jetty 10 #5563
Issue #5320 - using jetty-websocket-httpclient.xml within webapp Jetty 10 #5563
Conversation
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
…ests Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
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 don't think jetty-home
or POM dependencies should depend on websocket-jetty-client
.
If you added those dependencies just for testing, then we should find another way to test without adding the dependencies to the server modules.
jetty-websocket/websocket-jetty-server/src/main/config/modules/websocket-jetty.mod
Outdated
Show resolved
Hide resolved
.../test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java
Show resolved
Hide resolved
.../test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@@ -0,0 +1,24 @@ | |||
# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html | |||
|
|||
[description] |
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.
Remove these 2 lines, the link is now obsolete with the new Jetty 10 docs.
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.
These lines are present on every single .mod file I can find. Maybe the change to fix all these should all be done in a separate PR?
...c/main/java/org/eclipse/jetty/websocket/client/config/JettyWebSocketClientConfiguration.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/eclipse/jetty/websocket/client/config/JettyWebSocketClientConfiguration.java
Outdated
Show resolved
Hide resolved
...ver/src/main/java/org/eclipse/jetty/websocket/server/config/JettyWebSocketConfiguration.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
…5320-WebSocketHttpClient2
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
jetty-websocket/websocket-jetty-client/src/main/config/modules/websocket-jetty-client.mod
Show resolved
Hide resolved
...c/main/java/org/eclipse/jetty/websocket/client/config/JettyWebSocketClientConfiguration.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
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.
better... but ....
...c/main/java/org/eclipse/jetty/websocket/client/config/JettyWebSocketClientConfiguration.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/eclipse/jetty/websocket/client/config/JettyWebSocketClientConfiguration.java
Outdated
Show resolved
Hide resolved
...ver/src/main/java/org/eclipse/jetty/websocket/server/config/JettyWebSocketConfiguration.java
Outdated
Show resolved
Hide resolved
...ver/src/main/java/org/eclipse/jetty/websocket/server/config/JettyWebSocketConfiguration.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
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.
LGTM but please fix the javadocs I refer to in the comment.
...c/main/java/org/eclipse/jetty/websocket/client/config/JettyWebSocketClientConfiguration.java
Outdated
Show resolved
Hide resolved
…5320-WebSocketHttpClient2
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Issue #5320
Make similar changes from PR #5374 for Jetty 10.
XmlHttpClientProvider
so that it uses the HttpClient's classloaderwebsocket-jetty-client.jar
to jetty-home/lib/websocket/. This is so it can be optionally exposed to the webapp if you wish to use it as a provided dependency.