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-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new f2128bafc Fix #3092: Remove splunk-sink, splunk-source and
json-patch-action, whose components Camel 4.23 removed (#3093)
f2128bafc is described below
commit f2128bafc9a7e4f3d9f9ffb0406f54450b898a33
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Oct 6 21:56:12 2026 +0200
Fix #3092: Remove splunk-sink, splunk-source and json-patch-action, whose
components Camel 4.23 removed (#3093)
camel-splunk and camel-json-patch are removed in Camel 4.23.0 (apache/camel
53912a500d66 and 2c538511af7f), which main builds against. The Kamelets,
their
pipe templates, the splunk-source doc partial and the catalog test lines are
removed; nav.adoc and the catalog SBOM are regenerated.
Claude-Session: https://claude.ai/code/session_01STT6whBgK1AqsSsUKrnE8m
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
---
.../camel-kamelets-catalog-sbom.json | 54 +------
docs/modules/ROOT/nav.adoc | 3 -
.../ROOT/partials/splunk-source-description.adoc | 43 ------
kamelets/json-patch-action.kamelet.yaml | 52 -------
kamelets/splunk-sink.kamelet.yaml | 120 ----------------
kamelets/splunk-source.kamelet.yaml | 158 ---------------------
.../kamelets/catalog/KameletsCatalogTest.java | 2 -
.../kamelets/json-patch-action.kamelet.yaml | 52 -------
.../resources/kamelets/splunk-sink.kamelet.yaml | 120 ----------------
.../resources/kamelets/splunk-source.kamelet.yaml | 158 ---------------------
.../pipes/camel-k/json-patch-action-pipe.yaml | 24 ----
templates/pipes/camel-k/splunk-sink-pipe.yaml | 20 ---
templates/pipes/camel-k/splunk-source-pipe.yaml | 21 ---
templates/pipes/core/json-patch-action-pipe.yaml | 13 --
templates/pipes/core/splunk-sink-pipe.yaml | 13 --
templates/pipes/core/splunk-source-pipe.yaml | 12 --
16 files changed, 1 insertion(+), 864 deletions(-)
diff --git a/camel-kamelets-sbom/camel-kamelets-catalog-sbom.json
b/camel-kamelets-sbom/camel-kamelets-catalog-sbom.json
index 0e01cb076..7c712af44 100644
--- a/camel-kamelets-sbom/camel-kamelets-catalog-sbom.json
+++ b/camel-kamelets-sbom/camel-kamelets-catalog-sbom.json
@@ -731,11 +731,6 @@
"type" : "library",
"name" : "json-deserialize-action",
"version" : "4.23.0-SNAPSHOT"
- }, {
- "bom-ref" : "kamelet:json-patch-action",
- "type" : "library",
- "name" : "json-patch-action",
- "version" : "4.23.0-SNAPSHOT"
}, {
"bom-ref" : "kamelet:json-schema-validator-action",
"type" : "library",
@@ -1196,16 +1191,6 @@
"type" : "library",
"name" : "splunk-hec-sink",
"version" : "4.23.0-SNAPSHOT"
- }, {
- "bom-ref" : "kamelet:splunk-sink",
- "type" : "library",
- "name" : "splunk-sink",
- "version" : "4.23.0-SNAPSHOT"
- }, {
- "bom-ref" : "kamelet:splunk-source",
- "type" : "library",
- "name" : "splunk-source",
- "version" : "4.23.0-SNAPSHOT"
}, {
"bom-ref" : "kamelet:spring-rabbitmq-sink",
"type" : "library",
@@ -2189,17 +2174,6 @@
"name" : "camel.apache.org/versioned-by",
"value" : "runtime"
} ]
- }, {
- "bom-ref" : "pkg:maven/org.apache.camel/[email protected]",
- "type" : "library",
- "group" : "org.apache.camel",
- "name" : "camel-json-patch",
- "version" : "4.23.0-SNAPSHOT",
- "purl" : "pkg:maven/org.apache.camel/[email protected]",
- "properties" : [ {
- "name" : "camel.apache.org/versioned-by",
- "value" : "runtime"
- } ]
}, {
"bom-ref" :
"pkg:maven/org.apache.camel/[email protected]",
"type" : "library",
@@ -2541,17 +2515,6 @@
"name" : "camel.apache.org/versioned-by",
"value" : "runtime"
} ]
- }, {
- "bom-ref" : "pkg:maven/org.apache.camel/[email protected]",
- "type" : "library",
- "group" : "org.apache.camel",
- "name" : "camel-splunk",
- "version" : "4.23.0-SNAPSHOT",
- "purl" : "pkg:maven/org.apache.camel/[email protected]",
- "properties" : [ {
- "name" : "camel.apache.org/versioned-by",
- "value" : "runtime"
- } ]
}, {
"bom-ref" :
"pkg:maven/org.apache.camel/[email protected]",
"type" : "library",
@@ -2719,7 +2682,7 @@
} ],
"dependencies" : [ {
"ref" : "camel-kamelets-catalog",
- "dependsOn" : [ "kamelet:avro-deserialize-action",
"kamelet:avro-serialize-action", "kamelet:aws-bedrock-agent-runtime-sink",
"kamelet:aws-bedrock-agent-sink", "kamelet:aws-bedrock-text-sink",
"kamelet:aws-cloudtrail-source", "kamelet:aws-cloudwatch-sink",
"kamelet:aws-comprehend-sink", "kamelet:aws-ddb-sink",
"kamelet:aws-ddb-streams-source", "kamelet:aws-ec2-sink",
"kamelet:aws-eventbridge-sink", "kamelet:aws-kinesis-firehose-sink",
"kamelet:aws-kinesis-sink", "kamelet:aws-kinesis- [...]
+ "dependsOn" : [ "kamelet:avro-deserialize-action",
"kamelet:avro-serialize-action", "kamelet:aws-bedrock-agent-runtime-sink",
"kamelet:aws-bedrock-agent-sink", "kamelet:aws-bedrock-text-sink",
"kamelet:aws-cloudtrail-source", "kamelet:aws-cloudwatch-sink",
"kamelet:aws-comprehend-sink", "kamelet:aws-ddb-sink",
"kamelet:aws-ddb-streams-source", "kamelet:aws-ec2-sink",
"kamelet:aws-eventbridge-sink", "kamelet:aws-kinesis-firehose-sink",
"kamelet:aws-kinesis-sink", "kamelet:aws-kinesis- [...]
}, {
"ref" : "kamelet:avro-deserialize-action",
"dependsOn" : [ "pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]" ]
@@ -3152,9 +3115,6 @@
}, {
"ref" : "kamelet:json-deserialize-action",
"dependsOn" : [ "pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]" ]
- }, {
- "ref" : "kamelet:json-patch-action",
- "dependsOn" : [
"pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]" ]
}, {
"ref" : "kamelet:json-schema-validator-action",
"dependsOn" : [
"pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]" ]
@@ -3431,12 +3391,6 @@
}, {
"ref" : "kamelet:splunk-hec-sink",
"dependsOn" : [ "pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]" ]
- }, {
- "ref" : "kamelet:splunk-sink",
- "dependsOn" : [ "pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]" ]
- }, {
- "ref" : "kamelet:splunk-source",
- "dependsOn" : [
"pkg:maven/com.fasterxml.jackson.datatype/[email protected]",
"pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]" ]
}, {
"ref" : "kamelet:spring-rabbitmq-sink",
"dependsOn" : [
"pkg:maven/org.apache.camel/[email protected]",
"pkg:maven/org.apache.camel/[email protected]" ]
@@ -3758,9 +3712,6 @@
}, {
"ref" : "pkg:maven/org.apache.camel/[email protected]",
"dependsOn" : [ ]
- }, {
- "ref" : "pkg:maven/org.apache.camel/[email protected]",
- "dependsOn" : [ ]
}, {
"ref" : "pkg:maven/org.apache.camel/[email protected]",
"dependsOn" : [ ]
@@ -3854,9 +3805,6 @@
}, {
"ref" : "pkg:maven/org.apache.camel/[email protected]",
"dependsOn" : [ ]
- }, {
- "ref" : "pkg:maven/org.apache.camel/[email protected]",
- "dependsOn" : [ ]
}, {
"ref" : "pkg:maven/org.apache.camel/[email protected]",
"dependsOn" : [ ]
diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 7406fe27d..3c75c8b25 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -143,7 +143,6 @@
* xref:jolt-transformation-action.adoc[]
* xref:jslt-action.adoc[]
* xref:json-deserialize-action.adoc[]
-* xref:json-patch-action.adoc[]
* xref:json-schema-validator-action.adoc[]
* xref:json-serialize-action.adoc[]
* xref:jsonata-action.adoc[]
@@ -236,8 +235,6 @@
* xref:solr-sink.adoc[]
* xref:solr-source.adoc[]
* xref:splunk-hec-sink.adoc[]
-* xref:splunk-sink.adoc[]
-* xref:splunk-source.adoc[]
* xref:spring-rabbitmq-sink.adoc[]
* xref:spring-rabbitmq-source.adoc[]
* xref:sqlserver-sink.adoc[]
diff --git a/docs/modules/ROOT/partials/splunk-source-description.adoc
b/docs/modules/ROOT/partials/splunk-source-description.adoc
deleted file mode 100644
index c8f9c23e4..000000000
--- a/docs/modules/ROOT/partials/splunk-source-description.adoc
+++ /dev/null
@@ -1,43 +0,0 @@
-== Splunk Source Kamelet Description
-
-=== Authentication methods
-
-This Kamelet connects to Splunk using appropriate authentication mechanisms:
-
-- Service-specific authentication methods
-- API keys, tokens, or credential-based authentication
-- Connection configuration
-
-=== Output format
-
-The Kamelet consumes data from Splunk and produces the data in JSON format.
-
-=== Configuration
-
-The Kamelet requires connection parameters specific to Splunk:
-
-- Service connection details
-- Authentication credentials
-- Query or consumption parameters
-
-=== Usage example
-
-```yaml
-apiVersion: camel.apache.org/v1alpha1
-kind: KameletBinding
-metadata:
- name: splunk-source-binding
-spec:
- source:
- ref:
- kind: Kamelet
- apiVersion: camel.apache.org/v1alpha1
- name: splunk-source
- properties:
- # Add service-specific properties here
- sink:
- ref:
- kind: Service
- apiVersion: v1
- name: my-service
-```
diff --git a/kamelets/json-patch-action.kamelet.yaml
b/kamelets/json-patch-action.kamelet.yaml
deleted file mode 100644
index 43b09e70f..000000000
--- a/kamelets/json-patch-action.kamelet.yaml
+++ /dev/null
@@ -1,52 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ---------------------------------------------------------------------------
-apiVersion: camel.apache.org/v1
-kind: Kamelet
-metadata:
- name: json-patch-action
- annotations:
- camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.23.0-SNAPSHOT"
- camel.apache.org/kamelet.icon:
"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG
[...]
- camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/kamelet.group: "Actions"
- camel.apache.org/kamelet.namespace: "Transformation"
- labels:
- camel.apache.org/kamelet.type: "action"
-spec:
- definition:
- title: "Json Patch Action"
- description: Apply a Json Patch Transformation.
- required:
- - template
- type: object
- properties:
- template:
- title: Template
- description: The json patch transformation
- type: string
- example: "file:////template.json"
- pattern: "^(http|https|file|classpath|ref|bean)://.*"
- dependencies:
- - "camel:json-patch"
- - "camel:kamelet"
- template:
- from:
- uri: kamelet:source
- steps:
- - to:
- uri: "json-patch:?resourceUri={{template}}"
diff --git a/kamelets/splunk-sink.kamelet.yaml
b/kamelets/splunk-sink.kamelet.yaml
deleted file mode 100644
index cb0390c23..000000000
--- a/kamelets/splunk-sink.kamelet.yaml
+++ /dev/null
@@ -1,120 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ---------------------------------------------------------------------------
-apiVersion: camel.apache.org/v1
-kind: Kamelet
-metadata:
- name: splunk-sink
- annotations:
- camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.23.0-SNAPSHOT"
- camel.apache.org/kamelet.icon:
"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+U3BsdW5rIGljb248L3RpdGxlPjxwYXRoIGQ9Ik0yMy4zNDggMTEuOTExbC0yLjI0MS0xLjA5MXYtLjY1TDI0IDExLjYyMXYuNTkzbC0yLjg5MyAxLjQzOHYtLjYzNnptLTUuMzk3IDEuODQxaC0uOTYxdi01LjMxaC45NjF2My4xMTZoLjEwMmwxLjI4LTEuNDgxLjcyMy4zMS0xLjIzIDEuMzE2IDEuNDUzIDEuODA5LS44ODguMzExLTEuNDQtMS45OTZ6bS0yLjU3Ny0uMDAydi0yLjA2OG
[...]
- camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/kamelet.group: "SPLUNK"
- camel.apache.org/kamelet.namespace: "Monitoring"
- labels:
- camel.apache.org/kamelet.type: "sink"
-spec:
- definition:
- title: "Splunk Sink"
- description: Send data to Splunk either by using "submit" or "stream" mode.
-
- required:
- - serverHostname
- - username
- - password
- type: object
- properties:
- serverHostname:
- title: Splunk Server Address
- description: The address of your Splunk server.
- type: string
- example: my_server_splunk.com
- serverPort:
- title: Splunk Server Port
- description: The address of your Splunk server.
- type: integer
- default: 8089
- username:
- title: Username
- description: The username to authenticate to Splunk Server.
- type: string
- password:
- title: Password
- description: The password to authenticate to Splunk Server.
- type: string
- format: password
- x-descriptors:
- - urn:camel:group:credentials
- index:
- title: Index
- description: Splunk index to write to.
- type: string
- protocol:
- title: Protocol
- description: Connection Protocol to Splunk server.
- type: string
- default: https
- enum: ["http", "https"]
- source:
- title: Source
- description: The source named field of the data.
- type: string
- sourceType:
- title: Source Type
- description: The source named field of the data.
- type: string
- app:
- title: Splunk App
- description: The app name in Splunk.
- type: string
- connectionTimeout:
- title: Connection Timeout
- description: Timeout in milliseconds when connecting to Splunk server
- type: integer
- default: 5000
- mode:
- title: Mode
- description: The mode to publish events to Splunk.
- type: string
- default: stream
- enum: ["submit", "stream"]
- types:
- in:
- mediaType: application/json
- dependencies:
- - "camel:core"
- - "camel:splunk"
- - "camel:kamelet"
- template:
- from:
- uri: kamelet:source
- steps:
- - to:
- uri: splunk
- parameters:
- name: "{{mode}}"
- app: "{{?app}}"
- connectionTimeout: "{{?connectionTimeout}}"
- host: "{{serverHostname}}"
- index: "{{?index}}"
- password: "RAW({{password}})"
- port: "{{serverPort}}"
- raw: true
- scheme: "{{?protocol}}"
- source: "{{?source}}"
- sourceType: "{{?sourceType}}"
- username: "RAW({{username}})"
diff --git a/kamelets/splunk-source.kamelet.yaml
b/kamelets/splunk-source.kamelet.yaml
deleted file mode 100644
index 4efba0ead..000000000
--- a/kamelets/splunk-source.kamelet.yaml
+++ /dev/null
@@ -1,158 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ---------------------------------------------------------------------------
-apiVersion: camel.apache.org/v1
-kind: Kamelet
-metadata:
- name: splunk-source
- annotations:
- camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.23.0-SNAPSHOT"
- camel.apache.org/kamelet.icon:
"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+U3BsdW5rIGljb248L3RpdGxlPjxwYXRoIGQ9Ik0yMy4zNDggMTEuOTExbC0yLjI0MS0xLjA5MXYtLjY1TDI0IDExLjYyMXYuNTkzbC0yLjg5MyAxLjQzOHYtLjYzNnptLTUuMzk3IDEuODQxaC0uOTYxdi01LjMxaC45NjF2My4xMTZoLjEwMmwxLjI4LTEuNDgxLjcyMy4zMS0xLjIzIDEuMzE2IDEuNDUzIDEuODA5LS44ODguMzExLTEuNDQtMS45OTZ6bS0yLjU3Ny0uMDAydi0yLjA2OG
[...]
- camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/kamelet.group: "SPLUNK"
- camel.apache.org/kamelet.namespace: "Monitoring"
- labels:
- camel.apache.org/kamelet.type: "source"
-spec:
- definition:
- title: "Splunk Source"
- description: Retrieve data from Splunk and outputs in json format.
-
- required:
- - serverHostname
- - username
- - password
- - query
- - initEarliestTime
- type: object
- properties:
- serverHostname:
- title: Splunk Server Address
- description: The address of your Splunk server.
- type: string
- example: my_server_splunk.com
- serverPort:
- title: Splunk Server Port
- description: The address of your Splunk server.
- type: integer
- default: 8089
- username:
- title: Username
- description: The username to authenticate to Splunk Server.
- type: string
- password:
- title: Password
- description: The password to authenticate to Splunk Server.
- type: string
- format: password
- x-descriptors:
- - urn:camel:group:credentials
- index:
- title: Index
- description: Splunk index to write to.
- type: string
- protocol:
- title: Protocol
- description: Connection Protocol to Splunk server.
- type: string
- default: https
- enum: ["http", "https"]
- source:
- title: Source
- description: The source named field of the data.
- type: string
- sourceType:
- title: Source Type
- description: The source named field of the data.
- type: string
- app:
- title: Splunk App
- description: The app name in Splunk.
- type: string
- connectionTimeout:
- title: Connection Timeout
- description: Timeout in milliseconds when connecting to Splunk server
- type: integer
- count:
- title: Count
- description: The maximum number of entities to return.
- type: integer
- repeat:
- title: Repeat
- description: The maximum number of fires.
- type: integer
- delay:
- title: Delay
- description: The number of milliseconds before the next poll.
- type: integer
- query:
- title: Query
- description: The Splunk query to run.
- type: string
- earliestTime:
- title: Earliest Time
- description: Earliest time of the search time window.
- type: string
- example: "05/17/22 08:35:46:456"
- initEarliestTime:
- title: Init Earliest Time
- description: Initial start offset of the first search.
- type: string
- example: "05/17/22 08:35:46:456"
- latestTime:
- title: Latest Time
- description: Latest time of the search time window.
- type: string
- example: "05/17/22 08:35:46:456"
- types:
- out:
- mediaType: application/json
- dependencies:
- - "camel:jackson"
- - "camel:core"
- - "camel:splunk"
- - "camel:kamelet"
- - "mvn:com.fasterxml.jackson.datatype:jackson-datatype-joda:2.12.5"
- template:
- from:
- uri: splunk
- parameters:
- name: normal
- app: "{{?app}}"
- connectionTimeout: "{{?connectionTimeout}}"
- count: "{{?count}}"
- delay: "{{?delay}}"
- earliestTime: "{{?earliestTime}}"
- host: "{{serverHostname}}"
- index: "{{?index}}"
- initEarliestTime: "{{initEarliestTime}}"
- latestTime: "{{?latestTime}}"
- password: "RAW({{password}})"
- port: "{{serverPort}}"
- raw: true
- repeatCount: "{{?repeat}}"
- scheme: "{{?protocol}}"
- search: "{{?query}}"
- source: "{{?source}}"
- sourceType: "{{?sourceType}}"
- username: "RAW({{username}})"
- steps:
- - marshal:
- json:
- moduleClassNames: com.fasterxml.jackson.datatype.joda.JodaModule
- - to:
- uri: kamelet:sink
diff --git
a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
index 77e482d86..3033bfc0a 100644
---
a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
+++
b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
@@ -284,8 +284,6 @@ public class KameletsCatalogTest {
verifyHeaders("google-sheets-sink", 5);
verifyHeaders("aws-ddb-sink", 2);
verifyHeaders("splunk-hec-sink", 1);
- verifyHeaders("splunk-sink", 0);
- verifyHeaders("splunk-source", 0);
verifyHeaders("sqlserver-sink", 9);
verifyHeaders("sqlserver-source", 0);
verifyHeaders("ssh-sink", 4);
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/json-patch-action.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/json-patch-action.kamelet.yaml
deleted file mode 100644
index 43b09e70f..000000000
---
a/library/camel-kamelets/src/main/resources/kamelets/json-patch-action.kamelet.yaml
+++ /dev/null
@@ -1,52 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ---------------------------------------------------------------------------
-apiVersion: camel.apache.org/v1
-kind: Kamelet
-metadata:
- name: json-patch-action
- annotations:
- camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.23.0-SNAPSHOT"
- camel.apache.org/kamelet.icon:
"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG
[...]
- camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/kamelet.group: "Actions"
- camel.apache.org/kamelet.namespace: "Transformation"
- labels:
- camel.apache.org/kamelet.type: "action"
-spec:
- definition:
- title: "Json Patch Action"
- description: Apply a Json Patch Transformation.
- required:
- - template
- type: object
- properties:
- template:
- title: Template
- description: The json patch transformation
- type: string
- example: "file:////template.json"
- pattern: "^(http|https|file|classpath|ref|bean)://.*"
- dependencies:
- - "camel:json-patch"
- - "camel:kamelet"
- template:
- from:
- uri: kamelet:source
- steps:
- - to:
- uri: "json-patch:?resourceUri={{template}}"
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/splunk-sink.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/splunk-sink.kamelet.yaml
deleted file mode 100644
index cb0390c23..000000000
---
a/library/camel-kamelets/src/main/resources/kamelets/splunk-sink.kamelet.yaml
+++ /dev/null
@@ -1,120 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ---------------------------------------------------------------------------
-apiVersion: camel.apache.org/v1
-kind: Kamelet
-metadata:
- name: splunk-sink
- annotations:
- camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.23.0-SNAPSHOT"
- camel.apache.org/kamelet.icon:
"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+U3BsdW5rIGljb248L3RpdGxlPjxwYXRoIGQ9Ik0yMy4zNDggMTEuOTExbC0yLjI0MS0xLjA5MXYtLjY1TDI0IDExLjYyMXYuNTkzbC0yLjg5MyAxLjQzOHYtLjYzNnptLTUuMzk3IDEuODQxaC0uOTYxdi01LjMxaC45NjF2My4xMTZoLjEwMmwxLjI4LTEuNDgxLjcyMy4zMS0xLjIzIDEuMzE2IDEuNDUzIDEuODA5LS44ODguMzExLTEuNDQtMS45OTZ6bS0yLjU3Ny0uMDAydi0yLjA2OG
[...]
- camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/kamelet.group: "SPLUNK"
- camel.apache.org/kamelet.namespace: "Monitoring"
- labels:
- camel.apache.org/kamelet.type: "sink"
-spec:
- definition:
- title: "Splunk Sink"
- description: Send data to Splunk either by using "submit" or "stream" mode.
-
- required:
- - serverHostname
- - username
- - password
- type: object
- properties:
- serverHostname:
- title: Splunk Server Address
- description: The address of your Splunk server.
- type: string
- example: my_server_splunk.com
- serverPort:
- title: Splunk Server Port
- description: The address of your Splunk server.
- type: integer
- default: 8089
- username:
- title: Username
- description: The username to authenticate to Splunk Server.
- type: string
- password:
- title: Password
- description: The password to authenticate to Splunk Server.
- type: string
- format: password
- x-descriptors:
- - urn:camel:group:credentials
- index:
- title: Index
- description: Splunk index to write to.
- type: string
- protocol:
- title: Protocol
- description: Connection Protocol to Splunk server.
- type: string
- default: https
- enum: ["http", "https"]
- source:
- title: Source
- description: The source named field of the data.
- type: string
- sourceType:
- title: Source Type
- description: The source named field of the data.
- type: string
- app:
- title: Splunk App
- description: The app name in Splunk.
- type: string
- connectionTimeout:
- title: Connection Timeout
- description: Timeout in milliseconds when connecting to Splunk server
- type: integer
- default: 5000
- mode:
- title: Mode
- description: The mode to publish events to Splunk.
- type: string
- default: stream
- enum: ["submit", "stream"]
- types:
- in:
- mediaType: application/json
- dependencies:
- - "camel:core"
- - "camel:splunk"
- - "camel:kamelet"
- template:
- from:
- uri: kamelet:source
- steps:
- - to:
- uri: splunk
- parameters:
- name: "{{mode}}"
- app: "{{?app}}"
- connectionTimeout: "{{?connectionTimeout}}"
- host: "{{serverHostname}}"
- index: "{{?index}}"
- password: "RAW({{password}})"
- port: "{{serverPort}}"
- raw: true
- scheme: "{{?protocol}}"
- source: "{{?source}}"
- sourceType: "{{?sourceType}}"
- username: "RAW({{username}})"
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/splunk-source.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/splunk-source.kamelet.yaml
deleted file mode 100644
index 4efba0ead..000000000
---
a/library/camel-kamelets/src/main/resources/kamelets/splunk-source.kamelet.yaml
+++ /dev/null
@@ -1,158 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ---------------------------------------------------------------------------
-apiVersion: camel.apache.org/v1
-kind: Kamelet
-metadata:
- name: splunk-source
- annotations:
- camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.23.0-SNAPSHOT"
- camel.apache.org/kamelet.icon:
"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+U3BsdW5rIGljb248L3RpdGxlPjxwYXRoIGQ9Ik0yMy4zNDggMTEuOTExbC0yLjI0MS0xLjA5MXYtLjY1TDI0IDExLjYyMXYuNTkzbC0yLjg5MyAxLjQzOHYtLjYzNnptLTUuMzk3IDEuODQxaC0uOTYxdi01LjMxaC45NjF2My4xMTZoLjEwMmwxLjI4LTEuNDgxLjcyMy4zMS0xLjIzIDEuMzE2IDEuNDUzIDEuODA5LS44ODguMzExLTEuNDQtMS45OTZ6bS0yLjU3Ny0uMDAydi0yLjA2OG
[...]
- camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/kamelet.group: "SPLUNK"
- camel.apache.org/kamelet.namespace: "Monitoring"
- labels:
- camel.apache.org/kamelet.type: "source"
-spec:
- definition:
- title: "Splunk Source"
- description: Retrieve data from Splunk and outputs in json format.
-
- required:
- - serverHostname
- - username
- - password
- - query
- - initEarliestTime
- type: object
- properties:
- serverHostname:
- title: Splunk Server Address
- description: The address of your Splunk server.
- type: string
- example: my_server_splunk.com
- serverPort:
- title: Splunk Server Port
- description: The address of your Splunk server.
- type: integer
- default: 8089
- username:
- title: Username
- description: The username to authenticate to Splunk Server.
- type: string
- password:
- title: Password
- description: The password to authenticate to Splunk Server.
- type: string
- format: password
- x-descriptors:
- - urn:camel:group:credentials
- index:
- title: Index
- description: Splunk index to write to.
- type: string
- protocol:
- title: Protocol
- description: Connection Protocol to Splunk server.
- type: string
- default: https
- enum: ["http", "https"]
- source:
- title: Source
- description: The source named field of the data.
- type: string
- sourceType:
- title: Source Type
- description: The source named field of the data.
- type: string
- app:
- title: Splunk App
- description: The app name in Splunk.
- type: string
- connectionTimeout:
- title: Connection Timeout
- description: Timeout in milliseconds when connecting to Splunk server
- type: integer
- count:
- title: Count
- description: The maximum number of entities to return.
- type: integer
- repeat:
- title: Repeat
- description: The maximum number of fires.
- type: integer
- delay:
- title: Delay
- description: The number of milliseconds before the next poll.
- type: integer
- query:
- title: Query
- description: The Splunk query to run.
- type: string
- earliestTime:
- title: Earliest Time
- description: Earliest time of the search time window.
- type: string
- example: "05/17/22 08:35:46:456"
- initEarliestTime:
- title: Init Earliest Time
- description: Initial start offset of the first search.
- type: string
- example: "05/17/22 08:35:46:456"
- latestTime:
- title: Latest Time
- description: Latest time of the search time window.
- type: string
- example: "05/17/22 08:35:46:456"
- types:
- out:
- mediaType: application/json
- dependencies:
- - "camel:jackson"
- - "camel:core"
- - "camel:splunk"
- - "camel:kamelet"
- - "mvn:com.fasterxml.jackson.datatype:jackson-datatype-joda:2.12.5"
- template:
- from:
- uri: splunk
- parameters:
- name: normal
- app: "{{?app}}"
- connectionTimeout: "{{?connectionTimeout}}"
- count: "{{?count}}"
- delay: "{{?delay}}"
- earliestTime: "{{?earliestTime}}"
- host: "{{serverHostname}}"
- index: "{{?index}}"
- initEarliestTime: "{{initEarliestTime}}"
- latestTime: "{{?latestTime}}"
- password: "RAW({{password}})"
- port: "{{serverPort}}"
- raw: true
- repeatCount: "{{?repeat}}"
- scheme: "{{?protocol}}"
- search: "{{?query}}"
- source: "{{?source}}"
- sourceType: "{{?sourceType}}"
- username: "RAW({{username}})"
- steps:
- - marshal:
- json:
- moduleClassNames: com.fasterxml.jackson.datatype.joda.JodaModule
- - to:
- uri: kamelet:sink
diff --git a/templates/pipes/camel-k/json-patch-action-pipe.yaml
b/templates/pipes/camel-k/json-patch-action-pipe.yaml
deleted file mode 100644
index c771c3901..000000000
--- a/templates/pipes/camel-k/json-patch-action-pipe.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-apiVersion: camel.apache.org/v1
-kind: Pipe
-metadata:
- name: json-patch-action-pipe
-spec:
- source:
- ref:
- kind: Kamelet
- apiVersion: camel.apache.org/v1
- name: timer-source
- properties:
- message: "Hello"
- steps:
- - ref:
- kind: Kamelet
- apiVersion: camel.apache.org/v1
- name: json-patch-action
- properties:
- template: "The Template"
- sink:
- ref:
- kind: KafkaTopic
- apiVersion: kafka.strimzi.io/v1beta1
- name: my-topic
diff --git a/templates/pipes/camel-k/splunk-sink-pipe.yaml
b/templates/pipes/camel-k/splunk-sink-pipe.yaml
deleted file mode 100644
index dd5d147c1..000000000
--- a/templates/pipes/camel-k/splunk-sink-pipe.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: camel.apache.org/v1
-kind: Pipe
-metadata:
- name: splunk-sink-pipe
-spec:
- source:
- ref:
- kind: KafkaTopic
- apiVersion: kafka.strimzi.io/v1beta1
- name: my-topic
- sink:
- ref:
- kind: Kamelet
- apiVersion: camel.apache.org/v1
- name: splunk-sink
- properties:
- serverHostname: "<splunk server>"
- username: "admin"
- sourceType: grok
- password: "<password>"
diff --git a/templates/pipes/camel-k/splunk-source-pipe.yaml
b/templates/pipes/camel-k/splunk-source-pipe.yaml
deleted file mode 100644
index 7ef6d77f1..000000000
--- a/templates/pipes/camel-k/splunk-source-pipe.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-apiVersion: camel.apache.org/v1
-kind: Pipe
-metadata:
- name: splunk-source-pipe
-spec:
- source:
- ref:
- kind: Kamelet
- apiVersion: camel.apache.org/v1
- name: splunk-source
- properties:
- serverHostname: "splunk address"
- username: "admin"
- password: "password"
- query: "search Code=D | head 5"
- initEarliestTime: "08/17/13 08:35:46:456"
- sink:
- ref:
- kind: Kamelet
- apiVersion: camel.apache.org/v1
- name: log-sink
diff --git a/templates/pipes/core/json-patch-action-pipe.yaml
b/templates/pipes/core/json-patch-action-pipe.yaml
deleted file mode 100644
index b6654a450..000000000
--- a/templates/pipes/core/json-patch-action-pipe.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-- route:
- from:
- uri: "kamelet:timer-source"
- parameters:
- period: 1000
- message: "{ \"foo\": \"John\"}"
- steps:
- - to:
- uri: "kamelet:json-patch-action"
- parameters:
- template: "The Template"
- - to:
- uri: "log:info"
diff --git a/templates/pipes/core/splunk-sink-pipe.yaml
b/templates/pipes/core/splunk-sink-pipe.yaml
deleted file mode 100644
index 5a799f8ec..000000000
--- a/templates/pipes/core/splunk-sink-pipe.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-- route:
- from:
- uri: "kamelet:timer-source"
- parameters:
- period: 1000
- message: '{"event": "hello splunk from camel k"}'
- steps:
- - to:
- uri: "kamelet:splunk-sink"
- parameters:
- serverHostname: "<splunk server>"
- username: "admin"
- password: "<password>"
diff --git a/templates/pipes/core/splunk-source-pipe.yaml
b/templates/pipes/core/splunk-source-pipe.yaml
deleted file mode 100644
index 0a16ee13a..000000000
--- a/templates/pipes/core/splunk-source-pipe.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-- route:
- from:
- uri: "kamelet:splunk-source"
- parameters:
- serverHostname: "<splunk address>"
- username: "admin"
- password: "password"
- query: "query"
- initEarliestTime: "08/17/13 08:35:46:456"
- steps:
- - to:
- uri: "kamelet:log-sink"