probe service
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -35,4 +35,7 @@ public class ProbeService {
|
||||
return this.probeDAO.findByProbeKey(probeKey);
|
||||
}
|
||||
|
||||
public Probe modify(Probe probe) {
|
||||
return this.probeDAO.save(probe);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user