From 1d03d268d52bbae36bfd373f92002dd6d5097321 Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 19 Mar 2018 18:19:39 +0900 Subject: [PATCH] ing --- .../module/noauthprobe/service/NoAuthProbeService.java | 4 ++-- .../module/noauthprobe/service/NoAuthProbeServiceTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java b/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java index 6d93f5b..0021657 100644 --- a/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java +++ b/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java @@ -107,7 +107,7 @@ public class NoAuthProbeService { this.probeService.regist(probe); this.noAuthProbeDAO.save(noAuthProbe); - messagePublisher.publishToProbe("/auth", noAuthProbe.getTempProbeKey(), "NoAuthProbeService.Accept", probe.getProbeKey()); + messagePublisher.publishToProbe(noAuthProbe.getTempProbeKey(), "NoAuthProbeService.Accept", probe.getProbeKey()); return this.readAllByDomain(noAuthProbe.getDomain()); } @@ -116,7 +116,7 @@ public class NoAuthProbeService { public List denyNoauthProbe(NoAuthProbe noAuthProbe) { this.noAuthProbeDAO.save(noAuthProbe); - messagePublisher.publishToProbe("/auth", noAuthProbe.getTempProbeKey(), "NoAuthProbeService.Deny"); + messagePublisher.publishToProbe(noAuthProbe.getTempProbeKey(), "NoAuthProbeService.Deny"); return this.readAllByDomain(noAuthProbe.getDomain()); } diff --git a/src/test/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeServiceTest.java b/src/test/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeServiceTest.java index 7280337..d54eb28 100644 --- a/src/test/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeServiceTest.java +++ b/src/test/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeServiceTest.java @@ -151,7 +151,7 @@ public class NoAuthProbeServiceTest { List probes = this.noAuthProbeService.readAllByDomain(domain); - messagePublisher.publishToDomain("/webapp", domain, "NoAuthProbeService.regist", probes); + messagePublisher.publishToDomainMembers(domain.getId(), "NoAuthProbeService.regist", probes); }