720 lines
24 KiB
JSON
720 lines
24 KiB
JSON
{
|
|
"component": {
|
|
"kind": "component",
|
|
"name": "ibm-watson-language",
|
|
"title": "IBM Watson Language",
|
|
"description": "Perform natural language processing using IBM Watson Natural Language Understanding",
|
|
"deprecated": false,
|
|
"firstVersion": "3.30.0",
|
|
"label": "ai,cloud",
|
|
"javaType": "org.apache.camel.component.ibm.watson.language.WatsonLanguageComponent",
|
|
"supportLevel": "Stable",
|
|
"nativeSupported": true,
|
|
"metadata": {
|
|
"quarkusVersion": "3.36.0",
|
|
"camelArtifact": "org.apache.camel:camel-ibm-watson-language",
|
|
"camelVersion": "4.20.0"
|
|
},
|
|
"groupId": "org.apache.camel.quarkus",
|
|
"artifactId": "camel-quarkus-ibm-watson-language",
|
|
"version": "4.20.0 (CEQ 3.36.0)",
|
|
"scheme": "ibm-watson-language",
|
|
"extendsScheme": "",
|
|
"syntax": "ibm-watson-language:label",
|
|
"async": false,
|
|
"api": false,
|
|
"consumerOnly": false,
|
|
"producerOnly": true,
|
|
"lenientProperties": false,
|
|
"browsable": false,
|
|
"remote": true
|
|
},
|
|
"componentProperties": {
|
|
"serviceUrl": {
|
|
"index": 0,
|
|
"kind": "property",
|
|
"displayName": "Service Url",
|
|
"group": "common",
|
|
"label": "common",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The service endpoint URL. If not specified, the default URL will be used."
|
|
},
|
|
"analyzeCategories": {
|
|
"index": 1,
|
|
"kind": "property",
|
|
"displayName": "Analyze Categories",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable category classification"
|
|
},
|
|
"analyzeConcepts": {
|
|
"index": 2,
|
|
"kind": "property",
|
|
"displayName": "Analyze Concepts",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable concept extraction"
|
|
},
|
|
"analyzeEmotion": {
|
|
"index": 3,
|
|
"kind": "property",
|
|
"displayName": "Analyze Emotion",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable emotion analysis"
|
|
},
|
|
"analyzeEntities": {
|
|
"index": 4,
|
|
"kind": "property",
|
|
"displayName": "Analyze Entities",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable entity extraction"
|
|
},
|
|
"analyzeKeywords": {
|
|
"index": 5,
|
|
"kind": "property",
|
|
"displayName": "Analyze Keywords",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable keyword extraction"
|
|
},
|
|
"analyzeSentiment": {
|
|
"index": 6,
|
|
"kind": "property",
|
|
"displayName": "Analyze Sentiment",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable sentiment analysis"
|
|
},
|
|
"configuration": {
|
|
"index": 7,
|
|
"kind": "property",
|
|
"displayName": "Configuration",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "Component configuration"
|
|
},
|
|
"lazyStartProducer": {
|
|
"index": 8,
|
|
"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."
|
|
},
|
|
"operation": {
|
|
"index": 9,
|
|
"kind": "property",
|
|
"displayName": "Operation",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "enum",
|
|
"javaType": "org.apache.camel.component.ibm.watson.language.WatsonLanguageOperations",
|
|
"enum": [
|
|
"analyzeText",
|
|
"analyzeUrl"
|
|
],
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The operation to perform"
|
|
},
|
|
"autowiredEnabled": {
|
|
"index": 10,
|
|
"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."
|
|
},
|
|
"healthCheckConsumerEnabled": {
|
|
"index": 11,
|
|
"kind": "property",
|
|
"displayName": "Health Check Consumer Enabled",
|
|
"group": "health",
|
|
"label": "health",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"description": "Used for enabling or disabling all consumer based health checks from this component"
|
|
},
|
|
"healthCheckProducerEnabled": {
|
|
"index": 12,
|
|
"kind": "property",
|
|
"displayName": "Health Check Producer Enabled",
|
|
"group": "health",
|
|
"label": "health",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"description": "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true."
|
|
},
|
|
"apiKey": {
|
|
"index": 13,
|
|
"kind": "property",
|
|
"displayName": "Api Key",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": true,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": true,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The IBM Cloud API key for authentication"
|
|
}
|
|
},
|
|
"headers": {
|
|
"CamelIBMWatsonLanguageOperation": {
|
|
"index": 0,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The operation to perform",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#OPERATION"
|
|
},
|
|
"CamelIBMWatsonLanguageText": {
|
|
"index": 1,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The text to analyze",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#TEXT"
|
|
},
|
|
"CamelIBMWatsonLanguageUrl": {
|
|
"index": 2,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The URL to analyze",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#URL"
|
|
},
|
|
"CamelIBMWatsonLanguageAnalyzeSentiment": {
|
|
"index": 3,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "Boolean",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "Enable sentiment analysis",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#ANALYZE_SENTIMENT"
|
|
},
|
|
"CamelIBMWatsonLanguageAnalyzeEmotion": {
|
|
"index": 4,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "Boolean",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "Enable emotion analysis",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#ANALYZE_EMOTION"
|
|
},
|
|
"CamelIBMWatsonLanguageAnalyzeEntities": {
|
|
"index": 5,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "Boolean",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "Enable entity extraction",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#ANALYZE_ENTITIES"
|
|
},
|
|
"CamelIBMWatsonLanguageAnalyzeKeywords": {
|
|
"index": 6,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "Boolean",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "Enable keyword extraction",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#ANALYZE_KEYWORDS"
|
|
},
|
|
"CamelIBMWatsonLanguageAnalyzeConcepts": {
|
|
"index": 7,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "Boolean",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "Enable concept extraction",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#ANALYZE_CONCEPTS"
|
|
},
|
|
"CamelIBMWatsonLanguageAnalyzeCategories": {
|
|
"index": 8,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "Boolean",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "Enable category classification",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#ANALYZE_CATEGORIES"
|
|
},
|
|
"CamelIBMWatsonLanguageLanguage": {
|
|
"index": 9,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The language of the text",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#LANGUAGE"
|
|
},
|
|
"CamelIBMWatsonLanguageSentimentScore": {
|
|
"index": 10,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "Double",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The sentiment score",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#SENTIMENT_SCORE"
|
|
},
|
|
"CamelIBMWatsonLanguageSentimentLabel": {
|
|
"index": 11,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The sentiment label (positive, negative, neutral)",
|
|
"constantName": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConstants#SENTIMENT_LABEL"
|
|
}
|
|
},
|
|
"properties": {
|
|
"label": {
|
|
"index": 0,
|
|
"kind": "path",
|
|
"displayName": "Label",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": true,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "Logical name"
|
|
},
|
|
"serviceUrl": {
|
|
"index": 1,
|
|
"kind": "parameter",
|
|
"displayName": "Service Url",
|
|
"group": "common",
|
|
"label": "common",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The service endpoint URL. If not specified, the default URL will be used."
|
|
},
|
|
"analyzeCategories": {
|
|
"index": 2,
|
|
"kind": "parameter",
|
|
"displayName": "Analyze Categories",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable category classification"
|
|
},
|
|
"analyzeConcepts": {
|
|
"index": 3,
|
|
"kind": "parameter",
|
|
"displayName": "Analyze Concepts",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable concept extraction"
|
|
},
|
|
"analyzeEmotion": {
|
|
"index": 4,
|
|
"kind": "parameter",
|
|
"displayName": "Analyze Emotion",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable emotion analysis"
|
|
},
|
|
"analyzeEntities": {
|
|
"index": 5,
|
|
"kind": "parameter",
|
|
"displayName": "Analyze Entities",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable entity extraction"
|
|
},
|
|
"analyzeKeywords": {
|
|
"index": 6,
|
|
"kind": "parameter",
|
|
"displayName": "Analyze Keywords",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable keyword extraction"
|
|
},
|
|
"analyzeSentiment": {
|
|
"index": 7,
|
|
"kind": "parameter",
|
|
"displayName": "Analyze Sentiment",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Enable sentiment analysis"
|
|
},
|
|
"operation": {
|
|
"index": 8,
|
|
"kind": "parameter",
|
|
"displayName": "Operation",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "enum",
|
|
"javaType": "org.apache.camel.component.ibm.watson.language.WatsonLanguageOperations",
|
|
"enum": [
|
|
"analyzeText",
|
|
"analyzeUrl"
|
|
],
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The operation to perform"
|
|
},
|
|
"lazyStartProducer": {
|
|
"index": 9,
|
|
"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."
|
|
},
|
|
"apiKey": {
|
|
"index": 10,
|
|
"kind": "parameter",
|
|
"displayName": "Api Key",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": true,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": true,
|
|
"configurationClass": "org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The IBM Cloud API key for authentication"
|
|
}
|
|
},
|
|
"propertiesSchema": {
|
|
"properties": {
|
|
"label": {
|
|
"title": "Label",
|
|
"description": "Logical name",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"serviceUrl": {
|
|
"title": "Service Url",
|
|
"description": "The service endpoint URL. If not specified, the default URL will be used.",
|
|
"type": "string",
|
|
"$comment": "group:common"
|
|
},
|
|
"analyzeCategories": {
|
|
"title": "Analyze Categories",
|
|
"description": "Enable category classification",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": false
|
|
},
|
|
"analyzeConcepts": {
|
|
"title": "Analyze Concepts",
|
|
"description": "Enable concept extraction",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": false
|
|
},
|
|
"analyzeEmotion": {
|
|
"title": "Analyze Emotion",
|
|
"description": "Enable emotion analysis",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": false
|
|
},
|
|
"analyzeEntities": {
|
|
"title": "Analyze Entities",
|
|
"description": "Enable entity extraction",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": true
|
|
},
|
|
"analyzeKeywords": {
|
|
"title": "Analyze Keywords",
|
|
"description": "Enable keyword extraction",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": true
|
|
},
|
|
"analyzeSentiment": {
|
|
"title": "Analyze Sentiment",
|
|
"description": "Enable sentiment analysis",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": true
|
|
},
|
|
"operation": {
|
|
"title": "Operation",
|
|
"description": "The operation to perform",
|
|
"type": "string",
|
|
"enum": [
|
|
"analyzeText",
|
|
"analyzeUrl"
|
|
],
|
|
"$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
|
|
},
|
|
"apiKey": {
|
|
"title": "Api Key",
|
|
"description": "The IBM Cloud API key for authentication",
|
|
"type": "string",
|
|
"$comment": "group:security",
|
|
"format": "password"
|
|
}
|
|
},
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"required": [
|
|
"label",
|
|
"apiKey"
|
|
]
|
|
}
|
|
} |