blob: 97f5b53a5b50e86218b9a7d9c529d379b2434f31 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.wordpress.CamelWordpressSinkConnector",
"artifactId": "camel-wordpress-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-wordpress-sink",
"type": "sink",
"version": "0.7.2",
"description": "Manage posts and users using Wordpress API."
},
"properties": {
"camel.sink.path.operation": {
"name": "camel.sink.path.operation",
"description": "The endpoint operation. One of: [post] [user]",
"priority": "HIGH",
"required": "true",
"enum": [
"post",
"user"
]
},
"camel.sink.path.operationDetail": {
"name": "camel.sink.path.operationDetail",
"description": "The second part of an endpoint operation. Needed only when endpoint semantic is not enough, like wordpress:post:delete One of: [delete]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"delete"
]
},
"camel.sink.endpoint.apiVersion": {
"name": "camel.sink.endpoint.apiVersion",
"description": "The Wordpress REST API version",
"defaultValue": "\"2\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.criteria": {
"name": "camel.sink.endpoint.criteria",
"description": "The criteria to use with complex searches.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.force": {
"name": "camel.sink.endpoint.force",
"description": "Whether to bypass trash and force deletion.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.id": {
"name": "camel.sink.endpoint.id",
"description": "The entity ID. Should be passed when the operation performed requires a specific entity, e.g. deleting a post",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.password": {
"name": "camel.sink.endpoint.password",
"description": "Password from authorized user",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.searchCriteria": {
"name": "camel.sink.endpoint.searchCriteria",
"description": "Search criteria",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.url": {
"name": "camel.sink.endpoint.url",
"description": "The Wordpress API URL from your site, e.g. http:\/\/myblog.com\/wp-json\/",
"priority": "HIGH",
"required": "true"
},
"camel.sink.endpoint.user": {
"name": "camel.sink.endpoint.user",
"description": "Authorized user to perform writing operations",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.lazyStartProducer": {
"name": "camel.sink.endpoint.lazyStartProducer",
"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.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.synchronous": {
"name": "camel.sink.endpoint.synchronous",
"description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.wordpress.apiVersion": {
"name": "camel.component.wordpress.apiVersion",
"description": "The Wordpress REST API version",
"defaultValue": "\"2\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.wordpress.configuration": {
"name": "camel.component.wordpress.configuration",
"description": "Wordpress configuration",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.wordpress.criteria": {
"name": "camel.component.wordpress.criteria",
"description": "The criteria to use with complex searches.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.wordpress.force": {
"name": "camel.component.wordpress.force",
"description": "Whether to bypass trash and force deletion.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.wordpress.id": {
"name": "camel.component.wordpress.id",
"description": "The entity ID. Should be passed when the operation performed requires a specific entity, e.g. deleting a post",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.wordpress.password": {
"name": "camel.component.wordpress.password",
"description": "Password from authorized user",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.wordpress.searchCriteria": {
"name": "camel.component.wordpress.searchCriteria",
"description": "Search criteria",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.wordpress.url": {
"name": "camel.component.wordpress.url",
"description": "The Wordpress API URL from your site, e.g. http:\/\/myblog.com\/wp-json\/",
"priority": "HIGH",
"required": "true"
},
"camel.component.wordpress.user": {
"name": "camel.component.wordpress.user",
"description": "Authorized user to perform writing operations",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.wordpress.lazyStartProducer": {
"name": "camel.component.wordpress.lazyStartProducer",
"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.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.wordpress.autowiredEnabled": {
"name": "camel.component.wordpress.autowiredEnabled",
"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.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
}
}
}