You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/10/13 06:30:11 UTC

[camel] branch master updated (54caa94 -> 1bb03d3)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 54caa94  Revert "Jenkinsfile build: changed the JDK name following INFRA new approach"
     new 5282b8d  Camel-Slack: Added some notes about consumer
     new 1bb03d3  Camel-Slack: Regen docs

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../resources/org/apache/camel/catalog/docs/slack-component.adoc    | 6 +++++-
 components/camel-slack/src/main/docs/slack-component.adoc           | 6 +++++-
 docs/components/modules/ROOT/pages/slack-component.adoc             | 6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)


[camel] 02/02: Camel-Slack: Regen docs

Posted by ac...@apache.org.
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

commit 1bb03d35f29df78397ae9f967c9992cab98b77f9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 13 08:28:44 2020 +0200

    Camel-Slack: Regen docs
---
 .../resources/org/apache/camel/catalog/docs/slack-component.adoc    | 6 +++++-
 docs/components/modules/ROOT/pages/slack-component.adoc             | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

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 7a97661..fb617b3 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
@@ -178,6 +178,10 @@ from("slack://general?token=RAW(<YOUR_TOKEN>)&maxResults=1")
 
 In this way you'll get the last message from general channel. The consumer will take track of the timestamp of the last message consumed and in the next poll it will check from that timestamp.
 
-IMPORTANT: Add the `channels:history` user token scope to your app to grant it permission to view messages in the user's public channels.
+You'll need to create a Slack app and use it on your workspace.
+
+Use the 'Bot User OAuth Access Token' as token for the consumer endpoint.
+
+IMPORTANT: Add the `channels:history` and `channels:read` user token scope to your app to grant it permission to view messages in the user's public channels.
 
 include::camel-spring-boot::page$slack-starter.adoc[]
diff --git a/docs/components/modules/ROOT/pages/slack-component.adoc b/docs/components/modules/ROOT/pages/slack-component.adoc
index e731f9b..6b1a617 100644
--- a/docs/components/modules/ROOT/pages/slack-component.adoc
+++ b/docs/components/modules/ROOT/pages/slack-component.adoc
@@ -180,6 +180,10 @@ from("slack://general?token=RAW(<YOUR_TOKEN>)&maxResults=1")
 
 In this way you'll get the last message from general channel. The consumer will take track of the timestamp of the last message consumed and in the next poll it will check from that timestamp.
 
-IMPORTANT: Add the `channels:history` user token scope to your app to grant it permission to view messages in the user's public channels.
+You'll need to create a Slack app and use it on your workspace.
+
+Use the 'Bot User OAuth Access Token' as token for the consumer endpoint.
+
+IMPORTANT: Add the `channels:history` and `channels:read` user token scope to your app to grant it permission to view messages in the user's public channels.
 
 include::camel-spring-boot::page$slack-starter.adoc[]


[camel] 01/02: Camel-Slack: Added some notes about consumer

Posted by ac...@apache.org.
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

commit 5282b8de8c63bc4dac0b07ec10cba6fdf33ec2fa
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 13 08:28:11 2020 +0200

    Camel-Slack: Added some notes about consumer
---
 components/camel-slack/src/main/docs/slack-component.adoc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/components/camel-slack/src/main/docs/slack-component.adoc b/components/camel-slack/src/main/docs/slack-component.adoc
index 7a97661..fb617b3 100644
--- a/components/camel-slack/src/main/docs/slack-component.adoc
+++ b/components/camel-slack/src/main/docs/slack-component.adoc
@@ -178,6 +178,10 @@ from("slack://general?token=RAW(<YOUR_TOKEN>)&maxResults=1")
 
 In this way you'll get the last message from general channel. The consumer will take track of the timestamp of the last message consumed and in the next poll it will check from that timestamp.
 
-IMPORTANT: Add the `channels:history` user token scope to your app to grant it permission to view messages in the user's public channels.
+You'll need to create a Slack app and use it on your workspace.
+
+Use the 'Bot User OAuth Access Token' as token for the consumer endpoint.
+
+IMPORTANT: Add the `channels:history` and `channels:read` user token scope to your app to grant it permission to view messages in the user's public channels.
 
 include::camel-spring-boot::page$slack-starter.adoc[]