ing
This commit is contained in:
parent
7e5dea3cb6
commit
1d03d268d5
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user