Skip to content

Commit

Permalink
remove cola-extensionwhich if for internal use
Browse files Browse the repository at this point in the history
  • Loading branch information
fulan.zjf committed Sep 1, 2019
1 parent 146f59d commit bff3be5
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-common</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-extension</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#set( $symbol_escape = '\' )
package ${package}.dto.domainevent;

import com.alibaba.cola.dto.DomainEvent;
import com.alibaba.cola.event.DomainEventI;

import static ${package}.dto.domainevent.DomainEventConstant.CUSTOMER_CREATED_TOPIC;

Expand All @@ -13,7 +13,7 @@
* @author Frank Zhang
* @date 2019-01-04 10:32 AM
*/
public class CustomerCreatedEvent extends DomainEvent {
public class CustomerCreatedEvent implements DomainEventI {

private String customerId;

Expand All @@ -25,8 +25,4 @@ public void setCustomerId(String customerId) {
this.customerId = customerId;
}

@Override
public String getEventTopic() {
return CUSTOMER_CREATED_TOPIC;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
<version>${version}</version>
<name>${artifactId}</name>
<dependencies>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-client</artifactId>
</dependency>
<!-- COLA Framework -->
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-core</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-extension</artifactId>
<artifactId>cola-common</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-test</artifactId>
</dependency>
<!-- COLA Framework End-->
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-client</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
<artifactId>cola-core</artifactId>
<version>${cola.framework.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-extension</artifactId>
<version>${cola.framework.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-test</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-common</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-extension</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#set( $symbol_escape = '\' )
package ${package}.dto.domainevent;

import com.alibaba.cola.dto.DomainEvent;
import com.alibaba.cola.event.DomainEventI;

import static ${package}.dto.domainevent.DomainEventConstant.CUSTOMER_CREATED_TOPIC;

Expand All @@ -13,7 +13,7 @@
* @author Frank Zhang
* @date 2019-01-04 10:32 AM
*/
public class CustomerCreatedEvent extends DomainEvent {
public class CustomerCreatedEvent implements DomainEventI {

private String customerId;

Expand All @@ -25,8 +25,4 @@ public void setCustomerId(String customerId) {
this.customerId = customerId;
}

@Override
public String getEventTopic() {
return CUSTOMER_CREATED_TOPIC;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
<version>${version}</version>
<name>${artifactId}</name>
<dependencies>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-client</artifactId>
</dependency>
<!-- COLA Framework -->
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-core</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-extension</artifactId>
<artifactId>cola-common</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-test</artifactId>
</dependency>
<!-- COLA Framework End-->
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-client</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
<artifactId>cola-core</artifactId>
<version>${cola.framework.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-extension</artifactId>
<version>${cola.framework.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-test</artifactId>
Expand Down

0 comments on commit bff3be5

Please sign in to comment.