This commit is contained in:
insanity 2018-06-05 22:02:11 +09:00
parent c0618808bf
commit 45c39b6b4c
4 changed files with 97 additions and 90 deletions

View File

@ -13,7 +13,7 @@
<groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId>
<packaging>jar</packaging>
<version>1.0.6-SNAPSHOT</version>
<version>1.0.7-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name>
<properties>

View File

@ -12,5 +12,5 @@ public interface InfraHostService {
InfraHost read(Long id) throws OverflowException;
InfraHost readByIp(String ip) throws OverflowException;
InfraHost findByProbeIdAndIpv4(String probeId, String ip) throws OverflowException;
}

View File

@ -33,4 +33,11 @@ public interface TargetService {
@WebappAPI
public List<Target> registDiscoveredTargets(Long probeId, List<Host> hosts, List<Service> services)
throws OverflowException;
@WebappAPI
public Target readExistHostTarget(Long probeId, String ip) throws OverflowException;
@WebappAPI
public Target readExistServiceTarget(Long hostId, int portNumber, String portType) throws OverflowException;
}