This commit is contained in:
insanity 2018-06-11 18:55:32 +09:00
parent f17349b932
commit faa723fc8d
2 changed files with 6 additions and 10 deletions

View File

@ -42,4 +42,7 @@ public interface InfraService {
@WebappAPI @WebappAPI
Page<Infra> readAllByDomainID(Long domainID, PageParams pageParams) throws OverflowException; Page<Infra> readAllByDomainID(Long domainID, PageParams pageParams) throws OverflowException;
@WebappAPI
List<InfraZone> readAllInfraZoneByDomainID(Long domainID) throws OverflowException;
} }

View File

@ -17,6 +17,9 @@ public interface TargetService {
Target regist(Target target, Long probeID) throws OverflowException; Target regist(Target target, Long probeID) throws OverflowException;
@WebappAPI
List<Target> registAll(List<Target> targets, Long probeID) throws OverflowException;
@WebappAPI @WebappAPI
void remove(Long id, Long probeID) throws OverflowException; void remove(Long id, Long probeID) throws OverflowException;
@ -26,16 +29,6 @@ public interface TargetService {
@WebappAPI @WebappAPI
Target modify(Target target) throws OverflowException; Target modify(Target target) throws OverflowException;
@WebappAPI
List<Target> registDiscoveredTargets(Long probeId, List<Host> hosts, List<Service> services)
throws OverflowException;
@WebappAPI
Target readExistHostTarget(Long probeId, String ip) throws OverflowException;
@WebappAPI
Target readExistServiceTarget(Long hostId, int portNumber, String portType) throws OverflowException;
@WebappAPI @WebappAPI
Page<Target> readAllByProbeID(Long probeID, PageParams pageParams) throws OverflowException; Page<Target> readAllByProbeID(Long probeID, PageParams pageParams) throws OverflowException;