diff --git a/src/main/java/com/loafle/overflow/service/central/infra/InfraService.java b/src/main/java/com/loafle/overflow/service/central/infra/InfraService.java index d12f243..716cf3e 100644 --- a/src/main/java/com/loafle/overflow/service/central/infra/InfraService.java +++ b/src/main/java/com/loafle/overflow/service/central/infra/InfraService.java @@ -42,4 +42,7 @@ public interface InfraService { @WebappAPI Page readAllByDomainID(Long domainID, PageParams pageParams) throws OverflowException; + + @WebappAPI + List readAllInfraZoneByDomainID(Long domainID) throws OverflowException; } diff --git a/src/main/java/com/loafle/overflow/service/central/target/TargetService.java b/src/main/java/com/loafle/overflow/service/central/target/TargetService.java index d5c0c7b..9d5fff8 100644 --- a/src/main/java/com/loafle/overflow/service/central/target/TargetService.java +++ b/src/main/java/com/loafle/overflow/service/central/target/TargetService.java @@ -17,6 +17,9 @@ public interface TargetService { Target regist(Target target, Long probeID) throws OverflowException; + @WebappAPI + List registAll(List targets, Long probeID) throws OverflowException; + @WebappAPI void remove(Long id, Long probeID) throws OverflowException; @@ -26,16 +29,6 @@ public interface TargetService { @WebappAPI Target modify(Target target) throws OverflowException; - @WebappAPI - List registDiscoveredTargets(Long probeId, List hosts, List services) - throws OverflowException; - - @WebappAPI - Target readExistHostTarget(Long probeId, String ip) throws OverflowException; - - @WebappAPI - Target readExistServiceTarget(Long hostId, int portNumber, String portType) throws OverflowException; - @WebappAPI Page readAllByProbeID(Long probeID, PageParams pageParams) throws OverflowException;