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 a7a2b7c6b4a Regen
a7a2b7c6b4a is described below
commit a7a2b7c6b4ad0e95e5663aa070942bd783d55fbc
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Oct 16 09:52:18 2025 +0200
Regen
---
.../springboot/catalog/components/pinecone.json | 54 +++++++++++-----------
.../src/main/docs/pinecone.json | 6 +++
.../PineconeVectorDbComponentConfiguration.java | 47 ++++++++++++-------
3 files changed, 64 insertions(+), 43 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pinecone.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pinecone.json
index ea3e346ad6f..fc004e6effb 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pinecone.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pinecone.json
@@ -24,22 +24,23 @@
"remote": true
},
"componentProperties": {
- "cloud": { "index": 0, "kind": "property", "displayName": "Cloud",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the cloud type to
use (aws\/gcp\/azure)" },
- "cloudRegion": { "index": 1, "kind": "property", "displayName": "Cloud
Region", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the cloud region" },
- "collectionDimension": { "index": 2, "kind": "property", "displayName":
"Collection Dimension", "group": "producer", "label": "producer", "required":
false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1536,
"configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the Collection
Dimension to use (1-1536)" },
- "collectionSimilarityMetric": { "index": 3, "kind": "property",
"displayName": "Collection Similarity Metric", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the Collection
Similarity Metric to use (cosine\/euclidea [...]
- "configuration": { "index": 4, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
configuration;" },
- "host": { "index": 5, "kind": "property", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets a custom host URL
to connect to" },
- "indexName": { "index": 6, "kind": "property", "displayName": "Index
Name", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the index name to
use" },
- "lazyStartProducer": { "index": 7, "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 [...]
- "proxyHost": { "index": 8, "kind": "property", "displayName": "Proxy
Host", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Set the proxy host" },
- "proxyPort": { "index": 9, "kind": "property", "displayName": "Proxy
Port", "group": "producer", "label": "producer", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Set the proxy port" },
- "tls": { "index": 10, "kind": "property", "displayName": "Tls", "group":
"producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Whether the client uses
Transport Layer Security (TLS) to secure communications" },
- "token": { "index": 11, "kind": "property", "displayName": "Token",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the API key to use
for authentication" },
- "autowiredEnabled": { "index": 12, "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 [...]
+ "action": { "index": 0, "kind": "property", "displayName": "Action",
"group": "producer", "label": "producer", "required": false, "type": "enum",
"javaType": "org.apache.camel.component.pinecone.PineconeVectorDbAction",
"enum": [ "CREATE_COLLECTION", "CREATE_SERVERLESS_INDEX", "CREATE_POD_INDEX",
"FETCH", "UPSERT", "DELETE_INDEX", "DELETE_COLLECTION", "QUERY", "QUERY_BY_ID",
"UPDATE", "DELETE_BY_ID" ], "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, " [...]
+ "cloud": { "index": 1, "kind": "property", "displayName": "Cloud",
"group": "producer", "label": "producer", "required": false, "type": "enum",
"javaType": "java.lang.String", "enum": [ "aws", "azure", "gcp" ],
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the cloud type to
use (aws\/gcp\/azure)" },
+ "cloudRegion": { "index": 2, "kind": "property", "displayName": "Cloud
Region", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the cloud region" },
+ "collectionDimension": { "index": 3, "kind": "property", "displayName":
"Collection Dimension", "group": "producer", "label": "producer", "required":
false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1536,
"configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the Collection
Dimension to use (1-1536)" },
+ "collectionSimilarityMetric": { "index": 4, "kind": "property",
"displayName": "Collection Similarity Metric", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the Collection
Similarity Metric to use (cosine\/euclidea [...]
+ "configuration": { "index": 5, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
configuration;" },
+ "host": { "index": 6, "kind": "property", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets a custom host URL
to connect to" },
+ "indexName": { "index": 7, "kind": "property", "displayName": "Index
Name", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the index name to
use" },
+ "lazyStartProducer": { "index": 8, "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 [...]
+ "proxyHost": { "index": 9, "kind": "property", "displayName": "Proxy
Host", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Set the proxy host" },
+ "proxyPort": { "index": 10, "kind": "property", "displayName": "Proxy
Port", "group": "producer", "label": "producer", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Set the proxy port" },
+ "autowiredEnabled": { "index": 11, "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 [...]
+ "tls": { "index": 12, "kind": "property", "displayName": "Tls", "group":
"security", "label": "security", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Whether the client uses
Transport Layer Security (TLS) to secure communications" },
+ "token": { "index": 13, "kind": "property", "displayName": "Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the API key to use
for authentication" }
},
"headers": {
- "CamelPineconeAction": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String",
"enum": [ "CREATE_COLLECTION", "CREATE_INDEX", "UPSERT", "INSERT", "SEARCH",
"DELETE", "UPDATE", "QUERY", "QUERY_BY_ID" ], "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description": "The
action to be performed.", "constantName":
"org.apache.camel.component.pinecone.PineconeVectorDbHeaders#ACTION" },
+ "CamelPineconeAction": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String",
"enum": [ "CREATE_COLLECTION", "CREATE_SERVERLESS_INDEX", "CREATE_POD_INDEX",
"FETCH", "UPSERT", "DELETE_INDEX", "DELETE_COLLECTION", "QUERY", "QUERY_BY_ID",
"UPDATE", "DELETE_BY_ID" ], "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The action to be
performed.", "constantName": "org.apach [...]
"CamelPineconeTextFieldName": { "index": 1, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Text Field Name for Insert\/Upsert
operation", "constantName":
"org.apache.camel.component.pinecone.PineconeVectorDbHeaders#TEXT_FIELD_NAME" },
"CamelPineconeVectorFieldName": { "index": 2, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Vector Field Name for Insert\/Upsert
operation", "constantName":
"org.apache.camel.component.pinecone.PineconeVectorDbHeaders#VECTOR_FIELD_NAME"
},
"CamelPineconeIndexName": { "index": 3, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Index Name", "constantName":
"org.apache.camel.component.pinecone.PineconeVectorDbHeaders#INDEX_NAME" },
@@ -58,17 +59,18 @@
"CamelPineconeQueryIncludeMetadata": { "index": 16, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "com.google.protobuf.Struct", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"Query Include Metadata", "constantName":
"org.apache.camel.component.pinecone.PineconeVectorDbHeaders#QUERY_INCLUDE_METADATA"
}
},
"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" },
- "cloud": { "index": 1, "kind": "parameter", "displayName": "Cloud",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the cloud type to
use (aws\/gcp\/azure)" },
- "cloudRegion": { "index": 2, "kind": "parameter", "displayName": "Cloud
Region", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the cloud region" },
- "collectionDimension": { "index": 3, "kind": "parameter", "displayName":
"Collection Dimension", "group": "producer", "label": "producer", "required":
false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1536,
"configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the Collection
Dimension to use (1-1536)" },
- "collectionSimilarityMetric": { "index": 4, "kind": "parameter",
"displayName": "Collection Similarity Metric", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the Collection
Similarity Metric to use (cosine\/euclide [...]
- "host": { "index": 5, "kind": "parameter", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets a custom host URL
to connect to" },
- "indexName": { "index": 6, "kind": "parameter", "displayName": "Index
Name", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the index name to
use" },
- "proxyHost": { "index": 7, "kind": "parameter", "displayName": "Proxy
Host", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Set the proxy host" },
- "proxyPort": { "index": 8, "kind": "parameter", "displayName": "Proxy
Port", "group": "producer", "label": "producer", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Set the proxy port" },
- "tls": { "index": 9, "kind": "parameter", "displayName": "Tls", "group":
"producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Whether the client uses
Transport Layer Security (TLS) to secure communications" },
- "token": { "index": 10, "kind": "parameter", "displayName": "Token",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the API key to use
for authentication" },
- "lazyStartProducer": { "index": 11, "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 produ [...]
+ "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. (Only
used by some actions)" },
+ "action": { "index": 1, "kind": "parameter", "displayName": "Action",
"group": "producer", "label": "producer", "required": false, "type": "enum",
"javaType": "org.apache.camel.component.pinecone.PineconeVectorDbAction",
"enum": [ "CREATE_COLLECTION", "CREATE_SERVERLESS_INDEX", "CREATE_POD_INDEX",
"FETCH", "UPSERT", "DELETE_INDEX", "DELETE_COLLECTION", "QUERY", "QUERY_BY_ID",
"UPDATE", "DELETE_BY_ID" ], "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, [...]
+ "cloud": { "index": 2, "kind": "parameter", "displayName": "Cloud",
"group": "producer", "label": "producer", "required": false, "type": "enum",
"javaType": "java.lang.String", "enum": [ "aws", "azure", "gcp" ],
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the cloud type to
use (aws\/gcp\/azure)" },
+ "cloudRegion": { "index": 3, "kind": "parameter", "displayName": "Cloud
Region", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the cloud region" },
+ "collectionDimension": { "index": 4, "kind": "parameter", "displayName":
"Collection Dimension", "group": "producer", "label": "producer", "required":
false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1536,
"configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the Collection
Dimension to use (1-1536)" },
+ "collectionSimilarityMetric": { "index": 5, "kind": "parameter",
"displayName": "Collection Similarity Metric", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the Collection
Similarity Metric to use (cosine\/euclide [...]
+ "host": { "index": 6, "kind": "parameter", "displayName": "Host", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets a custom host URL
to connect to" },
+ "indexName": { "index": 7, "kind": "parameter", "displayName": "Index
Name", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the index name to
use" },
+ "proxyHost": { "index": 8, "kind": "parameter", "displayName": "Proxy
Host", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Set the proxy host" },
+ "proxyPort": { "index": 9, "kind": "parameter", "displayName": "Proxy
Port", "group": "producer", "label": "producer", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Set the proxy port" },
+ "lazyStartProducer": { "index": 10, "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 produ [...]
+ "tls": { "index": 11, "kind": "parameter", "displayName": "Tls", "group":
"security", "label": "security", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Whether the client uses
Transport Layer Security (TLS) to secure communications" },
+ "token": { "index": 12, "kind": "parameter", "displayName": "Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "configurationClass":
"org.apache.camel.component.pinecone.PineconeVectorDbConfiguration",
"configurationField": "configuration", "description": "Sets the API key to use
for authentication" }
}
}
diff --git
a/components-starter/camel-pinecone-starter/src/main/docs/pinecone.json
b/components-starter/camel-pinecone-starter/src/main/docs/pinecone.json
index 7edbd3ad889..970305c90f2 100644
--- a/components-starter/camel-pinecone-starter/src/main/docs/pinecone.json
+++ b/components-starter/camel-pinecone-starter/src/main/docs/pinecone.json
@@ -13,6 +13,12 @@
}
],
"properties": [
+ {
+ "name": "camel.component.pinecone.action",
+ "type": "org.apache.camel.component.pinecone.PineconeVectorDbAction",
+ "description": "Action to perform.",
+ "sourceType":
"org.apache.camel.component.pinecone.springboot.PineconeVectorDbComponentConfiguration"
+ },
{
"name": "camel.component.pinecone.autowired-enabled",
"type": "java.lang.Boolean",
diff --git
a/components-starter/camel-pinecone-starter/src/main/java/org/apache/camel/component/pinecone/springboot/PineconeVectorDbComponentConfiguration.java
b/components-starter/camel-pinecone-starter/src/main/java/org/apache/camel/component/pinecone/springboot/PineconeVectorDbComponentConfiguration.java
index 1afd9aee2b7..5d9790ff390 100644
---
a/components-starter/camel-pinecone-starter/src/main/java/org/apache/camel/component/pinecone/springboot/PineconeVectorDbComponentConfiguration.java
+++
b/components-starter/camel-pinecone-starter/src/main/java/org/apache/camel/component/pinecone/springboot/PineconeVectorDbComponentConfiguration.java
@@ -16,6 +16,7 @@
*/
package org.apache.camel.component.pinecone.springboot;
+import org.apache.camel.component.pinecone.PineconeVectorDbAction;
import org.apache.camel.component.pinecone.PineconeVectorDbConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
@@ -35,6 +36,10 @@ public class PineconeVectorDbComponentConfiguration
* enabled by default.
*/
private Boolean enabled;
+ /**
+ * Action to perform.
+ */
+ private PineconeVectorDbAction action;
/**
* Sets the cloud type to use (aws/gcp/azure)
*/
@@ -84,15 +89,6 @@ public class PineconeVectorDbComponentConfiguration
* Set the proxy port
*/
private Integer proxyPort;
- /**
- * Whether the client uses Transport Layer Security (TLS) to secure
- * communications
- */
- private Boolean tls = true;
- /**
- * Sets the API key to use for authentication
- */
- private String token;
/**
* Whether autowiring is enabled. This is used for automatic autowiring
* options (the option must be marked as autowired) by looking up in the
@@ -102,6 +98,23 @@ public class PineconeVectorDbComponentConfiguration
* etc.
*/
private Boolean autowiredEnabled = true;
+ /**
+ * Whether the client uses Transport Layer Security (TLS) to secure
+ * communications
+ */
+ private Boolean tls = true;
+ /**
+ * Sets the API key to use for authentication
+ */
+ private String token;
+
+ public PineconeVectorDbAction getAction() {
+ return action;
+ }
+
+ public void setAction(PineconeVectorDbAction action) {
+ this.action = action;
+ }
public String getCloud() {
return cloud;
@@ -183,6 +196,14 @@ public class PineconeVectorDbComponentConfiguration
this.proxyPort = proxyPort;
}
+ public Boolean getAutowiredEnabled() {
+ return autowiredEnabled;
+ }
+
+ public void setAutowiredEnabled(Boolean autowiredEnabled) {
+ this.autowiredEnabled = autowiredEnabled;
+ }
+
public Boolean getTls() {
return tls;
}
@@ -198,12 +219,4 @@ public class PineconeVectorDbComponentConfiguration
public void setToken(String token) {
this.token = token;
}
-
- public Boolean getAutowiredEnabled() {
- return autowiredEnabled;
- }
-
- public void setAutowiredEnabled(Boolean autowiredEnabled) {
- this.autowiredEnabled = autowiredEnabled;
- }
}
\ No newline at end of file