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 122f43f..23df0b5 100644 --- a/src/main/java/com/loafle/overflow/proxy/db/DBProxy.java +++ b/src/main/java/com/loafle/overflow/proxy/db/DBProxy.java @@ -6,6 +6,9 @@ package com.loafle.overflow.proxy.db; import com.loafle.overflow.agent.dao.JPAAgentDAO; import com.loafle.overflow.apikey.dao.JPAApiKeyDao; import com.loafle.overflow.commons.dao.JPABaseDAO; +import com.loafle.overflow.crawler.dao.JPACrawlerDAO; +import com.loafle.overflow.crawler.dao.JPACrawlerInputItemDAO; +import com.loafle.overflow.crawler.dao.JPACrawlerInputItemMappingDAO; import com.loafle.overflow.db.api.DBGrpc; import com.loafle.overflow.db.api.DBInput; import com.loafle.overflow.db.api.DBOutput; @@ -50,6 +53,9 @@ public class DBProxy { daoMap.put("apiKey", jpaApiKeyDao); daoMap.put("emailAuth", emailAuthDAO); daoMap.put("target", new JPATargetDao()); + daoMap.put("crawler", new JPACrawlerDAO()); + daoMap.put("crawlerInputItem", new JPACrawlerInputItemDAO()); + daoMap.put("crawlerInputItemMapping", new JPACrawlerInputItemMappingDAO()); } public void start(int port) throws IOException {