You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2025/04/04 13:06:08 UTC

(camel-kamelets) branch main updated (906407b71 -> e35df74a5)

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

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


    from 906407b71 Add the output of the maven build metadata plugin to the gitignore file (#2437)
     new a3dc315bc Re-introduce Solr Kamelets - Solr Source
     new d799efa1e Re-introduce Solr Kamelets - Solr Source
     new 6fa34c222 Re-introduce Solr Kamelets - Solr Source
     new 8c57b2ce0 Re-introduce Solr Kamelets - Solr Sink
     new e6b43998a Re-introduce Solr Kamelets - Solr Sink
     new e35df74a5 Re-introduce Solr Kamelets - Solr Sink

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/modules/ROOT/nav.adoc                         |   2 +
 kamelets/solr-sink.kamelet.yaml                    |  94 +++++++++++++++++++
 kamelets/solr-source.kamelet.yaml                  | 103 +++++++++++++++++++++
 .../main/resources/kamelets/solr-sink.kamelet.yaml |  94 +++++++++++++++++++
 .../resources/kamelets/solr-source.kamelet.yaml    | 103 +++++++++++++++++++++
 5 files changed, 396 insertions(+)
 create mode 100644 kamelets/solr-sink.kamelet.yaml
 create mode 100644 kamelets/solr-source.kamelet.yaml
 create mode 100644 library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
 create mode 100644 library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml


(camel-kamelets) 02/06: Re-introduce Solr Kamelets - Solr Source

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit d799efa1e25a1266cf6b3abe1939cb74bac5dca9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Apr 4 12:05:21 2025 +0200

    Re-introduce Solr Kamelets - Solr Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../resources/kamelets/solr-source.kamelet.yaml    | 103 +++++++++++++++++++++
 1 file changed, 103 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml
new file mode 100644
index 000000000..6159c60f2
--- /dev/null
+++ b/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml
@@ -0,0 +1,103 @@
+# ---------------------------------------------------------------------------
+# 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: solr-source
+  annotations:
+    camel.apache.org/kamelet.support.level: "Stable"
+    camel.apache.org/catalog.version: "4.11.0-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iODAwIiB3aWR0aD0iMTIwMCIgdmlld0JveD0iLTQwLjYwMDk1IC0zNC4yMTc3NSAzNTEuODc0OSAyMDUuMzA2NSI+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIiBjbGlwUGF0aFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTAyLjY1NGgyMDMuMDA1VjBIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVybCgjYSkiIHRyYW5zZm9ybT0ibWF0cml4KDEuMzMzMzMgMCAwIC0xLjMzMzMzIDAgMTM2Ljg3MSkiPjxwYXRoIGQ9Ik00MC43NiAzMS43NjNjLTIuMz [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "Solr"
+    camel.apache.org/kamelet.namespace: "Search"
+  labels:
+    camel.apache.org/kamelet.type: "source"
+spec:
+  definition:
+    title: "Solr Source"
+    description: |-
+      Query for documents to Solr Collection.
+    required:
+      - period
+      - servers
+      - collection
+      - query
+    type: object
+    properties:
+      period:
+        title: Period between Polls
+        description: The interval between fetches to the Solr collection
+        type: integer
+        default: 10000
+      collection:
+        title: Collection
+        description: Solr Collection name
+        type: string
+      servers:
+        title: Servers
+        description: Comma separated list of Solr Servers and ports
+        type: string
+      query:
+        title: Query
+        description: The query to submit to Solr
+        type: string
+      username:
+        title: Username
+        description: Username to connect to Solr.
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+      password:
+        title: Password
+        description: Password to connect to Solr.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
+  types:
+    in:
+      mediaType: application/json
+  dependencies:
+  - "camel:solr"
+  - "camel:core"
+  - "camel:timer"
+  - "camel:jackson"
+  - "camel:kamelet"
+  template:
+    from:
+      uri: "timer:solr-stream"
+      parameters:
+        period: "{{period}}"
+      steps:
+      - setHeader:
+          name: "SolrOperation"
+          constant: "QUERY"
+      - setHeader:
+          name: "CamelSolrQueryString"
+          constant: "{{query}}"
+      - setHeader:
+          name: "CamelSolrCollection"
+          constant: "{{collection}}"
+      - removeHeader:
+          name: "content-type"
+      - to:
+          uri: "solr:{{servers}}/solr/"
+          parameters:
+            username: "{{?username}}"
+            password: "{{?password}}"
+      - to: "kamelet:sink"


(camel-kamelets) 01/06: Re-introduce Solr Kamelets - Solr Source

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit a3dc315bcc6430f8fb0011ffe0baa71d2bc60682
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Apr 4 12:02:12 2025 +0200

    Re-introduce Solr Kamelets - Solr Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 docs/modules/ROOT/nav.adoc        |   1 +
 kamelets/solr-source.kamelet.yaml | 103 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 5bf37dba8..45041ec39 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -221,6 +221,7 @@
 * xref:slack-source.adoc[]
 * xref:snowflake-sink.adoc[]
 * xref:snowflake-source.adoc[]
+* xref:solr-source.adoc[]
 * xref:splunk-hec-sink.adoc[]
 * xref:splunk-sink.adoc[]
 * xref:splunk-source.adoc[]
diff --git a/kamelets/solr-source.kamelet.yaml b/kamelets/solr-source.kamelet.yaml
new file mode 100644
index 000000000..6159c60f2
--- /dev/null
+++ b/kamelets/solr-source.kamelet.yaml
@@ -0,0 +1,103 @@
+# ---------------------------------------------------------------------------
+# 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: solr-source
+  annotations:
+    camel.apache.org/kamelet.support.level: "Stable"
+    camel.apache.org/catalog.version: "4.11.0-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iODAwIiB3aWR0aD0iMTIwMCIgdmlld0JveD0iLTQwLjYwMDk1IC0zNC4yMTc3NSAzNTEuODc0OSAyMDUuMzA2NSI+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIiBjbGlwUGF0aFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTAyLjY1NGgyMDMuMDA1VjBIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVybCgjYSkiIHRyYW5zZm9ybT0ibWF0cml4KDEuMzMzMzMgMCAwIC0xLjMzMzMzIDAgMTM2Ljg3MSkiPjxwYXRoIGQ9Ik00MC43NiAzMS43NjNjLTIuMz [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "Solr"
+    camel.apache.org/kamelet.namespace: "Search"
+  labels:
+    camel.apache.org/kamelet.type: "source"
+spec:
+  definition:
+    title: "Solr Source"
+    description: |-
+      Query for documents to Solr Collection.
+    required:
+      - period
+      - servers
+      - collection
+      - query
+    type: object
+    properties:
+      period:
+        title: Period between Polls
+        description: The interval between fetches to the Solr collection
+        type: integer
+        default: 10000
+      collection:
+        title: Collection
+        description: Solr Collection name
+        type: string
+      servers:
+        title: Servers
+        description: Comma separated list of Solr Servers and ports
+        type: string
+      query:
+        title: Query
+        description: The query to submit to Solr
+        type: string
+      username:
+        title: Username
+        description: Username to connect to Solr.
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+      password:
+        title: Password
+        description: Password to connect to Solr.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
+  types:
+    in:
+      mediaType: application/json
+  dependencies:
+  - "camel:solr"
+  - "camel:core"
+  - "camel:timer"
+  - "camel:jackson"
+  - "camel:kamelet"
+  template:
+    from:
+      uri: "timer:solr-stream"
+      parameters:
+        period: "{{period}}"
+      steps:
+      - setHeader:
+          name: "SolrOperation"
+          constant: "QUERY"
+      - setHeader:
+          name: "CamelSolrQueryString"
+          constant: "{{query}}"
+      - setHeader:
+          name: "CamelSolrCollection"
+          constant: "{{collection}}"
+      - removeHeader:
+          name: "content-type"
+      - to:
+          uri: "solr:{{servers}}/solr/"
+          parameters:
+            username: "{{?username}}"
+            password: "{{?password}}"
+      - to: "kamelet:sink"


(camel-kamelets) 04/06: Re-introduce Solr Kamelets - Solr Sink

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 8c57b2ce0cd26c1c5932b5ac1db0bb043b7f7db5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Apr 4 14:47:30 2025 +0200

    Re-introduce Solr Kamelets - Solr Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/solr-sink.kamelet.yaml                    | 96 ++++++++++++++++++++++
 .../main/resources/kamelets/solr-sink.kamelet.yaml | 96 ++++++++++++++++++++++
 2 files changed, 192 insertions(+)

diff --git a/kamelets/solr-sink.kamelet.yaml b/kamelets/solr-sink.kamelet.yaml
new file mode 100644
index 000000000..1f3c57f89
--- /dev/null
+++ b/kamelets/solr-sink.kamelet.yaml
@@ -0,0 +1,96 @@
+# ---------------------------------------------------------------------------
+# 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/v1alpha1
+kind: Kamelet
+metadata:
+  name: solr-sink
+  annotations:
+    camel.apache.org/kamelet.support.level: "Stable"
+    camel.apache.org/catalog.version: "4.11.0-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iODAwIiB3aWR0aD0iMTIwMCIgdmlld0JveD0iLTQwLjYwMDk1IC0zNC4yMTc3NSAzNTEuODc0OSAyMDUuMzA2NSI+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIiBjbGlwUGF0aFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTAyLjY1NGgyMDMuMDA1VjBIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVybCgjYSkiIHRyYW5zZm9ybT0ibWF0cml4KDEuMzMzMzMgMCAwIC0xLjMzMzMzIDAgMTM2Ljg3MSkiPjxwYXRoIGQ9Ik00MC43NiAzMS43NjNjLTIuMz [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "Solr"
+    camel.apache.org/kamelet.namespace: "Search"
+  labels:
+    camel.apache.org/kamelet.type: "sink"
+spec:
+  definition:
+    title: "Solr Sink"
+    description: |-
+      Send documents to Solr Collection.
+    required:
+      - servers
+      - collection
+    type: object
+    properties:
+      collection:
+        title: Collection
+        description: Solr Collection name
+        type: string
+      servers:
+        title: Servers
+        description: Comma separated list of Solr Servers and ports
+        type: string
+      autocommit:
+        title: Autocommit 
+        description: If autocommit should be enabled or not
+        type: boolean
+        default: false
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+      username:
+        title: Username
+        description: Username to connect to Solr.
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+      password:
+        title: Password
+        description: Password to connect to Solr.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
+  types:
+    in:
+      mediaType: application/json
+  dependencies:
+  - "camel:solr"
+  - "camel:core"
+  - "camel:jackson"
+  - "camel:kamelet"
+  template:
+    from:
+      uri: "kamelet:source"
+      steps:
+      - setHeader:
+          name: "CamelSolrOperation"
+          constant: "INSERT"
+      - setHeader:
+          name: "CamelSolrCollection"
+          constant: "{{collection}}"
+      - unmarshal:
+          json:
+            library: Jackson
+      - removeHeader:
+          name: "content-type"
+      - to:
+          uri: "solr:{{servers}}/solr/"
+          parameters:
+            autocommit: "{{autocommit}}"
+            username: "{{?username}}"
+            password: "{{?password}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
new file mode 100644
index 000000000..1f3c57f89
--- /dev/null
+++ b/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
@@ -0,0 +1,96 @@
+# ---------------------------------------------------------------------------
+# 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/v1alpha1
+kind: Kamelet
+metadata:
+  name: solr-sink
+  annotations:
+    camel.apache.org/kamelet.support.level: "Stable"
+    camel.apache.org/catalog.version: "4.11.0-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iODAwIiB3aWR0aD0iMTIwMCIgdmlld0JveD0iLTQwLjYwMDk1IC0zNC4yMTc3NSAzNTEuODc0OSAyMDUuMzA2NSI+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIiBjbGlwUGF0aFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTAyLjY1NGgyMDMuMDA1VjBIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVybCgjYSkiIHRyYW5zZm9ybT0ibWF0cml4KDEuMzMzMzMgMCAwIC0xLjMzMzMzIDAgMTM2Ljg3MSkiPjxwYXRoIGQ9Ik00MC43NiAzMS43NjNjLTIuMz [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "Solr"
+    camel.apache.org/kamelet.namespace: "Search"
+  labels:
+    camel.apache.org/kamelet.type: "sink"
+spec:
+  definition:
+    title: "Solr Sink"
+    description: |-
+      Send documents to Solr Collection.
+    required:
+      - servers
+      - collection
+    type: object
+    properties:
+      collection:
+        title: Collection
+        description: Solr Collection name
+        type: string
+      servers:
+        title: Servers
+        description: Comma separated list of Solr Servers and ports
+        type: string
+      autocommit:
+        title: Autocommit 
+        description: If autocommit should be enabled or not
+        type: boolean
+        default: false
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+      username:
+        title: Username
+        description: Username to connect to Solr.
+        type: string
+        x-descriptors:
+        - urn:camel:group:credentials
+      password:
+        title: Password
+        description: Password to connect to Solr.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
+  types:
+    in:
+      mediaType: application/json
+  dependencies:
+  - "camel:solr"
+  - "camel:core"
+  - "camel:jackson"
+  - "camel:kamelet"
+  template:
+    from:
+      uri: "kamelet:source"
+      steps:
+      - setHeader:
+          name: "CamelSolrOperation"
+          constant: "INSERT"
+      - setHeader:
+          name: "CamelSolrCollection"
+          constant: "{{collection}}"
+      - unmarshal:
+          json:
+            library: Jackson
+      - removeHeader:
+          name: "content-type"
+      - to:
+          uri: "solr:{{servers}}/solr/"
+          parameters:
+            autocommit: "{{autocommit}}"
+            username: "{{?username}}"
+            password: "{{?password}}"


(camel-kamelets) 06/06: Re-introduce Solr Kamelets - Solr Sink

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit e35df74a558927f09a5b0158d7cd3a941f69c4bf
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Apr 4 14:57:46 2025 +0200

    Re-introduce Solr Kamelets - Solr Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/solr-sink.kamelet.yaml                                         | 2 --
 .../camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml   | 2 --
 2 files changed, 4 deletions(-)

diff --git a/kamelets/solr-sink.kamelet.yaml b/kamelets/solr-sink.kamelet.yaml
index 1901ba0aa..fa49f617e 100644
--- a/kamelets/solr-sink.kamelet.yaml
+++ b/kamelets/solr-sink.kamelet.yaml
@@ -50,8 +50,6 @@ spec:
         description: If autocommit should be enabled or not
         type: boolean
         default: false
-        x-descriptors:
-        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
       username:
         title: Username
         description: Username to connect to Solr.
diff --git a/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
index 1901ba0aa..fa49f617e 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
@@ -50,8 +50,6 @@ spec:
         description: If autocommit should be enabled or not
         type: boolean
         default: false
-        x-descriptors:
-        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
       username:
         title: Username
         description: Username to connect to Solr.


(camel-kamelets) 05/06: Re-introduce Solr Kamelets - Solr Sink

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit e6b43998ae9b2c15ff4fb2f2b23547c1772b68fa
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Apr 4 14:54:58 2025 +0200

    Re-introduce Solr Kamelets - Solr Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 docs/modules/ROOT/nav.adoc                                              | 1 +
 kamelets/solr-sink.kamelet.yaml                                         | 2 +-
 .../camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml   | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 45041ec39..72d00bd1b 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -221,6 +221,7 @@
 * xref:slack-source.adoc[]
 * xref:snowflake-sink.adoc[]
 * xref:snowflake-source.adoc[]
+* xref:solr-sink.adoc[]
 * xref:solr-source.adoc[]
 * xref:splunk-hec-sink.adoc[]
 * xref:splunk-sink.adoc[]
diff --git a/kamelets/solr-sink.kamelet.yaml b/kamelets/solr-sink.kamelet.yaml
index 1f3c57f89..1901ba0aa 100644
--- a/kamelets/solr-sink.kamelet.yaml
+++ b/kamelets/solr-sink.kamelet.yaml
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 # ---------------------------------------------------------------------------
-apiVersion: camel.apache.org/v1alpha1
+apiVersion: camel.apache.org/v1
 kind: Kamelet
 metadata:
   name: solr-sink
diff --git a/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
index 1f3c57f89..1901ba0aa 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/solr-sink.kamelet.yaml
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 # ---------------------------------------------------------------------------
-apiVersion: camel.apache.org/v1alpha1
+apiVersion: camel.apache.org/v1
 kind: Kamelet
 metadata:
   name: solr-sink


(camel-kamelets) 03/06: Re-introduce Solr Kamelets - Solr Source

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 6fa34c22225235060513c8fd4e4bb5cfbbc8f66d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Apr 4 14:47:15 2025 +0200

    Re-introduce Solr Kamelets - Solr Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/solr-source.kamelet.yaml                                       | 2 +-
 .../camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelets/solr-source.kamelet.yaml b/kamelets/solr-source.kamelet.yaml
index 6159c60f2..88823d20c 100644
--- a/kamelets/solr-source.kamelet.yaml
+++ b/kamelets/solr-source.kamelet.yaml
@@ -85,7 +85,7 @@ spec:
         period: "{{period}}"
       steps:
       - setHeader:
-          name: "SolrOperation"
+          name: "CamelSolrOperation"
           constant: "QUERY"
       - setHeader:
           name: "CamelSolrQueryString"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml
index 6159c60f2..88823d20c 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/solr-source.kamelet.yaml
@@ -85,7 +85,7 @@ spec:
         period: "{{period}}"
       steps:
       - setHeader:
-          name: "SolrOperation"
+          name: "CamelSolrOperation"
           constant: "QUERY"
       - setHeader:
           name: "CamelSolrQueryString"