diff --git a/.gitignore b/.gitignore index 55a3cec..c6fb163 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* +/target/ diff --git a/src/main/java/won/bot/debugbot/action/CreateDebugAtomWithSocketsAction.java b/src/main/java/won/bot/debugbot/action/CreateDebugAtomWithSocketsAction.java index 189f82b..b6881b6 100644 --- a/src/main/java/won/bot/debugbot/action/CreateDebugAtomWithSocketsAction.java +++ b/src/main/java/won/bot/debugbot/action/CreateDebugAtomWithSocketsAction.java @@ -10,10 +10,14 @@ */ package won.bot.debugbot.action; +import java.lang.invoke.MethodHandles; +import java.net.URI; + import org.apache.commons.lang3.StringUtils; import org.apache.jena.query.Dataset; import org.slf4j.Logger; import org.slf4j.LoggerFactory; + import won.bot.debugbot.enums.HintType; import won.bot.debugbot.event.AtomCreatedEventForDebugConnect; import won.bot.debugbot.event.AtomCreatedEventForDebugHint; @@ -39,9 +43,6 @@ import won.protocol.util.WonRdfUtils; import won.protocol.vocabulary.WONMATCH; -import java.lang.invoke.MethodHandles; -import java.net.URI; - /** * Creates an atom with the specified sockets. If no socket is specified, the chatSocket will be used. */ @@ -114,7 +115,7 @@ protected void doRun(Event event, EventListener executingListener) throws Except atomModelWrapper.addSocket(atomURI + "#socket" + i, socket.toString()); i++; } - final Dataset debugAtomDataset = atomModelWrapper.copyDataset(); + final Dataset debugAtomDataset = atomModelWrapper.copyDatasetWithoutSysinfo(); final Event origEvent = event; logger.debug("creating atom on won node {} with content {} ", wonNodeUri, StringUtils.abbreviate(RdfUtils.toString(debugAtomDataset), 150)); diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 76a9888..cfe4d11 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -35,6 +35,7 @@ botContext.impl=memoryBotContext keystores.password=changeit keystores.directory=${WON_KEYSTORE_DIR} +owner.fixedPrivateKeyAlias= # keystore properties keystore.password=${keystores.password}