noauth probe
This commit is contained in:
snoop 2017-06-22 19:11:54 +09:00
parent 9fb2e0434b
commit 9224ce21a9

View File

@ -3,14 +3,16 @@ package com.loafle.overflow.proxy.db;
import com.loafle.overflow.db.api.DBGrpc; import com.loafle.overflow.db.api.DBGrpc;
import com.loafle.overflow.db.api.DBInput; import com.loafle.overflow.db.api.DBInput;
import com.loafle.overflow.db.api.DBOutput; import com.loafle.overflow.db.api.DBOutput;
import com.loafle.overflow.module.probe.dao.AgentDAO;
import com.loafle.overflow.module.apikey.dao.ApiKeyDao; import com.loafle.overflow.module.apikey.dao.ApiKeyDao;
import com.loafle.overflow.module.crawler.dao.CrawlerDAO; import com.loafle.overflow.module.crawler.dao.CrawlerDAO;
import com.loafle.overflow.module.crawler.dao.CrawlerInputItemDAO; import com.loafle.overflow.module.crawler.dao.CrawlerInputItemDAO;
import com.loafle.overflow.module.crawler.dao.CrawlerInputItemMappingDAO; import com.loafle.overflow.module.crawler.dao.CrawlerInputItemMappingDAO;
import com.loafle.overflow.module.email.dao.EmailAuthDAO; import com.loafle.overflow.module.email.dao.EmailAuthDAO;
import com.loafle.overflow.module.member.dao.MemberDAO; import com.loafle.overflow.module.member.dao.MemberDAO;
import com.loafle.overflow.module.noauthagent.dao.NoAuthAgentDao;
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.SensorDao;
import com.loafle.overflow.module.sensor.dao.SensorItemDao; import com.loafle.overflow.module.sensor.dao.SensorItemDao;
import com.loafle.overflow.module.target.dao.TargetDAO; import com.loafle.overflow.module.target.dao.TargetDAO;
@ -43,10 +45,10 @@ public class DBProxy {
private MemberDAO memberDAO; private MemberDAO memberDAO;
@Autowired @Autowired
private AgentDAO agentDAO; private ProbeDAO probeDAO;
@Autowired @Autowired
private NoAuthAgentDao noAuthAgentDAO; private NoAuthProbeDAO noAuthProbeDAO;
@Autowired @Autowired
private ApiKeyDao apiKeyDao; private ApiKeyDao apiKeyDao;
@ -82,8 +84,8 @@ public class DBProxy {
daoMap = new ConcurrentHashMap(); daoMap = new ConcurrentHashMap();
daoMap.put("member", memberDAO); daoMap.put("member", memberDAO);
daoMap.put("probe", agentDAO); daoMap.put("probe", probeDAO);
daoMap.put("noauthAgent", noAuthAgentDAO); daoMap.put("noauthAgent", noAuthProbeDAO);
daoMap.put("apiKey", apiKeyDao); daoMap.put("apiKey", apiKeyDao);
daoMap.put("emailAuth", emailAuthDAO); daoMap.put("emailAuth", emailAuthDAO);
// daoMap.put("target", targetDAO); // daoMap.put("target", targetDAO);