Skip to content

Commit

Permalink
Remove connector-api in connector-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanwenjun committed Jul 19, 2021
1 parent 15c51f7 commit bf6de22
Show file tree
Hide file tree
Showing 17 changed files with 14 additions and 12 deletions.
1 change: 1 addition & 0 deletions eventmesh-connector-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ task copyConnectorPlugin(dependsOn: ['jar']) {
from project.jar.getArchivePath()
exclude {
"eventmesh-connector-plugin-${version}.jar"
"eventmesh-connector-api-${version}.jar"
}
}
copy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ List open_message = [
]

dependencies {
implementation open_message,project(":eventmesh-common"), project(":eventmesh-spi")
api open_message, project(":eventmesh-common"), project(":eventmesh-spi")
testImplementation open_message,project(":eventmesh-common"), project(":eventmesh-spi")
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ List open_message = [
]

dependencies {
implementation rocketmq, metrics,open_message,project(":eventmesh-connector-api"),project(":eventmesh-common")
testImplementation rocketmq, metrics,open_message,project(":eventmesh-connector-api"),project(":eventmesh-common")
api rocketmq, metrics, open_message, project(":eventmesh-connector-plugin:eventmesh-connector-api")
testImplementation rocketmq, metrics, open_message, project(":eventmesh-connector-plugin:eventmesh-connector-api")
}
4 changes: 2 additions & 2 deletions eventmesh-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ List open_message = [


dependencies {
implementation metrics, open_message,project(":eventmesh-connector-api"),project(":eventmesh-common"),project(":eventmesh-spi")
testImplementation metrics,open_message,project(":eventmesh-common"),project(":eventmesh-connector-api"),project(":eventmesh-spi")
implementation metrics, open_message, project(":eventmesh-connector-plugin:eventmesh-connector-api")
testImplementation metrics, open_message, project(":eventmesh-connector-plugin:eventmesh-connector-api")
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import org.apache.eventmesh.api.AbstractContext;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.SubscriptionItem;
import org.apache.eventmesh.common.protocol.SubscriptionMode;
import org.apache.eventmesh.runtime.boot.EventMeshHTTPServer;
import org.apache.eventmesh.runtime.constants.EventMeshConstants;
import org.apache.eventmesh.runtime.core.consumergroup.ConsumerGroupConf;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import org.apache.eventmesh.api.AbstractContext;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.SubscriptionItem;
import org.apache.eventmesh.common.protocol.SubscriptionMode;
import org.apache.eventmesh.runtime.constants.EventMeshConstants;
import org.apache.eventmesh.runtime.core.plugin.MQConsumerWrapper;
import org.apache.eventmesh.runtime.core.protocol.tcp.client.session.Session;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package demo;
package org.apache.eventmesh.runtime.demo;

import io.netty.channel.ChannelHandlerContext;

Expand Down
8 changes: 6 additions & 2 deletions eventmesh-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ List spring_framework = [
dependencies {
// compile log4j2, sl4j
// testCompile log4j2, sl4j
implementation project(":eventmesh-sdk-java"), project(":eventmesh-connector-api"), project(":eventmesh-common"), spring_framework
testImplementation project(":eventmesh-sdk-java"), project(":eventmesh-connector-api"), project(":eventmesh-common"), spring_framework
implementation project(":eventmesh-sdk-java")
implementation project(":eventmesh-connector-plugin:eventmesh-connector-api")
implementation spring_framework
testImplementation project(":eventmesh-sdk-java")
testImplementation project(":eventmesh-connector-plugin:eventmesh-connector-api")
testImplementation spring_framework
}

configurations.all {
Expand Down
3 changes: 1 addition & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ String jdkVersion = "${jdk}"
include 'eventmesh-runtime'
include 'eventmesh-sdk-java'
include 'eventmesh-common'
include 'eventmesh-connector-api'
include 'eventmesh-starter'
include 'eventmesh-test'
include 'eventmesh-spi'
include 'eventmesh-connector-plugin'
include 'eventmesh-connector-plugin:eventmesh-connector-api'
include 'eventmesh-connector-plugin:eventmesh-connector-rocketmq'

0 comments on commit bf6de22

Please sign in to comment.