diff --git a/src/main/java/com/loafle/overflow/model/probe/Probe.java b/src/main/java/com/loafle/overflow/model/probe/Probe.java index bfdaaf3..1862693 100644 --- a/src/main/java/com/loafle/overflow/model/probe/Probe.java +++ b/src/main/java/com/loafle/overflow/model/probe/Probe.java @@ -25,6 +25,7 @@ public class Probe { private String cidr; private Date authorizeDate; private Member authorizeMember; + private int targetCount = 0; public Probe() { @@ -143,4 +144,16 @@ public class Probe { this.authorizeMember = authorizeMember; } + + @Column(name = "TARGET_COUNT", nullable = false) + public int getTargetCount() { + return targetCount; + } + + public void setTargetCount(int targetCount) { + this.targetCount = targetCount; + } + + + } diff --git a/src/main/java/com/loafle/overflow/service/central/noauthprobe/NoAuthProbeService.java b/src/main/java/com/loafle/overflow/service/central/noauthprobe/NoAuthProbeService.java index 16f92c8..d0c93a9 100644 --- a/src/main/java/com/loafle/overflow/service/central/noauthprobe/NoAuthProbeService.java +++ b/src/main/java/com/loafle/overflow/service/central/noauthprobe/NoAuthProbeService.java @@ -14,6 +14,8 @@ import java.util.List; public interface NoAuthProbeService { @ProbeAPI NoAuthProbe regist(NoAuthProbe noAuthProbe) throws OverflowException; + @ProbeAPI + NoAuthProbe readByTempProbeKey(String tempKey) throws OverflowException; @WebappAPI List readAllByDomain(Domain domain) throws OverflowException; @@ -21,4 +23,5 @@ public interface NoAuthProbeService { List acceptNoAuthProbe(NoAuthProbe noAuthProbe) throws OverflowException; @WebappAPI List denyNoauthProbe(NoAuthProbe noAuthProbe) throws OverflowException; + }