You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/12/21 08:16:54 UTC
[camel] branch main updated: CAMEL-18832: camel-spring-boot - Health Check output should include data in full exposure level. Aligned output to be similar to microprofile-health.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 965fd2841d1 CAMEL-18832: camel-spring-boot - Health Check output should include data in full exposure level. Aligned output to be similar to microprofile-health.
965fd2841d1 is described below
commit 965fd2841d1b202bfb40f288d0481c60e6aaede3
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Dec 21 09:16:46 2022 +0100
CAMEL-18832: camel-spring-boot - Health Check output should include data in full exposure level. Aligned output to be similar to microprofile-health.
---
.../ROOT/pages/camel-3x-upgrade-guide-3_21.adoc | 37 ++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_21.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_21.adoc
index c2dd69ba82c..4cbd96f53e8 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_21.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_21.adoc
@@ -10,3 +10,40 @@ from both 3.0 to 3.1 and 3.1 to 3.2.
The command `camel dependencies` has been renamed to `camel dependency`.
+=== camel-spring-boot
+
+The health-check has aligned to be more similar to microprofile-health in the JSon output.
+Spring Boot now also includes additional data per check, when using full exposure level.
+
+For example as shown below for the context health check:
+
+[source,json]
+----
+{
+ "status": "UP",
+ "components": {
+ "camelHealth": {
+ "status": "UP",
+ "details": {
+ "name": "camel-health-check",
+ "context": "UP",
+ "context.data": {
+ "invocation.count": "1",
+ "context.phase": "5",
+ "invocation.time": "2022-12-21T09:12:03.307871+01:00[Europe/Oslo]",
+ "check.group": "camel",
+ "context.name": "MyCamel",
+ "success.time": "2022-12-21T09:12:03.307871+01:00[Europe/Oslo]",
+ "success.count": "1",
+ "check.id": "context",
+ "context.version": "3.21.0",
+ "context.status": "Started",
+ "success.start.time": "2022-12-21T09:12:03.307871+01:00[Europe/Oslo]",
+ "check.kind": "READINESS",
+ "failure.count": "0"
+ }
+ }
+ }
+ }
+}
+----
\ No newline at end of file