diff --git a/src/main/java/com/loafle/overflow/service/central/infra/InfraHostIPService.java b/src/main/java/com/loafle/overflow/service/central/infra/InfraHostIPService.java index 09c8cda..f9cc766 100644 --- a/src/main/java/com/loafle/overflow/service/central/infra/InfraHostIPService.java +++ b/src/main/java/com/loafle/overflow/service/central/infra/InfraHostIPService.java @@ -10,5 +10,5 @@ import com.loafle.overflow.model.infra.InfraHostIP; public interface InfraHostIPService { InfraHostIP regist(InfraHostIP infraHostIP) throws OverflowException; InfraHostIP read(Long id) throws OverflowException; - InfraHostIP readByInfraOSIDAndPortAndPortType(Long infraOSID, Integer port, String portType) throws OverflowException; + InfraHostIP readByAddressAndMetaIPTypeKey(String address, String ipTypeKey) throws OverflowException; } diff --git a/src/main/java/com/loafle/overflow/service/central/infra/InfraHostPortService.java b/src/main/java/com/loafle/overflow/service/central/infra/InfraHostPortService.java index d83c389..d750f42 100644 --- a/src/main/java/com/loafle/overflow/service/central/infra/InfraHostPortService.java +++ b/src/main/java/com/loafle/overflow/service/central/infra/InfraHostPortService.java @@ -10,5 +10,4 @@ import com.loafle.overflow.model.infra.InfraHostPort; public interface InfraHostPortService { InfraHostPort regist(InfraHostPort infraHostPort) throws OverflowException; InfraHostPort read(Long id) throws OverflowException; - // InfraHostPort readByInfraOSIDAndPortAndPortType(Long infraOSID, Integer port, String portType) throws OverflowException; } diff --git a/src/main/java/com/loafle/overflow/service/central/infra/InfraHostService.java b/src/main/java/com/loafle/overflow/service/central/infra/InfraHostService.java index 9944ac0..7a5f992 100644 --- a/src/main/java/com/loafle/overflow/service/central/infra/InfraHostService.java +++ b/src/main/java/com/loafle/overflow/service/central/infra/InfraHostService.java @@ -10,4 +10,8 @@ import com.loafle.overflow.model.infra.InfraHost; public interface InfraHostService { InfraHost regist(InfraHost infraHost) throws OverflowException; InfraHost read(Long id) throws OverflowException; -} + InfraHost readByProbeIdAndInfraHostIPsAddressAndMetaIPTypeKey( + String probeID, + String address, + String ipTypeKey) throws OverflowException; +} \ No newline at end of file diff --git a/src/main/java/com/loafle/overflow/service/central/infra/InfraServiceService.java b/src/main/java/com/loafle/overflow/service/central/infra/InfraServiceService.java index 9ebeeb7..c62fcf1 100644 --- a/src/main/java/com/loafle/overflow/service/central/infra/InfraServiceService.java +++ b/src/main/java/com/loafle/overflow/service/central/infra/InfraServiceService.java @@ -9,6 +9,5 @@ import com.loafle.overflow.model.infra.InfraService; public interface InfraServiceService { InfraService regist(InfraService infraService) throws OverflowException; - InfraService read(Long id) throws OverflowException; }