From 743eec0852bfb8649ff622a2832ae9905d842647 Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 23 Jun 2017 17:06:06 +0900 Subject: [PATCH] changed package --- .../java/com/loafle/overflow/module/apikey/model/ApiKey.java | 3 +-- .../java/com/loafle/overflow/module/domain/dao/DomainDAO.java | 2 +- .../loafle/overflow/module/domain/dao/DomainMemberDAO.java | 2 +- .../com/loafle/overflow/module/domain/{ => model}/Domain.java | 2 +- .../overflow/module/domain/{ => model}/DomainMember.java | 2 +- .../loafle/overflow/module/noauthprobe/model/NoAuthProbe.java | 3 +-- .../java/com/loafle/overflow/module/probe/dao/ProbeDAO.java | 2 +- .../java/com/loafle/overflow/module/probe/model/Probe.java | 3 +-- src/main/java/com/loafle/overflow/proxy/db/DBProxy.java | 4 ---- 9 files changed, 8 insertions(+), 15 deletions(-) rename src/main/java/com/loafle/overflow/module/domain/{ => model}/Domain.java (95%) rename src/main/java/com/loafle/overflow/module/domain/{ => model}/DomainMember.java (94%) diff --git a/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java b/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java index ebb1964..4ada0c1 100644 --- a/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java +++ b/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java @@ -1,9 +1,8 @@ package com.loafle.overflow.module.apikey.model; -import com.loafle.overflow.module.domain.Domain; +import com.loafle.overflow.module.domain.model.Domain; import javax.persistence.*; -import java.sql.Timestamp; import java.util.Date; /** diff --git a/src/main/java/com/loafle/overflow/module/domain/dao/DomainDAO.java b/src/main/java/com/loafle/overflow/module/domain/dao/DomainDAO.java index eacd0c1..f030615 100644 --- a/src/main/java/com/loafle/overflow/module/domain/dao/DomainDAO.java +++ b/src/main/java/com/loafle/overflow/module/domain/dao/DomainDAO.java @@ -1,6 +1,6 @@ package com.loafle.overflow.module.domain.dao; -import com.loafle.overflow.module.domain.Domain; +import com.loafle.overflow.module.domain.model.Domain; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; diff --git a/src/main/java/com/loafle/overflow/module/domain/dao/DomainMemberDAO.java b/src/main/java/com/loafle/overflow/module/domain/dao/DomainMemberDAO.java index 7d61ef2..3f9257b 100644 --- a/src/main/java/com/loafle/overflow/module/domain/dao/DomainMemberDAO.java +++ b/src/main/java/com/loafle/overflow/module/domain/dao/DomainMemberDAO.java @@ -1,6 +1,6 @@ package com.loafle.overflow.module.domain.dao; -import com.loafle.overflow.module.domain.DomainMember; +import com.loafle.overflow.module.domain.model.DomainMember; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; diff --git a/src/main/java/com/loafle/overflow/module/domain/Domain.java b/src/main/java/com/loafle/overflow/module/domain/model/Domain.java similarity index 95% rename from src/main/java/com/loafle/overflow/module/domain/Domain.java rename to src/main/java/com/loafle/overflow/module/domain/model/Domain.java index 977e6cb..88200cd 100644 --- a/src/main/java/com/loafle/overflow/module/domain/Domain.java +++ b/src/main/java/com/loafle/overflow/module/domain/model/Domain.java @@ -1,4 +1,4 @@ -package com.loafle.overflow.module.domain; +package com.loafle.overflow.module.domain.model; import javax.persistence.*; import java.sql.Timestamp; diff --git a/src/main/java/com/loafle/overflow/module/domain/DomainMember.java b/src/main/java/com/loafle/overflow/module/domain/model/DomainMember.java similarity index 94% rename from src/main/java/com/loafle/overflow/module/domain/DomainMember.java rename to src/main/java/com/loafle/overflow/module/domain/model/DomainMember.java index 23ac805..0f172d4 100644 --- a/src/main/java/com/loafle/overflow/module/domain/DomainMember.java +++ b/src/main/java/com/loafle/overflow/module/domain/model/DomainMember.java @@ -1,4 +1,4 @@ -package com.loafle.overflow.module.domain; +package com.loafle.overflow.module.domain.model; import javax.persistence.*; import java.sql.Timestamp; diff --git a/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java b/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java index 8bf2bde..c7aaecf 100644 --- a/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java +++ b/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java @@ -1,13 +1,12 @@ package com.loafle.overflow.module.noauthprobe.model; -import com.loafle.overflow.module.domain.Domain; +import com.loafle.overflow.module.domain.model.Domain; import com.loafle.overflow.module.noauthprobe.type.AuthType; import com.loafle.overflow.module.probe.model.Probe; import javax.persistence.*; -import java.sql.Timestamp; import java.util.Date; /** diff --git a/src/main/java/com/loafle/overflow/module/probe/dao/ProbeDAO.java b/src/main/java/com/loafle/overflow/module/probe/dao/ProbeDAO.java index f18636c..0badb67 100644 --- a/src/main/java/com/loafle/overflow/module/probe/dao/ProbeDAO.java +++ b/src/main/java/com/loafle/overflow/module/probe/dao/ProbeDAO.java @@ -1,6 +1,6 @@ package com.loafle.overflow.module.probe.dao; -import com.loafle.overflow.module.domain.Domain; +import com.loafle.overflow.module.domain.model.Domain; import com.loafle.overflow.module.probe.model.Probe; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; diff --git a/src/main/java/com/loafle/overflow/module/probe/model/Probe.java b/src/main/java/com/loafle/overflow/module/probe/model/Probe.java index 4539598..76ce8b6 100644 --- a/src/main/java/com/loafle/overflow/module/probe/model/Probe.java +++ b/src/main/java/com/loafle/overflow/module/probe/model/Probe.java @@ -1,10 +1,9 @@ package com.loafle.overflow.module.probe.model; -import com.loafle.overflow.module.domain.Domain; +import com.loafle.overflow.module.domain.model.Domain; import com.loafle.overflow.module.probe.type.ProbeStatusType; import javax.persistence.*; -import java.sql.Timestamp; import java.util.Date; /** diff --git a/src/main/java/com/loafle/overflow/proxy/db/DBProxy.java b/src/main/java/com/loafle/overflow/proxy/db/DBProxy.java index ca40fe1..b6fc01c 100644 --- a/src/main/java/com/loafle/overflow/proxy/db/DBProxy.java +++ b/src/main/java/com/loafle/overflow/proxy/db/DBProxy.java @@ -4,9 +4,6 @@ import com.loafle.overflow.db.api.DBGrpc; import com.loafle.overflow.db.api.DBInput; import com.loafle.overflow.db.api.DBOutput; -import com.loafle.overflow.module.apikey.dao.ApiKeyDAO; - -import com.loafle.overflow.module.domain.Domain; import com.loafle.overflow.module.domain.dao.DomainDAO; import com.loafle.overflow.module.email.dao.EmailAuthDAO; import com.loafle.overflow.module.member.dao.MemberDAO; @@ -15,7 +12,6 @@ import com.loafle.overflow.module.noauthprobe.dao.NoAuthProbeDAO; import com.loafle.overflow.module.probe.dao.ProbeDAO; import com.loafle.overflow.module.sensor.dao.SensorDao; import com.loafle.overflow.module.sensor.dao.SensorItemDao; -import com.loafle.overflow.module.target.dao.TargetDAO; import io.grpc.ServerBuilder; import org.codehaus.jackson.map.ObjectMapper; import org.springframework.context.ApplicationContext;