Sensor series
This commit is contained in:
snoop 2017-06-09 16:27:04 +09:00
parent 92b8e6d1f8
commit 224208a658

View File

@ -15,6 +15,10 @@ import com.loafle.overflow.db.api.DBOutput;
import com.loafle.overflow.email.dao.JPAEmailAuthDAO; import com.loafle.overflow.email.dao.JPAEmailAuthDAO;
import com.loafle.overflow.member.dao.JPAMemberDAO; import com.loafle.overflow.member.dao.JPAMemberDAO;
import com.loafle.overflow.noauthagent.dao.JPANoAuthAgentDAO; 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 com.loafle.overflow.target.dao.JPATargetDao;
import io.grpc.ServerBuilder; import io.grpc.ServerBuilder;
import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.ObjectMapper;
@ -56,6 +60,11 @@ public class DBProxy {
daoMap.put("crawler", new JPACrawlerDAO()); daoMap.put("crawler", new JPACrawlerDAO());
daoMap.put("crawlerInputItem", new JPACrawlerInputItemDAO()); daoMap.put("crawlerInputItem", new JPACrawlerInputItemDAO());
daoMap.put("crawlerInputItemMapping", new JPACrawlerInputItemMappingDAO()); 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 { public void start(int port) throws IOException {