generated from camel.apache.org/component
Add component definition: tahu-edge
This commit is contained in:
parent
18d5390931
commit
7aa74e6795
421
component.json
Normal file
421
component.json
Normal file
@ -0,0 +1,421 @@
|
|||||||
|
{
|
||||||
|
"component": {
|
||||||
|
"kind": "component",
|
||||||
|
"name": "tahu-edge",
|
||||||
|
"title": "Tahu Edge Node / Device",
|
||||||
|
"description": "Sparkplug B Edge Node and Device support over MQTT using Eclipse Tahu",
|
||||||
|
"deprecated": false,
|
||||||
|
"firstVersion": "4.8.0",
|
||||||
|
"label": "messaging,iot,monitoring",
|
||||||
|
"javaType": "org.apache.camel.component.tahu.TahuEdgeComponent",
|
||||||
|
"supportLevel": "Stable",
|
||||||
|
"groupId": "org.apache.camel",
|
||||||
|
"artifactId": "camel-tahu",
|
||||||
|
"version": "4.10.2",
|
||||||
|
"scheme": "tahu-edge",
|
||||||
|
"extendsScheme": "",
|
||||||
|
"syntax": "tahu-edge:groupId/edgeNode",
|
||||||
|
"alternativeSyntax": "tahu-edge:groupId/edgeNode/deviceId",
|
||||||
|
"async": false,
|
||||||
|
"api": false,
|
||||||
|
"consumerOnly": false,
|
||||||
|
"producerOnly": true,
|
||||||
|
"lenientProperties": false,
|
||||||
|
"browsable": false,
|
||||||
|
"remote": true
|
||||||
|
},
|
||||||
|
"headers": {
|
||||||
|
"CamelTahuMessageType": {
|
||||||
|
"index": 0,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"enum": [
|
||||||
|
"NBIRTH",
|
||||||
|
"NDATA",
|
||||||
|
"NDEATH",
|
||||||
|
"DBIRTH",
|
||||||
|
"DDATA",
|
||||||
|
"DDEATH"
|
||||||
|
],
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The Sparkplug message type of the message",
|
||||||
|
"constantName": "org.apache.camel.component.tahu.TahuConstants#MESSAGE_TYPE"
|
||||||
|
},
|
||||||
|
"CamelTahuEdgeNodeDescriptor": {
|
||||||
|
"index": 1,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The Sparkplug edge node descriptor string source of a message or metric",
|
||||||
|
"constantName": "org.apache.camel.component.tahu.TahuConstants#EDGE_NODE_DESCRIPTOR"
|
||||||
|
},
|
||||||
|
"CamelTahuMessageTimestamp": {
|
||||||
|
"index": 2,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "Long",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The timestamp of a Sparkplug message",
|
||||||
|
"constantName": "org.apache.camel.component.tahu.TahuConstants#MESSAGE_TIMESTAMP"
|
||||||
|
},
|
||||||
|
"CamelTahuMessageUUID": {
|
||||||
|
"index": 3,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "java.util.UUID",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The UUID of a Sparkplug message",
|
||||||
|
"constantName": "org.apache.camel.component.tahu.TahuConstants#MESSAGE_UUID"
|
||||||
|
},
|
||||||
|
"CamelTahuMessageSequenceNumber": {
|
||||||
|
"index": 4,
|
||||||
|
"kind": "header",
|
||||||
|
"displayName": "",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "",
|
||||||
|
"required": false,
|
||||||
|
"javaType": "Long",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "The sequence number of a Sparkplug message",
|
||||||
|
"constantName": "org.apache.camel.component.tahu.TahuConstants#MESSAGE_SEQUENCE_NUMBER"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"groupId": {
|
||||||
|
"index": 0,
|
||||||
|
"kind": "path",
|
||||||
|
"displayName": "Group Id",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": true,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "ID of the group"
|
||||||
|
},
|
||||||
|
"edgeNode": {
|
||||||
|
"index": 1,
|
||||||
|
"kind": "path",
|
||||||
|
"displayName": "Edge Node",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": true,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "ID of the edge node"
|
||||||
|
},
|
||||||
|
"deviceId": {
|
||||||
|
"index": 2,
|
||||||
|
"kind": "path",
|
||||||
|
"displayName": "Device Id",
|
||||||
|
"group": "producer (device only)",
|
||||||
|
"label": "producer (device only)",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "ID of this edge node device"
|
||||||
|
},
|
||||||
|
"checkClientIdLength": {
|
||||||
|
"index": 3,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Check Client Id Length",
|
||||||
|
"group": "common",
|
||||||
|
"label": "common",
|
||||||
|
"required": false,
|
||||||
|
"type": "boolean",
|
||||||
|
"javaType": "boolean",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": false,
|
||||||
|
"configurationClass": "org.apache.camel.component.tahu.TahuConfiguration",
|
||||||
|
"configurationField": "configuration",
|
||||||
|
"description": "MQTT client ID length check enabled"
|
||||||
|
},
|
||||||
|
"clientId": {
|
||||||
|
"index": 4,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Client Id",
|
||||||
|
"group": "common",
|
||||||
|
"label": "common",
|
||||||
|
"required": true,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"configurationClass": "org.apache.camel.component.tahu.TahuConfiguration",
|
||||||
|
"configurationField": "configuration",
|
||||||
|
"description": "MQTT client ID to use for all server definitions, rather than specifying the same one for each. Note that if neither the 'clientId' parameter nor an 'MqttClientId' are defined for an MQTT Server, a random MQTT Client ID will be generated automatically, prefaced with 'Camel'"
|
||||||
|
},
|
||||||
|
"keepAliveTimeout": {
|
||||||
|
"index": 5,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Keep Alive Timeout",
|
||||||
|
"group": "common",
|
||||||
|
"label": "common",
|
||||||
|
"required": false,
|
||||||
|
"type": "integer",
|
||||||
|
"javaType": "int",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": 30,
|
||||||
|
"configurationClass": "org.apache.camel.component.tahu.TahuConfiguration",
|
||||||
|
"configurationField": "configuration",
|
||||||
|
"description": "MQTT connection keep alive timeout, in seconds"
|
||||||
|
},
|
||||||
|
"rebirthDebounceDelay": {
|
||||||
|
"index": 6,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Rebirth Debounce Delay",
|
||||||
|
"group": "common",
|
||||||
|
"label": "common",
|
||||||
|
"required": false,
|
||||||
|
"type": "integer",
|
||||||
|
"javaType": "long",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": 5000,
|
||||||
|
"configurationClass": "org.apache.camel.component.tahu.TahuConfiguration",
|
||||||
|
"configurationField": "configuration",
|
||||||
|
"description": "Delay before recurring node rebirth messages will be sent"
|
||||||
|
},
|
||||||
|
"servers": {
|
||||||
|
"index": 7,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Servers",
|
||||||
|
"group": "common",
|
||||||
|
"label": "common",
|
||||||
|
"required": true,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"configurationClass": "org.apache.camel.component.tahu.TahuConfiguration",
|
||||||
|
"configurationField": "configuration",
|
||||||
|
"description": "MQTT server definitions, given with the following syntax in a comma-separated list: MqttServerName:(MqttClientId:)(tcp/ssl)://hostname(:port),..."
|
||||||
|
},
|
||||||
|
"metricDataTypePayloadMap": {
|
||||||
|
"index": 8,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Metric Data Type Payload Map",
|
||||||
|
"group": "producer",
|
||||||
|
"label": "producer",
|
||||||
|
"required": true,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "org.eclipse.tahu.message.model.SparkplugBPayloadMap",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "Tahu SparkplugBPayloadMap to configure metric data types for this edge node or device. Note that this payload is used exclusively as a Sparkplug B spec-compliant configuration for all possible edge node or device metric names, aliases, and data types. This configuration is required to publish proper Sparkplug B NBIRTH and DBIRTH payloads."
|
||||||
|
},
|
||||||
|
"headerFilterStrategy": {
|
||||||
|
"index": 9,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Header Filter Strategy",
|
||||||
|
"group": "producer (advanced)",
|
||||||
|
"label": "producer,advanced",
|
||||||
|
"required": false,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "org.apache.camel.spi.HeaderFilterStrategy",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "To use a custom HeaderFilterStrategy to filter headers used as Sparkplug metrics. Default value notice: Defaults to sending all Camel Message headers with name prefixes of CamelTahuMetric., including those with null values"
|
||||||
|
},
|
||||||
|
"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 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."
|
||||||
|
},
|
||||||
|
"bdSeqManager": {
|
||||||
|
"index": 11,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Bd Seq Manager",
|
||||||
|
"group": "advanced",
|
||||||
|
"label": "producer (edge node only),advanced",
|
||||||
|
"required": false,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "org.eclipse.tahu.message.BdSeqManager",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": "org.apache.camel.component.tahu.CamelBdSeqManager",
|
||||||
|
"description": "To use a specific org.eclipse.tahu.message.BdSeqManager implementation to manage edge node birth-death sequence numbers"
|
||||||
|
},
|
||||||
|
"bdSeqNumPath": {
|
||||||
|
"index": 12,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Bd Seq Num Path",
|
||||||
|
"group": "advanced",
|
||||||
|
"label": "producer (edge node only),advanced",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": "${sys:java.io.tmpdir}/CamelTahuTemp",
|
||||||
|
"description": "Path for Sparkplug B NBIRTH/NDEATH sequence number persistence files. This path will contain files named as -bdSeqNum and must be writable by the executing process' user"
|
||||||
|
},
|
||||||
|
"useAliases": {
|
||||||
|
"index": 13,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Use Aliases",
|
||||||
|
"group": "advanced",
|
||||||
|
"label": "producer (edge node only),advanced",
|
||||||
|
"required": false,
|
||||||
|
"type": "boolean",
|
||||||
|
"javaType": "boolean",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"defaultValue": false,
|
||||||
|
"description": "Flag enabling support for metric aliases"
|
||||||
|
},
|
||||||
|
"deviceIds": {
|
||||||
|
"index": 14,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Device Ids",
|
||||||
|
"group": "producer (edge node only)",
|
||||||
|
"label": "producer (edge node only)",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "ID of each device connected to this edge node, as a comma-separated list"
|
||||||
|
},
|
||||||
|
"primaryHostId": {
|
||||||
|
"index": 15,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Primary Host Id",
|
||||||
|
"group": "producer (edge node only)",
|
||||||
|
"label": "producer (edge node only)",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"description": "Host ID of the primary host application for this edge node"
|
||||||
|
},
|
||||||
|
"password": {
|
||||||
|
"index": 16,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Password",
|
||||||
|
"group": "security",
|
||||||
|
"label": "security",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": true,
|
||||||
|
"configurationClass": "org.apache.camel.component.tahu.TahuConfiguration",
|
||||||
|
"configurationField": "configuration",
|
||||||
|
"description": "Password for MQTT server authentication"
|
||||||
|
},
|
||||||
|
"sslContextParameters": {
|
||||||
|
"index": 17,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Ssl Context Parameters",
|
||||||
|
"group": "security",
|
||||||
|
"label": "security",
|
||||||
|
"required": false,
|
||||||
|
"type": "object",
|
||||||
|
"javaType": "org.apache.camel.support.jsse.SSLContextParameters",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": false,
|
||||||
|
"configurationClass": "org.apache.camel.component.tahu.TahuConfiguration",
|
||||||
|
"configurationField": "configuration",
|
||||||
|
"description": "SSL configuration for MQTT server connections"
|
||||||
|
},
|
||||||
|
"username": {
|
||||||
|
"index": 18,
|
||||||
|
"kind": "parameter",
|
||||||
|
"displayName": "Username",
|
||||||
|
"group": "security",
|
||||||
|
"label": "security",
|
||||||
|
"required": false,
|
||||||
|
"type": "string",
|
||||||
|
"javaType": "java.lang.String",
|
||||||
|
"deprecated": false,
|
||||||
|
"deprecationNote": "",
|
||||||
|
"autowired": false,
|
||||||
|
"secret": true,
|
||||||
|
"configurationClass": "org.apache.camel.component.tahu.TahuConfiguration",
|
||||||
|
"configurationField": "configuration",
|
||||||
|
"description": "Username for MQTT server authentication"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user