This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 2bbcc20 Regen for commit 9777663454178f86b03ccad6b6f1d3134e767376 2bbcc20 is described below commit 2bbcc205692147794a1b49526b0fc63626faf10b Author: omarsmak <omars...@users.noreply.github.com> AuthorDate: Wed Mar 3 16:21:55 2021 +0000 Regen for commit 9777663454178f86b03ccad6b6f1d3134e767376 Signed-off-by: GitHub <nore...@github.com> --- camel-dependencies/pom.xml | 1 + .../resources/org/apache/camel/catalog/components/slack.json | 5 ++++- .../resources/org/apache/camel/catalog/docs/slack-component.adoc | 8 +++----- docs/components/modules/ROOT/pages/slack-component.adoc | 8 +++----- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index d67f043..b52def5 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -505,6 +505,7 @@ <shrinkwrap-resolver-version>3.1.3</shrinkwrap-resolver-version> <shrinkwrap-version>1.2.6</shrinkwrap-version> <sip-api-version>1.1</sip-api-version> + <slack-api-model-version>1.6.1</slack-api-model-version> <slf4j-api-version>1.7.30</slf4j-api-version> <slf4j-version>1.7.30</slf4j-version> <smack-version>4.3.5</smack-version> diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/slack.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/slack.json index 7c4befa..c288126 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/slack.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/slack.json @@ -25,15 +25,18 @@ "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "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 occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a me [...] "lazyStartProducer": { "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 star [...] "autowiredEnabled": { "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 t [...] + "token": { "kind": "property", "displayName": "Token", "group": "token", "label": "token", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The token to use" }, "webhookUrl": { "kind": "property", "displayName": "Webhook Url", "group": "webhook", "label": "webhook", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The incoming webhook URL" } }, "properties": { "channel": { "kind": "path", "displayName": "Channel", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The channel name (syntax #name) or slackuser (syntax userName) to send a message directly to an user." }, + "token": { "kind": "parameter", "displayName": "Token", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "description": "The token to use" }, "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "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 occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a m [...] + "conversationType": { "kind": "parameter", "displayName": "Conversation Type", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "com.slack.api.model.ConversationType", "enum": [ "PUBLIC_CHANNEL", "PRIVATE_CHANNEL", "MPIM", "IM" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "PUBLIC_CHANNEL", "description": "Type of conversation" }, "maxResults": { "kind": "parameter", "displayName": "Max Results", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "10", "description": "The Max Result for the poll" }, + "naturalOrder": { "kind": "parameter", "displayName": "Natural Order", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Create exchanges in natural order (oldest to newest) or not" }, "sendEmptyMessageWhenIdle": { "kind": "parameter", "displayName": "Send Empty Message When Idle", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead." }, "serverUrl": { "kind": "parameter", "displayName": "Server Url", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "https:\/\/slack.com", "description": "The Server URL of the Slack instance" }, - "token": { "kind": "parameter", "displayName": "Token", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "description": "The token to use" }, "exceptionHandler": { "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 con [...] "exchangePattern": { "kind": "parameter", "displayName": "Exchange Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", "InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false, "description": "Sets the exchange pattern when the consumer creates an exchange." }, "pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation [...] diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/slack-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/slack-component.adoc index 5363145..be1060a 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/slack-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/slack-component.adoc @@ -170,8 +170,7 @@ A CamelContext with Blueprint could be as: == Producer -*Since Camel 3.9.0* + - You can now use a token to send a message instead of WebhookUrl +You can now use a token to send a message instead of WebhookUrl [source,java] --------------------------------------------------------------------------------------------------------------------------- @@ -179,7 +178,7 @@ from("direct:test") .to("slack:#random?token=RAW(<YOUR_TOKEN>)"); --------------------------------------------------------------------------------------------------------------------------- - You can now use the Slack API model to create blocks. You can read more about it here https://api.slack.com/block-kit +You can now use the Slack API model to create blocks. You can read more about it here https://api.slack.com/block-kit [source,java] --------------------------------------------------------------------------------------------------------------------------- @@ -217,8 +216,7 @@ IMPORTANT: Add the corresponding history (`channels:history` or `groups:history` read (`channels:read` or `groups:read` or `mpim:read` or `im:read`) user token scope to your app to grant it permission to view messages in the corresponding channel. You will need to use the conversationType option to set it up too (`PUBLIC_CHANNEL`, `PRIVATE_CHANNEL`, `MPIM`, `IM`) -*Since Camel 3.9.0* + - The naturalOrder option allows consuming messages from the oldest to the newest. +The naturalOrder option allows consuming messages from the oldest to the newest. Originally you would get the newest first and consume backward (message 3 => message 2 => message 1) IMPORTANT: You can use the conversationType option to read history and messages from a channel that is not only public diff --git a/docs/components/modules/ROOT/pages/slack-component.adoc b/docs/components/modules/ROOT/pages/slack-component.adoc index b88ad4d..df6f1f8 100644 --- a/docs/components/modules/ROOT/pages/slack-component.adoc +++ b/docs/components/modules/ROOT/pages/slack-component.adoc @@ -172,8 +172,7 @@ A CamelContext with Blueprint could be as: == Producer -*Since Camel 3.9.0* + - You can now use a token to send a message instead of WebhookUrl +You can now use a token to send a message instead of WebhookUrl [source,java] --------------------------------------------------------------------------------------------------------------------------- @@ -181,7 +180,7 @@ from("direct:test") .to("slack:#random?token=RAW(<YOUR_TOKEN>)"); --------------------------------------------------------------------------------------------------------------------------- - You can now use the Slack API model to create blocks. You can read more about it here https://api.slack.com/block-kit +You can now use the Slack API model to create blocks. You can read more about it here https://api.slack.com/block-kit [source,java] --------------------------------------------------------------------------------------------------------------------------- @@ -219,8 +218,7 @@ IMPORTANT: Add the corresponding history (`channels:history` or `groups:history` read (`channels:read` or `groups:read` or `mpim:read` or `im:read`) user token scope to your app to grant it permission to view messages in the corresponding channel. You will need to use the conversationType option to set it up too (`PUBLIC_CHANNEL`, `PRIVATE_CHANNEL`, `MPIM`, `IM`) -*Since Camel 3.9.0* + - The naturalOrder option allows consuming messages from the oldest to the newest. +The naturalOrder option allows consuming messages from the oldest to the newest. Originally you would get the newest first and consume backward (message 3 => message 2 => message 1) IMPORTANT: You can use the conversationType option to read history and messages from a channel that is not only public