From f29fc4bcb32060003b9b4771b242018c25f4588d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=99=9F=20Wu=20Sheng?= Date: Sat, 8 Feb 2020 21:56:23 +0800 Subject: [PATCH] Set a shared submodule for e2e test project. (#4329) --- .gitmodules | 4 +- apm-sniffer/apm-agent-core/pom.xml | 14 ---- test/e2e/e2e-protocol/pom.xml | 98 ++++++++++++++++++++++ test/e2e/e2e-protocol/src/main/proto | 1 + test/e2e/e2e-ttl/e2e-ttl-es/pom.xml | 55 +----------- test/e2e/e2e-ttl/e2e-ttl-es/src/main/proto | 1 - test/e2e/pom.xml | 1 + 7 files changed, 105 insertions(+), 69 deletions(-) create mode 100644 test/e2e/e2e-protocol/pom.xml create mode 160000 test/e2e/e2e-protocol/src/main/proto delete mode 160000 test/e2e/e2e-ttl/e2e-ttl-es/src/main/proto diff --git a/.gitmodules b/.gitmodules index e0b0dd2809..7a56fc5d82 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,6 +7,6 @@ [submodule "skywalking-ui"] path = skywalking-ui url = https://github.com/apache/skywalking-rocketbot-ui.git -[submodule "test/e2e/e2e-ttl/e2e-ttl-es/src/main/proto"] - path = test/e2e/e2e-ttl/e2e-ttl-es/src/main/proto +[submodule "test/e2e/e2e-protocol/src/main/proto"] + path = test/e2e/e2e-protocol/src/main/proto url = https://github.com/apache/skywalking-data-collect-protocol.git diff --git a/apm-sniffer/apm-agent-core/pom.xml b/apm-sniffer/apm-agent-core/pom.xml index 2f154a5c61..386bead992 100644 --- a/apm-sniffer/apm-agent-core/pom.xml +++ b/apm-sniffer/apm-agent-core/pom.xml @@ -33,8 +33,6 @@ UTF-8 - 9.4.2.v20170220 - 1.26.0 20.0 1.10.7 2.6.0 @@ -77,18 +75,6 @@ ${bytebuddy.version} test - - org.eclipse.jetty - jetty-server - ${jetty.version} - test - - - org.eclipse.jetty - jetty-servlet - ${jetty.version} - test - com.github.tomakehurst wiremock diff --git a/test/e2e/e2e-protocol/pom.xml b/test/e2e/e2e-protocol/pom.xml new file mode 100644 index 0000000000..fec6948576 --- /dev/null +++ b/test/e2e/e2e-protocol/pom.xml @@ -0,0 +1,98 @@ + + + + + + apache-skywalking-e2e + org.apache.skywalking + 1.0.0 + + 4.0.0 + + e2e-protocol + + + 1.14.0 + 1.5.0.Final + 0.5.0 + + + + + io.grpc + grpc-protobuf + ${grpc.version} + + + io.grpc + grpc-stub + ${grpc.version} + + + io.grpc + grpc-netty + ${grpc.version} + + + + + + + kr.motd.maven + os-maven-plugin + ${os-maven-plugin.version} + + + initialize + + detect + + + + + + org.xolstice.maven.plugins + protobuf-maven-plugin + ${protobuf-maven-plugin.version} + + + com.google.protobuf:protoc:3.3.0:exe:${os.detected.classifier} + + grpc-java + io.grpc:protoc-gen-grpc-java:1.8.0:exe:${os.detected.classifier} + + + + + + compile + compile-custom + + + + + + + \ No newline at end of file diff --git a/test/e2e/e2e-protocol/src/main/proto b/test/e2e/e2e-protocol/src/main/proto new file mode 160000 index 0000000000..a2aaec5370 --- /dev/null +++ b/test/e2e/e2e-protocol/src/main/proto @@ -0,0 +1 @@ +Subproject commit a2aaec537073cd22ac62cec1b41d03ae9cf11124 diff --git a/test/e2e/e2e-ttl/e2e-ttl-es/pom.xml b/test/e2e/e2e-ttl/e2e-ttl-es/pom.xml index 137f9857c2..6b7765d416 100644 --- a/test/e2e/e2e-ttl/e2e-ttl-es/pom.xml +++ b/test/e2e/e2e-ttl/e2e-ttl-es/pom.xml @@ -44,38 +44,14 @@ ${project.version} - io.grpc - grpc-protobuf - ${grpc.version} - - - io.grpc - grpc-stub - ${grpc.version} - - - io.grpc - grpc-netty - ${grpc.version} - provided + org.apache.skywalking + e2e-protocol + ${project.version} - - kr.motd.maven - os-maven-plugin - ${os-maven-plugin.version} - - - initialize - - detect - - - - io.fabric8 docker-maven-plugin @@ -162,31 +138,6 @@ - - org.xolstice.maven.plugins - protobuf-maven-plugin - ${protobuf-maven-plugin.version} - - - com.google.protobuf:protoc:3.3.0:exe:${os.detected.classifier} - - grpc-java - io.grpc:protoc-gen-grpc-java:1.8.0:exe:${os.detected.classifier} - - - - - - compile - compile-custom - - - - diff --git a/test/e2e/e2e-ttl/e2e-ttl-es/src/main/proto b/test/e2e/e2e-ttl/e2e-ttl-es/src/main/proto deleted file mode 160000 index 7b244ff7ec..0000000000 --- a/test/e2e/e2e-ttl/e2e-ttl-es/src/main/proto +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7b244ff7ec350910295eee85633e02d92a6f6b1c diff --git a/test/e2e/pom.xml b/test/e2e/pom.xml index 7f1f935a53..45c775757d 100644 --- a/test/e2e/pom.xml +++ b/test/e2e/pom.xml @@ -42,6 +42,7 @@ e2e-ttl e2e-6.x-agent-7.x-oap-compatibility e2e-profile + e2e-protocol -- GitLab