Elasticsearch client migration 7.17 -> 9.2.2; track released framework chain (M9) - #64
Merged
Merged
Conversation
…k chain - unifiedsearch-client + unifiedsearch-test-utils migrated from RestHighLevelClient to co.elastic.clients ElasticsearchClient (ES 8/9 Java API Client): new BulkRequest / SearchResponse(JsonData) / indices() APIs, javax->jakarta. - Consume ES 9.2.2 dependency management via cpp.common-bom 25.104.0-M3. - Advance all framework references to released milestones (platform tracks the framework chain): parent-pom M1->M2, file-service M6->M7, framework-libraries M10->M11, framework M3->M4, event-store M4->M5. - Bump cross-context RAML interfaces to latest released (enforce-moj-latest-interfaces): hearing 17.104.176->17.104.180, referencedata 17.103.133->17.104.137, assignment 8.0.5->8.0.7, usersgroups 17.104.48->17.104.50, progression 17.0.262->17.0.279, sjp 17.103.169->17.104.181. Full reactor build green (mvn clean install -Drun.it=false).
allanmckenzie
requested review from
oktayekincioglu,
santhosh-hmcts and
zozd-hmcts
July 28, 2026 08:34
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.
Summary
Prepares cpp-platform-libraries for its next release (M9) — the Elasticsearch 9.2.2 client migration, plus advancing the whole framework chain and the cross-context RAML interfaces to their latest released versions.
Elasticsearch client migration
7.17→9.2.2Cherry-picked from the Java-17 DD-41592 work.
RestHighLevelClient→co.elastic.clients.elasticsearch.ElasticsearchClientacrossunifiedsearch-client(DocumentService, DefaultUnifiedSearchService, SearchRequestFactory / SearchResultConverter, client producers/factories, healthchecks) andunifiedsearch-test-utils: newBulkRequest/SearchResponse(JsonData)/indices()APIs;javax→jakartaconflicts resolved during the port. (~55 files.)Framework chain (platform tracks the framework)
cpp.common-bom.versionM2→ M3 (ES 9.2.2 dependency management + jackson2.21.5/ CVE-2026-54515 + junit-bom, httpcore5 5.3.6 pin).parent-pomM1→ M2;file-service.versionM6→ M7;framework-libraries.versionM10→ M11;framework.version(cp-microservice-framework)M3→ M4;event-store.versionM4→ M5. Carries jackson2.21.5, junit-bom, maven-shade3.6.0, jacoco0.8.14, and the event-storeEntityManagerFlushInterceptorPresenceVerifierdeploy-guard.Cross-context RAML interfaces (required by
enforce-moj-latest-interfaces)Bumped to latest released:
hearing17.104.176→17.104.180,referencedata17.103.133→17.104.137,assignment8.0.5→8.0.7,usersgroups17.104.48→17.104.50,progression17.0.262→17.0.279,sjp17.103.169→17.104.181.Validation
Full reactor
mvn clean install -Drun.it=false— BUILD SUCCESS (all modules; enforcer green; unit tests pass). ITs skipped locally (need a live ES 9.2.2 instance); they run in the ES contexts' pipelines (e.g. unifiedsearch-query full ITs 332/0/0).Target:
release/25.104.x(M8 released, branch on M9-SNAPSHOT → this becomes M9).