The method name of NoAuthProbeService has been changed.
acceptNoAuthProbe -> Accept denyNoauthProbe -> Deny
This commit is contained in:
parent
e20b9e33c8
commit
af055230e5
|
@ -103,7 +103,7 @@ public class NoAuthProbeService {
|
||||||
this.probeService.regist(probe);
|
this.probeService.regist(probe);
|
||||||
this.noAuthProbeDAO.save(noAuthProbe);
|
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());
|
return this.readAllByDomain(noAuthProbe.getDomain());
|
||||||
}
|
}
|
||||||
|
@ -111,7 +111,7 @@ public class NoAuthProbeService {
|
||||||
public List<NoAuthProbe> denyNoauthProbe(NoAuthProbe noAuthProbe) {
|
public List<NoAuthProbe> denyNoauthProbe(NoAuthProbe noAuthProbe) {
|
||||||
this.noAuthProbeDAO.save(noAuthProbe);
|
this.noAuthProbeDAO.save(noAuthProbe);
|
||||||
|
|
||||||
messagePublisher.publishToProbe("/auth", noAuthProbe.getTempProbeKey(), "NoAuthProbeService.denyNoauthProbe");
|
messagePublisher.publishToProbe("/auth", noAuthProbe.getTempProbeKey(), "NoAuthProbeService.Deny");
|
||||||
|
|
||||||
return this.readAllByDomain(noAuthProbe.getDomain());
|
return this.readAllByDomain(noAuthProbe.getDomain());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user