From df7eb5f033f31bc5ff969e8e426f79ae460f8951 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Mon, 12 Oct 2026 02:38:10 +0000 Subject: [PATCH] Add component definition: bonita --- component.json | 241 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 241 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..942f97a --- /dev/null +++ b/component.json @@ -0,0 +1,241 @@ +{ + "component": { + "kind": "component", + "name": "bonita", + "title": "Bonita", + "description": "Communicate with a remote Bonita BPM process engine.", + "deprecated": false, + "firstVersion": "1.1.0", + "label": "workflow", + "javaType": "org.apache.camel.component.bonita.BonitaComponent", + "supportLevel": "Preview", + "metadata": { + "quarkusVersion": "3.36.0", + "camelArtifact": "org.apache.camel:camel-bonita", + "camelVersion": "4.20.0" + }, + "groupId": "org.apache.camel.quarkus", + "artifactId": "camel-quarkus-bonita", + "version": "4.20.0 (CEQ 3.36.0)", + "scheme": "bonita", + "extendsScheme": "", + "syntax": "bonita:operation", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "componentProperties": { + "lazyStartProducer": { + "index": 0, + "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." + }, + "autowiredEnabled": { + "index": 1, + "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." + } + }, + "properties": { + "operation": { + "index": 0, + "kind": "path", + "displayName": "Operation", + "group": "producer", + "label": "", + "required": true, + "type": "enum", + "javaType": "org.apache.camel.component.bonita.util.BonitaOperation", + "enum": [ + "startCase" + ], + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.bonita.BonitaConfiguration", + "configurationField": "configuration", + "description": "Operation to use" + }, + "hostname": { + "index": 1, + "kind": "parameter", + "displayName": "Hostname", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "localhost", + "configurationClass": "org.apache.camel.component.bonita.BonitaConfiguration", + "configurationField": "configuration", + "description": "Hostname where Bonita engine runs" + }, + "port": { + "index": 2, + "kind": "parameter", + "displayName": "Port", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "8080", + "configurationClass": "org.apache.camel.component.bonita.BonitaConfiguration", + "configurationField": "configuration", + "description": "Port of the server hosting Bonita engine" + }, + "processName": { + "index": 3, + "kind": "parameter", + "displayName": "Process Name", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.bonita.BonitaConfiguration", + "configurationField": "configuration", + "description": "Name of the process involved in the operation" + }, + "lazyStartProducer": { + "index": 4, + "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." + }, + "password": { + "index": 5, + "kind": "parameter", + "displayName": "Password", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.bonita.BonitaConfiguration", + "configurationField": "configuration", + "description": "Password to authenticate to Bonita engine." + }, + "username": { + "index": 6, + "kind": "parameter", + "displayName": "Username", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.bonita.BonitaConfiguration", + "configurationField": "configuration", + "description": "Username to authenticate to Bonita engine." + } + }, + "propertiesSchema": { + "properties": { + "operation": { + "title": "Operation", + "description": "Operation to use", + "type": "string", + "enum": [ + "startCase" + ], + "$comment": "group:producer" + }, + "hostname": { + "title": "Hostname", + "description": "Hostname where Bonita engine runs", + "type": "string", + "$comment": "group:producer", + "default": "localhost" + }, + "port": { + "title": "Port", + "description": "Port of the server hosting Bonita engine", + "type": "string", + "$comment": "group:producer", + "default": "8080" + }, + "processName": { + "title": "Process Name", + "description": "Name of the process involved in the operation", + "type": "string", + "$comment": "group:producer" + }, + "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 + }, + "password": { + "title": "Password", + "description": "Password to authenticate to Bonita engine.", + "type": "string", + "$comment": "group:security", + "format": "password" + }, + "username": { + "title": "Username", + "description": "Username to authenticate to Bonita engine.", + "type": "string", + "$comment": "group:security", + "format": "password" + } + }, + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "operation" + ] + } +} \ No newline at end of file