sergehuber opened a new pull request, #812:
URL: https://github.com/apache/unomi/pull/812
## Plain-language summary
Unomi 3.1 still shipped an old Swagger UI bundle version in Karaf while the
REST module already used a newer one. The GraphQL playground also used outdated
frontend libraries and hard-coded localhost URLs. Integration tests could fail
on Elasticsearch because single-node clusters turned yellow when indices kept a
replica count of one.
This change aligns Swagger UI with the project version, upgrades the GraphQL
UI stack, bumps safe Java dependencies, and makes the IT harness enforce zero
replicas on the search cluster before and after migration.
## What changed
* **UNOMI-947:** Use `${swagger-ui.version}` in `unomi-rest-ui` Karaf
feature (5.27.1).
* **UNOMI-946:** Add `configureSearchEngineForTesting()`,
`fixRestoredIndexReplicas()`, and `assertClusterHealthy()` in `BaseIT`; call
from migration IT after snapshot restore; set ES `minimalClusterState=YELLOW`
in IT config; teach `ElasticSearchHealthCheckProvider` yellow tolerance like
OpenSearch.
* Bump `error_prone_annotations` 2.50, logback-classic 1.2.13, router jsch
0.1.55_1 (poms + feature.xml).
* Upgrade graphql-ui to GraphiQL 5.x, relative HTTP/WS URLs, React 18
`createRoot`, webpack support for Monaco/CSS.
## Test plan
- [x] `yarn build:production` in `graphql/graphql-ui`
- [x] `mvn -pl graphql/graphql-ui,wab,kar,extensions/healthcheck -am
test-compile -DskipTests`
- [x] `mvn -Pintegration-tests test-compile` in `itests`
- [ ] CI integration tests (ES + OS matrix, `HealthCheckIT`,
`Migrate16xToCurrentVersionIT`)
## References
UNOMI-947, UNOMI-946
--
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]