.
This commit is contained in:
parent
2a33d44857
commit
d9065111a3
7
pom.xml
7
pom.xml
|
@ -89,6 +89,13 @@
|
||||||
<version>5.2.10.Final</version>
|
<version>5.2.10.Final</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-crypto -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.security</groupId>
|
||||||
|
<artifactId>spring-security-crypto</artifactId>
|
||||||
|
<version>4.2.3.RELEASE</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,17 +4,20 @@ option java_multiple_files = true;
|
||||||
option java_package = "com.loafle.overflow.server.api";
|
option java_package = "com.loafle.overflow.server.api";
|
||||||
option java_generic_services = true;
|
option java_generic_services = true;
|
||||||
|
|
||||||
message DBInput {
|
|
||||||
string targetDao = 1;
|
message ServiceInput {
|
||||||
string method = 2;
|
string serviceName = 1;
|
||||||
map<string, string> params = 3;
|
string methodName = 2;
|
||||||
|
map<string,string> param = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message DBOutput {
|
message ServiceOutput {
|
||||||
string result = 1;
|
string resultStr = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
service DB {
|
service overFlowServer {
|
||||||
rpc exec(DBInput) returns (DBOutput) {}
|
rpc ExecServices(ServiceInput) returns (ServiceOutput) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,18 +4,18 @@ import com.loafle.overflow.module.member.model.Member;
|
||||||
import com.loafle.overflow.module.meta.model.MetaMemberStatus;
|
import com.loafle.overflow.module.meta.model.MetaMemberStatus;
|
||||||
import com.loafle.overflow.spring.AppConfig;
|
import com.loafle.overflow.spring.AppConfig;
|
||||||
import com.loafle.overflow.spring.JdbcConfiguration;
|
import com.loafle.overflow.spring.JdbcConfiguration;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.test.context.ContextConfiguration;
|
import org.springframework.test.context.ContextConfiguration;
|
||||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by geek on 17. 6. 28.
|
* Created by geek on 17. 6. 28.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@Ignore
|
||||||
@RunWith(SpringJUnit4ClassRunner.class)
|
@RunWith(SpringJUnit4ClassRunner.class)
|
||||||
@ContextConfiguration(classes = {AppConfig.class, JdbcConfiguration.class})
|
@ContextConfiguration(classes = {AppConfig.class, JdbcConfiguration.class})
|
||||||
public class MemberDAOTest {
|
public class MemberDAOTest {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user