blob: 0640a36e4e260cd19a3c74a18e2da5d5db91ca81 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.googledrive.CamelGoogledriveSinkConnector",
"artifactId": "camel-google-drive-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-google-drive-sink",
"type": "sink",
"version": "0.7.3",
"description": "Manage files in Google Drive."
},
"properties": {
"camel.sink.path.apiName": {
"name": "camel.sink.path.apiName",
"description": "What kind of operation to perform One of: [DRIVE_ABOUT] [DRIVE_APPS] [DRIVE_CHANGES] [DRIVE_CHANNELS] [DRIVE_CHILDREN] [DRIVE_COMMENTS] [DRIVE_FILES] [DRIVE_PARENTS] [DRIVE_PERMISSIONS] [DRIVE_PROPERTIES] [DRIVE_REALTIME] [DRIVE_REPLIES] [DRIVE_REVISIONS]",
"priority": "HIGH",
"required": "true",
"enum": [
"DRIVE_ABOUT",
"DRIVE_APPS",
"DRIVE_CHANGES",
"DRIVE_CHANNELS",
"DRIVE_CHILDREN",
"DRIVE_COMMENTS",
"DRIVE_FILES",
"DRIVE_PARENTS",
"DRIVE_PERMISSIONS",
"DRIVE_PROPERTIES",
"DRIVE_REALTIME",
"DRIVE_REPLIES",
"DRIVE_REVISIONS"
]
},
"camel.sink.path.methodName": {
"name": "camel.sink.path.methodName",
"description": "What sub operation to use for the selected operation One of: [copy] [delete] [get] [getIdForEmail] [insert] [list] [patch] [stop] [touch] [trash] [untrash] [update] [watch]",
"priority": "HIGH",
"required": "true",
"enum": [
"copy",
"delete",
"get",
"getIdForEmail",
"insert",
"list",
"patch",
"stop",
"touch",
"trash",
"untrash",
"update",
"watch"
]
},
"camel.sink.endpoint.applicationName": {
"name": "camel.sink.endpoint.applicationName",
"description": "Google drive application name. Example would be camel-google-drive\/1.0",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.clientFactory": {
"name": "camel.sink.endpoint.clientFactory",
"description": "To use the GoogleCalendarClientFactory as factory for creating the client. Will by default use BatchGoogleDriveClientFactory",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.clientId": {
"name": "camel.sink.endpoint.clientId",
"description": "Client ID of the drive application",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.inBody": {
"name": "camel.sink.endpoint.inBody",
"description": "Sets the name of a parameter to be passed in the exchange In Body",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.scopes": {
"name": "camel.sink.endpoint.scopes",
"description": "Specifies the level of permissions you want a drive application to have to a user account. See https:\/\/developers.google.com\/drive\/web\/scopes for more info.",
"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.sink.endpoint.accessToken": {
"name": "camel.sink.endpoint.accessToken",
"description": "OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage.",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.clientSecret": {
"name": "camel.sink.endpoint.clientSecret",
"description": "Client secret of the drive application",
"priority": "MEDIUM",
"required": "false"
},
"camel.sink.endpoint.refreshToken": {
"name": "camel.sink.endpoint.refreshToken",
"description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-drive.applicationName": {
"name": "camel.component.google-drive.applicationName",
"description": "Google drive application name. Example would be camel-google-drive\/1.0",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-drive.clientId": {
"name": "camel.component.google-drive.clientId",
"description": "Client ID of the drive application",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-drive.configuration": {
"name": "camel.component.google-drive.configuration",
"description": "To use the shared configuration",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-drive.scopes": {
"name": "camel.component.google-drive.scopes",
"description": "Specifies the level of permissions you want a drive application to have to a user account. See https:\/\/developers.google.com\/drive\/web\/scopes for more info.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-drive.lazyStartProducer": {
"name": "camel.component.google-drive.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.google-drive.autowiredEnabled": {
"name": "camel.component.google-drive.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"
},
"camel.component.google-drive.clientFactory": {
"name": "camel.component.google-drive.clientFactory",
"description": "To use the GoogleCalendarClientFactory as factory for creating the client. Will by default use BatchGoogleDriveClientFactory",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-drive.accessToken": {
"name": "camel.component.google-drive.accessToken",
"description": "OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage.",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-drive.clientSecret": {
"name": "camel.component.google-drive.clientSecret",
"description": "Client secret of the drive application",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.google-drive.refreshToken": {
"name": "camel.component.google-drive.refreshToken",
"description": "OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived.",
"priority": "MEDIUM",
"required": "false"
}
}
}