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-karaf.git
The following commit(s) were added to refs/heads/main by this push:
new d615f90 [create-pull-request] automated change
d615f90 is described below
commit d615f90d5105928df2f024daf6efe1f03ea9d803
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Mar 19 01:02:22 2022 +0000
[create-pull-request] automated change
---
.../camel/catalog/karaf/components.properties | 2 -
.../catalog/karaf/components/mongodb-gridfs.json | 48 -----------------
.../camel/catalog/karaf/components/mongodb.json | 61 ----------------------
3 files changed, 111 deletions(-)
diff --git
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties
b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties
index 374b217..f22d3af 100644
---
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties
+++
b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components.properties
@@ -113,8 +113,6 @@ mina
minio
mllp
mock
-mongodb
-mongodb-gridfs
msv
mustache
mvel
diff --git
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/mongodb-gridfs.json
b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/mongodb-gridfs.json
deleted file mode 100644
index 3e110a5..0000000
---
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/mongodb-gridfs.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "component": {
- "kind": "component",
- "name": "mongodb-gridfs",
- "title": "MongoDB GridFS",
- "description": "Interact with MongoDB GridFS.",
- "deprecated": false,
- "firstVersion": "2.18.0",
- "label": "database,nosql",
- "javaType": "org.apache.camel.component.mongodb.gridfs.GridFsComponent",
- "supportLevel": "Stable",
- "groupId": "org.apache.camel",
- "artifactId": "camel-mongodb-gridfs",
- "version": "3.16.0-SNAPSHOT",
- "scheme": "mongodb-gridfs",
- "extendsScheme": "",
- "syntax": "mongodb-gridfs:connectionBean",
- "async": false,
- "api": false,
- "consumerOnly": false,
- "producerOnly": false,
- "lenientProperties": false
- },
- "componentProperties": {
- "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error
Handler", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Allows for bridging the
consumer to the Camel routing Error Handler, which mean any exceptions occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a me [...]
- "lazyStartProducer": { "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 during star [...]
- "autowiredEnabled": { "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 type, which t [...]
- },
- "properties": {
- "connectionBean": { "kind": "path", "displayName": "Connection Bean",
"group": "common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Name of com.mongodb.client.MongoClient
to use." },
- "bucket": { "kind": "parameter", "displayName": "Bucket", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "fs", "description": "Sets the name of the GridFS bucket within
the database. Default is fs." },
- "database": { "kind": "parameter", "displayName": "Database", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Sets the name of the MongoDB database
to target" },
- "readPreference": { "kind": "parameter", "displayName": "Read Preference",
"group": "common", "label": "", "required": false, "type": "object",
"javaType": "com.mongodb.ReadPreference", "deprecated": false, "autowired":
false, "secret": false, "description": "Sets a MongoDB ReadPreference on the
Mongo connection. Read preferences set directly on the connection will be
overridden by this setting. The com.mongodb.ReadPreference#valueOf(String)
utility method is used to resolve the pass [...]
- "writeConcern": { "kind": "parameter", "displayName": "Write Concern",
"group": "common", "label": "", "required": false, "type": "object",
"javaType": "com.mongodb.WriteConcern", "enum": [ "ACKNOWLEDGED", "W1", "W2",
"W3", "UNACKNOWLEDGED", "JOURNALED", "MAJORITY" ], "deprecated": false,
"autowired": false, "secret": false, "description": "Set the WriteConcern for
write operations on MongoDB using the standard ones. Resolved from the fields
of the WriteConcern class by calling the W [...]
- "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error
Handler", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Allows for bridging the
consumer to the Camel routing Error Handler, which mean any exceptions occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a m [...]
- "delay": { "kind": "parameter", "displayName": "Delay", "group":
"consumer", "label": "consumer", "required": false, "type": "duration",
"javaType": "long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "500", "description": "Sets the delay between polls within the
Consumer. Default is 500ms" },
- "fileAttributeName": { "kind": "parameter", "displayName": "File Attribute
Name", "group": "consumer", "label": "consumer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "camel-processed", "description": "If
the QueryType uses a FileAttribute, this sets the name of the attribute that is
used. Default is camel-processed." },
- "initialDelay": { "kind": "parameter", "displayName": "Initial Delay",
"group": "consumer", "label": "consumer", "required": false, "type":
"duration", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "1000", "description": "Sets the initialDelay
before the consumer will start polling. Default is 1000ms" },
- "persistentTSCollection": { "kind": "parameter", "displayName":
"Persistent TSCollection", "group": "consumer", "label": "consumer",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"camel-timestamps", "description": "If the QueryType uses a persistent
timestamp, this sets the name of the collection within the DB to store the
timestamp." },
- "persistentTSObject": { "kind": "parameter", "displayName": "Persistent
TSObject", "group": "consumer", "label": "consumer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "camel-timestamp", "description": "If
the QueryType uses a persistent timestamp, this is the ID of the object in the
collection to store the timestamp." },
- "query": { "kind": "parameter", "displayName": "Query", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Additional query parameters (in JSON) that are
used to configure the query used for finding files in the GridFsConsumer" },
- "queryStrategy": { "kind": "parameter", "displayName": "Query Strategy",
"group": "consumer", "label": "consumer", "required": false, "type": "object",
"javaType": "org.apache.camel.component.mongodb.gridfs.QueryStrategy", "enum":
[ "TimeStamp", "PersistentTimestamp", "FileAttribute",
"TimeStampAndFileAttribute", "PersistentTimestampAndFileAttribute" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"TimeStamp", "description": "Sets the QueryStrategy that i [...]
- "exceptionHandler": { "kind": "parameter", "displayName": "Exception
Handler", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By default the
con [...]
- "exchangePattern": { "kind": "parameter", "displayName": "Exchange
Pattern", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut",
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false,
"description": "Sets the exchange pattern when the consumer creates an
exchange." },
- "lazyStartProducer": { "kind": "parameter", "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 during sta [...]
- "operation": { "kind": "parameter", "displayName": "Operation", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Sets the operation this endpoint will execute
against GridFs." }
- }
-}
diff --git
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/mongodb.json
b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/mongodb.json
deleted file mode 100644
index d87c475..0000000
---
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/mongodb.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "component": {
- "kind": "component",
- "name": "mongodb",
- "title": "MongoDB",
- "description": "Perform operations on MongoDB documents and collections.",
- "deprecated": false,
- "firstVersion": "2.19.0",
- "label": "database,nosql",
- "javaType": "org.apache.camel.component.mongodb.MongoDbComponent",
- "supportLevel": "Stable",
- "groupId": "org.apache.camel",
- "artifactId": "camel-mongodb",
- "version": "3.16.0-SNAPSHOT",
- "scheme": "mongodb",
- "extendsScheme": "",
- "syntax": "mongodb:connectionBean",
- "async": false,
- "api": false,
- "consumerOnly": false,
- "producerOnly": false,
- "lenientProperties": false
- },
- "componentProperties": {
- "mongoConnection": { "kind": "property", "displayName": "Mongo
Connection", "group": "common", "label": "", "required": false, "type":
"object", "javaType": "com.mongodb.client.MongoClient", "deprecated": false,
"autowired": true, "secret": false, "description": "Shared client used for
connection. All endpoints generated from the component will share this
connection client." },
- "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error
Handler", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Allows for bridging the
consumer to the Camel routing Error Handler, which mean any exceptions occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a me [...]
- "lazyStartProducer": { "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 during star [...]
- "autowiredEnabled": { "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 type, which t [...]
- },
- "properties": {
- "connectionBean": { "kind": "path", "displayName": "Connection Bean",
"group": "common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Sets the connection bean reference used
to lookup a client for connecting to a database if no hosts parameter is
present." },
- "collection": { "kind": "parameter", "displayName": "Collection", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Sets the name of the MongoDB collection to bind to this
endpoint" },
- "collectionIndex": { "kind": "parameter", "displayName": "Collection
Index", "group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Sets the collection index (JSON FORMAT : {
field1 : order1, field2 : order2})" },
- "createCollection": { "kind": "parameter", "displayName": "Create
Collection", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Create collection during
initialisation if it doesn't exist. Default is true." },
- "database": { "kind": "parameter", "displayName": "Database", "group":
"common", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Sets the name of the MongoDB database to target" },
- "hosts": { "kind": "parameter", "displayName": "Hosts", "group": "common",
"label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Host address of mongodb server in host:port format. It's
possible also use more than one address, as comma separated list of hosts:
host1:port1,host2:port2. If the hosts parameter is specified, the provided
connectionBean is ignored." },
- "mongoConnection": { "kind": "parameter", "displayName": "Mongo
Connection", "group": "common", "label": "", "required": false, "type":
"object", "javaType": "com.mongodb.client.MongoClient", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the connection bean
used as a client for connecting to a database." },
- "operation": { "kind": "parameter", "displayName": "Operation", "group":
"common", "label": "", "required": false, "type": "object", "javaType":
"org.apache.camel.component.mongodb.MongoDbOperation", "enum": [ "findById",
"findOneByQuery", "findAll", "findDistinct", "insert", "save", "update",
"remove", "bulkWrite", "aggregate", "getDbStats", "getColStats", "count",
"command" ], "deprecated": false, "autowired": false, "secret": false,
"description": "Sets the operation this endpoint [...]
- "outputType": { "kind": "parameter", "displayName": "Output Type",
"group": "common", "label": "common", "required": false, "type": "object",
"javaType": "org.apache.camel.component.mongodb.MongoDbOutputType", "enum": [
"DocumentList", "Document", "MongoIterable" ], "deprecated": false,
"autowired": false, "secret": false, "description": "Convert the output of the
producer to the selected type : DocumentList Document or MongoIterable.
DocumentList or MongoIterable applies to findAll [...]
- "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error
Handler", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Allows for bridging the
consumer to the Camel routing Error Handler, which mean any exceptions occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a m [...]
- "consumerType": { "kind": "parameter", "displayName": "Consumer Type",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Consumer type." },
- "exceptionHandler": { "kind": "parameter", "displayName": "Exception
Handler", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By default the
con [...]
- "exchangePattern": { "kind": "parameter", "displayName": "Exchange
Pattern", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut",
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false,
"description": "Sets the exchange pattern when the consumer creates an
exchange." },
- "lazyStartProducer": { "kind": "parameter", "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 during sta [...]
- "cursorRegenerationDelay": { "kind": "parameter", "displayName": "Cursor
Regeneration Delay", "group": "advanced", "label": "advanced", "required":
false, "type": "duration", "javaType": "long", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "1000", "description":
"MongoDB tailable cursors will block until new data arrives. If no new data is
inserted, after some time the cursor will be automatically freed and closed by
the MongoDB server. The client is expe [...]
- "dynamicity": { "kind": "parameter", "displayName": "Dynamicity", "group":
"advanced", "label": "advanced", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "Sets whether this endpoint will
attempt to dynamically resolve the target database and collection from the
incoming Exchange properties. Can be used to override at runtime the database
and collection specified on the other [...]
- "readPreference": { "kind": "parameter", "displayName": "Read Preference",
"group": "advanced", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "enum": [ "PRIMARY", "PRIMARY_PREFERRED",
"SECONDARY", "SECONDARY_PREFERRED", "NEAREST" ], "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "PRIMARY", "description":
"Configure how MongoDB clients route read operations to the members of a
replica set. Possible values are PRIMA [...]
- "writeConcern": { "kind": "parameter", "displayName": "Write Concern",
"group": "advanced", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "enum": [ "ACKNOWLEDGED", "W1", "W2", "W3",
"UNACKNOWLEDGED", "JOURNALED", "MAJORITY" ], "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "ACKNOWLEDGED", "description":
"Configure the connection bean with the level of acknowledgment requested from
MongoDB for write operations to a [...]
- "writeResultAsHeader": { "kind": "parameter", "displayName": "Write Result
As Header", "group": "advanced", "label": "advanced", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "In write
operations, it determines whether instead of returning WriteResult as the body
of the OUT message, we transfer the IN message to the OUT and attach the
WriteResult as a header." },
- "streamFilter": { "kind": "parameter", "displayName": "Stream Filter",
"group": "changeStream", "label": "consumer,changeStream", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Filter condition for
change streams consumer." },
- "authSource": { "kind": "parameter", "displayName": "Auth Source",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The database name associated with the user's
credentials." },
- "password": { "kind": "parameter", "displayName": "Password", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "User password for mongodb connection" },
- "username": { "kind": "parameter", "displayName": "Username", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "Username for mongodb connection" },
- "persistentId": { "kind": "parameter", "displayName": "Persistent Id",
"group": "tail", "label": "consumer,tail", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "One tail tracking collection can host many
trackers for several tailable consumers. To keep them separate, each tracker
should have its own unique persistentId." },
- "persistentTailTracking": { "kind": "parameter", "displayName":
"Persistent Tail Tracking", "group": "tail", "label": "consumer,tail",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Enable persistent tail tracking, which is a mechanism to keep
track of the last consumed message across system restarts. The next time the
system is up, the endpoint will recover the cursor from [...]
- "tailTrackCollection": { "kind": "parameter", "displayName": "Tail Track
Collection", "group": "tail", "label": "consumer,tail", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Collection where tail
tracking information will be persisted. If not specified,
MongoDbTailTrackingConfig#DEFAULT_COLLECTION will be used by default." },
- "tailTrackDb": { "kind": "parameter", "displayName": "Tail Track Db",
"group": "tail", "label": "consumer,tail", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Indicates what database the tail tracking
mechanism will persist to. If not specified, the current database will be
picked by default. Dynamicity will not be taken into account even if enabled,
i.e. the tail tracking database will n [...]
- "tailTrackField": { "kind": "parameter", "displayName": "Tail Track
Field", "group": "tail", "label": "consumer,tail", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Field where the last tracked value will
be placed. If not specified, MongoDbTailTrackingConfig#DEFAULT_FIELD will be
used by default." },
- "tailTrackIncreasingField": { "kind": "parameter", "displayName": "Tail
Track Increasing Field", "group": "tail", "label": "consumer,tail", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Correlation field in the
incoming record which is of increasing nature and will be used to position the
tailing cursor every time it is generated. The cursor will be (re)created with
a query of type: tailT [...]
- }
-}