manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1344) Slack Notification Connector
Date Sat, 26 Nov 2016 07:09:58 GMT


Karl Wright commented on CONNECTORS-1344:

[~schuchm]: You have two models to choose from.  The first model is the simplest: your connector
simply trusts all certificates from the server you're talking with.  See the wiki connector
for that one.  The second model allows you to populate a custom keystore so that you have
a robustly secured https connection available.  This is usually unnecessary but if you wanted
to go to that extent you could look at the SharePoint connector.

In both cases you will want to be certain you aren't just using the default secure socket
setup, which uses the global keystore for SSL validation.  That leads to deployment issues.

Thanks again!

> Slack Notification Connector
> ----------------------------
>                 Key: CONNECTORS-1344
>                 URL:
>             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 ( and there are a lot of java examples
showing how to pull this off:
> The simplest way for an integration are [Slack incoming webhooks|]
> Sample Request
> {code}
> 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|]
> See 
> *Design*
> - new connector module {{connectors/slack}} (similar to {{connectors/email}})
> - {{SlackConnector}} extending {{org.apache.manifoldcf.crawler.notifications.BaseNotificationConnector}}
> - using Apache HTTP Client (is already a dependency in ManifoldCF) for HTTP Post
> - -gson- jackson for creating the json request entity
> - support markdown messages

This message was sent by Atlassian JIRA

View raw message