GithubHelp home page GithubHelp logo

teams-slack-bot's People

Contributors

danilkuznetsov avatar ivshapovalov avatar olgakulikova avatar starikivan avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

teams-slack-bot's Issues

Create Utils class

All parsing, converting, conversions should be in utils class. At the same time this class has to be separate of business logic and could be transformed in library in the future.

AOP for logs

  1. plug in the library spring-aop
  2. create config for aop (all methods start and finish with log)
  3. remove logs about 'method started' and 'method finished'

Refactor properties to use full url in endpoints

Use full url in endpoints

teams.slackbot.rest.api.version=v1
teams.slackbot.commandsUrl=/commands
teams.slackbot.endpoint.activateTeam=/${teams.slackbot.rest.api.version}${teams.slackbot.commandsUrl}/teams/activate
teams.slackbot.endpoint.deactivateTeam=/${teams.slackbot.rest.api.version}${teams.slackbot.commandsUrl}/teams/deactivate
teams.slackbot.endpoint.getTeam=/${teams.slackbot.rest.api.version}${teams.slackbot.commandsUrl}/teams
teams.slackbot.endpoint.getMyTeam=/${teams.slackbot.rest.api.version}${teams.slackbot.commandsUrl}/myteam

instead

teams.slackbot.commandsUrl=/commands
teams.slackbot.rest.api.version=v1
teams.slackbot.endpoint.activateTeam=/teams/activate
teams.slackbot.endpoint.deactivateTeam=/teams/deactivate
teams.slackbot.endpoint.getTeam=/teams
teams.slackbot.endpoint.getMyTeam=/myteam
teams.slackbot.endpoint.heartBeat=/heart

refactor controller/repositories methods mapping and tests

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.