Commit 8277e8274fb6e0df6cd92c12c88272636379382e
1 parent
078e2c5e
JSONRequester angelegt.
Showing
6 changed files
with
15 additions
and
2 deletions
BeuthBot.ipr
| @@ -662,6 +662,8 @@ | @@ -662,6 +662,8 @@ | ||
| 662 | <module name="FaceBook_test" target="1.8" /> | 662 | <module name="FaceBook_test" target="1.8" /> |
| 663 | <module name="Global_main" target="1.8" /> | 663 | <module name="Global_main" target="1.8" /> |
| 664 | <module name="Global_test" target="1.8" /> | 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 | <module name="LoggingStatistics_main" target="1.8" /> | 667 | <module name="LoggingStatistics_main" target="1.8" /> |
| 666 | <module name="LoggingStatistics_test" target="1.8" /> | 668 | <module name="LoggingStatistics_test" target="1.8" /> |
| 667 | <module name="MainBot_main" target="1.8" /> | 669 | <module name="MainBot_main" target="1.8" /> |
| @@ -689,6 +691,7 @@ | @@ -689,6 +691,7 @@ | ||
| 689 | <option value="$PROJECT_DIR$/services/Common" /> | 691 | <option value="$PROJECT_DIR$/services/Common" /> |
| 690 | <option value="$PROJECT_DIR$/services/FaceBook" /> | 692 | <option value="$PROJECT_DIR$/services/FaceBook" /> |
| 691 | <option value="$PROJECT_DIR$/services/Global" /> | 693 | <option value="$PROJECT_DIR$/services/Global" /> |
| 694 | + <option value="$PROJECT_DIR$/services/JSONRequester" /> | ||
| 692 | <option value="$PROJECT_DIR$/services/LoggingStatistics" /> | 695 | <option value="$PROJECT_DIR$/services/LoggingStatistics" /> |
| 693 | <option value="$PROJECT_DIR$/services/MainBot" /> | 696 | <option value="$PROJECT_DIR$/services/MainBot" /> |
| 694 | <option value="$PROJECT_DIR$/services/Rasa" /> | 697 | <option value="$PROJECT_DIR$/services/Rasa" /> |
| @@ -853,6 +856,9 @@ | @@ -853,6 +856,9 @@ | ||
| 853 | <module fileurl="file://$PROJECT_DIR$/services/Global/Global.iml" filepath="$PROJECT_DIR$/services/Global/Global.iml" group="services/Global" /> | 856 | <module fileurl="file://$PROJECT_DIR$/services/Global/Global.iml" filepath="$PROJECT_DIR$/services/Global/Global.iml" group="services/Global" /> |
| 854 | <module fileurl="file://$PROJECT_DIR$/services/Global/Global_main.iml" filepath="$PROJECT_DIR$/services/Global/Global_main.iml" group="services/Global" /> | 857 | <module fileurl="file://$PROJECT_DIR$/services/Global/Global_main.iml" filepath="$PROJECT_DIR$/services/Global/Global_main.iml" group="services/Global" /> |
| 855 | <module fileurl="file://$PROJECT_DIR$/services/Global/Global_test.iml" filepath="$PROJECT_DIR$/services/Global/Global_test.iml" group="services/Global" /> | 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 | <module fileurl="file://$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics.iml" filepath="$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics.iml" group="services/LoggingStatistics" /> | 862 | <module fileurl="file://$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics.iml" filepath="$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics.iml" group="services/LoggingStatistics" /> |
| 857 | <module fileurl="file://$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics_main.iml" filepath="$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics_main.iml" group="services/LoggingStatistics" /> | 863 | <module fileurl="file://$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics_main.iml" filepath="$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics_main.iml" group="services/LoggingStatistics" /> |
| 858 | <module fileurl="file://$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics_test.iml" filepath="$PROJECT_DIR$/services/LoggingStatistics/LoggingStatistics_test.iml" group="services/LoggingStatistics" /> | 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
services/Global/Global_test.iml
| @@ -66,8 +66,8 @@ | @@ -66,8 +66,8 @@ | ||
| 66 | <orderEntry type="library" name="Gradle: org.jboss.shrinkwrap:shrinkwrap-api:1.2.6" level="project" /> | 66 | <orderEntry type="library" name="Gradle: org.jboss.shrinkwrap:shrinkwrap-api:1.2.6" level="project" /> |
| 67 | <orderEntry type="library" scope="RUNTIME" name="Gradle: org.wildfly.arquillian:wildfly-arquillian-common:2.0.2.Final" level="project" /> | 67 | <orderEntry type="library" scope="RUNTIME" name="Gradle: org.wildfly.arquillian:wildfly-arquillian-common:2.0.2.Final" level="project" /> |
| 68 | <orderEntry type="library" name="Gradle: org.jboss.arquillian.container:arquillian-container-spi:1.1.13.Final" level="project" /> | 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 | <orderEntry type="library" scope="RUNTIME" name="Gradle: org.wildfly.arquillian:wildfly-arquillian-protocol-jmx:2.0.2.Final" level="project" /> | 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 | <orderEntry type="library" scope="RUNTIME" name="Gradle: org.jboss.marshalling:jboss-marshalling-river:1.4.10.Final" level="project" /> | 71 | <orderEntry type="library" scope="RUNTIME" name="Gradle: org.jboss.marshalling:jboss-marshalling-river:1.4.10.Final" level="project" /> |
| 72 | <orderEntry type="library" name="Gradle: org.jboss.arquillian.config:arquillian-config-impl-base:1.1.13.Final" level="project" /> | 72 | <orderEntry type="library" name="Gradle: org.jboss.arquillian.config:arquillian-config-impl-base:1.1.13.Final" level="project" /> |
| 73 | <orderEntry type="library" name="Gradle: org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:2.0.0-alpha-10" level="project" /> | 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
services/Rasa/src/main/java/de/bht/beuthbot/nlp/rasa/RasaConnector.java
| @@ -67,6 +67,7 @@ public class RasaConnector implements MessageListener { | @@ -67,6 +67,7 @@ public class RasaConnector implements MessageListener { | ||
| 67 | 67 | ||
| 68 | @Override | 68 | @Override |
| 69 | public void onMessage(final Message message) { | 69 | public void onMessage(final Message message) { |
| 70 | + | ||
| 70 | try { | 71 | try { |
| 71 | ProcessQueueMessageProtocol incomingChatMessage = message.getBody(TaskMessage.class); | 72 | ProcessQueueMessageProtocol incomingChatMessage = message.getBody(TaskMessage.class); |
| 72 | String messageText = incomingChatMessage.getText(); | 73 | String messageText = incomingChatMessage.getText(); |
settings.gradle
| @@ -11,4 +11,6 @@ include ( | @@ -11,4 +11,6 @@ include ( | ||
| 11 | 'services:Scheduler' | 11 | 'services:Scheduler' |
| 12 | ) | 12 | ) |
| 13 | findProject(':services:Scheduler')?.name = 'Scheduler' | 13 | findProject(':services:Scheduler')?.name = 'Scheduler' |
| 14 | +include 'services:JSONRequester' | ||
| 15 | +findProject(':services:JSONRequester')?.name = 'JSONRequester' | ||
| 14 | 16 |