diff --git a/component.json b/component.json new file mode 100644 index 0000000..f47716b --- /dev/null +++ b/component.json @@ -0,0 +1,158 @@ +{ + "component": { + "kind": "component", + "name": "clickup", + "title": "ClickUp", + "description": "Receives events from ClickUp", + "deprecated": false, + "firstVersion": "4.9.0", + "label": "cloud", + "javaType": "org.apache.camel.component.clickup.ClickUpComponent", + "supportLevel": "Preview", + "groupId": "org.apache.camel", + "artifactId": "camel-clickup", + "version": "4.10.2", + "scheme": "clickup", + "extendsScheme": "", + "syntax": "clickup:workspaceId", + "async": false, + "api": false, + "consumerOnly": true, + "producerOnly": false, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "properties": { + "workspaceId": { + "index": 0, + "kind": "path", + "displayName": "Workspace Id", + "group": "consumer", + "label": "", + "required": true, + "type": "integer", + "javaType": "java.lang.Long", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.clickup.ClickUpConfiguration", + "configurationField": "configuration", + "description": "The WorkspaceID." + }, + "events": { + "index": 1, + "kind": "parameter", + "displayName": "Events", + "group": "consumer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.clickup.ClickUpConfiguration", + "configurationField": "configuration", + "description": "The comma separated list of events to which the webhook must subscribe" + }, + "bridgeErrorHandler": { + "index": 2, + "kind": "parameter", + "displayName": "Bridge Error Handler", + "group": "consumer (advanced)", + "label": "consumer,advanced", + "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 (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not possible. In other situations we may improve the Camel component to hook into the 3rd party component and make this possible for future releases. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored." + }, + "exceptionHandler": { + "index": 3, + "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 consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored." + }, + "exchangePattern": { + "index": 4, + "kind": "parameter", + "displayName": "Exchange Pattern", + "group": "consumer (advanced)", + "label": "consumer,advanced", + "required": false, + "type": "object", + "javaType": "org.apache.camel.ExchangePattern", + "enum": [ + "InOnly", + "InOut" + ], + "deprecated": false, + "autowired": false, + "secret": false, + "description": "Sets the exchange pattern when the consumer creates an exchange." + }, + "baseUrl": { + "index": 5, + "kind": "parameter", + "displayName": "Base Url", + "group": "advanced", + "label": "advanced", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.clickup.ClickUpConfiguration", + "configurationField": "configuration", + "description": "Can be used to set an alternative base URL, e.g. when you want to test the component against a mock ClickUp API" + }, + "authorizationToken": { + "index": 6, + "kind": "parameter", + "displayName": "Authorization Token", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.clickup.ClickUpConfiguration", + "configurationField": "configuration", + "description": "The authorization token for authenticating against the ClickUp API." + }, + "webhookSecret": { + "index": 7, + "kind": "parameter", + "displayName": "Webhook Secret", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.clickup.ClickUpConfiguration", + "configurationField": "configuration", + "description": "The shared secret obtained in the webhook creation response." + } + } +} \ No newline at end of file