.
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>
 | 
			
		||||
        </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>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -4,17 +4,20 @@ option java_multiple_files = true;
 | 
			
		||||
option java_package = "com.loafle.overflow.server.api";
 | 
			
		||||
option java_generic_services = true;
 | 
			
		||||
 | 
			
		||||
message DBInput {
 | 
			
		||||
    string targetDao = 1;
 | 
			
		||||
    string method = 2;
 | 
			
		||||
    map<string, string> params = 3;
 | 
			
		||||
 | 
			
		||||
message ServiceInput {
 | 
			
		||||
    string serviceName = 1;
 | 
			
		||||
    string methodName = 2;
 | 
			
		||||
    map<string,string> param = 3;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message DBOutput {
 | 
			
		||||
    string result = 1;
 | 
			
		||||
message ServiceOutput {
 | 
			
		||||
    string resultStr = 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
service DB {
 | 
			
		||||
    rpc exec(DBInput) returns (DBOutput) {}
 | 
			
		||||
service overFlowServer {
 | 
			
		||||
    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.spring.AppConfig;
 | 
			
		||||
import com.loafle.overflow.spring.JdbcConfiguration;
 | 
			
		||||
import org.junit.Ignore;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
import org.junit.runner.RunWith;
 | 
			
		||||
import org.springframework.beans.factory.annotation.Autowired;
 | 
			
		||||
import org.springframework.test.context.ContextConfiguration;
 | 
			
		||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
 | 
			
		||||
 | 
			
		||||
import static org.junit.Assert.*;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Created by geek on 17. 6. 28.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
@Ignore
 | 
			
		||||
@RunWith(SpringJUnit4ClassRunner.class)
 | 
			
		||||
@ContextConfiguration(classes = {AppConfig.class, JdbcConfiguration.class})
 | 
			
		||||
public class MemberDAOTest {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user