From 0ecfeb7144574b805c9468c5f22663bc6289ed63 Mon Sep 17 00:00:00 2001 From: insanity Date: Tue, 5 Jun 2018 20:07:22 +0900 Subject: [PATCH] method added --- .../overflow/service/central/target/TargetService.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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; }