UNOMI-875: PR3 platform upgrade (Karaf 4.4.11, ES 9.4.3, OS 3.7.0, log4j 2.24)#796
Merged
Conversation
Karaf 4.4.11 no longer brings slf4j-api transitively; add an explicit provided dependency in lifecycle-watcher and align setenv.sh.
Align Docker compose images and IT fixtures with new server versions. Adapt ES bulk routing API for 9.4 and embed httpclient5 compression dependencies for Karaf OSGi resolution.
Completes the platform dependency refresh deferred from PR2; ES core bundle excludes embedded log4j jars so Karaf supplies log4j 2.24.
Publish Karaf, ES/OS, Log4j, IT, and dependency-hygiene procedures in the developer manual so upgrade knowledge is versioned with the codebase (UNOMI-875).
Stop using legacy log4j 1.x APIs in ES/OS persistence bundles. Route REST client log levels through Karaf org.ops4j.pax.logging.cfg instead.
Use lazy CustomObjectMapper in BaseIT, unify IT JSON helpers, and suppress Pax Exam debug noise in the test JVM via DefaultServiceLog.level=INFO.
Pin jackson features to ${jackson.version}, bump ES to 9.4.3 and Jetty to
9.4.58, and sync Docker compose image tags with pom properties.
…h bundle OpenSearch 3.7 client embeds references to org.apache.commons.compress packages that Karaf does not provide. Match the Elasticsearch bundle and resolve optional imports so unomi-opensearch-core features install in ITs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plain-language summary
This PR updates the platform Unomi runs on: Karaf, Elasticsearch, OpenSearch, and Log4j. It also adds maintainer upgrade guides to the official manual so future platform bumps follow the same steps. Integration tests were fixed for Karaf 4.4.11 so CI can run Elasticsearch and OpenSearch profiles reliably.
There is no new end-user feature. The goal is a supported, documented baseline before the 3.1 release.
What changed
${jackson.version}; align Jetty to 9.4.58.org.ops4j.pax.logging.cfg.CustomObjectMapper, unified IT JSON helpers, quieter test-JVM logging).manual/src/main/asciidoc/upgrades/), covering Karaf, JDK, CXF/Jackson/Jetty, ES/OS, Log4j, IT debugging, dependency hygiene, and JIRA cross-reference.Test plan
./build.sh --ci(full reactor, Karaf feature verify, unit tests)References
UNOMI-875