target
This commit is contained in:
snoop 2017-06-07 20:18:06 +09:00
parent f321bef782
commit fbf2bdc93e
2 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@ 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.target.dao.JPATargetDao;
import io.grpc.ServerBuilder;
import org.codehaus.jackson.map.ObjectMapper;
@ -48,6 +49,7 @@ public class DBProxy {
daoMap.put("noauthAgent", jpaNoAuthAgentDAO);
daoMap.put("apiKey", jpaApiKeyDao);
daoMap.put("emailAuth", emailAuthDAO);
daoMap.put("target", new JPATargetDao());
}
public void start(int port) throws IOException {

View File

@ -8,6 +8,7 @@
<class>com.loafle.overflow.apikey.model.Apikey</class>
<class>com.loafle.overflow.agent.model.Agent</class>
<class>com.loafle.overflow.email.model.EmailAuth</class>
<class>com.loafle.overflow.target.model.Target</class>
<properties>
<property name="javax.persistence.jdbc.url" value="jdbc:postgresql://192.168.1.106:5432/postgres" />
<property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" />