sergehuber opened a new pull request, #937:
URL: https://github.com/apache/unomi/pull/937

   ## Summary
   - Compared master health check against `unomi-3.0.x`: core fields (`name`, 
`status`, `collectingTime`, optional `data`), HTTP 200/206, Basic auth, timeout 
`error.cause`, and alphabetical ordering already matched.
   - Restore servlet-side sort (3.0 did this; the service cache is unmodifiable 
so sorting must copy first).
   - Provider execution failures now return `ERROR` + `data.error` like 
in-provider failures, instead of a misleading timeout entry.
   - Docs/README sample reordered to the real sorted array; note optional 
search-backend `data` (completes the 3.0 TODO).
   - Unit test locks the JSON wire format.
   
   ## Intentional 4.0 differences kept
   - Search probes may include cluster `data` when LIVE (3.0 left a TODO).
   - Concurrent calls return a 1s cache instead of rejecting with an error.
   - OpenSearch distribution uses provider name `opensearch`.
   
   ## Test plan
   - [x] `mvn -pl extensions/healthcheck -am test 
-Dtest=HealthCheckConfigTest,HealthCheckServiceTest,HealthCheckResponseJsonFormatTest,HealthCheckHttpContextBlankPasswordTest,HealthCheckEnvironmentMappingTest`
   - [ ] Spot-check `/health/check` JSON order and fields on an Elasticsearch 
install
   
   https://issues.apache.org/jira/browse/UNOMI-1007


-- 
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]

Reply via email to