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 b1b3205..d1f5965 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 @@ -1,7 +1,11 @@ package com.loafle.overflow.service.central.target; +import java.util.List; + import com.loafle.overflow.core.annotation.WebappAPI; import com.loafle.overflow.core.exception.OverflowException; +import com.loafle.overflow.model.discovery.Host; +import com.loafle.overflow.model.discovery.Service; import com.loafle.overflow.model.probe.Probe; import com.loafle.overflow.model.target.Target; @@ -25,4 +29,8 @@ public interface TargetService { @WebappAPI void remove(Target target) throws OverflowException; + + @WebappAPI + public List registDiscoveredTargets(Long probeId, List hosts, List services) + throws OverflowException; }