diff --git a/src/main/java/com/loafle/overflow/module/infra/service/InfraService.java b/src/main/java/com/loafle/overflow/module/infra/service/InfraService.java index a3ffe08..2941963 100644 --- a/src/main/java/com/loafle/overflow/module/infra/service/InfraService.java +++ b/src/main/java/com/loafle/overflow/module/infra/service/InfraService.java @@ -47,6 +47,13 @@ public class InfraService { return this.infraDAO.findAllByProbeList(probeList); } + public List readAllTargetByDomain(Domain domain) { + + List probeList = this.probeService.readAllByDomain(domain); + + return this.infraDAO.findAllTargetByProbeList(probeList); + } + public List readAllTargetByProbeList(List probeList) { return this.infraDAO.findAllTargetByProbeList(probeList); // return null;