Skip to content

[TASK] Migrate High Level APIs #34613

@fabrizzio-dotCMS

Description

@fabrizzio-dotCMS

Description

Complete vendor-neutral migration of the High-Level API layer. OS counterpart work is done; remaining work is removing deprecated ES-specific signatures from public interfaces (gated on dotEvergreen R7 cutover ~Aug 18).

Layer: G6 – High-Level API | Dependency: G5 Search Layer (#34609)

Checklist

  • ESContentletAPIImplesSearch/esSearchRaw deprecated; neutral search/searchRaw delegates to SearchAPI — PR feat(opensearch): extract vendor-neutral SearchAPI and phase-aware router #35609
  • ContentTypeAPIImpl — no ES imports, already clean ✅
  • ContentletAPI — remove deprecated esSearch/esSearchRaw signatures; remove ESSearchResults and SearchCriteria imports — gated on dotEvergreen R7 (~Aug 18), tracked in sub-task
  • ContentletAPIPreHook / ContentletAPIPostHook — remove SearchCriteria from hook signatures — tracked in sub-task
  • ContentletAPIInterceptor — replace SearchResponse and ESSearchResults with ContentSearchResults<T>; replace SearchCriteria with SearchQuery — tracked in sub-task

Acceptance Criteria

  • Zero org.elasticsearch.* or ES-specific types (ESSearchResults, SearchCriteria) in any public ContentletAPI contract
  • All existing hook implementations compile without changes
  • Integration tests pass

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions