[
https://issues.apache.org/jira/browse/UNOMI-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Serge Huber reassigned UNOMI-956:
---------------------------------
Assignee: (was: Serge Huber)
> Add integration tests for PersistenceService APIs
> -------------------------------------------------
>
> Key: UNOMI-956
> URL: https://issues.apache.org/jira/browse/UNOMI-956
> Project: Apache Unomi
> Issue Type: Improvement
> Components: unomi(-core)
> Affects Versions: unomi-3.1.0
> Reporter: Serge Huber
> Priority: Major
> Fix For: unomi-3.2.0
>
>
> Extend platform integration tests to cover PersistenceService against the
> live search
> backend (Elasticsearch and OpenSearch), beyond the initial rangeQuery smoke
> tests
> added in UNOMI-948.
>
> Scope (incremental; not all required in one PR):
>
> - rangeQuery: string ranges, open bounds (from/to null), invalid field,
> tenant isolation
> - query(Condition): parity with ConditionQueryBuilderIT patterns
> - query(field, value): term and terms queries on profile/event properties
> - queryFullText: basic full-text search
> - queryCount / aggregate APIs used by product code
> - save / load / remove / refreshIndex lifecycle smoke checks
> - Run matrix: elasticsearch + opensearch CI profiles
>
> Out of scope: re-testing ConditionValidationService (covered elsewhere),
> wholesale
> port of InMemoryPersistenceServiceImplTest (unit harness only).
>
> Acceptance criteria:
> - PersistenceServiceIT (or focused *IT classes) documents which SPI methods
> are covered
> - Each new test cleans up data and uses BaseIT polling helpers (no
> Thread.sleep)
> - CI green on both search engines
--
This message was sent by Atlassian Jira
(v8.20.10#820010)