The method name of NoAuthProbeService has been changed.

acceptNoAuthProbe -> Accept
denyNoauthProbe -> Deny
This commit is contained in:
crusader 2017-12-08 21:50:39 +09:00
parent e20b9e33c8
commit af055230e5

View File

@ -103,7 +103,7 @@ public class NoAuthProbeService {
this.probeService.regist(probe);
this.noAuthProbeDAO.save(noAuthProbe);
messagePublisher.publishToProbe("/auth", noAuthProbe.getTempProbeKey(), "NoAuthProbeService.acceptNoAuthProbe", probe.getProbeKey());
messagePublisher.publishToProbe("/auth", noAuthProbe.getTempProbeKey(), "NoAuthProbeService.Accept", probe.getProbeKey());
return this.readAllByDomain(noAuthProbe.getDomain());
}
@ -111,7 +111,7 @@ public class NoAuthProbeService {
public List<NoAuthProbe> denyNoauthProbe(NoAuthProbe noAuthProbe) {
this.noAuthProbeDAO.save(noAuthProbe);
messagePublisher.publishToProbe("/auth", noAuthProbe.getTempProbeKey(), "NoAuthProbeService.denyNoauthProbe");
messagePublisher.publishToProbe("/auth", noAuthProbe.getTempProbeKey(), "NoAuthProbeService.Deny");
return this.readAllByDomain(noAuthProbe.getDomain());
}