added probe
but ... fixme
This commit is contained in:
parent
0e23756196
commit
6a123abcce
|
@ -1,7 +1,15 @@
|
||||||
package com.loafle.overflow.module.probe.service;
|
package com.loafle.overflow.module.probe.service;
|
||||||
|
|
||||||
|
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||||
|
import com.loafle.overflow.module.probe.model.Probe;
|
||||||
|
import com.loafle.overflow.module.probe.model.ProbeHost;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by snoop on 17. 8. 21.
|
* Created by snoop on 17. 8. 21.
|
||||||
*/
|
*/
|
||||||
public interface ProbeHostService {
|
public interface ProbeHostService {
|
||||||
|
//????
|
||||||
|
ProbeHost readByProbe(Probe probe) throws OverflowException;
|
||||||
|
ProbeHost regist(ProbeHost probeHost) throws OverflowException;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,29 @@
|
||||||
package com.loafle.overflow.module.probe.service;
|
package com.loafle.overflow.module.probe.service;
|
||||||
|
|
||||||
|
import com.loafle.overflow.module.core.annotation.ProbeAPI;
|
||||||
|
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||||
|
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||||
|
import com.loafle.overflow.module.domain.model.Domain;
|
||||||
|
import com.loafle.overflow.module.probe.model.Probe;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by snoop on 17. 6. 28.
|
* Created by snoop on 17. 6. 28.
|
||||||
*/
|
*/
|
||||||
public interface ProbeService {
|
public interface ProbeService {
|
||||||
|
// NoauthProbe.acceptNoAuthProbe
|
||||||
|
Probe regist(Probe probe) throws OverflowException;
|
||||||
|
// NoauthProbe.acceptNoAuthProbe
|
||||||
|
List<Probe> regist(List<Probe> probes) throws OverflowException;
|
||||||
|
|
||||||
|
@WebappAPI
|
||||||
|
List<Probe> readAllByDomain(Domain domain) throws OverflowException;
|
||||||
|
@WebappAPI
|
||||||
|
Probe read(long id) throws OverflowException;
|
||||||
|
|
||||||
|
@ProbeAPI //?
|
||||||
|
Probe readByProbeKey(String probeKey) throws OverflowException;
|
||||||
|
@ProbeAPI //?
|
||||||
|
Probe modify(Probe probe) throws OverflowException;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,18 @@
|
||||||
package com.loafle.overflow.module.probe.service;
|
package com.loafle.overflow.module.probe.service;
|
||||||
|
|
||||||
|
import com.loafle.overflow.module.core.annotation.ProbeAPI;
|
||||||
|
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||||
|
import com.loafle.overflow.module.probe.model.Probe;
|
||||||
|
import com.loafle.overflow.module.probe.model.ProbeTask;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by snoop on 17. 6. 28.
|
* Created by snoop on 17. 6. 28.
|
||||||
*/
|
*/
|
||||||
public interface ProbeTaskService {
|
public interface ProbeTaskService {
|
||||||
|
@ProbeAPI
|
||||||
|
ProbeTask regist(ProbeTask probeTask) throws OverflowException;
|
||||||
|
@ProbeAPI
|
||||||
|
List<ProbeTask> readAllByProbe(Probe probe) throws OverflowException;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user