From 33ebfffd00f2088bae131b3e1a4f5eb583a08b13 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 2 Dec 2016 23:38:49 +0300 Subject: drop msbotframework4j dependency as it is outdated --- .../main/java/com/juick/api/controllers/SkypeEndpoint.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'juick-api/src/main/java/com') 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); -- cgit v1.2.3