Sign inSign up

juja/teams-slack-bot

By juja

•Updated almost 9 years ago

Teams slack bot for JuJa community

Image
0

496

juja/teams-slack-bot repository overview

⁠Teams slack bot

The slack bot preprocess commands from slack chat and constructs requests to the Teams microservice. And also construct successful/unsuccessful responses to the slack chat.

doc⁠

**For test slackbot on real remote server with real slack Team

  1. Fill properties file (teams.baseURL,slack.slashCommandToken)
  2. Build application with Gradle
  3. Copy \build\libs\teams-slack-bot.jar to remote server
  4. For manual testing you can use FakeUserRepository that containes filled map with slacknames (e.g. @a, ... @z). To switch on the fake repository instead of real UserRepository run jar file with following command:

java -jar -Dspring.profiles.active=test teams-slack-bot.jar

  1. Create your slack Team
  2. Create your slack app, add slash command (https://api.slack.com/apps⁠) for example command: /teams-activate request url: http://yourserver:port/v1/commands/teams/activate⁠
  3. Test with your real slack

Tag summary

Content type

Image

Digest

Size

150.5 MB

Last updated

almost 9 years ago

docker pull juja/teams-slack-bot