probe service
This commit is contained in:
parent
586539bc31
commit
a490a4b851
|
@ -55,6 +55,7 @@ public class NoAuthProbeService {
|
||||||
probe.setTargetCount(0);
|
probe.setTargetCount(0);
|
||||||
probe.setSensorCount(0);
|
probe.setSensorCount(0);
|
||||||
probe.setEncryptionKey("111");
|
probe.setEncryptionKey("111");
|
||||||
|
probe.setDisplayName(noAuth.getHostName()+"'s probe");
|
||||||
|
|
||||||
// resprobe.add(probe);
|
// resprobe.add(probe);
|
||||||
this.probeService.regist(probe);
|
this.probeService.regist(probe);
|
||||||
|
|
|
@ -35,4 +35,7 @@ public class ProbeService {
|
||||||
return this.probeDAO.findByProbeKey(probeKey);
|
return this.probeDAO.findByProbeKey(probeKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Probe modify(Probe probe) {
|
||||||
|
return this.probeDAO.save(probe);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user