Skip to content

Instantly share code, notes, and snippets.

@gashcrumb
Created December 1, 2016 15:47
Show Gist options
  • Save gashcrumb/4e8b603d59753b9e075616f4f4165e10 to your computer and use it in GitHub Desktop.
Save gashcrumb/4e8b603d59753b9e075616f4f4165e10 to your computer and use it in GitHub Desktop.
ipaas-edit-connector-options page 3:
{
"messages": [
],
"valid": true,
"canExecute": true,
"out": "",
"err": "",
"wizardResults": {
"stepInputs": [
{
"info": {
"id": "ipaas-edit-connector-options",
"name": "iPaaS: Edit Connector Options",
"description": "Edit default values for existing Connector options",
"category": "ipaas",
"enabled": true
},
"properties": {
"kind": {
"name": "kind",
"description": "What polling mode to use direct polling or event based. The event mode is only supported when the endpoint kind is event based.",
"title": "Kind",
"value": "none",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false,
"enum": [
"none",
"directmessage",
"search",
"streaming\/filter",
"streaming\/sample",
"streaming\/user",
"timeline\/home",
"timeline\/mentions",
"timeline\/retweetsofme",
"timeline\/user"
]
},
"accessToken": {
"name": "accessToken",
"description": "The access token. Can also be configured on the TwitterComponent level instead.",
"title": "Access Token",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false
},
"accessTokenSecret": {
"name": "accessTokenSecret",
"description": "The access secret. Can also be configured on the TwitterComponent level instead.",
"title": "Access Token Secret",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false
},
"consumerKey": {
"name": "consumerKey",
"description": "The consumer key. Can also be configured on the TwitterComponent level instead.",
"title": "Consumer Key",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false
},
"consumerSecret": {
"name": "consumerSecret",
"description": "The consumer secret. Can also be configured on the TwitterComponent level instead.",
"title": "Consumer Secret",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false
},
"user": {
"name": "user",
"description": "Username used for user timeline consumption direct message production etc.",
"title": "User",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false
}
}
},
{
"info": {
"id": "ipaas-edit-connector-options",
"name": "iPaaS: Edit Connector Options",
"description": "Edit default values for existing Connector options",
"category": "ipaas",
"enabled": true
},
"properties": {
"bridgeErrorHandler": {
"name": "bridgeErrorHandler",
"description": "Allows for bridging the consumer to the Camel routing Error Handler which mean any exceptions occurred while the consumer is trying to pickup incoming messages or the likes will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions that will be logged at WARN\/ERROR level and ignored.",
"title": "Bridge Error Handler",
"value": false,
"javaType": "java.lang.Boolean",
"type": "boolean",
"enabled": true,
"required": false
},
"sendEmptyMessageWhenIdle": {
"name": "sendEmptyMessageWhenIdle",
"description": "If the polling consumer did not poll any files you can enable this option to send an empty message (no body) instead.",
"title": "Send Empty Message When Idle",
"value": false,
"javaType": "java.lang.Boolean",
"type": "boolean",
"enabled": true,
"required": false
},
"type": {
"name": "type",
"description": "Endpoint type to use. Only streaming supports event type.",
"title": "Type",
"value": "direct",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false,
"enum": [
"polling",
"direct",
"event"
]
}
}
},
{
"info": {
"id": "ipaas-edit-connector-options",
"name": "iPaaS: Edit Connector Options",
"description": "Edit default values for existing Connector options",
"category": "ipaas",
"enabled": true
},
"properties": {
"distanceMetric": {
"name": "distanceMetric",
"description": "Used by the non-stream geography search to search by radius using the configured metrics. The unit can either be mi for miles or km for kilometers. You need to configure all the following options: longitude latitude radius and distanceMetric.",
"title": "Distance Metric",
"value": "km",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false,
"enum": [
"km",
"mi"
]
},
"exceptionHandler": {
"name": "exceptionHandler",
"description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions that will be logged at WARN\/ERROR level and ignored.",
"title": "Exception Handler",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false
},
"exchangePattern": {
"name": "exchangePattern",
"description": "Sets the exchange pattern when the consumer creates an exchange.",
"title": "Exchange Pattern",
"value": "none",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false,
"enum": [
"none",
"InOnly",
"RobustInOnly",
"InOut",
"InOptionalOut",
"OutOnly",
"RobustOutOnly",
"OutIn",
"OutOptionalIn"
]
},
"latitude": {
"name": "latitude",
"description": "Used by the non-stream geography search to search by latitude. You need to configure all the following options: longitude latitude radius and distanceMetric.",
"title": "Latitude",
"javaType": "java.lang.Float",
"type": "number",
"enabled": true,
"required": false
},
"locations": {
"name": "locations",
"description": "Bounding boxes created by pairs of lat\/lons. Can be used for streaming\/filter. A pair is defined as latlon. And multiple paris can be separated by semi colon.",
"title": "Locations",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false
},
"longitude": {
"name": "longitude",
"description": "Used by the non-stream geography search to search by longitude. You need to configure all the following options: longitude latitude radius and distanceMetric.",
"title": "Longitude",
"javaType": "java.lang.Float",
"type": "number",
"enabled": true,
"required": false
},
"pollStrategy": {
"name": "pollStrategy",
"description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel.",
"title": "Poll Strategy",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false
},
"radius": {
"name": "radius",
"description": "Used by the non-stream geography search to search by radius. You need to configure all the following options: longitude latitude radius and distanceMetric.",
"title": "Radius",
"javaType": "java.lang.Float",
"type": "number",
"enabled": true,
"required": false
},
"twitterStream": {
"name": "twitterStream",
"description": "To use a custom instance of TwitterStream",
"title": "Twitter Stream",
"javaType": "java.lang.String",
"type": "string",
"enabled": true,
"required": false
}
}
}
],
"stepValidations": [
],
"stepResults": [
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment