IBMStreams / administration

Umbrella project for the IBMStreams organization. This project will be used for the management of the individual projects within the IBMStreams organization.
Other
19 stars 10 forks source link

Proposal: streamsx.slack repo to support integration with Slack #115

Closed nelsonong closed 7 years ago

nelsonong commented 7 years ago

Introduction

Slack is a cloud-based set of team collaboration tools used for real-time messaging, archiving and search. It is commonly used in corporate/team settings (such as IBM) to bring communication between teams into one place.

Slack has a full directory of apps that can be found here. These apps can easily be created using Slack's provided API and integrated with IBM Streams.

One such app is Incoming WebHooks which allows users to specify a Slack channel and receive an associated WebHook URL. Messages sent to this URL are redirected to the associated Slack channel.

Proposal

I would like to propose that a new repository and toolkit be created to enable application developers to perform various operations with their Slack environments (through integration with available apps/API).

One such operation would be to send messages/alerts from streams applications to Slack channels.

I propose that the repository be called streamsx.slack and the toolkit be called com.ibm.streamsx.slack.

Initial contribution

The toolkit will initially contain a SendSlackMessage operator that will ingest tuples and output messages to a specified WebHook URL.

The parameters for the SendSlackMessage operator are as follows:

mikespicer commented 7 years ago

+1 for toolkit

chanskw commented 7 years ago

+1

ddebrunner commented 7 years ago

+1

More for discussion in the toolkit but having the ability to set the username/icon from the tuple would be useful. E.g. the ability to have different icons based upon severity of the alert.

Maybe even the URL as well to be set from the tuple.

ddebrunner commented 7 years ago

I think the incoming webhooks link was meant to be:

https://api.slack.com/incoming-webhooks

chanskw commented 7 years ago

repository created