manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Schuch (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CONNECTORS-1344) Slack Notification Connector
Date Tue, 22 Nov 2016 22:40:58 GMT

     [ https://issues.apache.org/jira/browse/CONNECTORS-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Markus Schuch updated CONNECTORS-1344:
--------------------------------------
    Description: 
Since CONNECTORS-1119 ManifoldCF has the ability to send notifications on certain job statuses.
Notification endpoints are realized by {{INotificationConnector}} implementors.

It would be awesome to have a notification connector for Slack channel.

Slack has a HTTP API (https://api.slack.com/web) and there are a lot of java examples showing
how to pull this off: https://api.slack.com/community#java
The simplest way for an integration are [Slack incoming webhooks|https://api.slack.com/incoming-webhooks]

Sample Request
{code}
POST https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
Content-type: application/json
{
    "text": "This is a line of text.\nAnd this is another one."
}
{code}

We plan to contribute this connector on November 24th 2016 in the context of a Open Source
Hackathon at [DB Systel GmbH|http://www.dbsystel.de/dbsystel-en/start.html]
See https://www.mail-archive.com/dev@manifoldcf.apache.org/msg11050.html 

*Design* _(work in progress)_
- new connector module {{connectors/slack}} (similar to {{connectors/email}})
- {{SlackConnector}} extending {{org.apache.manifoldcf.crawler.notifications.BaseNotificationConnector}}
- ...

  was:
Since CONNECTORS-1119 ManifoldCF has the ability to send notifications on certain job statuses.
Notification endpoints are realized by {{INotificationConnector}} implementors.

It would be awesome to have a notification connector for Slack channel.

Slack has a HTTP API (https://api.slack.com/web) and there are a lot of java examples showing
how to pull this off: https://api.slack.com/community#java

We plan to contribute this connector on November 24th 2016 in the context of a Open Source
Hackathon at [DB Systel GmbH|http://www.dbsystel.de/dbsystel-en/start.html]
See https://www.mail-archive.com/dev@manifoldcf.apache.org/msg11050.html 

*Design* _(work in progress)_
- new connector module {{connectors/slack}} (similar to {{connectors/email}})
- {{SlackConnector}} extending {{org.apache.manifoldcf.crawler.notifications.BaseNotificationConnector}}
- ...


> Slack Notification Connector
> ----------------------------
>
>                 Key: CONNECTORS-1344
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1344
>             Project: ManifoldCF
>          Issue Type: New Feature
>    Affects Versions: ManifoldCF 2.5
>            Reporter: Markus Schuch
>            Assignee: Karl Wright
>            Priority: Minor
>             Fix For: ManifoldCF 2.6
>
>
> Since CONNECTORS-1119 ManifoldCF has the ability to send notifications on certain job
statuses. Notification endpoints are realized by {{INotificationConnector}} implementors.
> It would be awesome to have a notification connector for Slack channel.
> Slack has a HTTP API (https://api.slack.com/web) and there are a lot of java examples
showing how to pull this off: https://api.slack.com/community#java
> The simplest way for an integration are [Slack incoming webhooks|https://api.slack.com/incoming-webhooks]
> Sample Request
> {code}
> POST https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
> Content-type: application/json
> {
>     "text": "This is a line of text.\nAnd this is another one."
> }
> {code}
> We plan to contribute this connector on November 24th 2016 in the context of a Open Source
Hackathon at [DB Systel GmbH|http://www.dbsystel.de/dbsystel-en/start.html]
> See https://www.mail-archive.com/dev@manifoldcf.apache.org/msg11050.html 
> *Design* _(work in progress)_
> - new connector module {{connectors/slack}} (similar to {{connectors/email}})
> - {{SlackConnector}} extending {{org.apache.manifoldcf.crawler.notifications.BaseNotificationConnector}}
> - ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message