Skip to content

Latest commit

 

History

101 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

15 watching

Forks

Releases

Packages

Contributors

Languages