Upgrade the extension to the latest Quarkus LTS and latest Java SDK release.
Changes
Bump Quarkus to 3.16.1
Bump Java SDK to 3.7.5 (Unreleased yet)
Update netty substitutions. As the official netty extension targets Netty 4.1.111.Final and our SDK uses 4.1.112.Final, some substitutions have been added to the "delete" step of the shell script.
(Specific change affecting substitutions between 4.1.111.Final and 4.1.112.Final)
The legacy @ConfigRoot approach for CouchbaseConfig was changed to the new @ConfigMapping one.
Added the compiler arg -AlegacyConfigRoot=true to the deployment module pom.xml, as the netty substitution still uses it.
Updated the way CouchbaseDevService gets the config fields.
Native-image
The native image failed upon calling Cluster-related code due to MpsArrayQueue in DefaultEventBus, OrphanReporter and ThresholdLoggingTracer.
A substitution was added to replace that queue with a safe alternative MpscAtomicUnpaddedArrayQueue
Multiple classes have been registered for reflection (for Jackson serialization).
Motivation
Upgrade the extension to the latest Quarkus LTS and latest Java SDK release.
Changes
@ConfigRoot
approach for CouchbaseConfig was changed to the new@ConfigMapping
one.-AlegacyConfigRoot=true
to the deployment module pom.xml, as the netty substitution still uses it.Native-image
The native image failed upon calling Cluster-related code due to
MpsArrayQueue
inDefaultEventBus
,OrphanReporter
andThresholdLoggingTracer
.MpscAtomicUnpaddedArrayQueue