From d5bb7ab515c71217cdba957c6ade159a82ba140e Mon Sep 17 00:00:00 2001 From: "Insuk (Chris) Cho" Date: Wed, 9 Jul 2025 12:37:58 -0700 Subject: [PATCH 1/5] Update manifest.yml Jolokia in Spring Boot is enabled by Spring-boot-actuator as described in the [reference](https://www.elastic.co/docs/reference/integrations/spring_boot#requirements), and the endpoint should have `/actuator` in front of the current default path. If we keep this default path, it will return 404 and the Elastic Agent's status will be changed to unhealthy. To avoid the confusion, suggest to change the default path value with the valid one --- packages/spring_boot/manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/spring_boot/manifest.yml b/packages/spring_boot/manifest.yml index 0b0ec4fd3f8..f8535388611 100644 --- a/packages/spring_boot/manifest.yml +++ b/packages/spring_boot/manifest.yml @@ -77,7 +77,7 @@ policy_templates: multi: false required: true show_user: false - default: /jolokia/?ignoreErrors=true&canonicalNaming=false + default: /actuator/jolokia/?ignoreErrors=true&canonicalNaming=false - name: username type: text title: Username From 35c71439c01b950ad428de8d4bba9ff2f63f41d1 Mon Sep 17 00:00:00 2001 From: "Insuk (Chris) Cho" Date: Wed, 9 Jul 2025 13:28:14 -0700 Subject: [PATCH 2/5] Update manifest.yml Improve the path and host descriptions to avoid the confusion --- packages/spring_boot/manifest.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/spring_boot/manifest.yml b/packages/spring_boot/manifest.yml index f8535388611..d28e7d06a33 100644 --- a/packages/spring_boot/manifest.yml +++ b/packages/spring_boot/manifest.yml @@ -78,6 +78,7 @@ policy_templates: required: true show_user: false default: /actuator/jolokia/?ignoreErrors=true&canonicalNaming=false + description: "Path for accessing jolokia endpoint. (example: /actuator/jolokia)." - name: username type: text title: Username @@ -99,7 +100,7 @@ policy_templates: multi: false required: true show_user: true - description: "Host for Spring Boot metrics. (example: http://localhost:8090/actuator/jolokia)." + description: "Host for Spring Boot metrics. (example: http://localhost:8090)." - name: ssl type: yaml title: SSL Configuration From 275bc5bff6091346a91488ae0771360dee8a92fb Mon Sep 17 00:00:00 2001 From: "Insuk (Chris) Cho" Date: Wed, 16 Jul 2025 17:18:42 -0700 Subject: [PATCH 3/5] version upgrade This version will included the fix changing the jolokia default path to avoid 404 error --- packages/spring_boot/manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/spring_boot/manifest.yml b/packages/spring_boot/manifest.yml index d28e7d06a33..d05b215a5bb 100644 --- a/packages/spring_boot/manifest.yml +++ b/packages/spring_boot/manifest.yml @@ -1,7 +1,7 @@ format_version: "3.0.2" name: spring_boot title: Spring Boot -version: "1.9.0" +version: "1.9.1" description: This Elastic integration collects logs and metrics from Spring Boot integration. type: integration categories: From 0a7d2da5cbf77dc37688e805346819c14fd0e65e Mon Sep 17 00:00:00 2001 From: "Insuk (Chris) Cho" Date: Wed, 16 Jul 2025 17:22:15 -0700 Subject: [PATCH 4/5] Add 1.9.1 changes Add the change from the [PR](https://github.com/elastic/integrations/pull/14475) --- packages/spring_boot/changelog.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/spring_boot/changelog.yml b/packages/spring_boot/changelog.yml index 96f3c7bc443..4e5e7ddbbe8 100644 --- a/packages/spring_boot/changelog.yml +++ b/packages/spring_boot/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.9.1" + changes: + - description: Fix the jolokia default path and provide more clear description about jolokia `Hosts` and `Path` + type: enhancement + link: https://github.com/elastic/integrations/pull/14475 - version: "1.9.0" changes: - description: Allow @custom pipeline access to event.original without setting preserve_original_event. From 64d67aca2c8f005580deb3db1ba30dd18d203fde Mon Sep 17 00:00:00 2001 From: "Insuk (Chris) Cho" Date: Thu, 17 Jul 2025 09:44:04 -0700 Subject: [PATCH 5/5] Update packages/spring_boot/changelog.yml fixed the change type Co-authored-by: Ishleen Kaur <102962586+ishleenk17@users.noreply.github.com> --- packages/spring_boot/changelog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/spring_boot/changelog.yml b/packages/spring_boot/changelog.yml index 4e5e7ddbbe8..7abcf6b20ba 100644 --- a/packages/spring_boot/changelog.yml +++ b/packages/spring_boot/changelog.yml @@ -2,7 +2,7 @@ - version: "1.9.1" changes: - description: Fix the jolokia default path and provide more clear description about jolokia `Hosts` and `Path` - type: enhancement + type: bugfix link: https://github.com/elastic/integrations/pull/14475 - version: "1.9.0" changes: