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-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new e42772bc5ce Regen
e42772bc5ce is described below
commit e42772bc5ce22b8c7f073a4b9bc3f5e04f4e908d
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 21 10:17:47 2025 +0100
Regen
---
.../springboot/catalog/components/qdrant.json | 36 +++++++-------
.../camel-qdrant-starter/src/main/docs/qdrant.json | 4 +-
.../springboot/QdrantComponentConfiguration.java | 57 +++++++++++-----------
.../springboot/QdrantComponentConverter.java | 4 +-
4 files changed, 50 insertions(+), 51 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/qdrant.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/qdrant.json
index 4276b11be49..2eff45afe65 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/qdrant.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/qdrant.json
@@ -24,16 +24,16 @@
"remote": true
},
"componentProperties": {
- "apiKey": { "index": 0, "kind": "property", "displayName": "Api Key",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Sets the API key to use for authentication" },
- "configuration": { "index": 1, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "org.apache.camel.component.qdrant.QdrantConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
configuration;" },
- "host": { "index": 2, "kind": "property", "displayName": "Host", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "localhost", "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "The host to connect to." },
- "lazyStartProducer": { "index": 3, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "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 otherwise fail [...]
- "maxResults": { "index": 4, "kind": "property", "displayName": "Max
Results", "group": "producer", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 3, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Max results for similarity search" },
- "port": { "index": 5, "kind": "property", "displayName": "Port", "group":
"producer", "label": "", "required": false, "type": "integer", "javaType":
"int", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "defaultValue": 6334, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "The port to connect to." },
- "timeout": { "index": 6, "kind": "property", "displayName": "Timeout",
"group": "producer", "label": "", "required": false, "type": "duration",
"javaType": "java.time.Duration", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Sets a default timeout for all requests" },
- "tls": { "index": 7, "kind": "property", "displayName": "Tls", "group":
"producer", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Whether the client uses Transport Layer
Security (TLS) to secure communications" },
- "autowiredEnabled": { "index": 8, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
- "filter": { "index": 9, "kind": "property", "displayName": "Filter",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.qdrant.client.grpc.Points.Filter", "deprecated": false,
"deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.qdrant.QdrantConfiguration",
"configurationField": "configuration", "description": "Filter of type
io.qdrant.client.grpc.Points.Points.Filter for similarity se [...]
+ "configuration": { "index": 0, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "org.apache.camel.component.qdrant.QdrantConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
configuration;" },
+ "host": { "index": 1, "kind": "property", "displayName": "Host", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "localhost", "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "The host to connect to." },
+ "lazyStartProducer": { "index": 2, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "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 otherwise fail [...]
+ "maxResults": { "index": 3, "kind": "property", "displayName": "Max
Results", "group": "producer", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 3, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Max results for similarity search" },
+ "port": { "index": 4, "kind": "property", "displayName": "Port", "group":
"producer", "label": "", "required": false, "type": "integer", "javaType":
"int", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "defaultValue": 6334, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "The port to connect to." },
+ "timeout": { "index": 5, "kind": "property", "displayName": "Timeout",
"group": "producer", "label": "", "required": false, "type": "duration",
"javaType": "java.time.Duration", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Sets a default timeout for all requests" },
+ "autowiredEnabled": { "index": 6, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
+ "filter": { "index": 7, "kind": "property", "displayName": "Filter",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.qdrant.client.grpc.Common.Filter", "deprecated": false,
"deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.qdrant.QdrantConfiguration",
"configurationField": "configuration", "description": "Filter for similarity
search." },
+ "apiKey": { "index": 8, "kind": "property", "displayName": "Api Key",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Sets the API key to use for authentication" },
+ "tls": { "index": 9, "kind": "property", "displayName": "Tls", "group":
"security", "label": "security", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Whether the client uses Transport Layer
Security (TLS) to secure communications" }
},
"headers": {
"CamelQdrantAction": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String",
"enum": [ "CREATE_COLLECTION", "DELETE_COLLECTION", "UPSERT", "RETRIEVE",
"DELETE", "COLLECTION_INFO", "SIMILARITY_SEARCH" ], "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "The
action to be performed.", "constantName":
"org.apache.camel.component.qdrant.Qdrant$Headers#ACTION" },
@@ -49,13 +49,13 @@
},
"properties": {
"collection": { "index": 0, "kind": "path", "displayName": "Collection",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The collection Name" },
- "apiKey": { "index": 1, "kind": "parameter", "displayName": "Api Key",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Sets the API key to use for authentication" },
- "host": { "index": 2, "kind": "parameter", "displayName": "Host", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "localhost", "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "The host to connect to." },
- "maxResults": { "index": 3, "kind": "parameter", "displayName": "Max
Results", "group": "producer", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 3, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Max results for similarity search" },
- "port": { "index": 4, "kind": "parameter", "displayName": "Port", "group":
"producer", "label": "", "required": false, "type": "integer", "javaType":
"int", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "defaultValue": 6334, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "The port to connect to." },
- "timeout": { "index": 5, "kind": "parameter", "displayName": "Timeout",
"group": "producer", "label": "", "required": false, "type": "duration",
"javaType": "java.time.Duration", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Sets a default timeout for all requests" },
- "tls": { "index": 6, "kind": "parameter", "displayName": "Tls", "group":
"producer", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Whether the client uses Transport Layer
Security (TLS) to secure communications" },
- "lazyStartProducer": { "index": 7, "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 produc [...]
- "filter": { "index": 8, "kind": "parameter", "displayName": "Filter",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.qdrant.client.grpc.Points.Filter", "deprecated": false,
"deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.qdrant.QdrantConfiguration",
"configurationField": "configuration", "description": "Filter of type
io.qdrant.client.grpc.Points.Points.Filter for similarity s [...]
+ "host": { "index": 1, "kind": "parameter", "displayName": "Host", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "localhost", "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "The host to connect to." },
+ "maxResults": { "index": 2, "kind": "parameter", "displayName": "Max
Results", "group": "producer", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 3, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Max results for similarity search" },
+ "port": { "index": 3, "kind": "parameter", "displayName": "Port", "group":
"producer", "label": "", "required": false, "type": "integer", "javaType":
"int", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "defaultValue": 6334, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "The port to connect to." },
+ "timeout": { "index": 4, "kind": "parameter", "displayName": "Timeout",
"group": "producer", "label": "", "required": false, "type": "duration",
"javaType": "java.time.Duration", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Sets a default timeout for all requests" },
+ "lazyStartProducer": { "index": 5, "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 produc [...]
+ "filter": { "index": 6, "kind": "parameter", "displayName": "Filter",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "io.qdrant.client.grpc.Common.Filter", "deprecated": false,
"deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.qdrant.QdrantConfiguration",
"configurationField": "configuration", "description": "Filter for similarity
search." },
+ "apiKey": { "index": 7, "kind": "parameter", "displayName": "Api Key",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Sets the API key to use for authentication" },
+ "tls": { "index": 8, "kind": "parameter", "displayName": "Tls", "group":
"security", "label": "security", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.qdrant.QdrantConfiguration", "configurationField":
"configuration", "description": "Whether the client uses Transport Layer
Security (TLS) to secure communications" }
}
}
diff --git a/components-starter/camel-qdrant-starter/src/main/docs/qdrant.json
b/components-starter/camel-qdrant-starter/src/main/docs/qdrant.json
index 837334f2fb6..e2e65ca8644 100644
--- a/components-starter/camel-qdrant-starter/src/main/docs/qdrant.json
+++ b/components-starter/camel-qdrant-starter/src/main/docs/qdrant.json
@@ -45,8 +45,8 @@
},
{
"name": "camel.component.qdrant.filter",
- "type": "io.qdrant.client.grpc.Points$Filter",
- "description": "Filter of type
io.qdrant.client.grpc.Points.Points.Filter for similarity search. This is for
advanced usage. The option is a io.qdrant.client.grpc.Points.Filter type.",
+ "type": "io.qdrant.client.grpc.Common$Filter",
+ "description": "Filter for similarity search. The option is a
io.qdrant.client.grpc.Common.Filter type.",
"sourceType":
"org.apache.camel.component.qdrant.springboot.QdrantComponentConfiguration"
},
{
diff --git
a/components-starter/camel-qdrant-starter/src/main/java/org/apache/camel/component/qdrant/springboot/QdrantComponentConfiguration.java
b/components-starter/camel-qdrant-starter/src/main/java/org/apache/camel/component/qdrant/springboot/QdrantComponentConfiguration.java
index a78f0cb15a7..7de41854a81 100644
---
a/components-starter/camel-qdrant-starter/src/main/java/org/apache/camel/component/qdrant/springboot/QdrantComponentConfiguration.java
+++
b/components-starter/camel-qdrant-starter/src/main/java/org/apache/camel/component/qdrant/springboot/QdrantComponentConfiguration.java
@@ -17,7 +17,7 @@
package org.apache.camel.component.qdrant.springboot;
import java.time.Duration;
-import io.qdrant.client.grpc.Points.Filter;
+import io.qdrant.client.grpc.Common.Filter;
import org.apache.camel.component.qdrant.QdrantConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -37,10 +37,6 @@ public class QdrantComponentConfiguration
* enabled by default.
*/
private Boolean enabled;
- /**
- * Sets the API key to use for authentication
- */
- private String apiKey;
/**
* The configuration;. The option is a
* org.apache.camel.component.qdrant.QdrantConfiguration type.
@@ -73,11 +69,6 @@ public class QdrantComponentConfiguration
* Sets a default timeout for all requests
*/
private Duration timeout;
- /**
- * Whether the client uses Transport Layer Security (TLS) to secure
- * communications
- */
- private Boolean tls = false;
/**
* Whether autowiring is enabled. This is used for automatic autowiring
* options (the option must be marked as autowired) by looking up in the
@@ -88,19 +79,19 @@ public class QdrantComponentConfiguration
*/
private Boolean autowiredEnabled = true;
/**
- * Filter of type io.qdrant.client.grpc.Points.Points.Filter for similarity
- * search. This is for advanced usage. The option is a
- * io.qdrant.client.grpc.Points.Filter type.
+ * Filter for similarity search. The option is a
+ * io.qdrant.client.grpc.Common.Filter type.
*/
private Filter filter;
-
- public String getApiKey() {
- return apiKey;
- }
-
- public void setApiKey(String apiKey) {
- this.apiKey = apiKey;
- }
+ /**
+ * Sets the API key to use for authentication
+ */
+ private String apiKey;
+ /**
+ * Whether the client uses Transport Layer Security (TLS) to secure
+ * communications
+ */
+ private Boolean tls = false;
public QdrantConfiguration getConfiguration() {
return configuration;
@@ -150,14 +141,6 @@ public class QdrantComponentConfiguration
this.timeout = timeout;
}
- public Boolean getTls() {
- return tls;
- }
-
- public void setTls(Boolean tls) {
- this.tls = tls;
- }
-
public Boolean getAutowiredEnabled() {
return autowiredEnabled;
}
@@ -173,4 +156,20 @@ public class QdrantComponentConfiguration
public void setFilter(Filter filter) {
this.filter = filter;
}
+
+ public String getApiKey() {
+ return apiKey;
+ }
+
+ public void setApiKey(String apiKey) {
+ this.apiKey = apiKey;
+ }
+
+ public Boolean getTls() {
+ return tls;
+ }
+
+ public void setTls(Boolean tls) {
+ this.tls = tls;
+ }
}
\ No newline at end of file
diff --git
a/components-starter/camel-qdrant-starter/src/main/java/org/apache/camel/component/qdrant/springboot/QdrantComponentConverter.java
b/components-starter/camel-qdrant-starter/src/main/java/org/apache/camel/component/qdrant/springboot/QdrantComponentConverter.java
index 83926eabc4f..0d5209a610d 100644
---
a/components-starter/camel-qdrant-starter/src/main/java/org/apache/camel/component/qdrant/springboot/QdrantComponentConverter.java
+++
b/components-starter/camel-qdrant-starter/src/main/java/org/apache/camel/component/qdrant/springboot/QdrantComponentConverter.java
@@ -40,7 +40,7 @@ public class QdrantComponentConverter implements
GenericConverter {
public Set<ConvertiblePair> getConvertibleTypes() {
Set<ConvertiblePair> answer = new LinkedHashSet<>();
answer.add(new ConvertiblePair(String.class,
org.apache.camel.component.qdrant.QdrantConfiguration.class));
- answer.add(new ConvertiblePair(String.class,
io.qdrant.client.grpc.Points.Filter.class));
+ answer.add(new ConvertiblePair(String.class,
io.qdrant.client.grpc.Common.Filter.class));
return answer;
}
@@ -58,7 +58,7 @@ public class QdrantComponentConverter implements
GenericConverter {
ref = ref.startsWith("#bean:") ? ref.substring(6) : ref.substring(1);
switch (targetType.getName()) {
case "org.apache.camel.component.qdrant.QdrantConfiguration":
return applicationContext.getBean(ref,
org.apache.camel.component.qdrant.QdrantConfiguration.class);
- case "io.qdrant.client.grpc.Points.Filter": return
applicationContext.getBean(ref, io.qdrant.client.grpc.Points.Filter.class);
+ case "io.qdrant.client.grpc.Common.Filter": return
applicationContext.getBean(ref, io.qdrant.client.grpc.Common.Filter.class);
}
return null;
}