probe service

This commit is contained in:
insanity 2017-08-22 18:41:49 +09:00
parent 586539bc31
commit a490a4b851
2 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,7 @@ public class NoAuthProbeService {
probe.setTargetCount(0);
probe.setSensorCount(0);
probe.setEncryptionKey("111");
probe.setDisplayName(noAuth.getHostName()+"'s probe");
// resprobe.add(probe);
this.probeService.regist(probe);

View File

@ -35,4 +35,7 @@ public class ProbeService {
return this.probeDAO.findByProbeKey(probeKey);
}
public Probe modify(Probe probe) {
return this.probeDAO.save(probe);
}
}