Skip to content

Elasticsearch client migration 7.17 -> 9.2.2; track released framework chain (M9) - #64

Merged
allanmckenzie merged 1 commit into
release/25.104.xfrom
dev/platform-libraries-es9
Jul 28, 2026
Merged

Elasticsearch client migration 7.17 -> 9.2.2; track released framework chain (M9)#64
allanmckenzie merged 1 commit into
release/25.104.xfrom
dev/platform-libraries-es9

Conversation

@allanmckenzie

Copy link
Copy Markdown
Contributor

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.179.2.2

Cherry-picked from the Java-17 DD-41592 work. RestHighLevelClientco.elastic.clients.elasticsearch.ElasticsearchClient across unifiedsearch-client (DocumentService, DefaultUnifiedSearchService, SearchRequestFactory / SearchResultConverter, client producers/factories, healthchecks) and unifiedsearch-test-utils: new BulkRequest / SearchResponse(JsonData) / indices() APIs; javaxjakarta conflicts resolved during the port. (~55 files.)

Framework chain (platform tracks the framework)

  • cpp.common-bom.version M2M3 (ES 9.2.2 dependency management + jackson 2.21.5 / CVE-2026-54515 + junit-bom, httpcore5 5.3.6 pin).
  • parent parent-pom M1M2; file-service.version M6M7; framework-libraries.version M10M11; framework.version (cp-microservice-framework) M3M4; event-store.version M4M5. Carries jackson 2.21.5, junit-bom, maven-shade 3.6.0, jacoco 0.8.14, and the event-store EntityManagerFlushInterceptorPresenceVerifier deploy-guard.

Cross-context RAML interfaces (required by enforce-moj-latest-interfaces)

Bumped to latest released: hearing 17.104.17617.104.180, referencedata 17.103.13317.104.137, assignment 8.0.58.0.7, usersgroups 17.104.4817.104.50, progression 17.0.26217.0.279, sjp 17.103.16917.104.181.

Validation

Full reactor mvn clean install -Drun.it=falseBUILD 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).

…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).
@cpp-github-management

Copy link
Copy Markdown

Passed

@allanmckenzie
allanmckenzie merged commit 64526f9 into release/25.104.x Jul 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant