added probe

but ... fixme
This commit is contained in:
snoop 2018-04-23 19:59:39 +09:00
parent 0e23756196
commit 6a123abcce
3 changed files with 41 additions and 0 deletions

View File

@ -1,7 +1,15 @@
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.
*/
public interface ProbeHostService {
//????
ProbeHost readByProbe(Probe probe) throws OverflowException;
ProbeHost regist(ProbeHost probeHost) throws OverflowException;
}

View File

@ -1,7 +1,29 @@
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.
*/
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;
}

View File

@ -1,7 +1,18 @@
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.
*/
public interface ProbeTaskService {
@ProbeAPI
ProbeTask regist(ProbeTask probeTask) throws OverflowException;
@ProbeAPI
List<ProbeTask> readAllByProbe(Probe probe) throws OverflowException;
}