Skip to content
Failed

Changes

Summary

  1. Added suport for HK2 factories, binders to comply with documentation. (details)
  2. Allow for overriding the SNIHostName or turn it off. Allow for Domain Fronting. (details)
  3. Add missing metrics for cases of client errors (details)
  4. Add ability to configure the queue capacity for ChunkedOutput (#5621) (details)
  5. Prevent NPE in Jersey Spring RequestContextFilter (details)
  6. Document a workaround for HTTP Patch & provide tests (#5622) (details)
  7. align CONTRIBUTING.md with Eclipse actual requirements (details)
  8. Ensure the RequestScope and other singleton bindings are registered just once (#5624) (details)
  9. prevent synchronized blocking the virtual threads in JDK21 (details)
  10. Lazy Load TracingLogger to track MATCH_RESOURCE_METHOD (details)
  11. Multirelease include JDK21 to support Thread.isVirtual() (details)
  12. 2.x versions update (details)
  13. Excluding JDK21 multi-release from jaxrs bundle (#5633) (details)
  14. Post merge adjustments (details)
Commit 236b6f3903c659b2864623e86a3cce020c554bcf by 15908245+jansupol
Added suport for HK2 factories, binders to comply with documentation.
Added documentation for Jersey Injection.

Signed-off-by: jansupol <jan.supol@oracle.com>
The file was modified core-common/src/main/java/org/glassfish/jersey/internal/inject/Providers.java (diff)
The file was addedcore-common/src/main/java/org/glassfish/jersey/innate/inject/package-info.java
The file was addedcore-common/src/main/java/org/glassfish/jersey/innate/inject/spi/package-info.java
The file was modified tests/e2e-inject/hk2/pom.xml (diff)
The file was modified inject/hk2/src/main/java/org/glassfish/jersey/inject/hk2/Hk2Helper.java (diff)
The file was modified core-common/src/main/resources/org/glassfish/jersey/internal/localization.properties (diff)
The file was addedtests/e2e-inject/hk2/src/test/java/org/glassfish/jersey/tests/e2e/inject/hk2/HK2FactoryBindingTest.java
The file was addedcore-common/src/main/java/org/glassfish/jersey/innate/package-info.java
The file was addedcore-common/src/main/java/org/glassfish/jersey/innate/inject/spi/ExternalRegistrables.java
The file was modified docs/src/main/docbook/jersey.ent (diff)
The file was addedinject/hk2/src/main/java/org/glassfish/jersey/inject/hk2/Hk2Registrables.java
The file was modified docs/src/main/docbook/custom-di.xml (diff)
The file was addedinject/hk2/src/main/resources/META-INF/services/org.glassfish.jersey.innate.inject.spi.ExternalRegistrables
Commit 705144a4b10f66d783a88c851fe7ee19f3081a61 by Maxim Nesen
Allow for overriding the SNIHostName or turn it off. Allow for Domain Fronting.

Signed-off-by: jansupol <jan.supol@oracle.com>
The file was modified core-client/src/main/java/org/glassfish/jersey/client/ClientProperties.java (diff)
The file was modified docs/src/main/docbook/appendix-properties.xml (diff)
The file was modified docs/src/main/docbook/client.xml (diff)
The file was modified connectors/apache-connector/src/main/java/org/glassfish/jersey/apache/connector/ApacheConnector.java (diff)
The file was modified connectors/netty-connector/src/main/java/org/glassfish/jersey/netty/connector/NettyConnector.java (diff)
The file was modified docs/src/main/docbook/jersey.ent (diff)
The file was modified core-client/src/main/java/org/glassfish/jersey/client/innate/http/SSLParamConfigurator.java (diff)
The file was modified connectors/apache5-connector/src/main/java/org/glassfish/jersey/apache5/connector/Apache5Connector.java (diff)
The file was modified core-client/src/main/java/org/glassfish/jersey/client/internal/HttpUrlConnector.java (diff)
The file was modified core-client/src/main/java/org/glassfish/jersey/client/innate/http/SniConfigurator.java (diff)
The file was modified connectors/jdk-connector/src/main/java/org/glassfish/jersey/jdk/connector/internal/HttpConnectionPool.java (diff)
The file was modified tests/e2e-tls/src/test/java/org/glassfish/jersey/tests/e2e/tls/SniTest.java (diff)
The file was modified connectors/jdk-connector/src/main/java/org/glassfish/jersey/jdk/connector/internal/ConnectorConfiguration.java (diff)
Commit 75a9755a062da0765a216ed3d188570eba3cc012 by Maxim Nesen
Add missing metrics for cases of client errors

Changes ported from micrometer-metrics: https://github.com/micrometer-metrics/micrometer/pull/4326
The file was modified ext/micrometer/src/test/java/org/glassfish/jersey/micrometer/server/MetricsRequestEventListenerTest.java (diff)
The file was modified ext/micrometer/src/main/java/org/glassfish/jersey/micrometer/server/MetricsRequestEventListener.java (diff)
The file was modified ext/micrometer/src/test/java/org/glassfish/jersey/micrometer/server/DefaultJerseyTagsProviderTest.java (diff)
The file was modified ext/micrometer/src/test/java/org/glassfish/jersey/micrometer/server/resources/TestResource.java (diff)
The file was modified ext/micrometer/src/main/java/org/glassfish/jersey/micrometer/server/JerseyTags.java (diff)
Commit be13798788ba24af0d7de151bb2d763de85cce8a by noreply
Add ability to configure the queue capacity for ChunkedOutput (#5621)

The file was modified core-server/src/main/java/org/glassfish/jersey/server/ChunkedOutput.java (diff)
The file was modified tests/e2e-server/src/test/java/org/glassfish/jersey/tests/e2e/server/ChunkedInputOutputTest.java (diff)
The file was modified docs/src/main/docbook/async.xml (diff)
Commit 132b55f338e60601767cd2a4c3b833f5d487840b by Maxim Nesen
Prevent NPE in Jersey Spring RequestContextFilter

Signed-off-by: jansupol <jan.supol@oracle.com>
The file was modified ext/spring5/src/main/java/org/glassfish/jersey/server/spring/scope/RequestContextFilter.java (diff)
The file was addedext/spring5/src/test/java/org/glassfish/jersey/server/spring/filter/SpringRequestContextFilterTest.java
Commit 09c8d62064d60df5f46692e68ca880d30a023d2b by noreply
Document a workaround for HTTP Patch & provide tests (#5622)

Signed-off-by: jansupol <jan.supol@oracle.com>
The file was modified docs/src/main/docbook/jersey.ent (diff)
The file was modified tests/pom.xml (diff)
The file was modified docs/src/main/docbook/client.xml (diff)
The file was addedtests/e2e-jdk-specifics/pom.xml
The file was modified tests/e2e-tls/src/test/java/org/glassfish/jersey/tests/e2e/tls/SslContextPerRequestTest.java (diff)
The file was modified docs/src/main/docbook/dependencies.xml (diff)
The file was modified tests/e2e-tls/pom.xml (diff)
The file was modified docs/src/main/docbook/appendix-properties.xml (diff)
The file was addedtests/e2e-tls/src/test/java/org/glassfish/jersey/tests/e2e/tls/patch/HttpsPatchTest.java
The file was addedtests/e2e-tls/src/test/java/org/glassfish/jersey/tests/e2e/tls/SslParentTest.java
The file was modified core-client/src/main/java/org/glassfish/jersey/client/HttpUrlConnectorProvider.java (diff)
The file was addedtests/e2e-jdk-specifics/src/test/java/org/glassfish/jersey/tests/e2e/jdk17/HttpPatchTest.java
Commit 9c271d125f27e2e5dd887b75dae7053b0ea10898 by Maxim Nesen
align CONTRIBUTING.md with Eclipse actual requirements

Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
The file was modified CONTRIBUTING.md (diff)
Commit 26b131b2c6a95ca3ae324028d1b69d44dd96bc4f by noreply
Ensure the RequestScope and other singleton bindings are registered just once (#5624)

* Ensure the RequestScope and other singleton bindings are registered just once in HK2

Signed-off-by: jansupol <jan.supol@oracle.com>

---------

Signed-off-by: jansupol <jan.supol@oracle.com>
The file was modified inject/hk2/src/main/java/org/glassfish/jersey/inject/hk2/Hk2BootstrapBinder.java (diff)
The file was addedtests/e2e/src/test/java/org/glassfish/jersey/tests/e2e/inject/SingleRequestScopeInjectionTest.java
Commit 22aa92e8531d78c71c2a0693ce5d0174fb41bd2f by 15908245+jansupol
prevent synchronized blocking the virtual threads in JDK21

Signed-off-by: jansupol <jan.supol@oracle.com>
The file was modified core-common/src/main/java/org/glassfish/jersey/message/internal/CommittingOutputStream.java (diff)
Commit 8126cdca659510b40dfc09a33dff12c411ae59f1 by 15908245+jansupol
Lazy Load TracingLogger to track MATCH_RESOURCE_METHOD

Signed-off-by: jansupol <jan.supol@oracle.com>
The file was modified core-server/src/main/java/org/glassfish/jersey/server/internal/routing/UriRoutingContext.java (diff)
The file was modified tests/integration/tracing-support/pom.xml (diff)
The file was addedtests/integration/tracing-support/src/test/java/org/glassfish/jersey/tests/integration/tracing/TracingMatchResourceMethodTest.java
Commit d62f2b3f54a2dd1689d06d6c9b09d7b91d9f8464 by 15908245+jansupol
Multirelease include JDK21 to support Thread.isVirtual()

Signed-off-by: jansupol <jan.supol@oracle.com>
The file was addedcore-common/src/main/java20-/org/glassfish/jersey/innate/VirtualThreadSupport.java
The file was addedcore-common/src/main/java21/org/glassfish/jersey/innate/VirtualThreadSupport.java
The file was modified core-common/src/main/java/org/glassfish/jersey/message/internal/CommittingOutputStream.java (diff)
The file was modified core-common/pom.xml (diff)
Commit b66bf867c418595aaf3a58618035da1388b53606 by 15908245+jansupol
2.x versions update

Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
The file was modified tests/e2e-tls/pom.xml (diff)
The file was modified tests/e2e/pom.xml (diff)
The file was modified tests/release-test/src/test/resources/non-bom-pom-deps.xml (diff)
The file was modified tests/e2e-testng/pom.xml (diff)
The file was modified archetypes/jersey-heroku-webapp/src/main/resources/archetype-resources/pom.xml (diff)
The file was modified tests/e2e-entity/pom.xml (diff)
The file was modified archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml (diff)
The file was modified tools/jersey-release-notes-maven-plugin/pom.xml (diff)
The file was modified tests/release-test/src/test/resources/release-test-pom.xml (diff)
The file was modified core-client/src/test/java/org/glassfish/jersey/client/ClientRequestTest.java (diff)
The file was modified core-common/pom.xml (diff)
The file was modified tools/jersey-doc-modulelist-maven-plugin/pom.xml (diff)
The file was modified bom/pom.xml (diff)
The file was modified core-common/src/test/java/org/glassfish/jersey/logging/LoggingInterceptorTest.java (diff)
The file was modified tests/integration/cdi-integration/gf-cdi-inject/pom.xml (diff)
The file was modified media/json-jackson/src/main/java/org/glassfish/jersey/jackson/internal/jackson/jaxrs/json/PackageVersion.java (diff)
The file was modified pom.xml (diff)
The file was modified tests/e2e-server/pom.xml (diff)
The file was modified tests/e2e-jdk-specifics/pom.xml (diff)
The file was modified tests/integration/jetty-response-close/pom.xml (diff)
The file was modified examples/NOTICE.md (diff)
The file was modified NOTICE.md (diff)
The file was modified media/json-jackson/src/main/resources/META-INF/NOTICE.markdown (diff)
The file was modified tests/e2e-client/pom.xml (diff)
Commit 9d096a8b421ff48cad20f3c9e6e5c1781abce734 by noreply
Excluding JDK21 multi-release from jaxrs bundle (#5633)

Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
The file was modified bundles/jaxrs-ri/pom.xml (diff)
Commit 58185a01bd7d1bb5de124d211f42fe26c491fda9 by Maxim Nesen
Post merge adjustments

Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
The file was modified etc/scripts/validation/dependency-convergence.sh (diff)
The file was modified ext/mvc-thymeleaf/pom.xml (diff)
The file was modified ext/spring6/pom.xml (diff)
The file was modified tests/integration/tracing-support/pom.xml (diff)
The file was modified tests/integration/tracing-support/src/test/java/org/glassfish/jersey/tests/integration/tracing/TracingMatchResourceMethodTest.java (diff)
The file was modified bom/pom.xml (diff)
The file was modified tests/e2e/pom.xml (diff)