This commit is contained in:
crusader 2018-03-19 18:19:39 +09:00
parent 7e5dea3cb6
commit 1d03d268d5
2 changed files with 3 additions and 3 deletions

View File

@ -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<NoAuthProbe> 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());
}

View File

@ -151,7 +151,7 @@ public class NoAuthProbeServiceTest {
List<NoAuthProbe> probes = this.noAuthProbeService.readAllByDomain(domain);
messagePublisher.publishToDomain("/webapp", domain, "NoAuthProbeService.regist", probes);
messagePublisher.publishToDomainMembers(domain.getId(), "NoAuthProbeService.regist", probes);
}