Add component definition: elasticsearch-rest-client
This commit is contained in:
parent
1d8338aff3
commit
eaf2697127
621
component.json
Normal file
621
component.json
Normal file
@ -0,0 +1,621 @@
|
||||
{
|
||||
"component": {
|
||||
"kind": "component",
|
||||
"name": "elasticsearch-rest-client",
|
||||
"title": "Elasticsearch Low level Rest Client",
|
||||
"description": "Perform queries and other operations on Elasticsearch or OpenSearch (uses low-level client).",
|
||||
"deprecated": false,
|
||||
"firstVersion": "3.8.0",
|
||||
"label": "search",
|
||||
"javaType": "org.apache.camel.component.elasticsearch.rest.client.ElasticsearchRestClientComponent",
|
||||
"supportLevel": "Stable",
|
||||
"nativeSupported": true,
|
||||
"metadata": {
|
||||
"quarkusVersion": "3.36.0",
|
||||
"camelArtifact": "org.apache.camel:camel-elasticsearch-rest-client",
|
||||
"camelVersion": "4.20.0"
|
||||
},
|
||||
"groupId": "org.apache.camel.quarkus",
|
||||
"artifactId": "camel-quarkus-elasticsearch-rest-client",
|
||||
"version": "4.20.0 (CEQ 3.36.0)",
|
||||
"scheme": "elasticsearch-rest-client",
|
||||
"extendsScheme": "",
|
||||
"syntax": "elasticsearch-rest-client:clusterName",
|
||||
"async": false,
|
||||
"api": false,
|
||||
"consumerOnly": false,
|
||||
"producerOnly": true,
|
||||
"lenientProperties": false,
|
||||
"browsable": false,
|
||||
"remote": true
|
||||
},
|
||||
"componentProperties": {
|
||||
"connectionTimeout": {
|
||||
"index": 0,
|
||||
"kind": "property",
|
||||
"displayName": "Connection Timeout",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"javaType": "int",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": 30000,
|
||||
"description": "Connection timeout"
|
||||
},
|
||||
"hostAddressesList": {
|
||||
"index": 1,
|
||||
"kind": "property",
|
||||
"displayName": "Host Addresses List",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "List of host Addresses, multiple hosts can be separated by comma."
|
||||
},
|
||||
"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 during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
|
||||
},
|
||||
"socketTimeout": {
|
||||
"index": 3,
|
||||
"kind": "property",
|
||||
"displayName": "Socket Timeout",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"javaType": "int",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": 30000,
|
||||
"description": "Socket timeout"
|
||||
},
|
||||
"autowiredEnabled": {
|
||||
"index": 4,
|
||||
"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 then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."
|
||||
},
|
||||
"enableSniffer": {
|
||||
"index": 5,
|
||||
"kind": "property",
|
||||
"displayName": "Enable Sniffer",
|
||||
"group": "advanced",
|
||||
"label": "advanced",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"javaType": "boolean",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": false,
|
||||
"description": "Enabling Sniffer"
|
||||
},
|
||||
"restClient": {
|
||||
"index": 6,
|
||||
"kind": "property",
|
||||
"displayName": "Rest Client",
|
||||
"group": "advanced",
|
||||
"label": "advanced",
|
||||
"required": false,
|
||||
"type": "object",
|
||||
"javaType": "org.elasticsearch.client.RestClient",
|
||||
"deprecated": false,
|
||||
"autowired": true,
|
||||
"secret": false,
|
||||
"description": "Rest Client of type org.elasticsearch.client.RestClient. This is only for advanced usage"
|
||||
},
|
||||
"sniffAfterFailureDelay": {
|
||||
"index": 7,
|
||||
"kind": "property",
|
||||
"displayName": "Sniff After Failure Delay",
|
||||
"group": "advanced",
|
||||
"label": "advanced",
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"javaType": "int",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": 60000,
|
||||
"description": "Sniffer after failure delay (in millis)"
|
||||
},
|
||||
"snifferInterval": {
|
||||
"index": 8,
|
||||
"kind": "property",
|
||||
"displayName": "Sniffer Interval",
|
||||
"group": "advanced",
|
||||
"label": "advanced",
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"javaType": "int",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": 60000,
|
||||
"description": "Sniffer interval (in millis)"
|
||||
},
|
||||
"certificatePath": {
|
||||
"index": 9,
|
||||
"kind": "property",
|
||||
"displayName": "Certificate Path",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"supportFileReference": true,
|
||||
"description": "Certificate Path"
|
||||
},
|
||||
"password": {
|
||||
"index": 10,
|
||||
"kind": "property",
|
||||
"displayName": "Password",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": true,
|
||||
"description": "Password"
|
||||
},
|
||||
"user": {
|
||||
"index": 11,
|
||||
"kind": "property",
|
||||
"displayName": "User",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": true,
|
||||
"description": "Username"
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"ID": {
|
||||
"index": 0,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "ID of the object to index or retrieve or delete",
|
||||
"constantName": "org.apache.camel.component.elasticsearch.rest.client.ElasticSearchRestClientConstant#ID"
|
||||
},
|
||||
"SEARCH_QUERY": {
|
||||
"index": 1,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The JSON Query to perform for search",
|
||||
"constantName": "org.apache.camel.component.elasticsearch.rest.client.ElasticSearchRestClientConstant#SEARCH_QUERY"
|
||||
},
|
||||
"INDEX_SETTINGS": {
|
||||
"index": 2,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "Advanced - The JSON Index Settings and/or Mappings Query to perform to create an index",
|
||||
"constantName": "org.apache.camel.component.elasticsearch.rest.client.ElasticSearchRestClientConstant#INDEX_SETTINGS"
|
||||
},
|
||||
"INDEX_NAME": {
|
||||
"index": 3,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The Index name",
|
||||
"constantName": "org.apache.camel.component.elasticsearch.rest.client.ElasticSearchRestClientConstant#INDEX_NAME"
|
||||
},
|
||||
"OPERATION": {
|
||||
"index": 4,
|
||||
"kind": "header",
|
||||
"displayName": "",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"javaType": "org.apache.camel.component.elasticsearch.rest.client.ElasticsearchRestClientOperation",
|
||||
"enum": [
|
||||
"INDEX_OR_UPDATE",
|
||||
"GET_BY_ID",
|
||||
"DELETE",
|
||||
"CREATE_INDEX",
|
||||
"DELETE_INDEX",
|
||||
"SEARCH"
|
||||
],
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "The operation to perform",
|
||||
"constantName": "org.apache.camel.component.elasticsearch.rest.client.ElasticSearchRestClientConstant#OPERATION"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"clusterName": {
|
||||
"index": 0,
|
||||
"kind": "path",
|
||||
"displayName": "Cluster Name",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "Cluster Name"
|
||||
},
|
||||
"connectionTimeout": {
|
||||
"index": 1,
|
||||
"kind": "parameter",
|
||||
"displayName": "Connection Timeout",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"javaType": "int",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": 30000,
|
||||
"description": "Connection timeout"
|
||||
},
|
||||
"hostAddressesList": {
|
||||
"index": 2,
|
||||
"kind": "parameter",
|
||||
"displayName": "Host Addresses List",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "List of host Addresses, multiple hosts can be separated by comma."
|
||||
},
|
||||
"indexName": {
|
||||
"index": 3,
|
||||
"kind": "parameter",
|
||||
"displayName": "Index Name",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "Index Name"
|
||||
},
|
||||
"operation": {
|
||||
"index": 4,
|
||||
"kind": "parameter",
|
||||
"displayName": "Operation",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "enum",
|
||||
"javaType": "org.apache.camel.component.elasticsearch.rest.client.ElasticsearchRestClientOperation",
|
||||
"enum": [
|
||||
"INDEX_OR_UPDATE",
|
||||
"GET_BY_ID",
|
||||
"DELETE",
|
||||
"CREATE_INDEX",
|
||||
"DELETE_INDEX",
|
||||
"SEARCH"
|
||||
],
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"description": "Operation"
|
||||
},
|
||||
"socketTimeout": {
|
||||
"index": 5,
|
||||
"kind": "parameter",
|
||||
"displayName": "Socket Timeout",
|
||||
"group": "producer",
|
||||
"label": "",
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"javaType": "int",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": 30000,
|
||||
"description": "Socket timeout"
|
||||
},
|
||||
"lazyStartProducer": {
|
||||
"index": 6,
|
||||
"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 producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
|
||||
},
|
||||
"enableSniffer": {
|
||||
"index": 7,
|
||||
"kind": "parameter",
|
||||
"displayName": "Enable Sniffer",
|
||||
"group": "advanced",
|
||||
"label": "advanced",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"javaType": "boolean",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": false,
|
||||
"description": "Enabling Sniffer"
|
||||
},
|
||||
"restClient": {
|
||||
"index": 8,
|
||||
"kind": "parameter",
|
||||
"displayName": "Rest Client",
|
||||
"group": "advanced",
|
||||
"label": "advanced",
|
||||
"required": false,
|
||||
"type": "object",
|
||||
"javaType": "org.elasticsearch.client.RestClient",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": true,
|
||||
"secret": false,
|
||||
"description": "Rest Client of type org.elasticsearch.client.RestClient. This is only for advanced usage"
|
||||
},
|
||||
"sniffAfterFailureDelay": {
|
||||
"index": 9,
|
||||
"kind": "parameter",
|
||||
"displayName": "Sniff After Failure Delay",
|
||||
"group": "advanced",
|
||||
"label": "advanced",
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"javaType": "int",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": 60000,
|
||||
"description": "Sniffer after failure delay (in millis)"
|
||||
},
|
||||
"snifferInterval": {
|
||||
"index": 10,
|
||||
"kind": "parameter",
|
||||
"displayName": "Sniffer Interval",
|
||||
"group": "advanced",
|
||||
"label": "advanced",
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"javaType": "int",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"defaultValue": 60000,
|
||||
"description": "Sniffer interval (in millis)"
|
||||
},
|
||||
"certificatePath": {
|
||||
"index": 11,
|
||||
"kind": "parameter",
|
||||
"displayName": "Certificate Path",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"deprecationNote": "",
|
||||
"autowired": false,
|
||||
"secret": false,
|
||||
"supportFileReference": true,
|
||||
"description": "Certificate Path"
|
||||
},
|
||||
"password": {
|
||||
"index": 12,
|
||||
"kind": "parameter",
|
||||
"displayName": "Password",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": true,
|
||||
"description": "Password"
|
||||
},
|
||||
"user": {
|
||||
"index": 13,
|
||||
"kind": "parameter",
|
||||
"displayName": "User",
|
||||
"group": "security",
|
||||
"label": "security",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"javaType": "java.lang.String",
|
||||
"deprecated": false,
|
||||
"autowired": false,
|
||||
"secret": true,
|
||||
"description": "Username"
|
||||
}
|
||||
},
|
||||
"propertiesSchema": {
|
||||
"properties": {
|
||||
"clusterName": {
|
||||
"title": "Cluster Name",
|
||||
"description": "Cluster Name",
|
||||
"type": "string",
|
||||
"$comment": "group:producer"
|
||||
},
|
||||
"connectionTimeout": {
|
||||
"title": "Connection Timeout",
|
||||
"description": "Connection timeout",
|
||||
"type": "integer",
|
||||
"$comment": "group:producer",
|
||||
"default": 30000
|
||||
},
|
||||
"hostAddressesList": {
|
||||
"title": "Host Addresses List",
|
||||
"description": "List of host Addresses, multiple hosts can be separated by comma.",
|
||||
"type": "string",
|
||||
"$comment": "group:producer"
|
||||
},
|
||||
"indexName": {
|
||||
"title": "Index Name",
|
||||
"description": "Index Name",
|
||||
"type": "string",
|
||||
"$comment": "group:producer"
|
||||
},
|
||||
"operation": {
|
||||
"title": "Operation",
|
||||
"description": "Operation",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"INDEX_OR_UPDATE",
|
||||
"GET_BY_ID",
|
||||
"DELETE",
|
||||
"CREATE_INDEX",
|
||||
"DELETE_INDEX",
|
||||
"SEARCH"
|
||||
],
|
||||
"$comment": "group:producer"
|
||||
},
|
||||
"socketTimeout": {
|
||||
"title": "Socket Timeout",
|
||||
"description": "Socket timeout",
|
||||
"type": "integer",
|
||||
"$comment": "group:producer",
|
||||
"default": 30000
|
||||
},
|
||||
"lazyStartProducer": {
|
||||
"title": "Lazy Start Producer",
|
||||
"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 starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
|
||||
"type": "boolean",
|
||||
"$comment": "group:producer (advanced)",
|
||||
"default": false
|
||||
},
|
||||
"enableSniffer": {
|
||||
"title": "Enable Sniffer",
|
||||
"description": "Enabling Sniffer",
|
||||
"type": "boolean",
|
||||
"$comment": "group:advanced",
|
||||
"default": false
|
||||
},
|
||||
"restClient": {
|
||||
"title": "Rest Client",
|
||||
"description": "Rest Client of type org.elasticsearch.client.RestClient. This is only for advanced usage",
|
||||
"type": "string",
|
||||
"$comment": "group:advanced",
|
||||
"format": "bean:org.elasticsearch.client.RestClient"
|
||||
},
|
||||
"sniffAfterFailureDelay": {
|
||||
"title": "Sniff After Failure Delay",
|
||||
"description": "Sniffer after failure delay (in millis)",
|
||||
"type": "integer",
|
||||
"$comment": "group:advanced",
|
||||
"default": 60000
|
||||
},
|
||||
"snifferInterval": {
|
||||
"title": "Sniffer Interval",
|
||||
"description": "Sniffer interval (in millis)",
|
||||
"type": "integer",
|
||||
"$comment": "group:advanced",
|
||||
"default": 60000
|
||||
},
|
||||
"certificatePath": {
|
||||
"title": "Certificate Path",
|
||||
"description": "Certificate Path",
|
||||
"type": "string",
|
||||
"$comment": "group:security"
|
||||
},
|
||||
"password": {
|
||||
"title": "Password",
|
||||
"description": "Password",
|
||||
"type": "string",
|
||||
"$comment": "group:security",
|
||||
"format": "password"
|
||||
},
|
||||
"user": {
|
||||
"title": "User",
|
||||
"description": "Username",
|
||||
"type": "string",
|
||||
"$comment": "group:security",
|
||||
"format": "password"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"clusterName"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user