This is an automated email from the ASF dual-hosted git repository.
bonampak pushed a change to branch feature/jakarta-jetty-upgrade
in repository https://gitbox.apache.org/repos/asf/knox.git
at 469fcbf8e KNOX-3238: added TODO comments on websocket issues still
present.
This branch includes the following new commits:
new 3914355bb KNOX-3238: Migrating to Jakarta EE10 using Openrewrite
recipe.
new 31118fc57 KNOX-3238: replacing jetty.servlet classes with
jetty.ee9.servlet classes, deleting NoOpLogger (Log class removed in Jetty 12)
and defining log4j2.xml configuration files for tests.
new b3282973a KNOX-3238: updating jakarta-servlet-api to 6.0.0 and jetty
ee9 to ee10.
new fdae88c82 KNOX-3238: correcting TraceHandler, HSTSHandler and
KnoxErrorHandler, along with jetty 12 form keys length and size.
new 26aef473b KNOX-3238: correcting AccessHandler and JWTValidatorFactory
new 8c177f44b KNOX-3238: correcting CorrelationHandler (thread context
will not work in Jetty 12, as Jetty will use 1...n threads for a request /
response exchange).
new 20bd04515 KNOX-3238: refactor RequestUpdateHandler and
PortMappingHelperHandler to Jetty 12
new de9e421ab KNOX-3238: refactor createWebAppContext
new 4ec397263 KNOX-3238: refactor createConnector
new 0e4aa89db KNOX-3238: refactor Http404ErrorHandler
new d65849164 KNOX-3238: refactor createWebAppContext pt2
new c8ba15541 KNOX-3238: configure jsp handling
new bdb74ec3d KNOX-3238: fix Jetty request log.
new e9097931d KNOX-3238: fix Jetty lifecycle listener
new 2d42c6c45 KNOX-3238: fix contextToHandlerMap initialization
new 89fad207b KNOX-3238: fix setVirtualHosts initialization
new afabd1fee KNOX-3238: fix Jetty handler chain.
new cc03741b4 KNOX-3238: rebase and migrate gateway-service-restcatalog to
use jakarta.servlet API.
new b53fcd43d KNOX-3238: correct GatewayWebsocketHandler,
ProxyWebSocketAdapter, WebshellWebSocketAdapter and JWTValidatorFactory.
new 4856dab0e KNOX-3238: correct JWTValidatorFactory,
GatewayPortMappingConfigTest, KnoxCacheManager and KnoxLdapRealm.
new 6e8645585 KNOX-3238: fix websocket tests
new 57e380d86 KNOX-3238: moving KnoxWebSocketCreator from
GatewayWebsocketHandler to a top-level class and correcting
WebsocketBackendUrlTest.
new 63a662e66 KNOX-3238: correct MockConsoleFactory
new 18add34e5 KNOX-3238: correcting dependencies and build errors (without
HadoopAuthFilter)
new 3bdc84384 KNOX-3238: restore hadoop-common javax exclusions
new 156286a8a KNOX-3238: upgraded dropwizard metrics to 4.2.38 (Jetty 12
needs 4.2.x) and changed to metrics-jakarta-servlets.
new ad8cd69fa KNOX-3238: add jetty-ee10-servlet dependency for tests.
new 85579aaab KNOX-3238: temporarily make HadoopAuthFilter compile
new c30bd93d4 KNOX-3238: fix jersey-media-multipart dependency and
jakarta.ws.rs-api version for EE10.
new 477af8e18 KNOX-3238: fix HSTSHandlerTest
new addadaff8 KNOX-3238: fix GatewayWebsocketHandlerTest and
JWTValidatorTest.
new 5a3067554 KNOX-3238: fix some websocket tests.
new 61e5df7ad KNOX-3238: fix unused imports in JWTValidatorTest.
new 972fc9357 KNOX-3238: fix some websocket tests.
new 0d14f0606 KNOX-3238: fix WebsocketServerInitiatedPingTest and
WebsocketEchoHTTPServiceRoleTest.testGatewayRewriteHttpEcho
new c3e97722d KNOX-3238: fix GatewayForwardingServletTest.
new 6dc1ad9be KNOX-3238: fix used undeclared dependency for
org.eclipse.jetty.websocket.core.OpCode.
new 20b456e43 KNOX-3238: Fix replacing persistence configuration in
KnoxCacheManager. (xmlConfiguration.getServiceCreationConfigurations() is
unmodifiable in ehcache-3.10.9-jakarta).
new e3154f602 KNOX-3238: Fix
SimpleDescriptorHandlerFuncTest.testSimpleDescriptorHandlerQueryStringCredentialAliasCreation.
new 2d25091df KNOX-3238: ignoring testEncodedForwardSlash as it is not
allowed when using Servlet 6.
new 592dbbaba KNOX-3238: ignoring tests because of Hadoop Jetty 9 and
javax.servlet dependencies.
new 2f09883ca KNOX-3238: fix testPutDescriptorWithValidEncodedName.
new 32097385b KNOX-3238: upgrade asm to 9.9.1 (Jetty 12 has 9.9.1 and
net.minidev:accessors-smart would use 9.7.1). JDK 17 would need 9.1+.
new a86145ed7 KNOX-3238: replace javax.servlet with jakarta.servlet in
gateway-provider-security-k8s, correct incorrect rebase in
HadoopGroupProviderFilterTest, replace javax.servlet with jakarta.servlet.
new 29d6df8b3 KNOX-3238: KNOX-3309: Fix Knox HadoopAuthFilter dependency
on hadoop AuthenticationFilter.
new 5e6b0f3ed KNOX-3238: exclude jetty 9 dependencies from hadoop-common.
new 6b91d10c5 KNOX-3238: replace javax.servlet with jakarta.servlet in
TokenExchangeHandler, TokenExchangeHandlerTest and
JWTFederationFilterTokenExchangeRoutingTest.
new cc2859c79 KNOX-3238: cleanup some comments.
new 469fcbf8e KNOX-3238: added TODO comments on websocket issues still
present.
The 49 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.