aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-02 23:38:49 +0300
committerGravatar Vitaly Takmazov2016-12-02 23:38:49 +0300
commit33ebfffd00f2088bae131b3e1a4f5eb583a08b13 (patch)
tree9e2999cd67f9f5be46d289faad0654328ec3a041
parent677471013442bcb5455d4c827d7a13a17392fc8f (diff)
drop msbotframework4j dependency as it is outdated
-rw-r--r--juick-api/build.gradle1
-rw-r--r--juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java11
2 files changed, 2 insertions, 10 deletions
diff --git a/juick-api/build.gradle b/juick-api/build.gradle
index 8b6dd0e6..234ec006 100644
--- a/juick-api/build.gradle
+++ b/juick-api/build.gradle
@@ -15,7 +15,6 @@ dependencies {
compile "org.springframework:spring-webmvc:${rootProject.springFrameworkVersion}"
compile 'com.github.pengrad:java-telegram-bot-api:2.3.0'
- compile 'org.msbotframework4j:msbotframework4j-builder:0.1.4'
compile 'com.neovisionaries:nv-websocket-client:1.30'
compile 'net.coobird:thumbnailator:0.4.8'
providedRuntime 'mysql:mysql-connector-java:5.1.40'
diff --git a/juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java b/juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java
index 2a5c6c1e..70f0f760 100644
--- a/juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java
+++ b/juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java
@@ -1,8 +1,5 @@
package com.juick.api.controllers;
-import org.msbotframework4j.builder.bot.AbstractBot;
-import org.msbotframework4j.core.model.Message;
-import org.msbotframework4j.logging.BotLogger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
@@ -16,13 +13,9 @@ import java.io.IOException;
* Created by vitalyster on 18.07.2016.
*/
@Controller
-public class SkypeEndpoint extends AbstractBot {
+public class SkypeEndpoint {
private static final Logger logger = LoggerFactory.getLogger(SkypeEndpoint.class);
- @Override
- protected Message onMessage(Message request, BotLogger logger) {
- return null;
- }
-
+
@RequestMapping(value = "/skypebotendpoint", method = RequestMethod.POST)
public void doPost(@RequestBody String body) throws IOException {
logger.info(body);