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

commit 2a4ff7f827e10525bbd06f0a71ab3f6ff07a1c0b
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Nov 26 12:52:37 2022 +0100

    Regen
---
 .../apache/camel/catalog/components/splunk-hec.json   |  1 +
 .../endpoint/dsl/SplunkHECEndpointBuilderFactory.java | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json
index acb073ed6c7..5ff292cb02e 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json
@@ -37,6 +37,7 @@
     "index": { "kind": "parameter", "displayName": "Index", "group": 
"producer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "camel", "configurationClass": 
"org.apache.camel.component.splunkhec.SplunkHECConfiguration", 
"configurationField": "configuration", "description": "Splunk index to write 
to" },
     "source": { "kind": "parameter", "displayName": "Source", "group": 
"producer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "camel", "configurationClass": 
"org.apache.camel.component.splunkhec.SplunkHECConfiguration", 
"configurationField": "configuration", "description": "Splunk source argument" 
},
     "sourceType": { "kind": "parameter", "displayName": "Source Type", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "camel", "configurationClass": 
"org.apache.camel.component.splunkhec.SplunkHECConfiguration", 
"configurationField": "configuration", "description": "Splunk sourcetype 
argument" },
+    "splunkEndpoint": { "kind": "parameter", "displayName": "Splunk Endpoint", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "\/services\/collector\/event", 
"configurationClass": 
"org.apache.camel.component.splunkhec.SplunkHECConfiguration", 
"configurationField": "configuration", "description": "Splunk endpoint Defaults 
to \/services\/collector\/event To writ [...]
     "time": { "kind": "parameter", "displayName": "Time", "group": "producer", 
"label": "", "required": false, "type": "integer", "javaType": 
"java.lang.Long", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.splunkhec.SplunkHECConfiguration", 
"configurationField": "configuration", "description": "Time this even occurred. 
By default, the time will be when this event hits the splunk server." },
     "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start 
Producer", "group": "producer (advanced)", "label": "producer,advanced", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"description": "Whether the producer should be started lazy (on the first 
message). By starting lazy you can use this to allow CamelContext and routes to 
startup in situations where a producer may other [...]
     "https": { "kind": "parameter", "displayName": "Https", "group": 
"security", "label": "security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.splunkhec.SplunkHECConfiguration", 
"configurationField": "configuration", "description": "Contact HEC over https." 
},
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SplunkHECEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SplunkHECEndpointBuilderFactory.java
index 73db8b43b03..b53e371b115 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SplunkHECEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SplunkHECEndpointBuilderFactory.java
@@ -164,6 +164,25 @@ public interface SplunkHECEndpointBuilderFactory {
             doSetProperty("sourceType", sourceType);
             return this;
         }
+        /**
+         * Splunk endpoint Defaults to /services/collector/event To write RAW
+         * data like JSON use /services/collector/raw For a list of all
+         * endpoints refer to splunk documentation (HTTP Event Collector REST
+         * API endpoints) Example for Spunk 8.2.x:
+         * 
https://docs.splunk.com/Documentation/SplunkCloud/8.2.2203/Data/HECRESTendpoints
 To extract timestamps in Splunk8.0 
/services/collector/eventauto_extract_timestamp=true Remember to utilize RAW{} 
for questionmarks or slashes in parameters, see: 
https://camel.apache.org/manual/faq/how-do-i-configure-endpoints.html 
#HowdoIconfigureendpoints-Configuringparametervaluesusingrawvalues.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Default: /services/collector/event
+         * Group: producer
+         * 
+         * @param splunkEndpoint the value to set
+         * @return the dsl builder
+         */
+        default SplunkHECEndpointBuilder splunkEndpoint(String splunkEndpoint) 
{
+            doSetProperty("splunkEndpoint", splunkEndpoint);
+            return this;
+        }
         /**
          * Time this even occurred. By default, the time will be when this 
event
          * hits the splunk server.

Reply via email to