sergehuber opened a new pull request, #833: URL: https://github.com/apache/unomi/pull/833
## Summary - Extract a test-only `PersistenceITBackend` SPI (`featureOptions`, `configurationOptions`, distribution feature, ConfigAdmin PID, lifecycle hooks) so Elasticsearch / OpenSearch wiring moves out of `BaseIT` without changing default CI behaviour. - Add backend-agnostic `PersistenceITCapabilities` (HTTP admin API, rollover API shape, snapshot-restore migration, health probes, flattened-range query outcome) so search-specific ITs `Assume`-skip on unsupported providers instead of hard-coding vendor names. - Keep `AllITs` and new `CorePersistenceITs` membership identical for maximum coverage; publish `unomi-itests` test-jar + document ServiceLoader / `-Dunomi.persistence.it.backend` extension in `itests/README.md`. JIRA: [UNOMI-968](https://issues.apache.org/jira/browse/UNOMI-968) ## Test plan - [ ] CI Elasticsearch Failsafe (`AllITs`) green - [ ] CI OpenSearch Failsafe (`AllITs`) green - [ ] Confirm `RolloverIT` still asserts ILM on ES / ISM on OS - [ ] Confirm `Migrate16xToCurrentVersionIT` runs fully on ES and is Assumed skipped on OS (not false-pass) - [ ] Confirm `HealthCheckIT` still expects exactly 5 probes on ES/OS - [ ] Confirm `JSONSchemaIT` flattened-range branch: EMPTY on ES, HITS on OS - [ ] Optional out-of-tree: PostgreSQL consumer runs `CorePersistenceITs` via ServiceLoader (not part of this ASF change) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
