Commit 8277e8274fb6e0df6cd92c12c88272636379382e

Authored by mfcb
1 parent 078e2c5e

JSONRequester angelegt.

BeuthBot.ipr
... ... @@ -662,6 +662,8 @@
662 662 <module name="FaceBook_test" target="1.8" />
663 663 <module name="Global_main" target="1.8" />
664 664 <module name="Global_test" target="1.8" />
  665 + <module name="JSONRequester_main" target="1.8" />
  666 + <module name="JSONRequester_test" target="1.8" />
665 667 <module name="LoggingStatistics_main" target="1.8" />
666 668 <module name="LoggingStatistics_test" target="1.8" />
667 669 <module name="MainBot_main" target="1.8" />
... ... @@ -689,6 +691,7 @@
689 691 <option value="$PROJECT_DIR$/services/Common" />
690 692 <option value="$PROJECT_DIR$/services/FaceBook" />
691 693 <option value="$PROJECT_DIR$/services/Global" />
  694 + <option value="$PROJECT_DIR$/services/JSONRequester" />
692 695 <option value="$PROJECT_DIR$/services/LoggingStatistics" />
693 696 <option value="$PROJECT_DIR$/services/MainBot" />
694 697 <option value="$PROJECT_DIR$/services/Rasa" />
... ... @@ -853,6 +856,9 @@
853 856 <module fileurl="file://$PROJECT_DIR$/services/Global/Global.iml" filepath="$PROJECT_DIR$/services/Global/Global.iml" group="services/Global" />
854 857 <module fileurl="file://$PROJECT_DIR$/services/Global/Global_main.iml" filepath="$PROJECT_DIR$/services/Global/Global_main.iml" group="services/Global" />
855 858 <module fileurl="file://$PROJECT_DIR$/services/Global/Global_test.iml" filepath="$PROJECT_DIR$/services/Global/Global_test.iml" group="services/Global" />
  859 + <module fileurl="file://$PROJECT_DIR$/services/JSONRequester/JSONRequester.iml" filepath="$PROJECT_DIR$/services/JSONRequester/JSONRequester.iml" group="services/JSONRequester" />
  860 + <module fileurl="file://$PROJECT_DIR$/services/JSONRequester/JSONRequester_main.iml" filepath="$PROJECT_DIR$/services/JSONRequester/JSONRequester_main.iml" group="services/JSONRequester" />
  861 + <module fileurl="file://$PROJECT_DIR$/services/JSONRequester/JSONRequester_test.iml" filepath="$PROJECT_DIR$/services/JSONRequester/JSONRequester_test.iml" group="services/JSONRequester" />
856 862 <module fileurl="file://$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics.iml" filepath="$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics.iml" group="services/LoggingStatistics" />
857 863 <module fileurl="file://$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics_main.iml" filepath="$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics_main.iml" group="services/LoggingStatistics" />
858 864 <module fileurl="file://$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics_test.iml" filepath="$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics_test.iml" group="services/LoggingStatistics" />
... ...
docker/wildfly/volumes/conf/beuthbot.properties
1   -WEB_URL = https://jpocmakeyv.localtunnel.me
  1 +WEB_URL = https://ovizkyvdft.localtunnel.me
2 2  
3 3  
4 4 # Webhook token you set in the Facebook App Settings
... ...
services/Global/Global_test.iml
... ... @@ -66,8 +66,8 @@
66 66 <orderEntry type="library" name="Gradle: org.jboss.shrinkwrap:shrinkwrap-api:1.2.6" level="project" />
67 67 <orderEntry type="library" scope="RUNTIME" name="Gradle: org.wildfly.arquillian:wildfly-arquillian-common:2.0.2.Final" level="project" />
68 68 <orderEntry type="library" name="Gradle: org.jboss.arquillian.container:arquillian-container-spi:1.1.13.Final" level="project" />
69   - <orderEntry type="library" name="Gradle: org.jboss.arquillian.config:arquillian-config-api:1.1.13.Final" level="project" />
70 69 <orderEntry type="library" scope="RUNTIME" name="Gradle: org.wildfly.arquillian:wildfly-arquillian-protocol-jmx:2.0.2.Final" level="project" />
  70 + <orderEntry type="library" name="Gradle: org.jboss.arquillian.config:arquillian-config-api:1.1.13.Final" level="project" />
71 71 <orderEntry type="library" scope="RUNTIME" name="Gradle: org.jboss.marshalling:jboss-marshalling-river:1.4.10.Final" level="project" />
72 72 <orderEntry type="library" name="Gradle: org.jboss.arquillian.config:arquillian-config-impl-base:1.1.13.Final" level="project" />
73 73 <orderEntry type="library" name="Gradle: org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:2.0.0-alpha-10" level="project" />
... ...
services/JSONRequester/src/main/java/de/bht/beuthbot/JSONRequester/JSONRequester.java 0 → 100644
  1 +package de.bht.beuthbot.JSONRequester;
  2 +
  3 +public class JSONRequester {
  4 +}
... ...
services/Rasa/src/main/java/de/bht/beuthbot/nlp/rasa/RasaConnector.java
... ... @@ -67,6 +67,7 @@ public class RasaConnector implements MessageListener {
67 67  
68 68 @Override
69 69 public void onMessage(final Message message) {
  70 +
70 71 try {
71 72 ProcessQueueMessageProtocol incomingChatMessage = message.getBody(TaskMessage.class);
72 73 String messageText = incomingChatMessage.getText();
... ...
settings.gradle
... ... @@ -11,4 +11,6 @@ include (
11 11 'services:Scheduler'
12 12 )
13 13 findProject(':services:Scheduler')?.name = 'Scheduler'
  14 +include 'services:JSONRequester'
  15 +findProject(':services:JSONRequester')?.name = 'JSONRequester'
14 16  
... ...