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 23df0b5..2be48e7 100644 --- a/src/main/java/com/loafle/overflow/proxy/db/DBProxy.java +++ b/src/main/java/com/loafle/overflow/proxy/db/DBProxy.java @@ -15,6 +15,10 @@ import com.loafle.overflow.db.api.DBOutput; import com.loafle.overflow.email.dao.JPAEmailAuthDAO; import com.loafle.overflow.member.dao.JPAMemberDAO; import com.loafle.overflow.noauthagent.dao.JPANoAuthAgentDAO; +import com.loafle.overflow.sensor.dao.JPASensorDao; +import com.loafle.overflow.sensor.dao.JPASensorItemCategoryDao; +import com.loafle.overflow.sensor.dao.JPASensorItemDao; +import com.loafle.overflow.sensor.dao.JPASensorItemMappingDao; import com.loafle.overflow.target.dao.JPATargetDao; import io.grpc.ServerBuilder; import org.codehaus.jackson.map.ObjectMapper; @@ -56,6 +60,11 @@ public class DBProxy { daoMap.put("crawler", new JPACrawlerDAO()); daoMap.put("crawlerInputItem", new JPACrawlerInputItemDAO()); daoMap.put("crawlerInputItemMapping", new JPACrawlerInputItemMappingDAO()); + + daoMap.put("sensor", new JPASensorDao()); + daoMap.put("sensorItemCategory", new JPASensorItemCategoryDao()); + daoMap.put("sensorItem", new JPASensorItemDao()); + daoMap.put("sensorItemMapping", new JPASensorItemMappingDao()); } public void start(int port) throws IOException {