This is an automated email from the ASF dual-hosted git repository.

jiriondrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/camel-main by this push:
     new 958977394a fixed spluk0-hec because of pull/13041
958977394a is described below

commit 958977394a4b5ad9ad404e1ff2225bac32189d89
Author: JiriOndrusek <ondrusek.j...@gmail.com>
AuthorDate: Mon Feb 12 13:38:37 2024 +0100

    fixed spluk0-hec because of pull/13041
---
 .../apache/camel/quarkus/component/splunk/hec/it/SplunkHecResource.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/integration-tests/splunk-hec/src/main/java/org/apache/camel/quarkus/component/splunk/hec/it/SplunkHecResource.java
 
b/integration-tests/splunk-hec/src/main/java/org/apache/camel/quarkus/component/splunk/hec/it/SplunkHecResource.java
index b6d45f3626..a0fc5eb515 100644
--- 
a/integration-tests/splunk-hec/src/main/java/org/apache/camel/quarkus/component/splunk/hec/it/SplunkHecResource.java
+++ 
b/integration-tests/splunk-hec/src/main/java/org/apache/camel/quarkus/component/splunk/hec/it/SplunkHecResource.java
@@ -51,7 +51,7 @@ public class SplunkHecResource {
     @POST
     @Produces(MediaType.TEXT_PLAIN)
     public String send(String data, @QueryParam("indexTime") Long indexTime) {
-        String url = 
String.format("splunk-hec:%s:%s/%s?skipTlsVerify=true&index=%s", host, hecPort, 
token, index);
+        String url = 
String.format("splunk-hec:%s:%s?token=%s&skipTlsVerify=true&index=%s", host, 
hecPort, token, index);
         return producer.requestBodyAndHeader(url, data, 
SplunkHECConstants.INDEX_TIME, indexTime, String.class);
     }
 }

Reply via email to