Code Monkey home page Code Monkey logo

bot-room-manager's Introduction

##RoomManager Bot

##Created by Ryan D'souza and Susan Haimet

####Purpose This comes from a real world use case provided by Groupama AM where they submit an offer and the sales people bid on it.

As detailed in the screenshots below, sales people in different chats cannot/should not communicate with each other - only the buyer/dealer can interact with the different sales groups (regulations).

This means that the buyer would need to switch between three+ different sales chats in order to find the best deal. This can take up a lot of time and result in them missing out on that trade.

RoomManager allows each sales chat to send a message to a room (Central Chat) with the buyer in it, allowing the buyer to view all sales offers in the same window/screen without switching between tabs and having different sales teams know what the other team is offering.

From that central chat, the buyer can communicate with each sales chat individually without switching tabs or chats.

This will save the buyer a lot of time + effort, and time = money

####Run Instructions

  • Download this ZIP

  • Uncompress this ZIP

  • Open project folder in IntelliJ

  • Install maven dependencies from pom.xml

  • Run the main method of 'RoomManagerBot.java'

  • Our bot the Central Chat Room can launch an offer for a trade by sending out a message to Sales Chat Rooms (in our example 3 Sales Chat Rooms - Room 1, Room2 and Room 3,

  • Each Sales Shat rooms has Sales people waiting for info on a trade (in our case each Sales Chat Rooom has 2 users but it could be n users) + our bot.

  • Sales people in those Sales Chat Rooms will send a message if they are interested in the trade. The messaged is prefixed by ccr "Central Chat Room" and our bot will post that message in the "Central Chat Room" to say "yes I am interested in this trade".

ccr Hello Central Chat Room, I want to do this deal.

The message is displayed in the central chat room. In the use case provided by the our real life client this would be an offer for a trade.

The Central Chat Room can then send messages to any (or all) of the other chat rooms, for example, Chat Room 1 "Let's do the deal.", Chat Room 2' "You're too late, the deal is already done."

This comes from a real world use case provided by Groupama AM where they submit an offer and the sales people bid on it. They tell us that this is a killer functionality.

bot-room-manager's People

Contributors

pmonks avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bot-room-manager's Issues

Build failure

I've tried to build the project on master (fresh checkout), but got a build failure, as shown below.

There seems to be unresolved dependencies related with the client library; you could try to use the symphony-java-client 0.9.1 (or 1.0.0-SNAPSHOT) version to fix it.

/private/tmp/ssf » mvn -v

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)
Maven home: /Users/m/Documents/opt/apache-maven-3.3.3
Java version: 1.8.0_77, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.3", arch: "x86_64", family: "mac"

/private/tmp/ssf » git clone [email protected]:symphonyoss/bot-room-manager.git ; cd bot-room-manager

/private/tmp/ssf/bot-room-manager » mvn install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.symphony:roommanagerbot:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 12, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building roommanagerbot 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.gs.ti.wpt.lc:pod-api-client:jar:1.39.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.gs.ti.wpt.lc:agent-api-client:jar:1.39.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.gs.ti.wpt.lc:auth-api-client:jar:1.39.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.gs.ti.wpt.lc:atlas:jar:1.39.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.052 s
[INFO] Finished at: 2017-02-27T11:48:29+01:00
[INFO] Final Memory: 11M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project roommanagerbot: Could not resolve dependencies for project com.symphony:roommanagerbot:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: com.gs.ti.wpt.lc:pod-api-client:jar:1.39.0-SNAPSHOT, com.gs.ti.wpt.lc:agent-api-client:jar:1.39.0-SNAPSHOT, com.gs.ti.wpt.lc:auth-api-client:jar:1.39.0-SNAPSHOT, com.gs.ti.wpt.lc:atlas:jar:1.39.0-SNAPSHOT: Could not find artifact com.gs.ti.wpt.lc:pod-api-client:jar:1.39.0-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Add NOTICE entries for category B licenses

The following items should be added to NOTICE file

CDDL 1.1: javax.ws.rs-api

Eclipse Public License 1.0: JUnit

The JSON License: JSON in Java

CDDL: HK2 API module, HK2 Implementation Utilities, OSGi resource locator bundle - used by various API providers that rely on META-INF/services mechanism to locate providers., ServiceLocator Default Implementation, aopalliance version 1.0 repackaged as a module, javax.annotation API, javax.inject:1 as OSGi bundle

MPL 1.1: Javassist

CDDL: jersey-core-client, jersey-core-common, jersey-repackaged-guava

Check symphonyoss/symphony-java-client#29 for reference

convert to use symphony-java-client

bot-room-manager should concern itself with the usecase it is designed for i.e. room management and rely on the java client for the mechanics of connecting with the symphony network

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.