Skip to content
Permalink
Browse files
调整工程结构
  • Loading branch information
chickenlj committed Oct 12, 2017
1 parent 8645813 commit 0d7e98c4f2c3eccf61b964decebb314ed888a7a1
Showing 46 changed files with 215 additions and 506 deletions.
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>dubbo-feature-test</artifactId>
<groupId>com.alibaba.dubbo</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>api</artifactId>


</project>
@@ -10,6 +10,14 @@ public class Bean implements Serializable {

private String name;

public Bean() {
}

public Bean(int id, String name) {
this.id = id;
this.name = name;
}

public int getId() {
return id;
}
@@ -25,4 +33,6 @@ public String getName() {
public void setName(String name) {
this.name = name;
}


}
@@ -0,0 +1,23 @@
package com.alibaba.dubbo.test.service;

import com.alibaba.dubbo.test.dto.Bean;

import java.util.List;
import java.util.Map;

/**
* Created by ken.lj on 2017/9/24.
*/
public interface DemoService {
String testString(String str);

Bean testPojo(Bean bean);

List<Bean> testList(List<Bean> list);

Map<String, Object> testMap(Map<String, Object> map);

/*LocalDateTime testJava8Time(LocalDateTime instant);
ZonedDateTime testJava8Time(ZonedDateTime zonedDateTime);*/
}
@@ -11,5 +11,44 @@

<artifactId>consumer-test</artifactId>


<dependencies>
<dependency>
<groupId>com.alibaba.dubbo</groupId>
<artifactId>api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-juli</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,9 @@
package com.alibaba.dubbo.test;

/**
* @author ken.lj
* @date 2017/10/11
*/
public class ResultCollector {

}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 0d7e98c

Please sign in to comment.