This is an automated email from the ASF dual-hosted git repository.
Aias00 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu-plugin-store.git
from 20aa6d3 Merge pull request #6 from
cloudbase-ai/cloudbase/migrate-sofa-tars-plugins
add d8edad8 test: add real gateway support for external plugin migrations
add 15ce5bd refactor: migrate Motan ownership to plugin store
add 1f9f5f4 build: prepare every gateway API required by migration tests
add b8a6bd6 build: include complete gateway test API preparation
add 786d885 [type:refactor] preserve motan migration SQL and test assets
add 46c4496 [type:refactor] preserve motan migration SQL and test assets
add 303cc42 [type:refactor] remove wrapper and migration review
inventories
add 9c312c7 [type:merge] reconcile Motan migration with store master
new b22ecf4 Merge pull request #8 from
cloudbase-ai/cloudbase/migrate-motan
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/build.yml | 94 +--
README.md | 12 +-
db/plugins/{sofa => motan}/PROVENANCE.md | 8 +-
db/plugins/{tars => motan}/README.md | 4 +-
.../motan/archive/historical-upgrade-fragments.sql | 661 +++++++++++++++++++++
db/plugins/motan/h2/install.sql | 62 ++
db/plugins/motan/h2/preflight.sql | 226 +++++++
db/plugins/motan/mysql/install.sql | 62 ++
db/plugins/motan/mysql/preflight.sql | 235 ++++++++
db/plugins/motan/ob/install.sql | 62 ++
db/plugins/motan/ob/preflight.sql | 235 ++++++++
db/plugins/motan/og/install.sql | 62 ++
db/plugins/motan/og/preflight.sql | 226 +++++++
db/plugins/motan/oracle/install.sql | 58 ++
db/plugins/motan/oracle/preflight.sql | 202 +++++++
db/plugins/motan/pg/install.sql | 62 ++
db/plugins/motan/pg/preflight.sql | 226 +++++++
db/plugins/motan/row-manifest.json | 333 +++++++++++
pom.xml | 38 +-
.../plugin-store/docker-compose.motan-backend.yml | 57 ++
script/plugin-store/run-core-compose.sh | 25 +-
script/plugin-store/run-motan-original-suites.sh | 183 ++++++
.../shenyu-admin-register-motan}/pom.xml | 16 +-
.../ShenyuClientRegisterMotanServiceImpl.java | 148 +++++
.../ShenyuClientRegisterMotanServiceImplTest.java | 137 +++++
.../src/test/resources/logback-test.xml | 27 +
.../shenyu-client-motan}/pom.xml | 59 +-
.../client/motan/MotanServiceEventListener.java | 365 ++++++++++++
.../motan/common/annotation/ShenyuMotanClient.java | 53 +-
.../common/annotation/ShenyuMotanService.java | 293 +++++++++
.../client/motan/common/dto/MotanRpcExt.java | 210 +++++++
.../motan/MotanServiceEventListenerTest.java | 399 +++++++++++++
shenyu-e2e/shenyu-e2e-case/pom.xml | 8 +-
.../pom.xml | 6 +-
.../e2e/testcase/motan/MotanPluginCases.java} | 210 ++++---
.../e2e/testcase/motan/MotanPluginTest.java} | 123 ++--
.../shenyu/e2e/client/admin/AdminClient.java | 18 +-
.../shenyu-examples-motan}/pom.xml | 14 +-
.../shenyu-examples-motan-api/pom.xml | 107 ++++
.../motan/service/MotanClassDemoService.java | 56 +-
.../examples/motan/service/MotanDemoService.java | 38 +-
.../shenyu/examples/motan/service/MotanTest.java | 13 +-
.../shenyu-examples-motan-service/Dockerfile | 17 +-
.../shenyu-examples-motan-service/k8s/ingress.yml | 89 +++
.../k8s/shenyu-examples-motan.yml} | 66 +-
.../k8s/shenyu-zookeeper.yml | 16 +-
.../shenyu-examples-motan-service/pom.xml | 130 ++++
.../src/main/http/motan-class-test-api.http} | 24 +-
.../src/main/http/motan-test-api.http} | 10 +-
.../motan/service/TestMotanApplication.java | 13 +-
.../service/impl/MotanClassDemoServiceImpl.java | 69 +++
.../motan/service/impl/MotanDemoServiceImpl.java | 65 ++
.../src/main/resources/application.yml | 33 +-
shenyu-integrated-test/pom.xml | 2 +
.../Dockerfile} | 15 +-
.../deploy/deploy-shenyu.yaml | 8 +-
.../deploy/kind-config.yaml | 3 -
.../pom.xml | 126 ++--
.../script/build_k8s_cluster.sh} | 24 +-
.../script/healthcheck.sh | 4 +-
.../script/services.list | 3 +-
...MotanIngressControllerIntegratedBootstrap.java} | 12 +-
.../src/main/resources/application.yml | 326 ++++++++++
.../test/k8s/ingress/motan/MotanPluginTest.java} | 22 +-
.../Dockerfile} | 15 +-
.../docker-compose.yml | 35 +-
.../pom.xml | 86 +--
.../script/healthcheck.sh | 4 +-
.../script/services.list | 3 +-
.../test/motan/MotanIntegratedBootstrap.java} | 12 +-
.../src/main/resources/application-local.yml | 4 +
.../src/main/resources/application.yml | 0
.../motan/MotanPluginShareThreadPoolTest.java} | 29 +-
.../integrated/test/motan/MotanPluginTest.java} | 29 +-
.../pom.xml | 23 +-
.../plugin/motan/k8s/MotanIngressConstants.java | 67 +++
.../plugin/motan/k8s/MotanIngressParser.java | 339 +++++++++++
.../motan/k8s/MotanIngressPluginDefinition.java | 105 ++++
.../k8s/motan/MotanIngressPluginConfiguration.java | 25 +-
.../src/main/resources/META-INF/spring.factories | 2 +-
.../src/main/resources/META-INF/spring.provides | 2 +-
...rk.boot.autoconfigure.AutoConfiguration.imports | 2 +-
.../plugin/motan/k8s/MotanIngressParserTest.java | 121 ++++
.../plugin/motan/k8s/MotanReconcilerTest.java | 180 ++++++
.../apache/shenyu/plugin/motan/MotanPlugin.java | 33 +-
.../plugin/motan/handler/MotanMetaDataHandler.java | 3 +-
.../shenyu/plugin/motan/MotanPluginTest.java | 19 +
.../pom.xml | 31 +-
.../motan/ShenyuMotanClientConfiguration.java | 179 ++++++
.../client/motan/property/RegistryConfig.java | 85 +++
.../client/motan/property/ShenyuMotanConfig.java | 288 +++++++++
.../src/main/resources/META-INF/spring.factories | 2 +-
.../src/main/resources/META-INF/spring.provides | 2 +-
...rk.boot.autoconfigure.AutoConfiguration.imports | 2 +-
.../motan/ShenyuMotanClientConfigurationTest.java | 76 +++
.../pom.xml | 7 +-
96 files changed, 7587 insertions(+), 733 deletions(-)
copy db/plugins/{sofa => motan}/PROVENANCE.md (89%)
copy db/plugins/{tars => motan}/README.md (93%)
create mode 100644 db/plugins/motan/archive/historical-upgrade-fragments.sql
create mode 100644 db/plugins/motan/h2/install.sql
create mode 100644 db/plugins/motan/h2/preflight.sql
create mode 100644 db/plugins/motan/mysql/install.sql
create mode 100644 db/plugins/motan/mysql/preflight.sql
create mode 100644 db/plugins/motan/ob/install.sql
create mode 100644 db/plugins/motan/ob/preflight.sql
create mode 100644 db/plugins/motan/og/install.sql
create mode 100644 db/plugins/motan/og/preflight.sql
create mode 100644 db/plugins/motan/oracle/install.sql
create mode 100644 db/plugins/motan/oracle/preflight.sql
create mode 100644 db/plugins/motan/pg/install.sql
create mode 100644 db/plugins/motan/pg/preflight.sql
create mode 100644 db/plugins/motan/row-manifest.json
create mode 100644 script/plugin-store/docker-compose.motan-backend.yml
create mode 100755 script/plugin-store/run-motan-original-suites.sh
copy {shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-tars
=> shenyu-admin/shenyu-admin-register-motan}/pom.xml (76%)
create mode 100644
shenyu-admin/shenyu-admin-register-motan/src/main/java/org/apache/shenyu/admin/service/register/ShenyuClientRegisterMotanServiceImpl.java
create mode 100644
shenyu-admin/shenyu-admin-register-motan/src/test/java/org/apache/shenyu/admin/service/register/ShenyuClientRegisterMotanServiceImplTest.java
create mode 100644
shenyu-admin/shenyu-admin-register-motan/src/test/resources/logback-test.xml
copy {shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-motan =>
shenyu-client/shenyu-client-motan}/pom.xml (63%)
create mode 100644
shenyu-client/shenyu-client-motan/src/main/java/org/apache/shenyu/client/motan/MotanServiceEventListener.java
copy
shenyu-e2e/shenyu-plugin-store-e2e-common/src/main/java/org/apache/shenyu/e2e/engine/annotation/ShenYuScenario.java
=>
shenyu-client/shenyu-client-motan/src/main/java/org/apache/shenyu/client/motan/common/annotation/ShenyuMotanClient.java
(56%)
create mode 100644
shenyu-client/shenyu-client-motan/src/main/java/org/apache/shenyu/client/motan/common/annotation/ShenyuMotanService.java
create mode 100644
shenyu-client/shenyu-client-motan/src/main/java/org/apache/shenyu/client/motan/common/dto/MotanRpcExt.java
create mode 100644
shenyu-client/shenyu-client-motan/src/test/java/org/apache/shenyu/client/motan/MotanServiceEventListenerTest.java
copy shenyu-e2e/shenyu-e2e-case/{shenyu-e2e-case-sofa =>
shenyu-e2e-case-motan}/pom.xml (90%)
copy
shenyu-e2e/shenyu-e2e-case/{shenyu-e2e-case-sofa/src/test/java/org/apache/shenyu/e2e/testcase/sofa/SofaPluginCases.java
=>
shenyu-e2e-case-motan/src/test/java/org/apache/shenyu/e2e/testcase/motan/MotanPluginCases.java}
(69%)
copy
shenyu-e2e/shenyu-e2e-case/{shenyu-e2e-case-sofa/src/test/java/org/apache/shenyu/e2e/testcase/sofa/SofaPluginTest.java
=>
shenyu-e2e-case-motan/src/test/java/org/apache/shenyu/e2e/testcase/motan/MotanPluginTest.java}
(51%)
copy {shenyu-plugin => shenyu-examples/shenyu-examples-motan}/pom.xml (84%)
create mode 100644
shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-api/pom.xml
copy
shenyu-e2e/shenyu-plugin-store-e2e-common/src/main/java/org/apache/shenyu/e2e/model/response/PaginatedResources.java
=>
shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-api/src/main/java/org/apache/shenyu/examples/motan/service/MotanClassDemoService.java
(51%)
copy
shenyu-e2e/shenyu-plugin-store-e2e-common/src/main/java/org/apache/shenyu/e2e/model/data/PluginData.java
=>
shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-api/src/main/java/org/apache/shenyu/examples/motan/service/MotanDemoService.java
(63%)
copy
shenyu-integrated-test/shenyu-plugin-store-it-common/src/main/java/org/apache/shenyu/integratedtest/common/dto/DubboTest.java
=>
shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-api/src/main/java/org/apache/shenyu/examples/motan/service/MotanTest.java
(84%)
copy shenyu-integrated-test/shenyu-integrated-test-sofa/script/services.list
=>
shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-service/Dockerfile
(69%)
create mode 100644
shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-service/k8s/ingress.yml
copy
shenyu-examples/{shenyu-examples-sofa/shenyu-examples-sofa-service/k8s/shenyu-examples-sofa.yml
=>
shenyu-examples-motan/shenyu-examples-motan-service/k8s/shenyu-examples-motan.yml}
(57%)
copy shenyu-examples/{shenyu-examples-sofa/shenyu-examples-sofa-service =>
shenyu-examples-motan/shenyu-examples-motan-service}/k8s/shenyu-zookeeper.yml
(89%)
create mode 100644
shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-service/pom.xml
copy shenyu-examples/{shenyu-examples-tars/src/main/http/tars-test-api.http =>
shenyu-examples-motan/shenyu-examples-motan-service/src/main/http/motan-class-test-api.http}
(71%)
copy shenyu-examples/{shenyu-examples-tars/src/main/http/tars-test-api.http =>
shenyu-examples-motan/shenyu-examples-motan-service/src/main/http/motan-test-api.http}
(86%)
copy
shenyu-integrated-test/shenyu-integrated-test-sofa/src/main/java/org/apache/shenyu/integrated/test/sofa/SofaIntegratedBootstrap.java
=>
shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-service/src/main/java/org/apache/shenyu/examples/motan/service/TestMotanApplication.java
(80%)
create mode 100644
shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-service/src/main/java/org/apache/shenyu/examples/motan/service/impl/MotanClassDemoServiceImpl.java
create mode 100644
shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-service/src/main/java/org/apache/shenyu/examples/motan/service/impl/MotanDemoServiceImpl.java
copy shenyu-examples/{shenyu-examples-tars =>
shenyu-examples-motan/shenyu-examples-motan-service}/src/main/resources/application.yml
(76%)
copy
shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa/script/services.list
=> shenyu-integrated-test-k8s-ingress-motan/Dockerfile} (69%)
copy shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa =>
shenyu-integrated-test-k8s-ingress-motan}/deploy/deploy-shenyu.yaml (94%)
copy shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa =>
shenyu-integrated-test-k8s-ingress-motan}/deploy/kind-config.yaml (94%)
copy shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa =>
shenyu-integrated-test-k8s-ingress-motan}/pom.xml (62%)
copy
shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa/script/healthcheck.sh
=> shenyu-integrated-test-k8s-ingress-motan/script/build_k8s_cluster.sh} (58%)
copy shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa =>
shenyu-integrated-test-k8s-ingress-motan}/script/healthcheck.sh (96%)
copy shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa =>
shenyu-integrated-test-k8s-ingress-motan}/script/services.list (90%)
copy
shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa/src/main/java/org/apache/shenyu/integrated/test/k8s/ingress/sofa/SofaIngressControllerIntegratedBootstrap.java
=>
shenyu-integrated-test-k8s-ingress-motan/src/main/java/org/apache/shenyu/integrated/test/k8s/ingress/motan/MotanIngressControllerIntegratedBootstrap.java}
(79%)
create mode 100644
shenyu-integrated-test/shenyu-integrated-test-k8s-ingress-motan/src/main/resources/application.yml
copy
shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa/src/test/java/org/apache/shenyu/integrated/test/k8s/ingress/sofa/SofaPluginShareThreadPoolTest.java
=>
shenyu-integrated-test-k8s-ingress-motan/src/test/java/org/apache/shenyu/integrated/test/k8s/ingress/motan/MotanPluginTest.java}
(66%)
copy
shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa/script/services.list
=> shenyu-integrated-test-motan/Dockerfile} (70%)
copy shenyu-integrated-test/{shenyu-integrated-test-sofa =>
shenyu-integrated-test-motan}/docker-compose.yml (72%)
copy shenyu-integrated-test/{shenyu-integrated-test-sofa =>
shenyu-integrated-test-motan}/pom.xml (65%)
copy shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa =>
shenyu-integrated-test-motan}/script/healthcheck.sh (96%)
copy shenyu-integrated-test/{shenyu-integrated-test-sofa =>
shenyu-integrated-test-motan}/script/services.list (91%)
copy
shenyu-integrated-test/{shenyu-integrated-test-sofa/src/main/java/org/apache/shenyu/integrated/test/sofa/SofaIntegratedBootstrap.java
=>
shenyu-integrated-test-motan/src/main/java/org/apache/shenyu/integrated/test/motan/MotanIntegratedBootstrap.java}
(82%)
copy shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa =>
shenyu-integrated-test-motan}/src/main/resources/application-local.yml (93%)
copy shenyu-integrated-test/{shenyu-integrated-test-k8s-ingress-sofa =>
shenyu-integrated-test-motan}/src/main/resources/application.yml (100%)
copy
shenyu-integrated-test/{shenyu-integrated-test-sofa/src/test/java/org/apache/shenyu/integrated/test/sofa/SofaPluginShareThreadPoolTest.java
=>
shenyu-integrated-test-motan/src/test/java/org/apache/shenyu/integrated/test/motan/MotanPluginShareThreadPoolTest.java}
(57%)
copy
shenyu-integrated-test/{shenyu-integrated-test-sofa/src/test/java/org/apache/shenyu/integrated/test/sofa/SofaPluginTest.java
=>
shenyu-integrated-test-motan/src/test/java/org/apache/shenyu/integrated/test/motan/MotanPluginTest.java}
(58%)
copy {shenyu-plugin/shenyu-plugin-proxy =>
shenyu-kubernetes-controller-motan}/pom.xml (73%)
create mode 100644
shenyu-kubernetes-controller-motan/src/main/java/org/apache/shenyu/plugin/motan/k8s/MotanIngressConstants.java
create mode 100644
shenyu-kubernetes-controller-motan/src/main/java/org/apache/shenyu/plugin/motan/k8s/MotanIngressParser.java
create mode 100644
shenyu-kubernetes-controller-motan/src/main/java/org/apache/shenyu/plugin/motan/k8s/MotanIngressPluginDefinition.java
copy
shenyu-plugin/shenyu-plugin-store-test-support/src/main/java/org/apache/shenyu/plugin/store/test/support/E2eCacheAutoConfiguration.java
=>
shenyu-kubernetes-controller-motan/src/main/java/org/apache/shenyu/springboot/starter/k8s/motan/MotanIngressPluginConfiguration.java
(57%)
copy
{shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-motan =>
shenyu-kubernetes-controller-motan}/src/main/resources/META-INF/spring.factories
(91%)
copy .github/ISSUE_TEMPLATE/config.yml =>
shenyu-kubernetes-controller-motan/src/main/resources/META-INF/spring.provides
(94%)
copy
{shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-motan =>
shenyu-kubernetes-controller-motan}/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
(90%)
create mode 100644
shenyu-kubernetes-controller-motan/src/test/java/org/apache/shenyu/plugin/motan/k8s/MotanIngressParserTest.java
create mode 100644
shenyu-kubernetes-controller-motan/src/test/java/org/apache/shenyu/plugin/motan/k8s/MotanReconcilerTest.java
copy
{shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-motan =>
shenyu-spring-boot-starter-client/shenyu-spring-boot-starter-client-motan}/pom.xml
(71%)
create mode 100644
shenyu-spring-boot-starter-client/shenyu-spring-boot-starter-client-motan/src/main/java/org/apache/shenyu/springboot/starter/client/motan/ShenyuMotanClientConfiguration.java
create mode 100644
shenyu-spring-boot-starter-client/shenyu-spring-boot-starter-client-motan/src/main/java/org/apache/shenyu/springboot/starter/client/motan/property/RegistryConfig.java
create mode 100644
shenyu-spring-boot-starter-client/shenyu-spring-boot-starter-client-motan/src/main/java/org/apache/shenyu/springboot/starter/client/motan/property/ShenyuMotanConfig.java
copy
{shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-motan =>
shenyu-spring-boot-starter-client/shenyu-spring-boot-starter-client-motan}/src/main/resources/META-INF/spring.factories
(91%)
copy {shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-sofa
=>
shenyu-spring-boot-starter-client/shenyu-spring-boot-starter-client-motan}/src/main/resources/META-INF/spring.provides
(94%)
copy
{shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-motan =>
shenyu-spring-boot-starter-client/shenyu-spring-boot-starter-client-motan}/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
(90%)
create mode 100644
shenyu-spring-boot-starter-client/shenyu-spring-boot-starter-client-motan/src/test/java/org/apache/shenyu/springboot/starter/client/motan/ShenyuMotanClientConfigurationTest.java