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 26e93209d5d Bumps  from 2.0.3 to 2.1.0.
26e93209d5d is described below

commit 26e93209d5d0279b9b6565f15b1aadf565119db7
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Aug 12 17:48:50 2024 +0200

    Bumps  from 2.0.3 to 2.1.0.
---
 .../http/plugin/DefaultJolokiaPlatformHttpPluginTest.java      | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/components/camel-platform-http-jolokia/src/test/java/org/apache/camel/component/platform/http/plugin/DefaultJolokiaPlatformHttpPluginTest.java
 
b/components/camel-platform-http-jolokia/src/test/java/org/apache/camel/component/platform/http/plugin/DefaultJolokiaPlatformHttpPluginTest.java
index 19a9d34e5bf..e3a1db1c027 100644
--- 
a/components/camel-platform-http-jolokia/src/test/java/org/apache/camel/component/platform/http/plugin/DefaultJolokiaPlatformHttpPluginTest.java
+++ 
b/components/camel-platform-http-jolokia/src/test/java/org/apache/camel/component/platform/http/plugin/DefaultJolokiaPlatformHttpPluginTest.java
@@ -22,10 +22,10 @@ import java.util.Optional;
 import org.apache.camel.ContextTestSupport;
 import org.apache.camel.component.platform.http.spi.PlatformHttpPluginRegistry;
 import org.apache.camel.support.ResolverHelper;
+import org.jolokia.json.JSONObject;
+import org.jolokia.json.JSONStructure;
+import org.jolokia.json.parser.JSONParser;
 import org.jolokia.server.core.http.HttpRequestHandler;
-import org.json.simple.JSONAware;
-import org.json.simple.JSONObject;
-import org.json.simple.parser.JSONParser;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
 
@@ -42,7 +42,7 @@ public class DefaultJolokiaPlatformHttpPluginTest extends 
ContextTestSupport {
         Assertions.assertNotNull(plugin);
         HttpRequestHandler handler = plugin.getJolokiaRequestHandler();
 
-        JSONAware json = handler.handleGetRequest("", "/", new HashMap<>());
+        JSONStructure json = handler.handleGetRequest("", "/", new 
HashMap<>());
 
         JSONParser parser = new JSONParser();
         JSONObject responseBody = (JSONObject) 
parser.parse(json.toJSONString());
@@ -54,7 +54,7 @@ public class DefaultJolokiaPlatformHttpPluginTest extends 
ContextTestSupport {
         String type = (String) request.get("type");
 
         assertEquals("version", type);
-        assertEquals("2.0.3", agentVersion);
+        assertEquals("2.1.0", agentVersion);
     }
 
     private PlatformHttpPluginRegistry resolvePlatformHttpPluginRegistry() {

Reply via email to