You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2022/10/20 09:46:52 UTC

[dubbo-js] branch dubbo3 updated: init dubbo3 project

This is an automated email from the ASF dual-hosted git repository.

hufeng pushed a commit to branch dubbo3
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git


The following commit(s) were added to refs/heads/dubbo3 by this push:
     new 25e9a14  init dubbo3 project
     new f686646  Merge pull request #278 from hufeng/dubbo3
25e9a14 is described below

commit 25e9a14f48d2e437736e3c14f989fefe87a05992
Author: hufeng <fe...@gmail.com>
AuthorDate: Thu Oct 20 16:59:53 2022 +0800

    init dubbo3 project
---
 .github/ISSUE_TEMPLATE/bug_report.md               |  37 --
 .github/ISSUE_TEMPLATE/custom.md                   |   4 -
 .github/ISSUE_TEMPLATE/feature_request.md          |  16 -
 .github/workflows/nodejs.yml                       |  45 --
 .husky/.gitignore                                  |   1 -
 .husky/pre-commit                                  |   6 -
 .vscode/launch.json                                |  16 -
 .vscode/settings.json                              |   3 -
 CHANGE.md                                          | 110 ----
 LICENSE                                            | 370 ++++++-------
 Makefile                                           |  84 ---
 NOTICE                                             |   2 +-
 README.md                                          | 204 -------
 appveyor.yml                                       |  31 --
 docs/README.md                                     |  11 -
 docs/api.md                                        | 304 ----------
 docs/arch.png                                      | Bin 270721 -> 0 bytes
 docs/contributing.md                               |  31 --
 docs/ding-ding.jpeg                                | Bin 79293 -> 0 bytes
 docs/getting-started.md                            |  57 --
 docs/interpret.md                                  |  99 ----
 docs/middleware.md                                 |  75 ---
 docs/preface.md                                    |  41 --
 docs/troubleshooting.md                            | 202 -------
 dubbo-java/dubbo-demo/dubbo-demo-api/pom.xml       |  45 --
 .../org/apache/dubbo/demo/BasicTypeProvider.java   |  22 -
 .../org/apache/dubbo/demo/CustomizeException.java  |  44 --
 .../java/org/apache/dubbo/demo/DemoProvider.java   |  29 -
 .../java/org/apache/dubbo/demo/ErrorProvider.java  |  21 -
 .../src/main/java/org/apache/dubbo/demo/Sex.java   |  21 -
 .../java/org/apache/dubbo/demo/TypeRequest.java    |  51 --
 .../java/org/apache/dubbo/demo/UserRequest.java    |  73 ---
 .../java/org/apache/dubbo/demo/UserResponse.java   |  52 --
 dubbo-java/dubbo-demo/dubbo-demo-consumer/pom.xml  | 140 -----
 .../src/main/assembly/assembly.xml                 |  40 --
 .../src/main/assembly/conf/dubbo.properties        |  26 -
 .../org/apache/dubbo/demo/consumer/Consumer.java   |  53 --
 .../META-INF/spring/dubbo-demo-consumer.xml        |  36 --
 .../src/main/resources/log4j.properties            |  23 -
 .../dubbo-demo-provider-with-nacos/pom.xml         | 157 ------
 .../src/main/assembly/assembly.xml                 |  41 --
 .../src/main/assembly/conf/dubbo.properties        |  44 --
 .../dubbo/demo/provider/BasicTypeProviderImpl.java |  28 -
 .../dubbo/demo/provider/DemoProviderImpl.java      |  59 --
 .../dubbo/demo/provider/ErrorProviderImpl.java     |  28 -
 .../org/apache/dubbo/demo/provider/Provider.java   |  34 --
 .../org/apache/dubbo/demo/provider/Provider1.java  |  30 -
 .../META-INF/spring/dubbo-demo-provider.xml        |  45 --
 .../META-INF/spring/dubbo-demo-provider1.xml       |  47 --
 .../src/main/resources/log4j.properties            |  22 -
 .../dubbo-demo-provider-with-zookeeper/pom.xml     | 153 -----
 .../src/main/assembly/assembly.xml                 |  41 --
 .../src/main/assembly/conf/dubbo.properties        |  30 -
 .../dubbo/demo/provider/BasicTypeProviderImpl.java |  28 -
 .../dubbo/demo/provider/DemoProviderImpl.java      |  59 --
 .../dubbo/demo/provider/ErrorProviderImpl.java     |  28 -
 .../org/apache/dubbo/demo/provider/Provider.java   |  34 --
 .../org/apache/dubbo/demo/provider/Provider1.java  |  30 -
 .../META-INF/spring/dubbo-demo-provider.xml        |  46 --
 .../META-INF/spring/dubbo-demo-provider1.xml       |  48 --
 .../src/main/resources/log4j.properties            |  22 -
 dubbo-java/dubbo-demo/dubbo-demo-provider/pom.xml  | 155 ------
 .../src/main/assembly/assembly.xml                 |  40 --
 .../src/main/assembly/conf/dubbo.properties        |  30 -
 .../dubbo/demo/provider/BasicTypeProviderImpl.java |  28 -
 .../dubbo/demo/provider/DemoProviderImpl.java      |  59 --
 .../dubbo/demo/provider/ErrorProviderImpl.java     |  28 -
 .../org/apache/dubbo/demo/provider/Provider.java   |  34 --
 .../org/apache/dubbo/demo/provider/Provider1.java  |  30 -
 .../META-INF/spring/dubbo-demo-provider.xml        |  45 --
 .../META-INF/spring/dubbo-demo-provider1.xml       |  47 --
 .../src/main/resources/log4j.properties            |  23 -
 dubbo-java/dubbo-demo/pom.xml                      |  40 --
 dubbo-java/etcd-docker/docker-compose.yml          |  49 --
 dubbo-java/nacos-docker/README.md                  | 120 ----
 dubbo-java/nacos-docker/README_ZH.md               | 108 ----
 dubbo-java/nacos-docker/build/Dockerfile           |  54 --
 .../nacos-docker/build/bin/docker-startup.sh       | 114 ----
 .../nacos-docker/build/conf/application.properties |  64 ---
 .../nacos-docker/build/init.d/custom.properties    |  35 --
 dubbo-java/nacos-docker/changlog                   |  44 --
 dubbo-java/nacos-docker/env/mysql.env              |   4 -
 dubbo-java/nacos-docker/env/nacos-embedded.env     |   8 -
 dubbo-java/nacos-docker/env/nacos-hostname.env     |   8 -
 dubbo-java/nacos-docker/env/nacos-ip.env           |   7 -
 .../nacos-docker/env/nacos-standlone-mysql.env     |   8 -
 .../nacos-docker/example/cluster-embedded.yaml     |  40 --
 .../nacos-docker/example/cluster-hostname.yaml     |  55 --
 dubbo-java/nacos-docker/example/cluster-ip.yaml    |  68 ---
 .../nacos-docker/example/init.d/custom.properties  |  35 --
 .../example/prometheus/prometheus-cluster.yaml     |  34 --
 .../example/prometheus/prometheus-standalone.yaml  |  34 --
 .../nacos-docker/example/standalone-derby.yaml     |  29 -
 .../nacos-docker/example/standalone-mysql-5.7.yaml |  41 --
 .../nacos-docker/example/standalone-mysql-8.yaml   |  25 -
 dubbo-java/start-etcd-dubbo-service.sh             |  19 -
 dubbo-java/start-nacos-dubbo-service.sh            |  27 -
 dubbo-java/start-nacos.sh                          |  33 --
 dubbo-java/start-zookeeper-dubbo-service.sh        |  27 -
 dubbo-java/zookeeper-docker/docker-compose.yml     |  47 --
 dubbo.json                                         |   7 -
 examples/fullstack/README.md                       |  27 -
 examples/fullstack/hello-api/server-nacos.ts       |  44 --
 examples/fullstack/hello-api/server-zk.ts          |  41 --
 .../fullstack/hello-api/service/hello-service.ts   |  32 --
 examples/fullstack/hello-api/service/index.ts      |  22 -
 examples/fullstack/hello-service/server-nacos.ts   |  34 --
 examples/fullstack/hello-service/server-zk.ts      |  30 -
 .../hello-service/service/hello-service.ts         |  28 -
 examples/fullstack/hello-service/service/index.ts  |  20 -
 examples/fullstack/package.json                    |  16 -
 examples/hello-egg/.autod.conf.js                  |  31 --
 examples/hello-egg/.gitignore                      |  21 -
 examples/hello-egg/.travis.yml                     |  11 -
 examples/hello-egg/README.md                       |  46 --
 examples/hello-egg/app.ts                          |  28 -
 examples/hello-egg/app/controller/home.ts          |  66 ---
 examples/hello-egg/app/dubbo/index.ts              |  67 ---
 .../org/apache/dubbo/demo/BasicTypeProvider.ts     |  35 --
 .../org/apache/dubbo/demo/DemoProvider.ts          |  43 --
 .../org/apache/dubbo/demo/ErrorProvider.ts         |  34 --
 .../dubbo/providers/org/apache/dubbo/demo/Sex.ts   |  22 -
 .../providers/org/apache/dubbo/demo/TypeRequest.ts |  51 --
 .../providers/org/apache/dubbo/demo/UserRequest.ts |  54 --
 .../org/apache/dubbo/demo/UserResponse.ts          |  46 --
 examples/hello-egg/app/dubbo/service.ts            |  26 -
 examples/hello-egg/app/router.ts                   |  28 -
 examples/hello-egg/app/service/Test.ts             |  31 --
 examples/hello-egg/appveyor.yml                    |  29 -
 examples/hello-egg/config/config.default.ts        |  58 --
 examples/hello-egg/config/config.local.ts          |  23 -
 examples/hello-egg/config/config.prod.ts           |  23 -
 examples/hello-egg/config/plugin.ts                |  28 -
 examples/hello-egg/dubbo.json                      |   7 -
 examples/hello-egg/package.json                    |  61 --
 .../hello-egg/test/app/controller/home.test.ts     |  26 -
 examples/hello-egg/test/app/service/Test.test.ts   |  33 --
 examples/hello-egg/tsconfig.json                   |  22 -
 examples/hello-egg/tslint.json                     |  21 -
 examples/hello-koa/README.md                       |  34 --
 examples/hello-koa/package.json                    |  33 --
 .../hello-koa/src/dubbo/consumer/dubbo-nacos.ts    |  59 --
 .../src/dubbo/consumer/dubbo-zookeeper.ts          |  56 --
 examples/hello-koa/src/dubbo/consumer/service.ts   |  94 ----
 .../hello-koa/src/dubbo/provider/dubbo-nacos.ts    |  30 -
 .../src/dubbo/provider/dubbo-zookeeper.ts          |  28 -
 examples/hello-koa/src/dubbo/provider/service.ts   | 117 ----
 examples/hello-koa/src/server-nacos.ts             |  77 ---
 examples/hello-koa/src/server-zookeeper.ts         |  77 ---
 examples/hello-koa/tsconfig.json                   |  12 -
 examples/hello-koa/yarn.lock                       | 467 ----------------
 examples/hello-midway/.gitignore                   |  17 -
 examples/hello-midway/.travis.yml                  |  11 -
 examples/hello-midway/.vscode/launch.json          |  29 -
 examples/hello-midway/README.md                    |  46 --
 examples/hello-midway/appveyor.yml                 |  29 -
 examples/hello-midway/package.json                 |  54 --
 examples/hello-midway/src/app.ts                   |  27 -
 examples/hello-midway/src/app/controller/home.ts   |  79 ---
 examples/hello-midway/src/app/dubbo/index.ts       |  54 --
 .../org/apache/dubbo/demo/BasicTypeProvider.ts     |  35 --
 .../org/apache/dubbo/demo/DemoProvider.ts          |  43 --
 .../org/apache/dubbo/demo/ErrorProvider.ts         |  34 --
 .../dubbo/providers/org/apache/dubbo/demo/Sex.ts   |  22 -
 .../providers/org/apache/dubbo/demo/TypeRequest.ts |  51 --
 .../providers/org/apache/dubbo/demo/UserRequest.ts |  54 --
 .../org/apache/dubbo/demo/UserResponse.ts          |  46 --
 examples/hello-midway/src/app/dubbo/service.ts     |  26 -
 examples/hello-midway/src/app/public/README.md     |   1 -
 examples/hello-midway/src/config/config.default.ts |  51 --
 examples/hello-midway/src/config/config.local.ts   |  29 -
 examples/hello-midway/src/config/plugin.ts         |  21 -
 .../hello-midway/test/app/controller/home.test.ts  |  31 --
 examples/hello-midway/tsconfig.json                |  18 -
 examples/hello-midway/tslint.json                  |   3 -
 jest.config.js                                     |  26 -
 lerna.json                                         |   6 -
 package.json                                       |  39 --
 packages/dubbo-common/.npmignore                   |   5 -
 packages/dubbo-common/package.json                 |  23 -
 packages/dubbo-common/src/__tests__/binary-test.ts |  37 --
 packages/dubbo-common/src/__tests__/byte-test.ts   |  36 --
 packages/dubbo-common/src/__tests__/go-test.ts     |  52 --
 packages/dubbo-common/src/__tests__/util-test.ts   | 131 -----
 .../dubbo-common/src/__tests__/version-test.ts     |  49 --
 packages/dubbo-common/src/byte.ts                  |  46 --
 packages/dubbo-common/src/go.ts                    |  65 ---
 packages/dubbo-common/src/index.ts                 |  23 -
 packages/dubbo-common/src/retry.ts                 |  65 ---
 packages/dubbo-common/src/types.ts                 |  36 --
 packages/dubbo-common/src/util.ts                  | 142 -----
 packages/dubbo-common/tsconfig.json                |  12 -
 packages/dubbo-consumer/.npmignore                 |   5 -
 packages/dubbo-consumer/README.md                  | 156 ------
 packages/dubbo-consumer/package.json               |  31 --
 .../dubbo-consumer/src/__tests__/context-test.ts   |  26 -
 .../src/__tests__/dubbo-setting.test.ts            | 128 -----
 .../dubbo-consumer/src/__tests__/dubbo-url-test.ts |  46 --
 .../src/__tests__/request-id-test.ts               |  41 --
 packages/dubbo-consumer/src/config.ts              |  23 -
 packages/dubbo-consumer/src/context.ts             | 316 -----------
 packages/dubbo-consumer/src/dubbo-cluster.ts       | 177 ------
 .../dubbo-consumer/src/dubbo-directly-invoker.ts   | 213 -------
 packages/dubbo-consumer/src/dubbo-setting.ts       | 132 -----
 packages/dubbo-consumer/src/dubbo-status.ts        |  23 -
 packages/dubbo-consumer/src/dubbo-tcp-transport.ts | 192 -------
 packages/dubbo-consumer/src/dubbo-url.ts           |  59 --
 packages/dubbo-consumer/src/dubbo.ts               | 258 ---------
 packages/dubbo-consumer/src/err.ts                 |  40 --
 packages/dubbo-consumer/src/index.ts               |  24 -
 packages/dubbo-consumer/src/queue.ts               | 134 -----
 packages/dubbo-consumer/src/request-id.ts          |  27 -
 packages/dubbo-consumer/src/scheduler.ts           | 293 ----------
 packages/dubbo-consumer/src/select.ts              |  37 --
 packages/dubbo-consumer/src/types.ts               | 138 -----
 packages/dubbo-consumer/tsconfig.json              |  12 -
 packages/dubbo-monitor/.npmignore                  |   5 -
 packages/dubbo-monitor/package.json                |  21 -
 packages/dubbo-monitor/src/index.ts                |  18 -
 packages/dubbo-monitor/tsconfig.json               |  12 -
 packages/dubbo-registry/.npmignore                 |   5 -
 packages/dubbo-registry/__mocks__/zookeeper.ts     |  87 ---
 packages/dubbo-registry/package.json               |  26 -
 .../__snapshots__/registry-zookeeper-test.ts.snap  |   8 -
 .../src/__tests__/registry-zookeeper-test.ts       | 138 -----
 packages/dubbo-registry/src/index.ts               |  23 -
 packages/dubbo-registry/src/registry-base.ts       |  54 --
 packages/dubbo-registry/src/registry-nacos.ts      | 189 -------
 packages/dubbo-registry/src/registry-zookeeper.ts  | 259 ---------
 packages/dubbo-registry/src/registry.ts            |  44 --
 packages/dubbo-registry/src/timeout.ts             |  35 --
 packages/dubbo-registry/src/types.ts               |  48 --
 packages/dubbo-registry/tsconfig.json              |  12 -
 packages/dubbo-serialization/package.json          |  23 -
 .../src/__tests__/heart-beat-test.ts               |  33 --
 packages/dubbo-serialization/src/constants.ts      |  60 --
 packages/dubbo-serialization/src/decode-buffer.ts  | 156 ------
 .../dubbo-serialization/src/decode-hessian2.ts     | 177 ------
 .../dubbo-serialization/src/encode-hessian2.ts     | 339 ------------
 packages/dubbo-serialization/src/err.ts            |  20 -
 packages/dubbo-serialization/src/heartbeat.ts      | 174 ------
 packages/dubbo-serialization/src/index.ts          |  38 --
 packages/dubbo-serialization/src/request.ts        |  43 --
 packages/dubbo-serialization/src/types.ts          |  96 ----
 packages/dubbo-serialization/tsconfig.json         |  12 -
 packages/dubbo-service/.dubbo                      |   4 -
 packages/dubbo-service/.npmignore                  |   5 -
 packages/dubbo-service/package.json                |  28 -
 packages/dubbo-service/src/__integration__/port.ts |  35 --
 .../src/__tests__/dubbo-setting.test.ts            | 130 -----
 packages/dubbo-service/src/__tests__/port-test.ts  |  32 --
 packages/dubbo-service/src/__tests__/qs-test.ts    |  38 --
 packages/dubbo-service/src/context.ts              |  62 ---
 packages/dubbo-service/src/dubbo-service.ts        | 397 -------------
 packages/dubbo-service/src/dubbo-setting.ts        | 142 -----
 packages/dubbo-service/src/index.ts                |  22 -
 packages/dubbo-service/src/port.ts                 | 110 ----
 packages/dubbo-service/src/types.ts                |  60 --
 packages/dubbo-service/tsconfig.json               |  12 -
 packages/dubbo-test/.npmignore                     |   5 -
 packages/dubbo-test/package.json                   |  25 -
 .../src/__tests__/dubbo-directly-invoker-test.ts   |  79 ---
 packages/dubbo-test/src/__tests__/dubbo-test.ts    | 106 ----
 .../providers/org/apache/dubbo/demo/TypeRequest.ts |  46 --
 .../providers/org/apache/dubbo/demo/UserRequest.ts |  47 --
 .../org/apache/dubbo/demo/UserResponse.ts          |  43 --
 .../dubbo/demo/consumer/BasicTypeProvider.ts       |  33 --
 .../org/apache/dubbo/demo/consumer/DemoProvider.ts |  42 --
 .../apache/dubbo/demo/consumer/ErrorProvider.ts    |  32 --
 .../org/apache/dubbo/demo/consumer/index.ts        |  26 -
 .../dubbo/demo/provider/BasicTypeProvider.ts       |  31 --
 .../org/apache/dubbo/demo/provider/DemoProvider.ts |  54 --
 .../apache/dubbo/demo/provider/ErrorProvider.ts    |  29 -
 .../org/apache/dubbo/demo/provider/index.ts        |  26 -
 packages/dubbo-test/tsconfig.json                  |  12 -
 packages/interpret-cli/.gitignore                  |   1 -
 packages/interpret-cli/.npmignore                  |   9 -
 packages/interpret-cli/README.md                   | 615 ---------------------
 packages/interpret-cli/package.json                |  34 --
 packages/interpret-cli/src/cli.ts                  | 106 ----
 packages/interpret-cli/src/config.ts               |  44 --
 packages/interpret-cli/src/ext/index.ts            | 105 ----
 packages/interpret-cli/src/handle.ts               | 203 -------
 packages/interpret-cli/src/request.ts              | 111 ----
 packages/interpret-cli/src/to.ts                   |  57 --
 .../interpret-cli/src/transfer/bean/to-enum.ts     |  70 ---
 .../interpret-cli/src/transfer/bean/to-field.ts    |  44 --
 packages/interpret-cli/src/transfer/bean/to-vo.ts  | 137 -----
 .../__tests__/__snapshots__/transfer.test.ts.snap  |  56 --
 .../transfer/bean/util/__tests__/transfer.test.ts  | 365 ------------
 .../src/transfer/bean/util/transfer.ts             | 319 -----------
 .../src/transfer/provider/to-interface.ts          | 145 -----
 .../src/transfer/provider/to-proxy-function.ts     |  42 --
 .../src/transfer/provider/to-wrapper-class.ts      |  71 ---
 packages/interpret-cli/src/transfer/to-import.ts   |  51 --
 packages/interpret-cli/src/transfer/to-method.ts   |  69 ---
 .../interpret-cli/src/transfer/to-typescript.ts    |  94 ----
 packages/interpret-cli/src/typings.ts              | 164 ------
 .../__snapshots__/type-parse-test.ts.snap          |   3 -
 .../src/util/__tests__/type-parse-test.ts          | 136 -----
 packages/interpret-cli/src/util/type-parse.ts      | 171 ------
 packages/interpret-cli/tsconfig.json               |   9 -
 packages/interpret-util/.npmignore                 |   7 -
 packages/interpret-util/package-lock.json          |  26 -
 packages/interpret-util/package.json               |  28 -
 packages/interpret-util/src/index.ts               |  76 ---
 packages/interpret-util/tsconfig.json              |  10 -
 packages/zone-context/.npmignore                   |   7 -
 packages/zone-context/README.md                    |  63 ---
 packages/zone-context/package.json                 |  12 -
 packages/zone-context/src/__tests__/index-test.ts  |  25 -
 packages/zone-context/src/index.ts                 | 152 -----
 packages/zone-context/tsconfig.json                |  12 -
 perf/binary-num.js                                 | 130 -----
 perf/convert-binary-num.js                         | 189 -------
 perf/parseint-number.js                            |  45 --
 scripts/command/check-license.ts                   | 214 -------
 scripts/command/prepare-release.ts                 | 148 -----
 scripts/feature/check-copyright.ts                 |  59 --
 scripts/feature/check-notice.ts                    |  32 --
 scripts/shipit.ts                                  |  46 --
 tsconfig.json                                      |  11 -
 322 files changed, 185 insertions(+), 19872 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index 297b122..0000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,37 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
----
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-
-**To Reproduce**
-Steps to reproduce the behavior:
-
-1. Go to '...'
-2. Click on '....'
-3. Scroll down to '....'
-4. See error
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
-
-**Desktop (please complete the following information):**
-
-- OS: [e.g. iOS]
-- Browser [e.g. chrome, safari]
-- Version [e.g. 22]
-
-**Smartphone (please complete the following information):**
-
-- Device: [e.g. iPhone6]
-- OS: [e.g. iOS8.1]
-- Browser [e.g. stock browser, safari]
-- Version [e.g. 22]
-
-**Additional context**
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md
deleted file mode 100644
index 46db297..0000000
--- a/.github/ISSUE_TEMPLATE/custom.md
+++ /dev/null
@@ -1,4 +0,0 @@
----
-name: Custom issue template
-about: Describe this issue template's purpose here.
----
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644
index a09db44..0000000
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,16 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
----
-
-**Is your feature request related to a problem? Please describe.**
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
-
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
-
-**Describe alternatives you've considered**
-A clear and concise description of any alternative solutions or features you've considered.
-
-**Additional context**
-Add any other context or screenshots about the feature request here.
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
deleted file mode 100644
index 016dae8..0000000
--- a/.github/workflows/nodejs.yml
+++ /dev/null
@@ -1,45 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: Node.js CI
-
-on:
-  push:
-    branches: [master]
-  pull_request:
-    branches: [master]
-  schedule:
-    - cron: '0 2 * * *'
-
-jobs:
-  build:
-    runs-on: ${{ matrix.os }}
-
-    strategy:
-      fail-fast: false
-      matrix:
-        node-version: [12, 14, 16]
-        os: [ubuntu-latest, windows-latest, macos-latest]
-
-    steps:
-      - name: Checkout Git Source
-        uses: actions/checkout@v2
-
-      - name: Use Node.js ${{ matrix.node-version }}
-        uses: actions/setup-node@v1
-        with:
-          node-version: ${{ matrix.node-version }}
-
-      - name: Install Dependencies
-        run: npm i -g lerna && lerna bootstrap
-
-      - name: compile all modules
-        run: make
-
-      - name: Continuous Integration
-        run: npm run test
-
-      - name: Code Coverage
-        uses: codecov/codecov-action@v1
-        with:
-          token: ${{ secrets.CODECOV_TOKEN }}
diff --git a/.husky/.gitignore b/.husky/.gitignore
deleted file mode 100644
index 31354ec..0000000
--- a/.husky/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-_
diff --git a/.husky/pre-commit b/.husky/pre-commit
deleted file mode 100755
index 7881ca1..0000000
--- a/.husky/pre-commit
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-. "$(dirname "$0")/_/husky.sh"
-
-npx pretty-quick --staged
-make ts-check
-npx jest --no-cache
diff --git a/.vscode/launch.json b/.vscode/launch.json
deleted file mode 100644
index 31aa22d..0000000
--- a/.vscode/launch.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
-  // 使用 IntelliSense 了解相关属性。
-  // 悬停以查看现有属性的描述。
-  // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
-  "version": "0.2.0",
-  "configurations": [
-    {
-      "type": "node",
-      "request": "launch",
-      "name": "启动程序",
-      "skipFiles": ["<node_internals>/**"],
-      "program": "${file}",
-      "outFiles": ["${workspaceFolder}/**/*.js"]
-    }
-  ]
-}
diff --git a/.vscode/settings.json b/.vscode/settings.json
deleted file mode 100644
index 4f81299..0000000
--- a/.vscode/settings.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "java.configuration.updateBuildConfiguration": "automatic"
-}
diff --git a/CHANGE.md b/CHANGE.md
index 373fbc5..38bf0d7 100644
--- a/CHANGE.md
+++ b/CHANGE.md
@@ -1,111 +1 @@
 # Release Notes
-
-## 4.0.1
-
-[enhancement]
-
-- Improve the port reuse mechanism of beehive-service
-- Improve the frequency of tcp reconnection, faster frequency
-- redesign beehive-consumer, beehive-service config api
-- Add periodic refresh dubbo-cluster capability
-
-[fixed]
-
-- Fix the reset bug of the retry module
-- Fix beehive-service registry url
-
-## 4.0.0
-
-![image](https://user-images.githubusercontent.com/533008/124376606-67f4a680-dcda-11eb-91b9-96933828bf42.png)
-
-After long-term community feedback and collaboration, and thanks to the efforts of the vivo open source collaboration team, we finally ushered in the release of apache dubbo-js 4.0.0.
-
-dubbo-js 4.0.0 will be a new milestone. We have made major software architecture adjustments and provided full-stack dubbo service capabilities. Dubbo/dj, which is under construction, will help the zero development of framework code by building a small cross-language DSL language for dubbo.
-
-In the process of building dubbo-js, we adhere to the consistent principle.
-
-1. Keep it simple and stupid. We want to keep dubbo-js easy to use, easy to learn, and reduce mental burden and learning cost.
-
-2. Build tools for humans. Development experience is as important as user experience. We strive to keep API design simple, intuitive and ergonomic. We use typescript to bring type hints, code completion, and type checking to help development become more efficient. We have built [interpret] and the dubbo/dj under development to make our calls and docking between JavaScript, Go, and Java seamless.
-
-3. High performance and observable.
-
-### Arch
-
-![image](https://user-images.githubusercontent.com/533008/124376584-43003380-dcda-11eb-9917-8c8d439b1edb.png)
-
-### change log
-
-- Separate modules, refactor code, simplify implementation logic, and remove unnecessary defensive programming
-- Zookeeper's node underlying library is replaced with zookeeper's native c implementation, replacing the existing node-zookeeper-client
-- The ability to dynamically configure dubbo-consumer/dubbo-service meta data
-- dubbo-service automatically realizes load balancing
-- Support the use of node10+ and above
-- Incorporate the implementation of the latest version of zone-context, more accurate memory recovery, and safer link tracking
-- Add dubbo-test full-process integration test
-- add fullstack example
-- Improve the unit test, run the unit test through mock without relying on any environment zookeeper etc.
-- Build a zookeeper mock, and use js to simulate a fully compatible zookeeper for unit testing, decoupling the dependence of unit testing on the environment
-
-- The core modules are re-split, abstracted into five core modules: consumer, server, registry, setting, and common
-- Added dubbo-server module to provide a complete basic capability of dubbo tcp server service
-- Added dubbo-server to accept dubbo requests, serialization and deserialization of request parameters
-- Added service registration capability, register to zookeeper and nacos
-- Enhance scheduling of requests by the scheduler, adopt the concept of fast error, improve error information, and be more precise
-- Enhance the underlying debug log of dubbo-server to facilitate quick location of problems
-- Enhance the dubbo url of dubbo-server registered to zk, add side, pid, generic, protocol, dynamic, category, anyhost, timestamp and other parameters
-- Enhanced extension dubbo-server supports middleware middleware mechanism, which can extend the life cycle of the entire call
-- Refactor the serialization implementation of dubbo requests and responses to keep consistent with the upstream version
-- Add an independent heartbeat management module to simplify the communication between consumer and server
-- Added nacos as the registration center
-
-### 【Bug fix】
-
-- Fix serialization of decodeDubboResponse of dubbo-consumer and deserialization of err object of error response
-- Repair the heartbeat mechanism between the consumer and the server to avoid a large number of heartbeat storms. At present, The server will reply immediately after receiving the heartbeat, and the consumer will check and send periodically.
-- Fix the version setting of dubboVersion of dubbo-consumer, this version should be the protocol version of dubbo protocal, not the version of dubbo library
-
-## 3.0.0
-
-After accepting the community's pr for a long time, we are ready to release dubbo-js@3.0.0
-
-@creasy2010
-@hsiaosiyuan0
-@sunchuanleihit
-@ralf0131  
-@binlaniua
-@jasonjoo2010
-@wushanchao
-@AtarisMio
-@hufeng
-
-**Thank you very much**
-
-### Bugfixes
-
-- Fix zookeeper automatic reconnection stability problem<https://github.com/apache/dubbo-js/pull/140> @binlaniua
-- fix network break, heart beat check not work](https://github.com/apache/dubbo-js/pull/139) @binlaniua
-- dubbo.subcribe -> dubbo.subscribe<https://github.com/apache/dubbo-js/pull/125> @wushanchao
-- bugfix consumer register ignore zkRoot]<https://github.com/apache/dubbo-js/pull/94> by @sunchuanleihit
-- fixed when zk getChildren had occured error set \_dubboServiceUrlMap interface is [] <https://github.com/apache/dubbo-js/pull/121> @hufeng
-- remove dumplicate consumer url<https://github.com/apache/dubbo-js/pull/96> by @sunchuanleihit
-- bugfix decode-buffer return DataType.Data<https://github.com/apache/dubbo-js/pull/144> @sunchuanleihit
-- dubboUrl get default.group<https://github.com/apache/dubbo-js/pull/138> @sunchuanleihit
-- fix beginning steps<https://github.com/apache/dubbo-js/pull/120> @hsiaosiyuan0
-- Repair reconnection should not empty existing provider<https://github.com/apache/dubbo-js/pull/157> @binlaniua
-- fixed unit test<https://github.com/apache/dubbo-js/pull/155> @hufeng
-- Free time heartbeat<https://github.com/apache/dubbo-js/pull/156> @sunchuanleihit
-- when Zookeeper ready and await dubbo.ready () would stop<https://github.com/apache/dubbo-js/pull/153> @sunchuanleihit
-- decode-buffer Fault tolerance<https://github.com/apache/dubbo-js/pull/152> @sunchuanleihit
-- filter private field where compiler java interface to typescript<https://github.com/apache/dubbo-js/pull/151> @AtarisMio
-- fixed test suite and document<https://github.com/apache/dubbo-js/pull/143> @hufeng
-
-### Enhancement
-
-- Make it subscribing all possible targets when set version to '\*' or empty<https://github.com/apache/dubbo-js/pull/129> @jasonjoo2010
-- split registry module and extend Dubbo register](https://github.com/apache/dubbo-js/pull/117) @hufeng
-- dubbo-invoker add cache<https://github.com/apache/dubbo-js/pull/110> @hufeng @sunchuanleihit
-- support include in dubbo.json to specify provider interfaces<https://github.com/apache/dubbo-js/pull/103> @sunchuanleihit
-- Add zookeeper auth supports<https://github.com/apache/dubbo-js/pull/132> @xusd320
-- Update readme<https://github.com/apache/dubbo-js/pull/119> @hsiaosiyuan0
-- add zookeeper traceError and modify zk factory method name<https://github.com/apache/dubbo-js/pull/159> @hufeng
diff --git a/LICENSE b/LICENSE
index 0f6f0ac..c61b663 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,183 +1,181 @@
-
-
                                  Apache License
                            Version 2.0, January 2004
                         http://www.apache.org/licenses/
 
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1.  Definitions.
+
+    "License" shall mean the terms and conditions for use, reproduction,
+    and distribution as defined by Sections 1 through 9 of this document.
+
+    "Licensor" shall mean the copyright owner or entity authorized by
+    the copyright owner that is granting the License.
+
+    "Legal Entity" shall mean the union of the acting entity and all
+    other entities that control, are controlled by, or are under common
+    control with that entity. For the purposes of this definition,
+    "control" means (i) the power, direct or indirect, to cause the
+    direction or management of such entity, whether by contract or
+    otherwise, or (ii) ownership of fifty percent (50%) or more of the
+    outstanding shares, or (iii) beneficial ownership of such entity.
+
+    "You" (or "Your") shall mean an individual or Legal Entity
+    exercising permissions granted by this License.
+
+    "Source" form shall mean the preferred form for making modifications,
+    including but not limited to software source code, documentation
+    source, and configuration files.
+
+    "Object" form shall mean any form resulting from mechanical
+    transformation or translation of a Source form, including but
+    not limited to compiled object code, generated documentation,
+    and conversions to other media types.
+
+    "Work" shall mean the work of authorship, whether in Source or
+    Object form, made available under the License, as indicated by a
+    copyright notice that is included in or attached to the work
+    (an example is provided in the Appendix below).
+
+    "Derivative Works" shall mean any work, whether in Source or Object
+    form, that is based on (or derived from) the Work and for which the
+    editorial revisions, annotations, elaborations, or other modifications
+    represent, as a whole, an original work of authorship. For the purposes
+    of this License, Derivative Works shall not include works that remain
+    separable from, or merely link (or bind by name) to the interfaces of,
+    the Work and Derivative Works thereof.
+
+    "Contribution" shall mean any work of authorship, including
+    the original version of the Work and any modifications or additions
+    to that Work or Derivative Works thereof, that is intentionally
+    submitted to Licensor for inclusion in the Work by the copyright owner
+    or by an individual or Legal Entity authorized to submit on behalf of
+    the copyright owner. For the purposes of this definition, "submitted"
+    means any form of electronic, verbal, or written communication sent
+    to the Licensor or its representatives, including but not limited to
+    communication on electronic mailing lists, source code control systems,
+    and issue tracking systems that are managed by, or on behalf of, the
+    Licensor for the purpose of discussing and improving the Work, but
+    excluding communication that is conspicuously marked or otherwise
+    designated in writing by the copyright owner as "Not a Contribution."
+
+    "Contributor" shall mean Licensor and any individual or Legal Entity
+    on behalf of whom a Contribution has been received by Licensor and
+    subsequently incorporated within the Work.
+
+2.  Grant of Copyright License. Subject to the terms and conditions of
+    this License, each Contributor hereby grants to You a perpetual,
+    worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+    copyright license to reproduce, prepare Derivative Works of,
+    publicly display, publicly perform, sublicense, and distribute the
+    Work and such Derivative Works in Source or Object form.
+
+3.  Grant of Patent License. Subject to the terms and conditions of
+    this License, each Contributor hereby grants to You a perpetual,
+    worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+    (except as stated in this section) patent license to make, have made,
+    use, offer to sell, sell, import, and otherwise transfer the Work,
+    where such license applies only to those patent claims licensable
+    by such Contributor that are necessarily infringed by their
+    Contribution(s) alone or by combination of their Contribution(s)
+    with the Work to which such Contribution(s) was submitted. If You
+    institute patent litigation against any entity (including a
+    cross-claim or counterclaim in a lawsuit) alleging that the Work
+    or a Contribution incorporated within the Work constitutes direct
+    or contributory patent infringement, then any patent licenses
+    granted to You under this License for that Work shall terminate
+    as of the date such litigation is filed.
+
+4.  Redistribution. You may reproduce and distribute copies of the
+    Work or Derivative Works thereof in any medium, with or without
+    modifications, and in Source or Object form, provided that You
+    meet the following conditions:
+
+    (a) You must give any other recipients of the Work or
+    Derivative Works a copy of this License; and
+
+    (b) You must cause any modified files to carry prominent notices
+    stating that You changed the files; and
+
+    (c) You must retain, in the Source form of any Derivative Works
+    that You distribute, all copyright, patent, trademark, and
+    attribution notices from the Source form of the Work,
+    excluding those notices that do not pertain to any part of
+    the Derivative Works; and
+
+    (d) If the Work includes a "NOTICE" text file as part of its
+    distribution, then any Derivative Works that You distribute must
+    include a readable copy of the attribution notices contained
+    within such NOTICE file, excluding those notices that do not
+    pertain to any part of the Derivative Works, in at least one
+    of the following places: within a NOTICE text file distributed
+    as part of the Derivative Works; within the Source form or
+    documentation, if provided along with the Derivative Works; or,
+    within a display generated by the Derivative Works, if and
+    wherever such third-party notices normally appear. The contents
+    of the NOTICE file are for informational purposes only and
+    do not modify the License. You may add Your own attribution
+    notices within Derivative Works that You distribute, alongside
+    or as an addendum to the NOTICE text from the Work, provided
+    that such additional attribution notices cannot be construed
+    as modifying the License.
+
+    You may add Your own copyright statement to Your modifications and
+    may provide additional or different license terms and conditions
+    for use, reproduction, or distribution of Your modifications, or
+    for any such Derivative Works as a whole, provided Your use,
+    reproduction, and distribution of the Work otherwise complies with
+    the conditions stated in this License.
+
+5.  Submission of Contributions. Unless You explicitly state otherwise,
+    any Contribution intentionally submitted for inclusion in the Work
+    by You to the Licensor shall be under the terms and conditions of
+    this License, without any additional terms or conditions.
+    Notwithstanding the above, nothing herein shall supersede or modify
+    the terms of any separate license agreement you may have executed
+    with Licensor regarding such Contributions.
+
+6.  Trademarks. This License does not grant permission to use the trade
+    names, trademarks, service marks, or product names of the Licensor,
+    except as required for reasonable and customary use in describing the
+    origin of the Work and reproducing the content of the NOTICE file.
+
+7.  Disclaimer of Warranty. Unless required by applicable law or
+    agreed to in writing, Licensor provides the Work (and each
+    Contributor provides its Contributions) on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+    implied, including, without limitation, any warranties or conditions
+    of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+    PARTICULAR PURPOSE. You are solely responsible for determining the
+    appropriateness of using or redistributing the Work and assume any
+    risks associated with Your exercise of permissions under this License.
+
+8.  Limitation of Liability. In no event and under no legal theory,
+    whether in tort (including negligence), contract, or otherwise,
+    unless required by applicable law (such as deliberate and grossly
+    negligent acts) or agreed to in writing, shall any Contributor be
+    liable to You for damages, including any direct, indirect, special,
+    incidental, or consequential damages of any character arising as a
+    result of this License or out of the use or inability to use the
+    Work (including but not limited to damages for loss of goodwill,
+    work stoppage, computer failure or malfunction, or any and all
+    other commercial damages or losses), even if such Contributor
+    has been advised of the possibility of such damages.
+
+9.  Accepting Warranty or Additional Liability. While redistributing
+    the Work or Derivative Works thereof, You may choose to offer,
+    and charge a fee for, acceptance of support, warranty, indemnity,
+    or other liability obligations and/or rights consistent with this
+    License. However, in accepting such obligations, You may act only
+    on Your own behalf and on Your sole responsibility, not on behalf
+    of any other Contributor, and only if You agree to indemnify,
+    defend, and hold each Contributor harmless for any liability
+    incurred by, or claims asserted against, such Contributor by reason
+    of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+APPENDIX: How to apply the Apache License to your work.
 
       To apply the Apache License to your work, attach the following
       boilerplate notice, with the fields enclosed by brackets "[]"
@@ -187,17 +185,17 @@
       file or class name and description of purpose be included on the
       same "printed page" as the copyright notice for easier
       identification within third-party archives.
-   Copyright [yyyy] [name of copyright owner]
 
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
+Copyright [yyyy] [name of copyright owner]
 
-       http://www.apache.org/licenses/LICENSE-2.0
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
 
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+       http://www.apache.org/licenses/LICENSE-2.0
 
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 52f49e5..0000000
--- a/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one or more
-#  contributor license agreements.  See the NOTICE file distributed with
-#  this work for additional information regarding copyright ownership.
-#  The ASF licenses this file to You under the Apache License, Version 2.0
-#  (the "License"); you may not use this file except in compliance with
-#  the License.  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-
-default: build-interpret-util dubbo-common dubbo-registry dubbo-serialization dubbo-service dubbo-consumer
-
-clean-all: clean-dubbo-common clean-dubbo-registry clean-dubbo-registry clean-dubbo-serialization clean-dubbo-consumer clean-dubbo-service clean-interpret-util
-
-dubbo-common: clean-dubbo-common
-	npx tsc --project ./packages/dubbo-common/tsconfig.json
-	@echo "👌 compile dubbo-common successfully \n"
-
-clean-dubbo-common:
-	rm -rf ./packages/dubbo-common/lib
-	@echo "👌 clean dubbo-invoker successfully\n"
-
-dubbo-registry: clean-dubbo-registry
-	npx tsc --project ./packages/dubbo-registry/tsconfig.json
-	@echo "👌 compile dubbo-registry successfully\n"
-
-clean-dubbo-registry:
-	rm -rf ./packages/dubbo-registry/lib
-	@echo "👌 clean dubbo-registry successfully\n"
-
-dubbo-serialization: clean-dubbo-serialization
-	npx tsc --project ./packages/dubbo-serialization/tsconfig.json
-	@echo "👌 compile dubbo-serialization successfully\n"
-
-clean-dubbo-serialization:
-	rm -rf ./packages/dubbo-serialization/lib
-	@echo "👌 clean dubbo-serialization successfully\n"
-
-dubbo-consumer: clean-dubbo-consumer
-	npx tsc --project ./packages/dubbo-consumer/tsconfig.json
-	@echo "👌 compile dubbo-consumer successfully\n"
-
-clean-dubbo-consumer:
-	rm -rf ./packages/dubbo-consumer/lib
-	@echo "👌 clean dubbo-consumer successfully\n"
-
-dubbo-service: clean-dubbo-service
-	npx tsc --project ./packages/dubbo-service/tsconfig.json
-	@echo "👌 compile dubbo-service successfully\n"
-
-clean-dubbo-service:
-	rm -rf ./packages/dubbo-service/lib
-	@echo "👌 clean dubbo-service successfully\n"
-
-build-interpret-util:clean-interpret-util
-	npx tsc --project ./packages/interpret-util/tsconfig.json
-	@echo "👌 compile interpret-util successfully\n"
-
-clean-interpret-util:
-	rm -rf ./packages/interpret-util/lib
-	@echo "👌 clean interpret-util successfully\n"
-
-build-demo-api:clean-demo-api
-	cd ./java/dubbo-demo/dubbo-demo-api && mvn package
-	cd ./java/dubbo-demo/dubbo-demo-api && mvn install dependency:copy-dependencies
-	@echo "👌 build demo-api successfully\n"
-
-interpret-jar:build-demo-api
-	ts-node ./packages/interpret-cli/src/cli.ts interpret -c dubbo.json
-
-ts-check:
-	npx tsc --project ./packages/dubbo-common/tsconfig.json --noEmit
-	npx tsc --project ./packages/dubbo-registry/tsconfig.json --noEmit
-	npx tsc --project ./packages/dubbo-serialization/tsconfig.json --noEmit
-	npx tsc --project ./packages/dubbo-consumer/tsconfig.json --noEmit
-	npx tsc --project ./packages/dubbo-service/tsconfig.json --noEmit
-	npx tsc --project ./packages/interpret-util/tsconfig.json --noEmit
-
-
diff --git a/NOTICE b/NOTICE
index 45c8ee2..67ea967 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache Dubbo Js
-Copyright 2018-2021 The Apache Software Foundation
+Copyright 2018-2022 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/README.md b/README.md
index 69ebcca..60a5533 100644
--- a/README.md
+++ b/README.md
@@ -1,205 +1 @@
 # Apache Dubbo-js
-
-Dubbo-js, using Node.js to embrace the Dubbo ecosystem. See this [Demo](https://github.com/apache/dubbo-js) to find how intelligent this project is.
-
-[Document](https://www.yuque.com/foow4t/ngd5zk)
-
-[![Node.js CI](https://github.com/apache/dubbo-js/actions/workflows/nodejs.yml/badge.svg?branch=master)](https://github.com/apache/dubbo-js/actions/workflows/nodejs.yml)
-
-## Features
-
-- Various transport protocols (Hessian, JSON-RPC etc.) supports
-- Tracing (Runtime information, Call Stack)
-- Multiple registry centers (Zookeeper, Nacos, Redis) supports or connecting to services directly
-- Extensibility, inspired from Koa Middleware
-- Builtin reconnection strategy
-- Typescript type definitions
-- Tools to automatically translate Java interfaces to Typescript type definitions
-- Dubbox supports
-
-## Architecture
-
-<img src="docs/arch.png" width="680" />
-
-## Getting Started
-
-```
-yarn add apache-dubbo-consumer
-```
-
-## Usage
-
-Below code snippet shows how to work with the typescript type definitions which automatically translated from Java interfaces.
-
-```typescript
-// ===================== service.ts ==================
-// generated by interpret tools
-import { BasicTypeProvider } from './providers/org/apache/dubbo/demo/BasicTypeProvider'
-import { DemoProvider } from './providers/org/apache/dubbo/demo/DemoProvider'
-import { ErrorProvider } from './providers/org/apache/dubbo/demo/ErrorProvider'
-
-export default {
-  BasicTypeProvider,
-  DemoProvider,
-  ErrorProvider
-}
-
-// =============== dubbo.ts ========================
-import { Dubbo, s } from 'apache-dubbo-consumer'
-import service from './service'
-
-// dubbo interface setting
-const dubboSetting = s.Setting(
-  s.service(
-    [
-      'org.apache.dubbo.demo.DemoProvider',
-      'org.apache.dubbo.demo.ErrorProvider'
-    ],
-    { version: '1.0.0' }
-  ),
-  s.service('org.apache.dubbo.demo.BasicTypeProvider', { version: '2.0.0' })
-)
-
-// create dubbo object
-const dubbo = new Dubbo<typeof service>({
-  application: { name: 'dubbo-js' },
-  // zookeeper address
-  register: 'localhost:2181',
-  dubboSetting,
-  service
-})
-
-// main method
-;(async () => {
-  let { res, err } = await dubbo.service.DemoProvider.sayHello('node')
-  // print {err: null, res:'hello node from dubbo service'}
-  ;({ res, err } = await dubbo.service.DemoProvider.echo())
-  // print {err: null, res: 'pang'}
-  ;({ res, err } = await dubbo.service.DemoProvider.getUserInfo())
-  // print {status: 'ok', info: { id: '1', name: 'test' }, err: null}
-})()
-```
-
-The automatically translated typescript type definitions are not necessary, below code snippet demonstrates how to use dubbo-js without them.
-
-```typescript
-// create the service to be injected
-import { Dubbo } from 'apache-dubbo-consumer'
-
-const demoProvider = (dubbo) =>
-  dubbo.proxyService({
-    dubboInterface: 'org.apache.dubbo.demo.DemoProvider',
-    version: '1.0.0',
-    methods: {
-      sayHello(name) {
-        return [java.String(name)]
-      },
-
-      echo() {},
-
-      test() {},
-
-      getUserInfo() {
-        return [
-          java.combine('org.apache.dubbo.demo.UserRequest', {
-            id: 1,
-            name: 'nodejs',
-            email: 'node@test.com'
-          })
-        ]
-      }
-    }
-  })
-
-// integrate the service in demoProvider with dubbo object constructor
-const service = {
-  demoProvider
-}
-
-const dubbo = new Dubbo<typeof service>({
-  // ....other parameters
-  service
-})
-```
-
-## How to run a quick starter?
-
-**Make sure java, maven, docker, Node, Yarn is installed locally.**
-If you'd like to contribute, it's a good start to follow below commands to get a locally runnable project.
-
-```sh
-# cd root dir
-cd dubbo-js
-
-# start java dubbo service
-chmod 755 ./start_dubbo_service.sh
-sh ./start_dubbo_service.sh
-
-# build package module
-make
-
-# start node
-cd example/hello-koa
-# install node modules
-yarn
-# start web
-yarn run debug:start
-# test /hello
-curl http://localhost:3000/hello
-
-# or hello-egg example
-cd example/hello-egg
-yarn
-yarn run dev
-# test /hello
-http://127.0.0.1:7001/hello
-```
-
-## How to run all tests
-
-```sh
-cd dubbo-js
-sh ./start_dubbo_service.sh
-yarn
-make
-yarn run test
-```
-
-## How to build dubbo-js module
-
-```sh
-git clone https://github.com/apache/dubbo-js.git
-cd dubbo-js
-npm install -g lerna
-lerna bootstrap
-make build-dubbo
-```
-
-## Next steps
-
-[Guides](/docs/README.md)
-
-## Reporting bugs
-
-Please follow the [template](https://github.com/apache/dubbo-js/issues/new?template=bug_report.md) for reporting any issues.
-
-## Knowledge Sharing
-
-[2019-meetup](https://github.com/dubbo/awesome-dubbo/blob/master/slides/meetup/201903%40nanjing/Dubbo2.js-from-0-to-1.pdf) by [hufeng](https://github.com/hufeng)
-
-## Thanks
-
-Dubbo-js will not work without:
-
-- [js-to-java](https://github.com/node-modules/js-to-java)
-- [hessian.js](https://github.com/node-modules/hessian.js)
-
-Many thanks to their authors [fengmk2](https://github.com/fengmk2) and [dead-horse](https://github.com/dead-horse).
-
-## contact us
-
-<img src="docs/ding-ding.jpeg" width="680" />
-
-## License
-
-Apache Dubbo is under the Apache 2.0 license. See the [LICENSE](/LICENSE) file for details.
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index d713a92..0000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-environment:
-  matrix:
-    - nodejs_version: '8'
-    - nodejs_version: '10'
-    - nodejs_version: '12'
-
-install:
-  - ps: Install-Product node $env:nodejs_version
-  - npm i npminstall && node_modules\.bin\npminstall
-
-test_script:
-  - node --version
-  - npm --version
-  - npm run test
-
-build: off
diff --git a/docs/README.md b/docs/README.md
deleted file mode 100644
index 9912d70..0000000
--- a/docs/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Docs
-
-Here are some guides to provide a slightly deeper look into apache-dubbo-js.
-
-- [Introduction](preface.md)
-- [Getting started](getting-started.md)
-- [API](api.md)
-- [Extendibility - middleware](middleware.md)
-- [More intelligent code completion](interpret.md)
-- [Troubleshooting](troubleshooting.md)
-- [Contributing](contributing.md)
diff --git a/docs/api.md b/docs/api.md
deleted file mode 100644
index d133bfa..0000000
--- a/docs/api.md
+++ /dev/null
@@ -1,304 +0,0 @@
----
-id: api
-title: api
-sidebar_label: API
----
-
-### create dubbo object
-
-```javascript
-const dubbo = new Dubbo({
-  isSupportedDubbox     //是不是支持dubbox (boolean类型); 可选,默认false
-  application           //记录应用的名称,zookeeper的调用时候写入consumer 类型:({name: string};) 可选
-  dubboInvokeTimeout    //设置dubbo调用超时时间默认5s 可选 类型number
-  dubboSocketPool       //设置dubbo创建socket的pool大小,默认1 可选 类型number
-  register              //设置zookeeper注册中心地址 必填 类型string
-  zkRoot                //zk的默认根路径,默认/dubbo 类型string 可选
-  interfaces            //设置zk监听的接口名称 类型 Array<string> 必填, 在dubbo2.js@2.0.4+版本中不在使用这个参数
-  service               //注入到dubbo容器的dubbo服务,类型Object, 在dubbo2.js@2.0.4+使用
-});
-
-// Or static factory method, and the parameters the same as above.
-const dubbo = Dubbo.from({
-  isSupportedDubbox     //是不是支持dubbox (boolean类型); 可选,默认false
-  application           //记录应用的名称,zookeeper的调用时候写入consumer 类型:({name: string};) 可选
-  dubboInvokeTimeout    //设置dubbo调用超时时间默认5s 可选 类型number
-  dubboSocketPool       //设置dubbo创建socket的pool大小,默认1 可选 类型number
-  register              //设置zookeeper注册中心地址 必填 类型string
-  zkRoot                //zk的默认根路径,默认/dubbo 类型string 可选
-  interfaces            //设置zk监听的接口名称 类型 Array<string> 必填, 在dubbo2.js@2.0.4+版本中不在使用这个参数
-  service               //注入到dubbo容器的dubbo服务,类型Object, 在dubbo2.js@2.0.4+使用
-})
-
-
-//dubbo 的代理服务
-const demoSerivce = dubbo.proxService({
-  //代理的服务接口 - string 必传
-  dubboInterface: 'com.alibaba.dubbo.demo.DemoService',
-  //服务接口的版本 - string 可选
-  version: '1.0.0',
-  //超时时间 number 可选
-  timeout: 10
-  //所属组 string 可选
-  group: 'qianmi',
-  //接口内的方法 - Array<Function> 必传
-  methods: {
-    //method name
-    sayHello(name) {
-      //仅仅做参数hessian化转换,封装传递的给后端dubbo接口的参数
-      return [java.String(name)];
-    },
-    //method name
-    getUserInfo() {
-      //仅仅做参数hessian化转换,封装传递的给后端dubbo接口的参数
-      return [
-        java.combine('com.alibaba.dubbo.demo.UserRequest', {
-          id: 1,
-          name: 'nodejs',
-          email: 'node@qianmi.com',
-        }),
-      ];
-    },
-  },
-})
-```
-
-### connect dubbo directly
-
-```typescript
-import { DirectlyDubbo, java } from 'apache-dubbo-js'
-import {
-  DemoProvider,
-  DemoProviderWrapper,
-  IDemoProvider
-} from './providers/com/alibaba/dubbo/demo/DemoProvider'
-import { UserRequest } from './providers/com/alibaba/dubbo/demo/UserRequest'
-
-const dubbo = DirectlyDubbo.from({
-  dubboAddress: 'localhost:20880',
-  dubboVersion: '2.0.0',
-  dubboInvokeTimeout: 10
-})
-
-const demoService = dubbo.proxyService<IDemoProvider>({
-  dubboInterface: 'com.alibaba.dubbo.demo.DemoProvider',
-  methods: DemoProviderWrapper,
-  version: '1.0.0'
-})
-```
-
-## When dubbo was ready?
-
-```javascript
-/**
- * dubbo的连接是异步的,有没有连接成功,通常需要到runtime才可以知道
- * 这时候可能会给我们一些麻烦,我们必须发出一个请求才能知道dubbo状态
- * 基于这种场景,我们提供一个方法,来告诉外部,dubbo是不是初始化成功,
- * 这样在node启动的过程中就知道dubbo的连接状态,如果连不上我们就可以
- * 及时的fixed
- */
-const dubbo = Dubbo.from(/*...*/);
-
-//普通使用方法
-(async () => {
-  await dubbo.ready();
-})();
-
-/**
- * 比如和egg配合起来,egg提供了beforeStart方法
- * 通过ready方法来等待dubbo初始化成功
- */
- //app.js
- export default (app: EggApplication) => {
-   const dubbo = Dubbo.from({....})
-   app.beforeStart(async () => {
-     await dubbo.ready();
-     console.log('dubbo was ready...');
-   })
- }
-```
-
-## dubbo's subscriber
-
-```javascript
-const dubbo = Dubbo.from(/*...*/)
-
-dubbo.subscribe({
-  onTrace(msg: ITrace) {
-    console.log(msg)
-  }
-})
-```
-
-you should get runtime trace info
-
-```text
-{ type: 'INFO', msg: 'dubbo:bootstrap version => 2.1.5' }
-{ type: 'INFO', msg: 'connected to zkserver localhost:2181' }
-{ type: 'INFO',
-  msg: 'ServerAgent create socket-pool: 172.19.6.203:20880' }
-{ type: 'INFO',
-  msg: 'socket-pool: 172.19.6.203:20880 poolSize: 1' }
-{ type: 'INFO',
-  msg: 'new SocketWorker#1 |> 172.19.6.203:20880' }
-{ type: 'INFO',
-  msg: 'SocketWorker#1 =connecting=> 172.19.6.203:20880' }
-{ type: 'INFO',
-  msg: 'SocketWorker#1 <=connected=> 172.19.6.203:20880' }
-{ type: 'INFO', msg: 'scheduler is ready' }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.DemoProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.ErrorProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.BasicTypeProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'ERR',
-  msg: Error: Can not be found any agents
-    at Object.Scheduler._handleZkClientOnData [as onData] (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/scheduler.js:68:29)
-    at EventEmitter.<anonymous> (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/zookeeper.js:275:30)
-    at <anonymous>
-    at process._tickCallback (internal/process/next_tick.js:118:7) }
-{ type: 'ERR',
-  msg: Error: SocketWorker#1 <=closed=> 172.19.6.203:20880 retry: 6
-    at SocketWorker._onClose (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/socket-worker.js:78:29)
-    at Socket.emit (events.js:180:13)
-    at TCP._handle.close [as _onclose] (net.js:541:12) }
-{ type: 'INFO',
-  msg: 'SocketWorker#1 =connecting=> 172.19.6.203:20880' }
-{ type: 'ERR',
-  msg:
-   { Error: connect ECONNREFUSED 172.19.6.203:20880
-    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1173:14)
-     errno: 'ECONNREFUSED',
-     code: 'ECONNREFUSED',
-     syscall: 'connect',
-     address: '172.19.6.203',
-     port: 20880 } }
-{ type: 'ERR',
-  msg: Error: SocketWorker#1 <=closed=> 172.19.6.203:20880 retry: 5
-    at SocketWorker._onClose (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/socket-worker.js:78:29)
-    at Socket.emit (events.js:180:13)
-    at TCP._handle.close [as _onclose] (net.js:541:12) }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.DemoProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.BasicTypeProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.ErrorProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.ErrorProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.DemoProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.BasicTypeProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'ERR',
-  msg: Error: Can not be found any agents
-    at Object.Scheduler._handleZkClientOnData [as onData] (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/scheduler.js:68:29)
-    at EventEmitter.<anonymous> (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/zookeeper.js:275:30)
-    at <anonymous>
-    at process._tickCallback (internal/process/next_tick.js:118:7) }
-{ type: 'INFO',
-  msg: 'SocketWorker#1 =connecting=> 172.19.6.203:20880' }
-{ type: 'ERR',
-  msg:
-   { Error: connect ECONNREFUSED 172.19.6.203:20880
-    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1173:14)
-     errno: 'ECONNREFUSED',
-     code: 'ECONNREFUSED',
-     syscall: 'connect',
-     address: '172.19.6.203',
-     port: 20880 } }
-{ type: 'ERR',
-  msg: Error: SocketWorker#1 <=closed=> 172.19.6.203:20880 retry: 4
-    at SocketWorker._onClose (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/socket-worker.js:78:29)
-    at Socket.emit (events.js:180:13)
-    at TCP._handle.close [as _onclose] (net.js:541:12) }
-{ type: 'INFO',
-  msg: 'SocketWorker#1 =connecting=> 172.19.6.203:20880' }
-{ type: 'ERR',
-  msg:
-   { Error: connect ECONNREFUSED 172.19.6.203:20880
-    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1173:14)
-     errno: 'ECONNREFUSED',
-     code: 'ECONNREFUSED',
-     syscall: 'connect',
-     address: '172.19.6.203',
-     port: 20880 } }
-{ type: 'ERR',
-  msg: Error: SocketWorker#1 <=closed=> 172.19.6.203:20880 retry: 3
-    at SocketWorker._onClose (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/socket-worker.js:78:29)
-    at Socket.emit (events.js:180:13)
-    at TCP._handle.close [as _onclose] (net.js:541:12) }
-{ type: 'INFO',
-  msg: 'SocketWorker#1 =connecting=> 172.19.6.203:20880' }
-{ type: 'ERR',
-  msg:
-   { Error: connect ECONNREFUSED 172.19.6.203:20880
-    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1173:14)
-     errno: 'ECONNREFUSED',
-     code: 'ECONNREFUSED',
-     syscall: 'connect',
-     address: '172.19.6.203',
-     port: 20880 } }
-{ type: 'ERR',
-  msg: Error: SocketWorker#1 <=closed=> 172.19.6.203:20880 retry: 2
-    at SocketWorker._onClose (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/socket-worker.js:78:29)
-    at Socket.emit (events.js:180:13)
-    at TCP._handle.close [as _onclose] (net.js:541:12) }
-{ type: 'INFO',
-  msg: 'SocketWorker#1 =connecting=> 172.19.6.203:20880' }
-{ type: 'ERR',
-  msg:
-   { Error: connect ECONNREFUSED 172.19.6.203:20880
-    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1173:14)
-     errno: 'ECONNREFUSED',
-     code: 'ECONNREFUSED',
-     syscall: 'connect',
-     address: '172.19.6.203',
-     port: 20880 } }
-{ type: 'ERR',
-  msg: Error: SocketWorker#1 <=closed=> 172.19.6.203:20880 retry: 1
-    at SocketWorker._onClose (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/socket-worker.js:78:29)
-    at Socket.emit (events.js:180:13)
-    at TCP._handle.close [as _onclose] (net.js:541:12) }
-{ type: 'INFO',
-  msg: 'SocketWorker#1 =connecting=> 172.19.6.203:20880' }
-{ type: 'ERR',
-  msg:
-   { Error: connect ECONNREFUSED 172.19.6.203:20880
-    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1173:14)
-     errno: 'ECONNREFUSED',
-     code: 'ECONNREFUSED',
-     syscall: 'connect',
-     address: '172.19.6.203',
-     port: 20880 } }
-{ type: 'ERR',
-  msg: Error: SocketWorker#1 <=closed=> 172.19.6.203:20880 retry: 0
-    at SocketWorker._onClose (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/socket-worker.js:78:29)
-    at Socket.emit (events.js:180:13)
-    at TCP._handle.close [as _onclose] (net.js:541:12) }
-{ type: 'ERR',
-  msg: Error: 172.19.6.203:20880's pool socket-worker had all closed. delete 172.19.6.203:20880
-    at ServerAgent._clearClosedPool (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/serverNacos-agent.js:66:33)
-    at Object.onClose (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/serverNacos-agent.js:51:34)
-    at SocketWorker._onClose (/Users/hufeng/Github/dubbo2.js/packages/dubbo/es7/socket-worker.js:97:34)
-    at Socket.emit (events.js:180:13)
-    at TCP._handle.close [as _onclose] (net.js:541:12) }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.DemoProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'INFO',
-  msg: 'ServerAgent create socket-pool: 172.19.6.203:20880' }
-{ type: 'INFO',
-  msg: 'socket-pool: 172.19.6.203:20880 poolSize: 1' }
-{ type: 'INFO',
-  msg: 'new SocketWorker#2 |> 172.19.6.203:20880' }
-{ type: 'INFO',
-  msg: 'SocketWorker#2 =connecting=> 172.19.6.203:20880' }
-{ type: 'INFO',
-  msg: 'SocketWorker#2 <=connected=> 172.19.6.203:20880' }
-{ type: 'INFO', msg: 'scheduler is ready' }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.BasicTypeProvider/providers, type: NODE_CHILDREN_CHANGED' }
-{ type: 'INFO',
-  msg: 'trigger watch /dubbo/com.alibaba.dubbo.demo.ErrorProvider/providers, type: NODE_CHILDREN_CHANGED' }
-```
diff --git a/docs/arch.png b/docs/arch.png
deleted file mode 100644
index f2f47b3..0000000
Binary files a/docs/arch.png and /dev/null differ
diff --git a/docs/contributing.md b/docs/contributing.md
deleted file mode 100644
index 5c53683..0000000
--- a/docs/contributing.md
+++ /dev/null
@@ -1,31 +0,0 @@
----
-id: contributing
-title: contributing
-sidebar_label: Contributing
----
-
-1.欢迎 pr
-
-2.欢迎 issue
-
-## 分享直戳
-
-[talk](https://github.com/hufeng/iThink/tree/master/talk)
-
-## 参与开发
-
-会抽时间把我们的 docker 下
-
-目前如果是 macos :)
-
-```sh
-brew install zookeeper
-brew services start zookeeper
-
-# 运行 java/dubbo-demo-provider 下面的例子
-
-yarn run test
-
-# 全链路日志跟踪
-DEBUG=dubbo* yarn run test
-```
diff --git a/docs/ding-ding.jpeg b/docs/ding-ding.jpeg
deleted file mode 100644
index 587e607..0000000
Binary files a/docs/ding-ding.jpeg and /dev/null differ
diff --git a/docs/getting-started.md b/docs/getting-started.md
deleted file mode 100644
index c395997..0000000
--- a/docs/getting-started.md
+++ /dev/null
@@ -1,57 +0,0 @@
----
-id: getting-started
-title: Getting started
-sidebar_label: Getting started
----
-
-## Install
-
-Install apache-dubbo-js using npm:
-
-```sh
-npm install apache-dubbo-js
-```
-
-Or
-
-```sh
-yarn add apache-dubbo-js
-```
-
-## How to Usage?
-
-```typescript
-//=====================service.ts==================
-//generated by interpret tools
-import { BasicTypeProvider } from './providers/com/alibaba/dubbo/demo/BasicTypeProvider'
-import { DemoProvider } from './providers/com/alibaba/dubbo/demo/DemoProvider'
-import { ErrorProvider } from './providers/com/alibaba/dubbo/demo/ErrorProvider'
-
-export default {
-  BasicTypeProvider,
-  DemoProvider,
-  ErrorProvider
-}
-
-//===============dubbo.ts========================
-import { Dubbo } from 'apache-dubbo-js'
-import service from './service'
-
-//create dubbo object, it like a service container
-const dubbo = new Dubbo<typeof service>({
-  application: { name: 'node-dubbo' },
-  //zookeeper address
-  register: 'localhost:2181',
-  service
-})
-
-//main method
-;(async () => {
-  const result1 = await dubbo.service.DemoProvider.sayHello('node')
-  //print {err: null, res:'hello node from dubbo service'}
-  const res = await dubbo.service.DemoProvider.echo()
-  //print {err: null, res: 'pang'}
-  const res = await dubbo.service.DemoProvider.getUserInfo()
-  //status: 'ok', info: { id: '1', name: 'test' }
-})()
-```
diff --git a/docs/interpret.md b/docs/interpret.md
deleted file mode 100644
index e9a2ec9..0000000
--- a/docs/interpret.md
+++ /dev/null
@@ -1,99 +0,0 @@
----
-id: interpret
-title: interpret
-sidebar_label: Interpret
----
-
-<img src="http://oss-hz.qianmi.com/x-site/dev/doc/dong/video2deal/xsite/interpret/鹦鹉.png" width = "100" alt="图片名称" align=center />
-
-### Keep it Simple
-
-我们坚定的认为开发体验同用户的体验同等重要,我们做了一些创新,一些很酷的实践。
-
-为了使 node 和 dubbo 之间的调用像 java 调用 dubbo 一样简单透明,我们设计和实现了 [translator](./packages/interpret-cli).
-
-通过分析 java 的 jar 包中的 bytecode 提取 dubbo 调用的接口信息,自动生成 typescript 类型定义文件以及调用的代码。
-
-在 packages/dubbo/src/**tests**/provider 就是根据 java 目录下的 demo 翻译而来。
-
-我们希望整个 dubbo 调用的代码都可以无缝生成。
-
-**_职责_**
-
-1.  翻译 Interface 代码,生成 node 端可调用代码;
-2.  自动将参数转换为 hessian.js 能识别的对象;
-3.  接口方法及参数类型提示;
-
-## How to Usage?
-
-如何把一个 dubbo 接口转换为 node 客户端能调用的代码,并在项目中使用呢?我们分为 3 个步骤:
-
-1.  在 java 接口项目生成 jar 包及依赖文件;
-2.  从生成的 jar 字节码中提取 ast 信息,翻译师根据 ast 信息生成 typescript;
-3.  项目中调用生成代码;
-
-注:
-
-具体实现 参考文档 [dubbo2js-翻译师.pdf](https://github.com/hufeng/iThink/blob/master/talk/dubbo2js-%E7%BF%BB%E8%AF%91%E5%B8%88.pdf)
-
-### step1:从 java 项目生成 jar
-
-```sh
-; 进入接口项目目录执行命令
-mvn package
-mvn install dependency:copy-dependencies
-```
-
-### step2:翻译生成 typescript 代码
-
-```sh
-npm install interpret-dubbo2js -g
-interpret -c dubbo.json
-```
-
-dubbo.json:
-
-```json
-{
-  "output": "./src",
-  "entry": "com.qianmi",
-  "entryJarPath": "${jarPath}",
-  "libDirPath": "${denpendJarDir}"
-}
-```
-
-| 参数名称     | 作用             |
-| ------------ | ---------------- |
-| output       | 生成代码保存路径 |
-| entry        | 可选过滤无关代码 |
-| entryJarPath | 接口的 jar 包    |
-| libDirPath   | 接口所依赖的     |
-
-**_Tip_** 生成的代码可以发 npm 包供其他业务线使用或直接在项目中引用
-
-### step2:Use the provider
-
-```typescript
-import {ShowCaseProvider} from '@qianmi/***-api/lib/com/qianmi/ShowCaseProvider';
-
-const service = {
-  ShowCaseProvider,
-};
-
-const dubbo = new Dubbo({
-  application: {name: 'node-dubbo'},
-  register: app.config.zookeeper,
-  service,
-});
-
-//main method
-(async () => {
-  //so easy
-  await dubbo.service.ShowCaseProvider.show();
-})();
-``
-
-**_Tip_** `npm install interpret-util apache-dubbo-js`;
-
-[interpret-example](https://github.com/creasy2010/interpret-example);
-```
diff --git a/docs/middleware.md b/docs/middleware.md
deleted file mode 100644
index 2da61e4..0000000
--- a/docs/middleware.md
+++ /dev/null
@@ -1,75 +0,0 @@
----
-id: middleware
-title: Middleware
-sidebar_label: Middleware
----
-
-middleware 是很多 web 框架设计的非常好的一个扩展方案如 express, koa ,甚至前端的 Redux
-
-它可以让我们的库聚焦于自身核心价值,又让系统获得了更好的可扩展性
-
-很早之前我们想做 node 和 dubbo 的调用的日志跟踪,我们为了快速实现这个功能,将日志写在了模块内部,这样很不方便
-有时候调整日志的格式都需要重新发布一个新的版本,而且可能会有其他类似的需求,会让我们的库变得臃肿,不可维护。
-
-所以我们就快速的扩展出来中间件接口,供业务线可以扩展自己想要的插件,于是我们就讲 koa 的 middleware 的机制合入到我们库中。
-
-## 一个小栗子
-
-比如,我想知道每次 dubbo 调用的 costtime, 有没有很熟悉的感觉?
-
-```typescript
-const dubbo = new Dubbo({
-  /*..各种参数..*/
-})
-
-dubbo.use(async (ctx, next) => {
-  const startTime = Date.now()
-  await next()
-  const endTime = Date.now()
-  console.log('costtime: %d', endTime - startTime)
-})
-```
-
-在这个基础上我们去实现 node 和 dubbo 日志的跟踪就变得很简单了,可以从 ctx 中获取调用链路上各种参数。
-
-## 一个更好玩的 dubbo-invoker
-
-在 dubbo 的接口调用中,需要设置一些动态的参数如,version, group, timeout, retry 等常常
-
-这些参数需要在 consumer 调用方才精确设定值,之前是在 interpret 翻译生成 ts 的代码里面进行设置这个不够灵活,所以这里面我就抽象一个 dubbo-invoker 作为设置参数的 middleware,这样可以很方便的动态设置各种 runtime 参数,还可以更优雅的干掉配置文件,😆😆😆
-
-```sh
-npm install dubbo-invoker
-```
-
-```javascript
-import { dubboInvoker, matcher } from 'dubbo-invoker'
-
-//init
-const dubbo = Dubbo.from(/*....*/)
-
-const matchRuler = matcher
-  //精确匹配接口
-  .service('com.alibaba.demo.UserProvider', {
-    version: '1.0.0',
-    group: 'user'
-  })
-  //service thunk
-  .service((ctx) => {
-    if (ctx.dubboInterface === 'com.alibaba.demo.ProductProvider') {
-      ctx.version = '2.0.0'
-      ctx.group = 'product-center'
-      //通知dubboInvoker匹配成功
-      return true
-    }
-  })
-  //正则匹配
-  .service(/^com.alibaba.dubbo/, {
-    version: '2.0.0',
-    group: ''
-  })
-
-dubbo.use(dubboInvoke(matchRuler))
-```
-
-<strong> 我想应该还有其他的花式玩法,㊗ ️😊 </strong>
diff --git a/docs/preface.md b/docs/preface.md
deleted file mode 100644
index a3eac96..0000000
--- a/docs/preface.md
+++ /dev/null
@@ -1,41 +0,0 @@
----
-id: preface
-title: Preface
-sidebar_label: Preface
----
-
-![love dubbo](https://raw.githubusercontent.com/dubbo/dubbo2.js/master/resources/dubbo-love.png)
-
-[![NPM](https://nodei.co/npm/apache-dubbo-js.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/apache-dubbo-js)
-
-## apache-dubbo-js
-
-apache-dubbo-js = Nodejs connected Java Dubbo RPC service by dubbo protocol (dubbo head + hessian body)
-
-多年期盼,一朝梦圆! We love dubbo 👏
-
-感谢 [js-to-java](https://github.com/node-modules/js-to-java),[hessian.js](https://github.com/node-modules/hessian.js) 两大核心模块, 感谢[fengmk2](https://github.com/fengmk2)和[dead-horse](https://github.com/dead-horse)老师。
-
-## Features
-
-1.  Keep it Simple
-
-2.  Support zookeeper as registry center
-
-3.  TCP Dubbo Native Protocol (Dubbo Header + Hessian Body)
-
-4.  Socket Pool (ServerAgent -> SocketPool -> SocketWorker)
-
-5.  Support Directly Dubbo (const Dubbo = DirectlyDubbo({..}))
-
-6.  Middleware, Easy to extend, the same API as Koa middleware
-
-7.  Tracing
-
-8.  Supported Dubbox
-
-9.  Typescript type definition
-
-10. Convert java dubbo interface to typescript module or JavaScript node module
-
-11. Socket-worker auto retry
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
deleted file mode 100644
index da661a8..0000000
--- a/docs/troubleshooting.md
+++ /dev/null
@@ -1,202 +0,0 @@
----
-id: troubleshooting
-title: Troubleshooting
-sidebar_label: Troubleshooting
----
-
-```javascript
-import { Dubbo } from 'apache-dubbo-js'
-```
-
-默认导入的 apache-dubbo-js 是按照 es2017 进行编译的,支持 node7.10 以上。
-
-如果更低的 node 版本,可以使用
-
-```javascript
-import { Dubbo } from 'apache-dubbo-js/es6'
-```
-
-## 报错了,为什么呢?
-
-我们使用了 debug 模块,做了全流程的日志跟踪(开发状态),可以通过开启来跟踪整个过程
-
-如果是使用 egg,
-
-```sh
-DEBUG=dubbo* yarn run dev #(egg-bin dev)
-```
-
-如果是其他的比如 pm2
-
-```sh
-DEBUG=dubbo* pm2 start xxxx
-```
-
-最普通
-
-```sh
-DEBUG=dubbo* node serverNacos.js
-```
-
-## log example
-
-```text
-❯ DEBUG=dubbo* node serverNacos.js
-  dubbo:queue new Queue +0ms
-  dubbo:bootstrap dubbo2.js version :=> 2.1.5 +0ms
-  dubbo:bootstrap initial:|> { application: { name: 'dubbo-node-consumer' },
-  dubbo:bootstrap   register: 'localhost:2181',
-  dubbo:bootstrap   service:
-  dubbo:bootstrap    { demoProvider: [Function],
-  dubbo:bootstrap      basicTypeProvider: [Function],
-  dubbo:bootstrap      errorProvider: [Function] } } +1ms
-  dubbo:bootstrap config:|> { dubboInvokeTimeout: 5, dubboSocketPool: 1 } +2ms
-  dubbo:bootstrap interfaces:|> [ 'com.alibaba.dubbo.demo.DemoProvider',
-  'com.alibaba.dubbo.demo.BasicTypeProvider',
-  'com.alibaba.dubbo.demo.ErrorProvider' ] +1ms
-  dubbo:scheduler new:|> { zkRoot: undefined,
-  dubbo:scheduler   register: 'localhost:2181',
-  dubbo:scheduler   application: { name: 'dubbo-node-consumer' },
-  dubbo:scheduler   interfaces:
-  dubbo:scheduler    [ 'com.alibaba.dubbo.demo.DemoProvider',
-  dubbo:scheduler      'com.alibaba.dubbo.demo.BasicTypeProvider',
-  dubbo:scheduler      'com.alibaba.dubbo.demo.ErrorProvider' ] } +0ms
-  dubbo:zookeeper new:|> { zkRoot: undefined,
-  dubbo:zookeeper   register: 'localhost:2181',
-  dubbo:zookeeper   application: { name: 'dubbo-node-consumer' },
-  dubbo:zookeeper   interfaces:
-  dubbo:zookeeper    [ 'com.alibaba.dubbo.demo.DemoProvider',
-  dubbo:zookeeper      'com.alibaba.dubbo.demo.BasicTypeProvider',
-  dubbo:zookeeper      'com.alibaba.dubbo.demo.ErrorProvider' ] } +0ms
-  dubbo:zookeeper connecting zkserver localhost:2181 +0ms
-{ type: 'INFO', msg: 'dubbo:bootstrap version => 2.1.5' }
-  dubbo:zookeeper connected to zkserver localhost:2181 +73ms
-{ type: 'INFO', msg: 'connected to zkserver localhost:2181' }
-  dubbo:dubbo-url DubboUrl from -> dubbo://172.19.6.203:20880/com.alibaba.dubbo.demo.DemoProvider?anyhost=true&application=demo-provider&default.timeout=1500&dubbo=2.5.7&generic=false&interface=com.alibaba.dubbo.demo.DemoProvider&methods=sayHello,test,echo,getUserInfo&pid=18647&revision=1.0.0&sayHello.timeout=8000&side=provider&timeout=10000&timestamp=1530239555926&version=1.0.0 +0ms
-  dubbo:dubbo-url DubboUrl from -> dubbo://172.19.6.203:20880/com.alibaba.dubbo.demo.BasicTypeProvider?anyhost=true&application=demo-provider&default.timeout=1500&dubbo=2.5.7&generic=false&interface=com.alibaba.dubbo.demo.BasicTypeProvider&methods=testBasicType&pid=18647&revision=2.0.0&side=provider&timestamp=1530239556422&version=2.0.0 +4ms
-  dubbo:dubbo-url DubboUrl from -> dubbo://172.19.6.203:20880/com.alibaba.dubbo.demo.ErrorProvider?anyhost=true&application=demo-provider&default.timeout=1500&dubbo=2.5.7&generic=false&interface=com.alibaba.dubbo.demo.ErrorProvider&methods=errorTest&pid=18647&revision=1.0.0&side=provider&timestamp=1530239556477&version=1.0.0 +2ms
-  dubbo:zookeeper agentAddrSet: Set { '172.19.6.203:20880' } +12ms
-  dubbo:zookeeper dubboServiceUrl:|> Map {
-  dubbo:zookeeper   'com.alibaba.dubbo.demo.DemoProvider' => [ DubboUrl {
-  dubbo:zookeeper     _url: [Url],
-  dubbo:zookeeper     _query: [Object],
-  dubbo:zookeeper     host: '172.19.6.203',
-  dubbo:zookeeper     port: 20880,
-  dubbo:zookeeper     path: 'com.alibaba.dubbo.demo.DemoProvider',
-  dubbo:zookeeper     dubboVersion: '2.5.7',
-  dubbo:zookeeper     version: '1.0.0',
-  dubbo:zookeeper     group: '' } ],
-  dubbo:zookeeper   'com.alibaba.dubbo.demo.BasicTypeProvider' => [ DubboUrl {
-  dubbo:zookeeper     _url: [Url],
-  dubbo:zookeeper     _query: [Object],
-  dubbo:zookeeper     host: '172.19.6.203',
-  dubbo:zookeeper     port: 20880,
-  dubbo:zookeeper     path: 'com.alibaba.dubbo.demo.BasicTypeProvider',
-  dubbo:zookeeper     dubboVersion: '2.5.7',
-  dubbo:zookeeper     version: '2.0.0',
-  dubbo:zookeeper     group: '' } ],
-  dubbo:zookeeper   'com.alibaba.dubbo.demo.ErrorProvider' => [ DubboUrl {
-  dubbo:zookeeper     _url: [Url],
-  dubbo:zookeeper     _query: [Object],
-  dubbo:zookeeper     host: '172.19.6.203',
-  dubbo:zookeeper     port: 20880,
-  dubbo:zookeeper     path: 'com.alibaba.dubbo.demo.ErrorProvider',
-  dubbo:zookeeper     dubboVersion: '2.5.7',
-  dubbo:zookeeper     version: '1.0.0',
-  dubbo:zookeeper     group: '' } ] } +0ms
-  dubbo:scheduler get agent address:=> Set { '172.19.6.203:20880' } +90ms
-  dubbo:serverNacos-agent agerntAddrs: Set { '172.19.6.203:20880' } +0ms
-  dubbo:zookeeper init providerMap and agentSet +5ms
-  dubbo:serverNacos-agent create ServerAgent: 172.19.6.203:20880 +0ms
-{ type: 'INFO',
-  msg: 'ServerAgent create socket-pool: 172.19.6.203:20880' }
-  dubbo:socket-pool new:|> {
-  dubbo:socket-pool   "url": "172.19.6.203:20880",
-  dubbo:socket-pool   "poolSize": 1
-  dubbo:socket-pool } +0ms
-{ type: 'INFO',
-  msg: 'socket-pool: 172.19.6.203:20880 poolSize: 1' }
-  dubbo:socket-worker new SocketWorker#1|> 172.19.6.203:20880 PADDING +0ms
-{ type: 'INFO',
-  msg: 'new SocketWorker#1 |> 172.19.6.203:20880' }
-  dubbo:decode-buffer new DecodeBuffer +0ms
-  dubbo:socket-worker SocketWorker#1 =connecting=> 172.19.6.203:20880 +0ms
-{ type: 'INFO',
-  msg: 'SocketWorker#1 =connecting=> 172.19.6.203:20880' }
-  dubbo:socket-worker SocketWorker#1 <=connected=> 172.19.6.203:20880 +1ms
-{ type: 'INFO',
-  msg: 'SocketWorker#1 <=connected=> 172.19.6.203:20880' }
-  dubbo:scheduler scheduler receive SocketWorker connect pid#1 172.19.6.203:20880 +3ms
-{ type: 'INFO', msg: 'scheduler is ready' }
-  dubbo:zookeeper create successfully consumer url: /dubbo/com.alibaba.dubbo.demo.DemoProvider/consumers/consumer://172.19.6.203/com.alibaba.dubbo.demo.DemoProvider?host=172.19.6.203&port=20880&interface=com.alibaba.dubbo.demo.DemoProvider&application=dubbo-node-consumer&category=consumers&dubbo=2.5.7&method=&revision=&version=1.0.0&side=consumer&check=false&timestamp=1530242060644 +8ms
-  dubbo:zookeeper create Consumer finish +1ms
-  dubbo:zookeeper create successfully consumer url: /dubbo/com.alibaba.dubbo.demo.BasicTypeProvider/consumers/consumer://172.19.6.203/com.alibaba.dubbo.demo.BasicTypeProvider?host=172.19.6.203&port=20880&interface=com.alibaba.dubbo.demo.BasicTypeProvider&application=dubbo-node-consumer&category=consumers&dubbo=2.5.7&method=&revision=&version=2.0.0&side=consumer&check=false&timestamp=1530242060646 +14ms
-  dubbo:zookeeper create Consumer finish +0ms
-  dubbo:zookeeper create successfully consumer url: /dubbo/com.alibaba.dubbo.demo.ErrorProvider/consumers/consumer://172.19.6.203/com.alibaba.dubbo.demo.ErrorProvider?host=172.19.6.203&port=20880&interface=com.alibaba.dubbo.demo.ErrorProvider&application=dubbo-node-consumer&category=consumers&dubbo=2.5.7&method=&revision=&version=1.0.0&side=consumer&check=false&timestamp=1530242060648 +14ms
-  dubbo:zookeeper create Consumer finish +0ms
-  dubbo:context new Context +0ms
-  dubbo:context requestId#1 set application: { name: 'dubbo-node-consumer' } +0ms
-  dubbo:context requestId#1 set methodName: sayHello +0ms
-  dubbo:context requestId#1 set methodArgs: [ { '$class': 'java.lang.String', '$': 'test' } ] +0ms
-  dubbo:context requestId#1 set dubboInterface: com.alibaba.dubbo.demo.DemoProvider +0ms
-  dubbo:context requestId#1 set version: 1.0.0 +1ms
-  dubbo:context requestId#1 set timeout: NaN +0ms
-  dubbo:context requestId#1 set group:  +0ms
-  dubbo:bootstrap middleware-> [ [AsyncFunction: handleRequest] ] +11s
-  dubbo:bootstrap start middleware handle dubbo Request +0ms
-  dubbo:context requestId#1 set resolve: [Function] +0ms
-  dubbo:context requestId#1 set reject: [Function] +1ms
-  dubbo:queue check timeout: ctx.timeout-> NaN @timeout: 5000 +11s
-  dubbo:context requestId#1 set timeoutId +0ms
-  dubbo:queue add queue,requestId#1, interface: com.alibaba.dubbo.demo.DemoProvider +0ms
-  dubbo:queue current schedule queue => { '1': -1 } +0ms
-  dubbo:scheduler handle requestId 1, current status: ready +11s
-  dubbo:scheduler agentAddrSet-> [ '172.19.6.203:20880' ] +1ms
-  dubbo:context requestId#1 set reject: 172.19.6.203 +1ms
-  dubbo:context requestId#1 set invokePort: 20880 +0ms
-  dubbo:zookeeper getProviderProps:|> [object Object] +11s
-  dubbo:queue staring schedule 1#com.alibaba.dubbo.demo.DemoProvider#1.0.0 +2ms
-  dubbo:socket-worker SocketWorker#1 =invoked=> 1 +11s
-  dubbo:context requestId#1 set pid: 1 +1ms
-  dubbo:hessian:encoderV2 dubbo encode param request:{
-  "requestId": 1,
-  "methodName": "sayHello",
-  "methodArgs": [
-    {
-      "$class": "java.lang.String",
-      "$": "test"
-    }
-  ],
-  "dubboInterface": "com.alibaba.dubbo.demo.DemoProvider",
-  "version": "1.0.0",
-  "group": "",
-  "dubboVersion": "2.5.7",
-  "path": "com.alibaba.dubbo.demo.DemoProvider"
-} +0ms
-  dubbo:hessian:encoderV2 trace uuid->  +1ms
-  dubbo:hessian:encoderV2 request#1 attachment {
-  "$class": "java.util.HashMap",
-  "$": {
-    "path": "com.alibaba.dubbo.demo.DemoProvider",
-    "interface": "com.alibaba.dubbo.demo.DemoProvider",
-    "version": "1.0.0",
-    "application": "dubbo-node-consumer"
-  }
-} +0ms
-  dubbo:hessian:encoderV2 encode header requestId: 1 +1ms
-  dubbo:hessian:encoderV2 encode body length: 219 bytes +0ms
-  dubbo:queue current schedule queue ==> { '1': 1 } +2ms
-  dubbo:socket-worker SocketWorker#1  =receive data=> 172.19.6.203:20880 +70ms
-  dubbo:decode-buffer body length 57 +11s
-  dubbo:hessian:DecoderV2 decode parse requestId: 1 +0ms
-  dubbo:hessian:DecoderV2 parse response status: 20, DUBBO_RESPONSE_STATUS: OK +0ms
-  dubbo:hessian:DecoderV2 parse dubbo response body flag: 1, DUBBO_RESPONSE_BODY_FLAG: RESPONSE_VALUE +1ms
-  dubbo:socket-worker SocketWorker#1 <=received=> dubbo result { requestId: 1,
-  dubbo:socket-worker   err: null,
-  dubbo:socket-worker   res: 'Hello test, response form provider: 172.19.6.203:20880' } +2ms
-  dubbo:queue resolve requestId#1, res: 'Hello test, response form provider: 172.19.6.203:20880' +70ms
-  dubbo:queue clear invoke and schedule queue #1 +1ms
-  dubbo:queue current schedule queue {} +0ms
-  dubbo:queue invoke statistics==>{ timeoutErrCount: 0, paramCheckErrCount: 0, 'pid#1': 1 } +0ms
-  dubbo:bootstrap end handle dubbo request +76ms
-```
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-api/pom.xml b/dubbo-java/dubbo-demo/dubbo-demo-api/pom.xml
deleted file mode 100644
index e4bbf5b..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-api/pom.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>dubbo-demo-api</artifactId>
-    <packaging>jar</packaging>
-    <groupId>org.apache.dubbo</groupId>
-    <version>2.7.4.1</version>
-    <name>${project.artifactId}</name>
-    <description>The demo module of dubbo project</description>
-    <properties>
-        <skip_maven_deploy>true</skip_maven_deploy>
-    </properties>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <compilerArgs>
-                        <arg>-parameters</arg>
-                    </compilerArgs>
-                    <source>1.7</source>
-                    <target>1.7</target>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/BasicTypeProvider.java b/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/BasicTypeProvider.java
deleted file mode 100644
index ef698a3..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/BasicTypeProvider.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.demo;
-
-public interface BasicTypeProvider {
-    TypeRequest testBasicType(TypeRequest request);
-
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/CustomizeException.java b/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/CustomizeException.java
deleted file mode 100644
index 971c0f7..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/CustomizeException.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.demo;
-
-public class CustomizeException extends Exception {
-    public CustomizeException() {
-        super();
-    }
-
-    public CustomizeException(String message) {
-        super(message);
-    }
-
-    public CustomizeException(String message, Throwable cause) {
-        super(message, cause);
-    }
-
-    public CustomizeException(Throwable cause) {
-        super(cause);
-    }
-
-    protected CustomizeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
-        super(message, cause, enableSuppression, writableStackTrace);
-    }
-
-    @Override
-    public synchronized Throwable fillInStackTrace() {
-        return this;
-    }
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/DemoProvider.java b/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/DemoProvider.java
deleted file mode 100644
index 3b4b592..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/DemoProvider.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.demo;
-
-public interface DemoProvider {
-
-    String sayHello(String name);
-
-    String echo() ;
-
-    void test();
-
-    UserResponse getUserInfo(UserRequest request);
-
-}
\ No newline at end of file
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/ErrorProvider.java b/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/ErrorProvider.java
deleted file mode 100644
index bdb1b36..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/ErrorProvider.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.demo;
-
-public interface ErrorProvider {
-    void errorTest() throws CustomizeException;
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/Sex.java b/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/Sex.java
deleted file mode 100644
index c8f6fae..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/Sex.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.demo;
-
-public enum Sex {
-    male,female
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/TypeRequest.java b/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/TypeRequest.java
deleted file mode 100644
index afb4251..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/TypeRequest.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.demo;
-
-import java.io.Serializable;
-import java.math.BigDecimal;
-import java.util.Map;
-
-public class TypeRequest implements Serializable {
-    private Map<String, String> map;
-
-    private BigDecimal bigDecimal;
-
-    public Map<String, String> getMap() {
-        return map;
-    }
-
-    public void setMap(Map<String, String> map) {
-        this.map = map;
-    }
-
-    public BigDecimal getBigDecimal() {
-        return bigDecimal;
-    }
-
-    public void setBigDecimal(BigDecimal bigDecimal) {
-        this.bigDecimal = bigDecimal;
-    }
-
-    @Override
-    public String toString() {
-        return "TypeRequest{" +
-                "map=" + map +
-                ", bigDecimal=" + bigDecimal +
-                '}';
-    }
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/UserRequest.java b/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/UserRequest.java
deleted file mode 100644
index c9c0218..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/UserRequest.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.demo;
-
-import java.io.Serializable;
-
-/**
- * Created by master on 21/11/2017.
- */
-public class UserRequest implements Serializable {
-    private Integer id;
-    private String name;
-    private String email;
-    private Sex sex;
-
-
-    public Integer getId() {
-        return id;
-    }
-
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getEmail() {
-        return email;
-    }
-
-    public void setEmail(String email) {
-        this.email = email;
-    }
-
-    public Sex getSex() {
-        return sex;
-    }
-
-    public void setSex(Sex sex) {
-        this.sex = sex;
-    }
-
-    @Override
-    public String toString() {
-        return "UserRequest{" +
-                "id=" + id +
-                ", name='" + name + '\'' +
-                ", sex='" + sex + '\'' +
-                ", email='" + email + '\'' +
-                '}';
-    }
-
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/UserResponse.java b/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/UserResponse.java
deleted file mode 100644
index bfd937a..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-api/src/main/java/org/apache/dubbo/demo/UserResponse.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.demo;
-
-import java.io.Serializable;
-import java.util.Map;
-
-/**
- * Created by master on 21/11/2017.
- */
-public class UserResponse implements Serializable {
-    private String status;
-    private Map<String, String> info;
-
-    public String getStatus() {
-        return status;
-    }
-
-    public void setStatus(String status) {
-        this.status = status;
-    }
-
-    public Map<String, String> getInfo() {
-        return info;
-    }
-
-    public void setInfo(Map<String, String> info) {
-        this.info = info;
-    }
-
-    @Override
-    public String toString() {
-        return "UserResponse{" +
-                "status='" + status + '\'' +
-                ", info=" + info +
-                '}';
-    }
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-consumer/pom.xml b/dubbo-java/dubbo-demo/dubbo-demo-consumer/pom.xml
deleted file mode 100644
index 6e7d258..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-consumer/pom.xml
+++ /dev/null
@@ -1,140 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>dubbo-demo-consumer</artifactId>
-    <groupId>org.apache.dubbo</groupId>
-    <version>2.7.4.1</version>
-    <packaging>jar</packaging>
-    <name>${project.artifactId}</name>
-    <description>The demo consumer module of dubbo project</description>
-    <properties>
-        <dubbo.version>2.7.15</dubbo.version>
-        <javassist_version>3.20.0-GA</javassist_version>
-        <netty_version>3.2.5.Final</netty_version>
-        <zookeeper_version>3.4.9</zookeeper_version>
-        <zkclient_version>0.2</zkclient_version>
-        <curator_version>2.12.0</curator_version>
-        <fastjson_version>1.2.31</fastjson_version>
-        <log4j_version>1.2.16</log4j_version>
-        <slf4j_version>1.7.25</slf4j_version>
-
-        <maven.compiler.target>1.8</maven.compiler.target>
-        <maven.compiler.source>1.8</maven.compiler.source>
-        <skip_maven_deploy>false</skip_maven_deploy>
-    </properties>
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.dubbo</groupId>
-            <artifactId>dubbo-demo-api</artifactId>
-            <version>${dubbo.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.dubbo</groupId>
-            <artifactId>dubbo</artifactId>
-            <version>${dubbo.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.javassist</groupId>
-            <artifactId>javassist</artifactId>
-            <version>${javassist_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.jboss.netty</groupId>
-            <artifactId>netty</artifactId>
-            <version>${netty_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.zookeeper</groupId>
-            <artifactId>zookeeper</artifactId>
-            <version>${zookeeper_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.101tec</groupId>
-            <artifactId>zkclient</artifactId>
-            <version>${zkclient_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.curator</groupId>
-            <artifactId>curator-framework</artifactId>
-            <version>${curator_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.alibaba</groupId>
-            <artifactId>fastjson</artifactId>
-            <version>${fastjson_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>${log4j_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>${slf4j_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.curator</groupId>
-            <artifactId>curator-recipes</artifactId>
-            <version>2.8.0</version>
-        </dependency>
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>unpack</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.apache.dubbo</groupId>
-                                    <artifactId>dubbo</artifactId>
-                                    <version>${dubbo.version}</version>
-                                    <outputDirectory>${project.build.directory}/dubbo</outputDirectory>
-                                    <includes>META-INF/assembly/**</includes>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <configuration>
-                    <descriptor>src/main/assembly/assembly.xml</descriptor>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>make-assembly</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>single</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/assembly/assembly.xml b/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/assembly/assembly.xml
deleted file mode 100644
index 94a78b9..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/assembly/assembly.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-<assembly>
-    <id>assembly</id>
-    <formats>
-        <format>tar.gz</format>
-    </formats>
-    <includeBaseDirectory>true</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>${project.build.directory}/dubbo/META-INF/assembly/bin</directory>
-            <outputDirectory>bin</outputDirectory>
-            <fileMode>0755</fileMode>
-        </fileSet>
-        <fileSet>
-            <directory>src/main/assembly/conf</directory>
-            <outputDirectory>conf</outputDirectory>
-            <fileMode>0644</fileMode>
-        </fileSet>
-    </fileSets>
-    <dependencySets>
-        <dependencySet>
-            <outputDirectory>lib</outputDirectory>
-        </dependencySet>
-    </dependencySets>
-</assembly>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/assembly/conf/dubbo.properties b/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/assembly/conf/dubbo.properties
deleted file mode 100644
index d7c64ca..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/assembly/conf/dubbo.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-##
-dubbo.container=log4j,spring
-dubbo.application.name=demo-consumer
-dubbo.application.owner=
-dubbo.registry.address=multicast://224.5.6.7:1234
-#dubbo.registry.address=zookeeper://127.0.0.1:2181
-#dubbo.registry.address=redis://127.0.0.1:6379
-#dubbo.registry.address=dubbo://127.0.0.1:9090
-dubbo.monitor.protocol=registry
-dubbo.log4j.file=logs/dubbo-demo-consumer.log
-dubbo.log4j.level=WARN
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/java/org/apache/dubbo/demo/consumer/Consumer.java b/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/java/org/apache/dubbo/demo/consumer/Consumer.java
deleted file mode 100644
index c23dc6b..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/java/org/apache/dubbo/demo/consumer/Consumer.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.dubbo.demo.consumer;
-
-
-import org.apache.dubbo.demo.*;
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-public class Consumer {
-
-    public static void main(String[] args) {
-        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"META-INF/spring/dubbo-demo-consumer.xml"});
-        context.start();
-
-        DemoProvider demoService = (DemoProvider) context.getBean("demoProvider"); // 获取远程服务代理
-        String hello = demoService.sayHello("world"); // 执行远程方法
-        System.out.println(hello); // 显示调用结果
-
-
-        String res = demoService.echo();
-        System.out.println(res);
-        UserRequest request = new UserRequest();
-        request.setId(1);
-        request.setEmail("dubbo-js@gmail.com");
-        request.setName("node-dubbo");
-
-        UserResponse userInfo = demoService.getUserInfo(request);
-        System.out.println(userInfo);
-
-        BasicTypeProvider basicTypeService = (BasicTypeProvider) context.getBean("basicTypeProvider");
-        System.out.println(basicTypeService.testBasicType(new TypeRequest()));
-
-        try {
-            Thread.sleep(30000);
-        } catch (InterruptedException e) {
-            e.printStackTrace();
-        }
-    }
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml b/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml
deleted file mode 100644
index 6e7641c..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
-       xmlns="http://www.springframework.org/schema/beans"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-	http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
-
-    <!-- 消费方应用名,用于计算依赖关系,不是匹配条件,不要与提供方一样 -->
-    <dubbo:application name="demo-consumer"/>
-
-    <!-- 使用multicast广播注册中心暴露发现服务地址 -->
-    <dubbo:registry address="localhost:2181" protocol="zookeeper"/>
-
-    <!-- 生成远程服务代理,可以和本地bean一样使用demoService -->
-    <dubbo:reference id="demoProvider" check="false"
-                     interface="org.apache.dubbo.demo.DemoProvider" version="1.0.0"/>
-
-    <dubbo:reference id="basicTypeProvider" check="false" interface="org.apache.dubbo.demo.BasicTypeProvider"
-                     version="2.0.0"/>
-</beans>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/resources/log4j.properties b/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/resources/log4j.properties
deleted file mode 100644
index f545479..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-consumer/src/main/resources/log4j.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-###set log levels###
-log4j.rootLogger=info, stdout
-###输出到控制台###
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.Target=System.out
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=[%d{dd/MM/yy hh:mm:ss:sss z}] %t %5p %c{2}: %m%n
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/pom.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/pom.xml
deleted file mode 100644
index 85efcf6..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/pom.xml
+++ /dev/null
@@ -1,157 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>dubbo-demo-provider-with-nacos</artifactId>
-    <groupId>org.apache.dubbo</groupId>
-    <version>2.7.4.1</version>
-    <packaging>jar</packaging>
-    <name>${project.artifactId}</name>
-    <description>The demo provider module of dubbo project</description>
-    <properties>
-        <nacos.version>2.7.15</nacos.version>
-        <dubbo.version>2.7.4.1</dubbo.version>
-        <javassist_version>3.20.0-GA</javassist_version>
-        <netty_version>3.2.5.Final</netty_version>
-        <curator_version>2.12.0</curator_version>
-        <fastjson_version>1.2.31</fastjson_version>
-        <log4j_version>1.2.16</log4j_version>
-        <slf4j_version>1.6.1</slf4j_version>
-        <spring_version>4.3.10.RELEASE</spring_version>
-        <maven.compiler.target>1.8</maven.compiler.target>
-        <maven.compiler.source>1.8</maven.compiler.source>
-        <skip_maven_deploy>false</skip_maven_deploy>
-    </properties>
-    <dependencies>
-        <dependency>
-            <groupId>com.alibaba</groupId>
-            <artifactId>dubbo-registry-nacos</artifactId>
-            <version>${nacos.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.alibaba.nacos</groupId>
-            <artifactId>nacos-client</artifactId>
-            <version>1.4.0</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.dubbo</groupId>
-            <artifactId>dubbo-demo-api</artifactId>
-            <version>${dubbo.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.dubbo</groupId>
-            <artifactId>dubbo</artifactId>
-            <version>${nacos.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.javassist</groupId>
-            <artifactId>javassist</artifactId>
-            <version>${javassist_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.jboss.netty</groupId>
-            <artifactId>netty</artifactId>
-            <version>${netty_version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.curator</groupId>
-            <artifactId>curator-framework</artifactId>
-            <version>${curator_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.curator</groupId>
-            <artifactId>curator-recipes</artifactId>
-        <version>${curator_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.alibaba</groupId>
-            <artifactId>fastjson</artifactId>
-            <version>${fastjson_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>1.2.17</version>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-simple</artifactId>
-            <version>1.7.7</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-context</artifactId>
-            <version>${spring_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.alibaba.spring</groupId>
-            <artifactId>spring-context-support</artifactId>
-            <version>1.0.11</version>
-        </dependency>
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>unpack</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.apache.dubbo</groupId>
-                                    <artifactId>dubbo</artifactId>
-                                    <version>${dubbo.version}</version>
-                                    <outputDirectory>${project.build.directory}/dubbo</outputDirectory>
-                                    <includes>META-INF/assembly/**</includes>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <configuration>
-                    <archive>
-                        <manifest>
-                            <mainClass>org.apache.dubbo.demo.provider.Provider</mainClass>
-                        </manifest>
-                    </archive>
-                    <descriptorRefs>
-                        <descriptorRef>jar-with-dependencies</descriptorRef>
-                    </descriptorRefs>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>make-assembly</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>single</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/assembly/assembly.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/assembly/assembly.xml
deleted file mode 100644
index 51bf2bf..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/assembly/assembly.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-
-<assembly>
-    <id>assembly</id>
-    <formats>
-        <format>tar.gz</format>
-    </formats>
-    <includeBaseDirectory>true</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>${project.build.directory}/dubbo/META-INF/assembly/bin</directory>
-            <outputDirectory>bin</outputDirectory>
-            <fileMode>0755</fileMode>
-        </fileSet>
-        <fileSet>
-            <directory>src/main/assembly/conf</directory>
-            <outputDirectory>conf</outputDirectory>
-            <fileMode>0644</fileMode>
-        </fileSet>
-    </fileSets>
-    <dependencySets>
-        <dependencySet>
-            <outputDirectory>lib</outputDirectory>
-        </dependencySet>
-    </dependencySets>
-</assembly>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/assembly/conf/dubbo.properties b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/assembly/conf/dubbo.properties
deleted file mode 100644
index 1f4ab4a..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/assembly/conf/dubbo.properties
+++ /dev/null
@@ -1,44 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-##
-dubbo.container=log4j,spring
-dubbo.application.name=demo-provider
-dubbo.application.owner=
-dubbo.registry.address=multicast://224.5.6.7:1234
-#dubbo.registry.address=zookeeper://127.0.0.1:2181
-#dubbo.registry.address=redis://127.0.0.1:6379
-#dubbo.registry.address=dubbo://127.0.0.1:9090
-dubbo.monitor.protocol=registry
-dubbo.protocol.name=dubbo
-dubbo.protocol.port=20880
-dubbo.service.loadbalance=roundrobin
-dubbo.log4j.file=logs/dubbo-demo-provider.log
-dubbo.log4j.level=WARN
\ No newline at end of file
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/BasicTypeProviderImpl.java b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/BasicTypeProviderImpl.java
deleted file mode 100644
index 182460e..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/BasicTypeProviderImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.apache.dubbo.demo.BasicTypeProvider;
-import org.apache.dubbo.demo.TypeRequest;
-
-public class BasicTypeProviderImpl implements BasicTypeProvider {
-    @Override
-    public TypeRequest testBasicType(TypeRequest request) {
-        return request;
-    }
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/DemoProviderImpl.java b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/DemoProviderImpl.java
deleted file mode 100644
index d0ecfcb..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/DemoProviderImpl.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.apache.dubbo.demo.DemoProvider;
-import org.apache.dubbo.demo.UserRequest;
-import org.apache.dubbo.demo.UserResponse;
-import com.alibaba.dubbo.rpc.RpcContext;
-
-public class DemoProviderImpl implements DemoProvider {
-
-    public String sayHello(String name) {
-        System.out.println("[" + new SimpleDateFormat("HH:mm:ss").format(new Date()) + "] Hello " + name + ", request from consumer: " + RpcContext.getContext().getRemoteAddress());
-        return "Hello " + name + ", response form provider: " + RpcContext.getContext().getLocalAddress();
-    }
-
-    @Override
-    public String echo()  {
-        return "pang";
-    }
-
-    @Override
-    public void test() {
-        System.out.println("test");
-    }
-
-    @Override
-    public UserResponse getUserInfo(UserRequest request) {
-        System.out.println(request);
-        UserResponse response = new UserResponse();
-        response.setStatus("ok");
-        Map<String, String> map = new HashMap<String, String>();
-        map.put("id", "1");
-        map.put("name", "test");
-        response.setInfo(map);
-        return response;
-    }
-
-}
\ No newline at end of file
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/ErrorProviderImpl.java b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/ErrorProviderImpl.java
deleted file mode 100644
index 8bf1d7f..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/ErrorProviderImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.apache.dubbo.demo.CustomizeException;
-import org.apache.dubbo.demo.ErrorProvider;
-
-public class ErrorProviderImpl implements ErrorProvider {
-    @Override
-    public void errorTest() throws CustomizeException {
-        throw new CustomizeException("exception");
-    }
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/Provider.java b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/Provider.java
deleted file mode 100644
index 5a4297a..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/Provider.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-public class Provider {
-
-    public static void main(String[] args) throws Exception {
-        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
-                new String[] { "META-INF/spring/dubbo-demo-provider.xml" });
-        context.start();
-        // System.in.read(); // 按任意键退出
-        while (true) {
-            Thread.sleep(Long.MAX_VALUE);
-        }
-    }
-
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/Provider1.java b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/Provider1.java
deleted file mode 100644
index 5bcaff7..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/java/org/apache/dubbo/demo/provider/Provider1.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-public class Provider1 {
-
-    public static void main(String[] args) throws Exception {
-        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"META-INF/spring/dubbo-demo-provider1.xml"});
-        context.start();
-        System.in.read(); // 按任意键退出
-    }
-
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/resources/META-INF/spring/dubbo-demo-provider.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
deleted file mode 100644
index 43e3e67..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
-       xmlns="http://www.springframework.org/schema/beans"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-	http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
-
-    <!-- 提供方应用信息,用于计算依赖关系 -->
-    <dubbo:application name="demo-provider"/>
-    <dubbo:registry protocol="nacos" address="localhost:8848"/>
-    <dubbo:provider timeout="1500"/>
-
-    <!-- 用dubbo协议在20880端口暴露服务 -->
-    <dubbo:protocol name="dubbo" port="20880"/>
-
-    <!-- 和本地bean一样实现服务 -->
-    <bean id="demoProvider" class="org.apache.dubbo.demo.provider.DemoProviderImpl"/>
-    <bean id="basicTypeProvider" class="org.apache.dubbo.demo.provider.BasicTypeProviderImpl"/>
-    <bean id="errorProvider" class="org.apache.dubbo.demo.provider.ErrorProviderImpl"/>
-
-    <!-- 声明需要暴露的服务接口 -->
-    <dubbo:service interface="org.apache.dubbo.demo.DemoProvider" ref="demoProvider" version="1.0.0" timeout="10000">
-        <dubbo:method name="sayHello" timeout="8000"/>
-    </dubbo:service>
-
-    <dubbo:service interface="org.apache.dubbo.demo.BasicTypeProvider" ref="basicTypeProvider" version="2.0.0"/>
-    <dubbo:service interface="org.apache.dubbo.demo.ErrorProvider" ref="errorProvider" version="1.0.0"/>
-
-</beans>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml
deleted file mode 100644
index 3bcd325..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
-       xmlns="http://www.springframework.org/schema/beans"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-	http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
-
-    <!-- 提供方应用信息,用于计算依赖关系 -->
-    <dubbo:application name="demo-provider"/>
-
-    <dubbo:registry protocol="nacos" address="10.20.153.10:8848"/>
-
-    <dubbo:provider timeout="1500"/>
-
-    <!-- 用dubbo协议在20880端口暴露服务 -->
-    <dubbo:protocol name="dubbo" port="20881"/>
-
-    <!-- 和本地bean一样实现服务 -->
-    <bean id="demoProvider" class="org.apache.dubbo.demo.provider.DemoProviderImpl"/>
-    <bean id="basicTypeProvider" class="org.apache.dubbo.demo.provider.BasicTypeProviderImpl"/>
-    <bean id="errorProvider" class="org.apache.dubbo.demo.provider.ErrorProviderImpl"/>
-
-    <!-- 声明需要暴露的服务接口 -->
-    <dubbo:service interface="org.apache.dubbo.demo.DemoProvider" ref="demoProvider" version="1.0.0" timeout="10000">
-        <dubbo:method name="sayHello" timeout="8000"/>
-    </dubbo:service>
-
-    <dubbo:service interface="org.apache.dubbo.demo.BasicTypeProvider" ref="basicTypeProvider" version="2.0.0"/>
-    <dubbo:service interface="org.apache.dubbo.demo.ErrorProvider" ref="errorProvider" version="1.0.0"/>
-
-</beans>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/resources/log4j.properties b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/resources/log4j.properties
deleted file mode 100644
index 906f7e1..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-nacos/src/main/resources/log4j.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-###set log levels###
-log4j.rootLogger=info, stdout
-###输出到控制台###
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.Target=System.out
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=[%d{dd/MM/yy hh:mm:ss:sss z}] %t %5p %c{2}: %m%n
\ No newline at end of file
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/pom.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/pom.xml
deleted file mode 100644
index a9c4680..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/pom.xml
+++ /dev/null
@@ -1,153 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>dubbo-demo-provider-with-zookeeper</artifactId>
-    <groupId>org.apache.dubbo</groupId>
-    <version>2.7.4.1</version>
-    <packaging>jar</packaging>
-    <name>${project.artifactId}</name>
-    <description>The demo provider module of dubbo project</description>
-    <properties>
-        <dubbo.version>2.7.15</dubbo.version>
-        <javassist_version>3.20.0-GA</javassist_version>
-        <netty_version>3.2.5.Final</netty_version>
-        <zookeeper_version>3.4.14</zookeeper_version>
-        <zkclient_version>0.2</zkclient_version>
-        <curator_version>2.12.0</curator_version>
-        <fastjson_version>1.2.31</fastjson_version>
-        <log4j_version>1.2.16</log4j_version>
-        <spring_version>4.3.10.RELEASE</spring_version>
-        <slf4j_version>1.7.7</slf4j_version>
-
-        <maven.compiler.target>1.8</maven.compiler.target>
-        <maven.compiler.source>1.8</maven.compiler.source>
-        <skip_maven_deploy>false</skip_maven_deploy>
-    </properties>
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.dubbo</groupId>
-            <artifactId>dubbo-demo-api</artifactId>
-            <version>${dubbo.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.dubbo</groupId>
-            <artifactId>dubbo</artifactId>
-            <version>${dubbo.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.javassist</groupId>
-            <artifactId>javassist</artifactId>
-            <version>${javassist_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.jboss.netty</groupId>
-            <artifactId>netty</artifactId>
-            <version>${netty_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.zookeeper</groupId>
-            <artifactId>zookeeper</artifactId>
-            <version>${zookeeper_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.101tec</groupId>
-            <artifactId>zkclient</artifactId>
-            <version>${zkclient_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.curator</groupId>
-            <artifactId>curator-framework</artifactId>
-            <version>${curator_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.curator</groupId>
-            <artifactId>curator-recipes</artifactId>
-        <version>${curator_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.alibaba</groupId>
-            <artifactId>fastjson</artifactId>
-            <version>${fastjson_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <version>${log4j_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-simple</artifactId>
-            <version>${slf4j_version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-context</artifactId>
-            <version>${spring_version}</version>
-        </dependency>
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>unpack</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.apache.dubbo</groupId>
-                                    <artifactId>dubbo</artifactId>
-                                    <version>${dubbo.version}</version>
-                                    <outputDirectory>${project.build.directory}/dubbo</outputDirectory>
-                                    <includes>META-INF/assembly/**</includes>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <configuration>
-                    <archive>
-                        <manifest>
-                            <mainClass>org.apache.dubbo.demo.provider.Provider</mainClass>
-                        </manifest>
-                    </archive>
-                    <descriptorRefs>
-                        <descriptorRef>jar-with-dependencies</descriptorRef>
-                    </descriptorRefs>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>make-assembly</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>single</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/assembly/assembly.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/assembly/assembly.xml
deleted file mode 100644
index 51bf2bf..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/assembly/assembly.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-
-<assembly>
-    <id>assembly</id>
-    <formats>
-        <format>tar.gz</format>
-    </formats>
-    <includeBaseDirectory>true</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>${project.build.directory}/dubbo/META-INF/assembly/bin</directory>
-            <outputDirectory>bin</outputDirectory>
-            <fileMode>0755</fileMode>
-        </fileSet>
-        <fileSet>
-            <directory>src/main/assembly/conf</directory>
-            <outputDirectory>conf</outputDirectory>
-            <fileMode>0644</fileMode>
-        </fileSet>
-    </fileSets>
-    <dependencySets>
-        <dependencySet>
-            <outputDirectory>lib</outputDirectory>
-        </dependencySet>
-    </dependencySets>
-</assembly>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/assembly/conf/dubbo.properties b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/assembly/conf/dubbo.properties
deleted file mode 100644
index f1056a6..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/assembly/conf/dubbo.properties
+++ /dev/null
@@ -1,30 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-##
-dubbo.container=log4j,spring
-dubbo.application.name=demo-provider
-dubbo.application.owner=
-dubbo.registry.address=multicast://224.5.6.7:1234
-#dubbo.registry.address=zookeeper://127.0.0.1:2181
-#dubbo.registry.address=redis://127.0.0.1:6379
-#dubbo.registry.address=dubbo://127.0.0.1:9090
-dubbo.monitor.protocol=registry
-dubbo.protocol.name=dubbo
-dubbo.protocol.port=20880
-dubbo.service.loadbalance=roundrobin
-dubbo.log4j.file=logs/dubbo-demo-provider.log
-dubbo.log4j.level=WARN
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/BasicTypeProviderImpl.java b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/BasicTypeProviderImpl.java
deleted file mode 100644
index 182460e..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/BasicTypeProviderImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.apache.dubbo.demo.BasicTypeProvider;
-import org.apache.dubbo.demo.TypeRequest;
-
-public class BasicTypeProviderImpl implements BasicTypeProvider {
-    @Override
-    public TypeRequest testBasicType(TypeRequest request) {
-        return request;
-    }
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/DemoProviderImpl.java b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/DemoProviderImpl.java
deleted file mode 100644
index d0ecfcb..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/DemoProviderImpl.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.apache.dubbo.demo.DemoProvider;
-import org.apache.dubbo.demo.UserRequest;
-import org.apache.dubbo.demo.UserResponse;
-import com.alibaba.dubbo.rpc.RpcContext;
-
-public class DemoProviderImpl implements DemoProvider {
-
-    public String sayHello(String name) {
-        System.out.println("[" + new SimpleDateFormat("HH:mm:ss").format(new Date()) + "] Hello " + name + ", request from consumer: " + RpcContext.getContext().getRemoteAddress());
-        return "Hello " + name + ", response form provider: " + RpcContext.getContext().getLocalAddress();
-    }
-
-    @Override
-    public String echo()  {
-        return "pang";
-    }
-
-    @Override
-    public void test() {
-        System.out.println("test");
-    }
-
-    @Override
-    public UserResponse getUserInfo(UserRequest request) {
-        System.out.println(request);
-        UserResponse response = new UserResponse();
-        response.setStatus("ok");
-        Map<String, String> map = new HashMap<String, String>();
-        map.put("id", "1");
-        map.put("name", "test");
-        response.setInfo(map);
-        return response;
-    }
-
-}
\ No newline at end of file
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/ErrorProviderImpl.java b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/ErrorProviderImpl.java
deleted file mode 100644
index 8bf1d7f..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/ErrorProviderImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.apache.dubbo.demo.CustomizeException;
-import org.apache.dubbo.demo.ErrorProvider;
-
-public class ErrorProviderImpl implements ErrorProvider {
-    @Override
-    public void errorTest() throws CustomizeException {
-        throw new CustomizeException("exception");
-    }
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/Provider.java b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/Provider.java
deleted file mode 100644
index 5a4297a..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/Provider.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-public class Provider {
-
-    public static void main(String[] args) throws Exception {
-        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
-                new String[] { "META-INF/spring/dubbo-demo-provider.xml" });
-        context.start();
-        // System.in.read(); // 按任意键退出
-        while (true) {
-            Thread.sleep(Long.MAX_VALUE);
-        }
-    }
-
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/Provider1.java b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/Provider1.java
deleted file mode 100644
index 5bcaff7..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/java/org/apache/dubbo/demo/provider/Provider1.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-public class Provider1 {
-
-    public static void main(String[] args) throws Exception {
-        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"META-INF/spring/dubbo-demo-provider1.xml"});
-        context.start();
-        System.in.read(); // 按任意键退出
-    }
-
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/resources/META-INF/spring/dubbo-demo-provider.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
deleted file mode 100644
index cbf8c4c..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
-       xmlns="http://www.springframework.org/schema/beans"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-	http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
-
-    <!-- 提供方应用信息,用于计算依赖关系 -->
-    <dubbo:application name="demo-provider"/>
-    <dubbo:registry protocol="zookeeper" address="localhost:2181,localhost:2182,localhost:2183"/>
-    <dubbo:provider timeout="1500"/>
-
-    <!-- 用dubbo协议在20880端口暴露服务 -->
-    <dubbo:protocol name="dubbo" port="20880"/>
-
-    <!-- 和本地bean一样实现服务 -->
-    <bean id="demoProvider" class="org.apache.dubbo.demo.provider.DemoProviderImpl"/>
-    <bean id="basicTypeProvider" class="org.apache.dubbo.demo.provider.BasicTypeProviderImpl"/>
-    <bean id="errorProvider" class="org.apache.dubbo.demo.provider.ErrorProviderImpl"/>
-
-    <!-- 声明需要暴露的服务接口 -->
-    <dubbo:service interface="org.apache.dubbo.demo.DemoProvider" ref="demoProvider" version="1.0.0" timeout="10000">
-        <dubbo:method name="sayHello" timeout="8000"/>
-    </dubbo:service>
-
-    <dubbo:service interface="org.apache.dubbo.demo.BasicTypeProvider" ref="basicTypeProvider" version="2.0.0"/>
-    <dubbo:service interface="org.apache.dubbo.demo.ErrorProvider" ref="errorProvider" version="1.0.0"/>
-
-</beans>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml
deleted file mode 100644
index a53ca36..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
-       xmlns="http://www.springframework.org/schema/beans"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-	http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
-
-    <!-- 提供方应用信息,用于计算依赖关系 -->
-    <dubbo:application name="demo-provider"/>
-
-    <dubbo:registry protocol="zookeeper" address="127.0.0.1:2181,127.0.0.1:2182,127.0.0.1:2183"/>
-
-    <dubbo:provider timeout="1500"/>
-
-    <!-- 用dubbo协议在20880端口暴露服务 -->
-    <dubbo:protocol name="dubbo" port="20881"/>
-
-    <!-- 和本地bean一样实现服务 -->
-    <bean id="demoProvider" class="org.apache.dubbo.demo.provider.DemoProviderImpl"/>
-    <bean id="basicTypeProvider" class="org.apache.dubbo.demo.provider.BasicTypeProviderImpl"/>
-    <bean id="errorProvider" class="org.apache.dubbo.demo.provider.ErrorProviderImpl"/>
-
-    <!-- 声明需要暴露的服务接口 -->
-    <dubbo:service interface="org.apache.dubbo.demo.DemoProvider" ref="demoProvider" version="1.0.0" timeout="10000">
-        <dubbo:method name="sayHello" timeout="8000"/>
-    </dubbo:service>
-
-    <dubbo:service interface="org.apache.dubbo.demo.BasicTypeProvider" ref="basicTypeProvider" version="2.0.0"/>
-    <dubbo:service interface="org.apache.dubbo.demo.ErrorProvider" ref="errorProvider" version="1.0.0"/>
-
-</beans>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/resources/log4j.properties b/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/resources/log4j.properties
deleted file mode 100644
index f5f9ead..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider-with-zookeeper/src/main/resources/log4j.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-###set log levels###
-log4j.rootLogger=info, stdout
-###输出到控制台###
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.Target=System.out
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=[%d{dd/MM/yy hh:mm:ss:sss z}] %t %5p %c{2}: %m%n
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/pom.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider/pom.xml
deleted file mode 100644
index 9e1d16b..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/pom.xml
+++ /dev/null
@@ -1,155 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd
-http://maven.apache.org/POM/4.0.0 ">
-  <modelVersion>4.0.0</modelVersion>
-  <artifactId>dubbo-demo-provider</artifactId>
-  <groupId>org.apache.dubbo</groupId>
-  <version>2.7.4.1</version>
-  <packaging>jar</packaging>
-  <name>${project.artifactId}</name>
-  <description>The demo provider module of dubbo project</description>
-  <properties>
-    <dubbo.version>2.7.15</dubbo.version>
-    <javassist_version>3.20.0-GA</javassist_version>
-    <netty_version>3.2.5.Final</netty_version>
-    <zookeeper_version>3.4.14</zookeeper_version>
-    <zkclient_version>0.2</zkclient_version>
-    <curator_version>2.12.0</curator_version>
-    <fastjson_version>1.2.31</fastjson_version>
-    <log4j_version>1.2.16</log4j_version>
-    <spring_version>4.3.10.RELEASE</spring_version>
-    <slf4j_version>1.7.7</slf4j_version>
-
-    <maven.compiler.target>1.8</maven.compiler.target>
-    <maven.compiler.source>1.8</maven.compiler.source>
-    <skip_maven_deploy>false</skip_maven_deploy>
-  </properties>
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.dubbo</groupId>
-      <artifactId>dubbo-demo-api</artifactId>
-      <version>${dubbo.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.dubbo</groupId>
-      <artifactId>dubbo</artifactId>
-      <version>${dubbo.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.javassist</groupId>
-      <artifactId>javassist</artifactId>
-      <version>${javassist_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.netty</groupId>
-      <artifactId>netty</artifactId>
-      <version>${netty_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.zookeeper</groupId>
-      <artifactId>zookeeper</artifactId>
-      <version>${zookeeper_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>com.101tec</groupId>
-      <artifactId>zkclient</artifactId>
-      <version>${zkclient_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.curator</groupId>
-      <artifactId>curator-framework</artifactId>
-      <version>${curator_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.curator</groupId>
-      <artifactId>curator-recipes</artifactId>
-      <version>${curator_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>com.alibaba</groupId>
-      <artifactId>fastjson</artifactId>
-      <version>${fastjson_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-      <version>${log4j_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-simple</artifactId>
-      <version>${slf4j_version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-context</artifactId>
-      <version>${spring_version}</version>
-    </dependency>
-  </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>unpack</id>
-            <phase>package</phase>
-            <goals>
-              <goal>unpack</goal>
-            </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>org.apache.dubbo</groupId>
-                  <artifactId>dubbo</artifactId>
-                  <version>${dubbo.version}</version>
-                  <outputDirectory>${project.build.directory}/dubbo</outputDirectory>
-                  <includes>META-INF/assembly/**</includes>
-                </artifactItem>
-              </artifactItems>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>org.apache.dubbo.demo.provider.Provider</mainClass>
-            </manifest>
-          </archive>
-          <descriptorRefs>
-            <descriptorRef>jar-with-dependencies</descriptorRef>
-          </descriptorRefs>
-        </configuration>
-        <executions>
-          <execution>
-            <id>make-assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/assembly/assembly.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/assembly/assembly.xml
deleted file mode 100644
index 94a78b9..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/assembly/assembly.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-<assembly>
-    <id>assembly</id>
-    <formats>
-        <format>tar.gz</format>
-    </formats>
-    <includeBaseDirectory>true</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>${project.build.directory}/dubbo/META-INF/assembly/bin</directory>
-            <outputDirectory>bin</outputDirectory>
-            <fileMode>0755</fileMode>
-        </fileSet>
-        <fileSet>
-            <directory>src/main/assembly/conf</directory>
-            <outputDirectory>conf</outputDirectory>
-            <fileMode>0644</fileMode>
-        </fileSet>
-    </fileSets>
-    <dependencySets>
-        <dependencySet>
-            <outputDirectory>lib</outputDirectory>
-        </dependencySet>
-    </dependencySets>
-</assembly>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/assembly/conf/dubbo.properties b/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/assembly/conf/dubbo.properties
deleted file mode 100644
index 884b2ea..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/assembly/conf/dubbo.properties
+++ /dev/null
@@ -1,30 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-##
-dubbo.container=log4j,spring
-dubbo.application.name=demo-provider
-dubbo.application.owner=
-dubbo.registry.address=multicast://224.5.6.7:1234
-#dubbo.registry.address=zookeeper://127.0.0.1:2181
-#dubbo.registry.address=redis://127.0.0.1:6379
-#dubbo.registry.address=dubbo://127.0.0.1:9090
-dubbo.monitor.protocol=registry
-dubbo.protocol.name=dubbo
-dubbo.protocol.port=20880
-dubbo.service.loadbalance=roundrobin
-dubbo.log4j.file=logs/dubbo-demo-provider.log
-dubbo.log4j.level=WARN
\ No newline at end of file
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/BasicTypeProviderImpl.java b/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/BasicTypeProviderImpl.java
deleted file mode 100644
index 182460e..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/BasicTypeProviderImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.apache.dubbo.demo.BasicTypeProvider;
-import org.apache.dubbo.demo.TypeRequest;
-
-public class BasicTypeProviderImpl implements BasicTypeProvider {
-    @Override
-    public TypeRequest testBasicType(TypeRequest request) {
-        return request;
-    }
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/DemoProviderImpl.java b/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/DemoProviderImpl.java
deleted file mode 100644
index d0ecfcb..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/DemoProviderImpl.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.apache.dubbo.demo.DemoProvider;
-import org.apache.dubbo.demo.UserRequest;
-import org.apache.dubbo.demo.UserResponse;
-import com.alibaba.dubbo.rpc.RpcContext;
-
-public class DemoProviderImpl implements DemoProvider {
-
-    public String sayHello(String name) {
-        System.out.println("[" + new SimpleDateFormat("HH:mm:ss").format(new Date()) + "] Hello " + name + ", request from consumer: " + RpcContext.getContext().getRemoteAddress());
-        return "Hello " + name + ", response form provider: " + RpcContext.getContext().getLocalAddress();
-    }
-
-    @Override
-    public String echo()  {
-        return "pang";
-    }
-
-    @Override
-    public void test() {
-        System.out.println("test");
-    }
-
-    @Override
-    public UserResponse getUserInfo(UserRequest request) {
-        System.out.println(request);
-        UserResponse response = new UserResponse();
-        response.setStatus("ok");
-        Map<String, String> map = new HashMap<String, String>();
-        map.put("id", "1");
-        map.put("name", "test");
-        response.setInfo(map);
-        return response;
-    }
-
-}
\ No newline at end of file
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/ErrorProviderImpl.java b/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/ErrorProviderImpl.java
deleted file mode 100644
index 8bf1d7f..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/ErrorProviderImpl.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.apache.dubbo.demo.CustomizeException;
-import org.apache.dubbo.demo.ErrorProvider;
-
-public class ErrorProviderImpl implements ErrorProvider {
-    @Override
-    public void errorTest() throws CustomizeException {
-        throw new CustomizeException("exception");
-    }
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/Provider.java b/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/Provider.java
deleted file mode 100644
index 5a4297a..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/Provider.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-public class Provider {
-
-    public static void main(String[] args) throws Exception {
-        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
-                new String[] { "META-INF/spring/dubbo-demo-provider.xml" });
-        context.start();
-        // System.in.read(); // 按任意键退出
-        while (true) {
-            Thread.sleep(Long.MAX_VALUE);
-        }
-    }
-
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/Provider1.java b/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/Provider1.java
deleted file mode 100644
index 5bcaff7..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/java/org/apache/dubbo/demo/provider/Provider1.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.dubbo.demo.provider;
-
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-public class Provider1 {
-
-    public static void main(String[] args) throws Exception {
-        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"META-INF/spring/dubbo-demo-provider1.xml"});
-        context.start();
-        System.in.read(); // 按任意键退出
-    }
-
-}
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
deleted file mode 100644
index 4796745..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
-       xmlns="http://www.springframework.org/schema/beans"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-	http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
-
-    <!-- 提供方应用信息,用于计算依赖关系 -->
-    <dubbo:application name="demo-provider"/>
-    <dubbo:registry protocol="zookeeper" address="localhost:2181,localhost:2182,localhost:2183"/>
-    <dubbo:provider timeout="1500"/>
-
-    <!-- 用dubbo协议在20880端口暴露服务 -->
-    <dubbo:protocol name="dubbo" port="20880"/>
-
-    <!-- 和本地bean一样实现服务 -->
-    <bean id="demoProvider" class="org.apache.dubbo.demo.provider.DemoProviderImpl"/>
-    <bean id="basicTypeProvider" class="org.apache.dubbo.demo.provider.BasicTypeProviderImpl"/>
-    <bean id="errorProvider" class="org.apache.dubbo.demo.provider.ErrorProviderImpl"/>
-
-    <!-- 声明需要暴露的服务接口 -->
-    <dubbo:service interface="org.apache.dubbo.demo.DemoProvider" ref="demoProvider" version="1.0.0" timeout="10000">
-        <dubbo:method name="sayHello" timeout="8000"/>
-    </dubbo:service>
-
-    <dubbo:service interface="org.apache.dubbo.demo.BasicTypeProvider" ref="basicTypeProvider" version="2.0.0"/>
-    <dubbo:service interface="org.apache.dubbo.demo.ErrorProvider" ref="errorProvider" version="1.0.0"/>
-
-</beans>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml b/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml
deleted file mode 100644
index dee93b9..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
-       xmlns="http://www.springframework.org/schema/beans"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-	http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
-
-    <!-- 提供方应用信息,用于计算依赖关系 -->
-    <dubbo:application name="demo-provider"/>
-
-    <dubbo:registry protocol="zookeeper" address="127.0.0.1:2181,127.0.0.1:2182,127.0.0.1:2183"/>
-
-    <dubbo:provider timeout="1500"/>
-
-    <!-- 用dubbo协议在20880端口暴露服务 -->
-    <dubbo:protocol name="dubbo" port="20881"/>
-
-    <!-- 和本地bean一样实现服务 -->
-    <bean id="demoProvider" class="org.apache.dubbo.demo.provider.DemoProviderImpl"/>
-    <bean id="basicTypeProvider" class="org.apache.dubbo.demo.provider.BasicTypeProviderImpl"/>
-    <bean id="errorProvider" class="org.apache.dubbo.demo.provider.ErrorProviderImpl"/>
-
-    <!-- 声明需要暴露的服务接口 -->
-    <dubbo:service interface="org.apache.dubbo.demo.DemoProvider" ref="demoProvider" version="1.0.0" timeout="10000">
-        <dubbo:method name="sayHello" timeout="8000"/>
-    </dubbo:service>
-
-    <dubbo:service interface="org.apache.dubbo.demo.BasicTypeProvider" ref="basicTypeProvider" version="2.0.0"/>
-    <dubbo:service interface="org.apache.dubbo.demo.ErrorProvider" ref="errorProvider" version="1.0.0"/>
-
-</beans>
diff --git a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/resources/log4j.properties b/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/resources/log4j.properties
deleted file mode 100644
index f545479..0000000
--- a/dubbo-java/dubbo-demo/dubbo-demo-provider/src/main/resources/log4j.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-###set log levels###
-log4j.rootLogger=info, stdout
-###输出到控制台###
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.Target=System.out
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=[%d{dd/MM/yy hh:mm:ss:sss z}] %t %5p %c{2}: %m%n
diff --git a/dubbo-java/dubbo-demo/pom.xml b/dubbo-java/dubbo-demo/pom.xml
deleted file mode 100644
index 179c913..0000000
--- a/dubbo-java/dubbo-demo/pom.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
--->
-
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>dubbo-demo</artifactId>
-    <packaging>pom</packaging>
-    <name>${project.artifactId}</name>
-    <groupId>org.apache.dubbo</groupId>
-    <version>2.7.4.1</version>
-    <description>The demo module of dubbo project</description>
-    <properties>
-        <maven.compiler.target>1.8</maven.compiler.target>
-        <maven.compiler.source>1.8</maven.compiler.source>
-
-        <skip_maven_deploy>true</skip_maven_deploy>
-    </properties>
-    <modules>
-        <module>dubbo-demo-api</module>
-        <module>dubbo-demo-provider</module>
-        <module>dubbo-demo-provider-with-zookeeper</module>
-        <module>dubbo-demo-provider-with-nacos</module>
-        <module>dubbo-demo-consumer</module>
-    </modules>
-</project>
diff --git a/dubbo-java/etcd-docker/docker-compose.yml b/dubbo-java/etcd-docker/docker-compose.yml
deleted file mode 100644
index b0ac754..0000000
--- a/dubbo-java/etcd-docker/docker-compose.yml
+++ /dev/null
@@ -1,49 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-version: '3'
-networks:
-  byfn:
-
-services:
-  etcd1:
-    image: quay.io/coreos/etcd
-    container_name: etcd1
-    command: etcd -name etcd1 -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-cluster-token etcd-cluster -initial-cluster "etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380" -initial-cluster-state new
-    ports:
-      - 2379
-      - 2380
-    networks:
-      - byfn
-
-  etcd2:
-    image: quay.io/coreos/etcd
-    container_name: etcd2
-    command: etcd -name etcd2 -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-cluster-token etcd-cluster -initial-cluster "etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380" -initial-cluster-state new
-    ports:
-      - 2379
-      - 2380
-    networks:
-      - byfn
-
-  etcd3:
-    image: quay.io/coreos/etcd
-    container_name: etcd3
-    command: etcd -name etcd3 -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-cluster-token etcd-cluster -initial-cluster "etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380" -initial-cluster-state new
-    ports:
-      - 2379
-      - 2380
-    networks:
-      - byfn
diff --git a/dubbo-java/nacos-docker/README.md b/dubbo-java/nacos-docker/README.md
deleted file mode 100644
index 349e13c..0000000
--- a/dubbo-java/nacos-docker/README.md
+++ /dev/null
@@ -1,120 +0,0 @@
-# Nacos Docker
-
-![Docker Pulls](https://img.shields.io/docker/pulls/nacos/nacos-serverNacos.svg?maxAge=60480)
-
-This project contains a Docker image meant to facilitate the deployment of [Nacos](https://github.com/alibaba/nacos).
-
-[**中文**](README_ZH.md)
-
-## Project directory
-
-- build:Nacos makes the source code of the docker image
-- env: Environment variable file for compose yaml
-- example: Docker compose example for Nacos serverNacos
-
-## Precautions
-
-- The **database master-slave image** has been removed, after the latest `nacos/nacos-serverNacos:latest` image. For specific reasons, refer to [Removing the Master-Slave Image Configuration](https://github.com/nacos-group/nacos-docker/wiki/%E7%A7%BB%E9%99%A4%E6%95%B0%E6%8D%AE%E5%BA%93%E4%B8%BB%E4%BB%8E%E9%95%9C%E5%83%8F%E9%85%8D%E7%BD%AE)
-- Since Nacos 1.3.1 version, the database storage has been upgraded to 8.0, and it is backward compatible
-
-## Quick Start
-
-Run the following command:
-
-- Clone project
-
-  ```powershell
-  git clone --depth 1 https://github.com/nacos-group/nacos-docker.git
-  cd nacos-docker
-  ```
-
-* Standalone Derby
-
-  ```powershell
-  docker-compose -f example/standalone-derby.yaml up
-  ```
-
-* Standalone Mysql
-
-  ```powershell
-  docker-compose -f example/standalone-mysql.yaml up
-  ```
-
-* Cluster
-
-  ```powershell
-  docker-compose -f example/cluster-hostname.yaml up
-  ```
-
-- Service registration
-
-  ```powershell
-  curl -X PUT 'http://127.0.0.1:8848/nacos/v1/ns/instance?serviceName=nacos.naming.serviceName&ip=20.18.7.10&port=8080'
-  ```
-
-- Service discovery
-
-  ```powershell
-  curl -X GET 'http://127.0.0.1:8848/nacos/v1/ns/instances?serviceName=nacos.naming.serviceName'
-  ```
-
-- Publish config
-
-  ```powershell
-  curl -X POST "http://127.0.0.1:8848/nacos/v1/cs/configs?dataId=nacos.cfg.dataId&group=test&content=helloWorld"
-  ```
-
-- Get config
-
-  ```powershell
-    curl -X GET "http://127.0.0.1:8848/nacos/v1/cs/configs?dataId=nacos.cfg.dataId&group=test"
-  ```
-
-* Open the Nacos console in your browser
-
-  link:http://127.0.0.1:8848/nacos/
-
-## Common property configuration
-
-| name                              | description                                                                                                                       | option                                                                                                 |
-| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
-| MODE                              | cluster/standalone                                                                                                                | cluster/standalone default **cluster**                                                                 |
-| NACOS_SERVERS                     | nacos cluster address                                                                                                             | eg. ip1:port1 ip2:port2 ip3:port3                                                                      |
-| PREFER_HOST_MODE                  | Whether hostname are supported                                                                                                    | hostname/ip default **ip**                                                                             |
-| NACOS_APPLICATION_PORT            | nacos serverNacos port                                                                                                            | default **8848**                                                                                       |
-| NACOS_SERVER_IP                   | custom nacos serverNacos ip when network was mutil-network                                                                        |                                                                                                        |
-| SPRING_DATASOURCE_PLATFORM        | standalone support mysql                                                                                                          | mysql / empty default empty                                                                            |
-| MYSQL_SERVICE_HOST                | mysql host                                                                                                                        |                                                                                                        |
-| MYSQL_SERVICE_PORT                | mysql database port                                                                                                               | default : **3306**                                                                                     |
-| MYSQL_SERVICE_DB_NAME             | mysql database name                                                                                                               |                                                                                                        |
-| MYSQL_SERVICE_USER                | username of database                                                                                                              |                                                                                                        |
-| MYSQL_SERVICE_PASSWORD            | password of database                                                                                                              |                                                                                                        |
-| MYSQL_SSL_ENABLE                  | use ssl                                                                                                                           | default : false                                                                                        |
-| ~~MYSQL_MASTER_SERVICE_HOST~~     | The **latest** version of the image removes this attribute, using MYSQL_SERVICE_HOST                                              |                                                                                                        |
-| ~~MYSQL_MASTER_SERVICE_PORT~~     | The **latest** version of the image removes this attribute, using MYSQL_SERVICE_PORT                                              | default : **3306**                                                                                     |
-| ~~MYSQL_MASTER_SERVICE_DB_NAME~~  | The **latest** version of the image removes this attribute, using MYSQL_SERVICE_DB_NAME                                           |                                                                                                        |
-| ~~MYSQL_MASTER_SERVICE_USER~~     | The **latest** version of the image removes this attribute, using MYSQL_SERVICE_USER                                              |                                                                                                        |
-| ~~MYSQL_MASTER_SERVICE_PASSWORD~~ | The **latest** version of the image removes this attribute, using MYSQL_SERVICE_PASSWORD                                          |                                                                                                        |
-| ~~MYSQL_SLAVE_SERVICE_HOST~~      | The **latest** version of the image removes this attribute                                                                        |                                                                                                        |
-| ~~MYSQL_SLAVE_SERVICE_PORT~~      | The **latest** version of the image removes this attribute                                                                        | default :3306                                                                                          |
-| MYSQL_DATABASE_NUM                | It indicates the number of database                                                                                               | default :**1**                                                                                         |
-| JVM_XMS                           | -Xms                                                                                                                              | default :2g                                                                                            |
-| JVM_XMX                           | -Xmx                                                                                                                              | default :2g                                                                                            |
-| JVM_XMN                           | -Xmn                                                                                                                              | default :1g                                                                                            |
-| JVM_MS                            | -XX:MetaspaceSize                                                                                                                 | default :128m                                                                                          |
-| JVM_MMS                           | -XX:MaxMetaspaceSize                                                                                                              | default :320m                                                                                          |
-| NACOS_DEBUG                       | enable remote debug                                                                                                               | y/n default :n                                                                                         |
-| TOMCAT_ACCESSLOG_ENABLED          | serverNacos.tomcat.accesslog.enabled                                                                                              | default :false                                                                                         |
-| NACOS_AUTH_SYSTEM_TYPE            | The auth system to use, currently only 'nacos' is supported                                                                       | default :nacos                                                                                         |
-| NACOS_AUTH_ENABLE                 | If turn on auth system                                                                                                            | default :false                                                                                         |
-| NACOS_AUTH_TOKEN_EXPIRE_SECONDS   | The token expiration in seconds                                                                                                   | default :18000                                                                                         |
-| NACOS_AUTH_TOKEN                  | The default token                                                                                                                 | default :SecretKey012345678901234567890123456789012345678901234567890123456789                         |
-| NACOS_AUTH_CACHE_ENABLE           | Turn on/off caching of auth information. By turning on this switch, the update of auth information would have a 15 seconds delay. | default : false                                                                                        |
-| MEMBER_LIST                       | Set the cluster list with a configuration file or command-line argument                                                           | eg:192.168.16.101:8847?raft_port=8807,192.168.16.101?raft_port=8808,192.168.16.101:8849?raft_port=8809 |
-| EMBEDDED_STORAGE                  | Use embedded storage in cluster mode without mysql                                                                                | `embedded` default : none                                                                              |
-
-## Nacos + Grafana + Prometheus
-
-Usage reference:[Nacos monitor-guide](https://nacos.io/zh-cn/docs/monitor-guide.html)
-
-**Note**: When Grafana creates a new data source, the data source address must be **http://prometheus:9090**
diff --git a/dubbo-java/nacos-docker/README_ZH.md b/dubbo-java/nacos-docker/README_ZH.md
deleted file mode 100644
index 95f94d3..0000000
--- a/dubbo-java/nacos-docker/README_ZH.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# Nacos Docker
-
-本项目是 [Nacos](https://github.com/alibaba/nacos) Server 的 docker 镜像的 build 源码,以及 Nacos serverNacos 在 docker 的单机和集群的运行例子.
-
-## 项目目录
-
-- build:nacos 镜像制作的源码
-- env: docker compose 环境变量文件
-- example: docker-compose 编排例子
-
-## 运行环境
-
-- [Docker](https://www.docker.com/)
-
-### 注意事项
-
-- 从最新的 nacos:nacos-serverNacos/latest 镜像以后,移除了数据库主从镜像,具体原因请参考[移除主从镜像配置](https://github.com/nacos-group/nacos-docker/wiki/%E7%A7%BB%E9%99%A4%E6%95%B0%E6%8D%AE%E5%BA%93%E4%B8%BB%E4%BB%8E%E9%95%9C%E5%83%8F%E9%85%8D%E7%BD%AE)
-- 从 Nacos 1.3.1 版本开始,数据库存储已经升级到 8.0,并且它向下兼容
-
-## 快速开始
-
-打开命令窗口执行:
-
-```powershell
- docker run --name nacos-standalone -e MODE=standalone -p 8848:8848 -d nacos/nacos-serverNacos:latest
-```
-
-## 其他使用方式
-
-打开命令窗口执行:
-
-- Clone 项目 并且进入项目根目录
-
-  ```powershell
-  git clone https://github.com/paderlol/nacos-docker.git
-  cd nacos-docker
-  ```
-
-* 单机
-
-  ```powershell
-  docker-compose -f standalone.yaml up
-  ```
-
-* 集群
-
-  ```powershell
-  docker-compose -f cluster.yaml up
-  ```
-
-- 注册服务
-
-  ```powershell
-  curl -X PUT 'http://127.0.0.1:8848/nacos/v1/ns/instance?serviceName=nacos.naming.serviceName&ip=20.18.7.10&port=8080'
-  ```
-
-- 注册配置
-
-  ```powershell
-  curl -X POST "http://127.0.0.1:8848/nacos/v1/cs/configs?dataId=nacos.cfg.dataId&group=test&content=helloWorld"
-  ```
-
-- 访问控制台
-
-  浏览器访问:http://127.0.0.1:8848/nacos/
-
-## 属性配置列表
-
-| 属性名称                          | 描述                                                                                 | 选项                                                                        |
-| --------------------------------- | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------- |
-| MODE                              | 系统启动方式: 集群/单机                                                              | cluster/standalone 默认 **cluster**                                         |
-| NACOS_SERVERS                     | nacos cluster address                                                                | p1:port1 空格 ip2:port2 空格 ip3:port3                                      |
-| PREFER_HOST_MODE                  | 支持 IP 还是域名模式                                                                 | hostname/ip 默认 **ip**                                                     |
-| NACOS_SERVER_PORT                 | Nacos 运行端口                                                                       | 默认 **8848**                                                               |
-| NACOS_SERVER_IP                   | 多网卡模式下可以指定 IP                                                              |                                                                             |
-| SPRING_DATASOURCE_PLATFORM        | standalone support mysql                                                             | mysql / 空 默认:空                                                          |
-| MYSQL_SERVICE_HOST                | mysql host                                                                           |                                                                             |
-| MYSQL_SERVICE_PORT                | mysql database port                                                                  | 默认 : **3306**                                                             |
-| MYSQL_SERVICE_DB_NAME             | mysql database name                                                                  |                                                                             |
-| MYSQL_SERVICE_USER                | username of database                                                                 |                                                                             |
-| MYSQL_SERVICE_PASSWORD            | password of database                                                                 |                                                                             |
-| MYSQL_SSL_ENABLE                  | use ssl                                                                              | 默认 : false                                                                |
-| ~~MYSQL_MASTER_SERVICE_HOST~~     | **latest(目前 latest 是 1.1.4)以后**版本镜像移除, 使用 MYSQL_SERVICE_HOST            |                                                                             |
-| ~~MYSQL_MASTER_SERVICE_PORT~~     | **latest(目前 latest 是 1.1.4)以后**版本镜像移除, 使用 using MYSQL_SERVICE_PORT      | 默认 : **3306**                                                             |
-| ~~MYSQL_MASTER_SERVICE_DB_NAME~~  | **latest(目前 latest 是 1.1.4)以后**版本镜像移除, 使用 MYSQL_SERVICE_DB_NAME         |                                                                             |
-| ~~MYSQL_MASTER_SERVICE_USER~~     | **latest(目前 latest 是 1.1.4)以后**版本镜像移除, 使用 MYSQL_SERVICE_USER            |                                                                             |
-| ~~MYSQL_MASTER_SERVICE_PASSWORD~~ | **latest(目前 latest 是 1.1.4)以后**版本镜像移除, 使用, using MYSQL_SERVICE_PASSWORD |                                                                             |
-| ~~MYSQL_SLAVE_SERVICE_HOST~~      | **latest(目前 latest 是 1.1.4)以后**版本镜像移除                                     |                                                                             |
-| ~~MYSQL_SLAVE_SERVICE_PORT~~      | **latest(目前 latest 是 1.1.4)以后**版本镜像移除                                     | 默认 :3306                                                                  |
-| MYSQL_DATABASE_NUM                | It indicates the number of database                                                  | 默认 :**1**                                                                 |
-| JVM_XMS                           | -Xms                                                                                 | 默认 :2g                                                                    |
-| JVM_XMX                           | -Xmx                                                                                 | 默认 :2g                                                                    |
-| JVM_XMN                           | -Xmn                                                                                 | 默认 :1g                                                                    |
-| JVM_MS                            | -XX:MetaspaceSize                                                                    | 默认 :128m                                                                  |
-| JVM_MMS                           | -XX:MaxMetaspaceSize                                                                 | 默认 :320m                                                                  |
-| NACOS_DEBUG                       | enable remote debug                                                                  | y/n 默认 :n                                                                 |
-| TOMCAT_ACCESSLOG_ENABLED          | serverNacos.tomcat.accesslog.enabled                                                 | 默认 :false                                                                 |
-| NACOS_AUTH_SYSTEM_TYPE            | 权限系统类型选择,目前只支持 nacos 类型                                               | 默认 :nacos                                                                 |
-| NACOS_AUTH_ENABLE                 | 是否开启权限系统                                                                     | 默认 :false                                                                 |
-| NACOS_AUTH_TOKEN_EXPIRE_SECONDS   | token 失效时间                                                                       | 默认 :18000                                                                 |
-| NACOS_AUTH_TOKEN                  | token                                                                                | 默认 :SecretKey012345678901234567890123456789012345678901234567890123456789 |
-| NACOS_AUTH_CACHE_ENABLE           | 权限缓存开关 ,开启后权限缓存的更新默认有 15 秒的延迟                                 | 默认 : false                                                                |
-
-## Nacos + Grafana + Prometheus
-
-使用参考:[Nacos monitor-guide](https://nacos.io/zh-cn/docs/monitor-guide.html)
-
-**Note**: 当使用 Grafana 创建数据源的时候地址必须是: **http://prometheus:9090**
diff --git a/dubbo-java/nacos-docker/build/Dockerfile b/dubbo-java/nacos-docker/build/Dockerfile
deleted file mode 100644
index a88fd1f..0000000
--- a/dubbo-java/nacos-docker/build/Dockerfile
+++ /dev/null
@@ -1,54 +0,0 @@
-FROM centos:7.5.1804
-MAINTAINER pader "huangmnlove@163.com"
-
-# set environment
-ENV MODE="cluster" \
-    PREFER_HOST_MODE="ip"\
-    BASE_DIR="/home/nacos" \
-    CLASSPATH=".:/home/nacos/conf:$CLASSPATH" \
-    CLUSTER_CONF="/home/nacos/conf/cluster.conf" \
-    FUNCTION_MODE="all" \
-    JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk" \
-    NACOS_USER="nacos" \
-    JAVA="/usr/lib/jvm/java-1.8.0-openjdk/bin/java" \
-    JVM_XMS="2g" \
-    JVM_XMX="2g" \
-    JVM_XMN="1g" \
-    JVM_MS="128m" \
-    JVM_MMS="320m" \
-    NACOS_DEBUG="n" \
-    TOMCAT_ACCESSLOG_ENABLED="false" \
-    TIME_ZONE="Asia/Shanghai"
-
-ARG NACOS_VERSION=1.3.2
-
-WORKDIR /$BASE_DIR
-
-RUN set -x \
-    && yum update -y \
-    && yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel wget iputils nc  vim libcurl
-RUN wget  https://github.com/alibaba/nacos/releases/download/${NACOS_VERSION}/nacos-serverNacos-${NACOS_VERSION}.tar.gz -P /home
-RUN tar -xzvf /home/nacos-serverNacos-${NACOS_VERSION}.tar.gz -C /home \
-    && rm -rf /home/nacos-serverNacos-${NACOS_VERSION}.tar.gz /home/nacos/bin/* /home/nacos/conf/*.properties /home/nacos/conf/*.example /home/nacos/conf/nacos-mysql.sql
-RUN yum autoremove -y wget \
-    && ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone \
-    && yum clean all
-
-
-
-
-ADD bin/docker-startup.sh bin/docker-startup.sh
-ADD conf/application.properties conf/application.properties
-ADD init.d/custom.properties init.d/custom.properties
-
-
-# set startup log dir
-RUN mkdir -p logs \
-	&& cd logs \
-	&& touch start.out \
-	&& ln -sf /dev/stdout start.out \
-	&& ln -sf /dev/stderr start.out
-RUN chmod +x bin/docker-startup.sh
-
-EXPOSE 8848
-ENTRYPOINT ["bin/docker-startup.sh"]
diff --git a/dubbo-java/nacos-docker/build/bin/docker-startup.sh b/dubbo-java/nacos-docker/build/bin/docker-startup.sh
deleted file mode 100755
index cfbcf23..0000000
--- a/dubbo-java/nacos-docker/build/bin/docker-startup.sh
+++ /dev/null
@@ -1,114 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-#!/bin/bash
-
-set -x
-export DEFAULT_SEARCH_LOCATIONS="classpath:/,classpath:/config/,file:./,file:./config/"
-export CUSTOM_SEARCH_LOCATIONS=${DEFAULT_SEARCH_LOCATIONS},file:${BASE_DIR}/conf/,${BASE_DIR}/init.d/
-export CUSTOM_SEARCH_NAMES="application,custom"
-export MEMBER_LIST=""
-PLUGINS_DIR="/home/nacos/plugins/peer-finder"
-function print_servers(){
-   if [[ ! -d "${PLUGINS_DIR}" ]]; then
-    echo "" > "$CLUSTER_CONF"
-    for server in ${NACOS_SERVERS}; do
-            echo "$server" >> "$CLUSTER_CONF"
-    done
-   else
-    bash $PLUGINS_DIR/plugin.sh
-   sleep 30
-	fi
-}
-#===========================================================================================
-# JVM Configuration
-#===========================================================================================
-if [[ "${MODE}" == "standalone" ]]; then
-
-    JAVA_OPT="${JAVA_OPT} -Xms${JVM_XMS} -Xmx${JVM_XMX} -Xmn${JVM_XMN}"
-    JAVA_OPT="${JAVA_OPT} -Dnacos.standalone=true"
-else
-  if [[ "${EMBEDDED_STORAGE}" == "embedded" ]]; then
-        JAVA_OPT="${JAVA_OPT} -DembeddedStorage=true"
-    fi
-  JAVA_OPT="${JAVA_OPT} -server -Xms${JVM_XMS} -Xmx${JVM_XMX} -Xmn${JVM_XMN} -XX:MetaspaceSize=${JVM_MS} -XX:MaxMetaspaceSize=${JVM_MMS}"
-  if [[ "${NACOS_DEBUG}" == "y" ]]; then
-    JAVA_OPT="${JAVA_OPT} -Xdebug -Xrunjdwp:transport=dt_socket,address=9555,server=y,suspend=n"
-  fi
-  JAVA_OPT="${JAVA_OPT} -XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=${BASE_DIR}/logs/java_heapdump.hprof"
-  JAVA_OPT="${JAVA_OPT} -XX:-UseLargePages"
-  print_servers
-fi
-
-#===========================================================================================
-# Setting system properties
-#===========================================================================================
-# set  mode that Nacos Server function of split
-if [[ "${FUNCTION_MODE}" == "config" ]]; then
-    JAVA_OPT="${JAVA_OPT} -Dnacos.functionMode=config"
-elif [[ "${FUNCTION_MODE}" == "naming" ]]; then
-    JAVA_OPT="${JAVA_OPT} -Dnacos.functionMode=naming"
-fi
-# set nacos server ip
-if [[ ! -z "${NACOS_SERVER_IP}" ]]; then
-    JAVA_OPT="${JAVA_OPT} -Dnacos.server.ip=${NACOS_SERVER_IP}"
-fi
-
-if [[ ! -z "${USE_ONLY_SITE_INTERFACES}" ]]; then
-    JAVA_OPT="${JAVA_OPT} -Dnacos.inetutils.use-only-site-local-interfaces=${USE_ONLY_SITE_INTERFACES}"
-fi
-
-if [[ ! -z "${PREFERRED_NETWORKS}" ]]; then
-    JAVA_OPT="${JAVA_OPT} -Dnacos.inetutils.preferred-networks=${PREFERRED_NETWORKS}"
-fi
-
-if [[ ! -z "${IGNORED_INTERFACES}" ]]; then
-    JAVA_OPT="${JAVA_OPT} -Dnacos.inetutils.ignored-interfaces=${IGNORED_INTERFACES}"
-fi
-
-### If turn on auth system:
-if [[ ! -z "${NACOS_AUTH_ENABLE}" ]]; then
-    JAVA_OPT="${JAVA_OPT} -Dnacos.core.auth.enabled=${NACOS_AUTH_ENABLE}"
-fi
-
-if [[ "${PREFER_HOST_MODE}" == "hostname" ]]; then
-    JAVA_OPT="${JAVA_OPT} -Dnacos.preferHostnameOverIp=true"
-fi
-
-JAVA_OPT="${JAVA_OPT} -Dnacos.member.list=${MEMBER_LIST}"
-
-JAVA_MAJOR_VERSION=$($JAVA -version 2>&1 | sed -E -n 's/.* version "([0-9]*).*$/\1/p')
-if [[ "$JAVA_MAJOR_VERSION" -ge "9" ]] ; then
-  JAVA_OPT="${JAVA_OPT} -cp .:${BASE_DIR}/plugins/cmdb/*.jar:${BASE_DIR}/plugins/mysql/*.jar"
-  JAVA_OPT="${JAVA_OPT} -Xlog:gc*:file=${BASE_DIR}/logs/nacos_gc.log:time,tags:filecount=10,filesize=102400"
-else
-  JAVA_OPT="${JAVA_OPT} -Djava.ext.dirs=${JAVA_HOME}/jre/lib/ext:${JAVA_HOME}/lib/ext:${BASE_DIR}/plugins/health:${BASE_DIR}/plugins/cmdb:${BASE_DIR}/plugins/mysql"
-  JAVA_OPT="${JAVA_OPT} -Xloggc:${BASE_DIR}/logs/nacos_gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M"
-fi
-
-
-
-JAVA_OPT="${JAVA_OPT} -Dnacos.home=${BASE_DIR}"
-JAVA_OPT="${JAVA_OPT} -jar ${BASE_DIR}/target/nacos-server.jar"
-JAVA_OPT="${JAVA_OPT} ${JAVA_OPT_EXT}"
-JAVA_OPT="${JAVA_OPT} --spring.config.location=${CUSTOM_SEARCH_LOCATIONS}"
-JAVA_OPT="${JAVA_OPT} --spring.config.name=${CUSTOM_SEARCH_NAMES}"
-JAVA_OPT="${JAVA_OPT} --logging.config=${BASE_DIR}/conf/nacos-logback.xml"
-JAVA_OPT="${JAVA_OPT} --server.max-http-header-size=524288"
-
-echo "nacos is starting,you can check the ${BASE_DIR}/logs/start.out"
-echo "$JAVA ${JAVA_OPT}" > ${BASE_DIR}/logs/start.out 2>&1 &
-nohup $JAVA ${JAVA_OPT} > ${BASE_DIR}/logs/start.out 2>&1 < /dev/null
diff --git a/dubbo-java/nacos-docker/build/conf/application.properties b/dubbo-java/nacos-docker/build/conf/application.properties
deleted file mode 100644
index 79178e1..0000000
--- a/dubbo-java/nacos-docker/build/conf/application.properties
+++ /dev/null
@@ -1,64 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-
-# spring
-serverNacos.servlet.contextPath=${SERVER_SERVLET_CONTEXTPATH:/nacos}
-serverNacos.contextPath=/nacos
-serverNacos.port=${NACOS_APPLICATION_PORT:8848}
-spring.datasource.platform=${SPRING_DATASOURCE_PLATFORM:""}
-nacos.cmdb.dumpTaskInterval=3600
-nacos.cmdb.eventTaskInterval=10
-nacos.cmdb.labelTaskInterval=300
-nacos.cmdb.loadDataAtStart=false
-db.num=${MYSQL_DATABASE_NUM:1}
-db.url.0=jdbc:mysql://${MYSQL_SERVICE_HOST}:${MYSQL_SERVICE_PORT:3306}/${MYSQL_SERVICE_DB_NAME}?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=${MYSQL_SSL_ENABLE:false}
-db.url.1=jdbc:mysql://${MYSQL_SERVICE_HOST}:${MYSQL_SERVICE_PORT:3306}/${MYSQL_SERVICE_DB_NAME}?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=${MYSQL_SSL_ENABLE:false}
-db.user=${MYSQL_SERVICE_USER}
-db.password=${MYSQL_SERVICE_PASSWORD}
-### The auth system to use, currently only 'nacos' is supported:
-nacos.core.auth.system.type=${NACOS_AUTH_SYSTEM_TYPE:nacos}
-
-
-### The token expiration in seconds:
-nacos.core.auth.default.token.expire.seconds=${NACOS_AUTH_TOKEN_EXPIRE_SECONDS:18000}
-
-### The default token:
-nacos.core.auth.default.token.secret.key=${NACOS_AUTH_TOKEN:SecretKey012345678901234567890123456789012345678901234567890123456789}
-
-### Turn on/off caching of auth information. By turning on this switch, the update of auth information would have a 15 seconds delay.
-nacos.core.auth.caching.enabled=${NACOS_AUTH_CACHE_ENABLE:false}
-
-serverNacos.tomcat.accesslog.enabled=${TOMCAT_ACCESSLOG_ENABLED:false}
-serverNacos.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %D
-# default current work dir
-serverNacos.tomcat.basedir=
-## spring security config
-### turn off security
-nacos.security.ignore.urls=/,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/serverNacos/**
-# metrics for elastic search
-management.metrics.export.elastic.enabled=false
-management.metrics.export.influx.enabled=false
-
-nacos.naming.distro.taskDispatchThreadCount=10
-nacos.naming.distro.taskDispatchPeriod=200
-nacos.naming.distro.batchSyncKeyCount=1000
-nacos.naming.distro.initDataRatio=0.9
-nacos.naming.distro.syncRetryDelay=5000
-nacos.naming.data.warmup=true
-
-
-
diff --git a/dubbo-java/nacos-docker/build/init.d/custom.properties b/dubbo-java/nacos-docker/build/init.d/custom.properties
deleted file mode 100644
index 23a7ed4..0000000
--- a/dubbo-java/nacos-docker/build/init.d/custom.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-#spring.security.enabled=false
-#management.security=false
-#security.basic.enabled=false
-#nacos.security.ignore.urls=/**
-#management.metrics.export.elastic.host=http://localhost:9200
-# metrics for prometheus
-#management.endpoints.web.exposure.include=*
-
-# metrics for elastic search
-#management.metrics.export.elastic.enabled=false
-#management.metrics.export.elastic.host=http://localhost:9200
-
-# metrics for influx
-#management.metrics.export.influx.enabled=false
-#management.metrics.export.influx.db=springboot
-#management.metrics.export.influx.uri=http://localhost:8086
-#management.metrics.export.influx.auto-create-db=true
-#management.metrics.export.influx.consistency=one
-#management.metrics.export.influx.compressed=true
diff --git a/dubbo-java/nacos-docker/changlog b/dubbo-java/nacos-docker/changlog
deleted file mode 100644
index bf88109..0000000
--- a/dubbo-java/nacos-docker/changlog
+++ /dev/null
@@ -1,44 +0,0 @@
-version:1.3.0
-增加集群开启嵌入式存储
-新属性
-###*************** Add from 1.3.0 ***************###
-
-
-#*************** Core Related Configurations ***************#
-
-### set the WorkerID manually
-# nacos.core.snowflake.worker-id=
-
-### Member-MetaData
-# nacos.core.member.meta.site=
-# nacos.core.member.meta.adweight=
-# nacos.core.member.meta.weight=
-
-### MemberLookup
-### Addressing pattern category, If set, the priority is highest
-# nacos.core.member.lookup.type=[file,address-serverNacos,discovery]
-## Set the cluster list with a configuration file or command-line argument
-# nacos.member.list=192.168.16.101:8847?raft_port=8807,192.168.16.101?raft_port=8808,192.168.16.101:8849?raft_port=8809
-## for DiscoveryMemberLookup
-# If you want to use cluster node self-discovery, turn this parameter on
-# nacos.member.discovery=false
-## for AddressServerMemberLookup
-# Maximum number of retries to query the address serverNacos upon initialization
-# nacos.core.address-serverNacos.retry=5
-
-#*************** JRaft Related Configurations ***************#
-
-### Sets the Raft cluster election timeout, default value is 5 second
-# nacos.core.protocol.raft.data.election_timeout_ms=5000
-### Sets the amount of time the Raft snapshot will execute periodically, default is 30 minute
-# nacos.core.protocol.raft.data.snapshot_interval_secs=30
-### Requested retries, default value is 1
-# nacos.core.protocol.raft.data.request_failoverRetries=1
-### raft internal worker threads
-# nacos.core.protocol.raft.data.core_thread_num=8
-### Number of threads required for raft business request processing
-# nacos.core.protocol.raft.data.cli_service_thread_num=4
-### raft linear read strategy, defaults to index
-# nacos.core.protocol.raft.data.read_index_type=ReadOnlySafe
-### rpc request timeout, default 5 seconds
-# nacos.core.protocol.raft.data.rpc_request_timeout_ms=5000
diff --git a/dubbo-java/nacos-docker/env/mysql.env b/dubbo-java/nacos-docker/env/mysql.env
deleted file mode 100644
index c04d8b2..0000000
--- a/dubbo-java/nacos-docker/env/mysql.env
+++ /dev/null
@@ -1,4 +0,0 @@
-MYSQL_ROOT_PASSWORD=root
-MYSQL_DATABASE=nacos_devtest
-MYSQL_USER=nacos
-MYSQL_PASSWORD=nacos
\ No newline at end of file
diff --git a/dubbo-java/nacos-docker/env/nacos-embedded.env b/dubbo-java/nacos-docker/env/nacos-embedded.env
deleted file mode 100644
index f6e943b..0000000
--- a/dubbo-java/nacos-docker/env/nacos-embedded.env
+++ /dev/null
@@ -1,8 +0,0 @@
-#nacos dev env
-PREFER_HOST_MODE=hostname
-EMBEDDED_STORAGE=embedded
-NACOS_SERVERS=nacos1:8848 nacos2:8848 nacos3:8848
-MYSQL_SERVICE_DB_NAME=nacos_devtest
-MYSQL_SERVICE_PORT=3306
-MYSQL_SERVICE_USER=nacos
-MYSQL_SERVICE_PASSWORD=nacos
diff --git a/dubbo-java/nacos-docker/env/nacos-hostname.env b/dubbo-java/nacos-docker/env/nacos-hostname.env
deleted file mode 100644
index 63baaa7..0000000
--- a/dubbo-java/nacos-docker/env/nacos-hostname.env
+++ /dev/null
@@ -1,8 +0,0 @@
-#nacos dev env
-PREFER_HOST_MODE=hostname
-NACOS_SERVERS=nacos1:8848 nacos2:8848 nacos3:8848
-MYSQL_SERVICE_HOST=mysql
-MYSQL_SERVICE_DB_NAME=nacos_devtest
-MYSQL_SERVICE_PORT=3306
-MYSQL_SERVICE_USER=nacos
-MYSQL_SERVICE_PASSWORD=nacos
\ No newline at end of file
diff --git a/dubbo-java/nacos-docker/env/nacos-ip.env b/dubbo-java/nacos-docker/env/nacos-ip.env
deleted file mode 100644
index c37d9b6..0000000
--- a/dubbo-java/nacos-docker/env/nacos-ip.env
+++ /dev/null
@@ -1,7 +0,0 @@
-#nacos dev env
-NACOS_SERVERS=172.16.238.10:8848 172.16.238.11:8848 172.16.238.12:8848
-MYSQL_SERVICE_HOST=mysql
-MYSQL_SERVICE_DB_NAME=nacos_devtest
-MYSQL_SERVICE_PORT=3306
-MYSQL_SERVICE_USER=nacos
-MYSQL_SERVICE_PASSWORD=nacos
\ No newline at end of file
diff --git a/dubbo-java/nacos-docker/env/nacos-standlone-mysql.env b/dubbo-java/nacos-docker/env/nacos-standlone-mysql.env
deleted file mode 100644
index 5153d35..0000000
--- a/dubbo-java/nacos-docker/env/nacos-standlone-mysql.env
+++ /dev/null
@@ -1,8 +0,0 @@
-PREFER_HOST_MODE=hostname
-MODE=standalone
-SPRING_DATASOURCE_PLATFORM=mysql
-MYSQL_SERVICE_HOST=mysql
-MYSQL_SERVICE_DB_NAME=nacos_devtest
-MYSQL_SERVICE_PORT=3306
-MYSQL_SERVICE_USER=nacos
-MYSQL_SERVICE_PASSWORD=nacos
\ No newline at end of file
diff --git a/dubbo-java/nacos-docker/example/cluster-embedded.yaml b/dubbo-java/nacos-docker/example/cluster-embedded.yaml
deleted file mode 100644
index fe95e1b..0000000
--- a/dubbo-java/nacos-docker/example/cluster-embedded.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
-version: '3'
-services:
-  nacos1:
-    hostname: nacos1
-    container_name: nacos1
-    image: nacos/nacos-server:1.3.0
-    volumes:
-      - ./cluster-logs/nacos1:/home/nacos/logs
-      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
-    ports:
-      - '8848:8848'
-      - '9555:9555'
-    env_file:
-      - ../env/nacos-embedded.env
-    restart: always
-
-  nacos2:
-    hostname: nacos2
-    image: nacos/nacos-server:1.3.0
-    container_name: nacos2
-    volumes:
-      - ./cluster-logs/nacos2:/home/nacos/logs
-      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
-    ports:
-      - '8849:8848'
-    env_file:
-      - ../env/nacos-embedded.env
-    restart: always
-  nacos3:
-    hostname: nacos3
-    image: nacos/nacos-server:1.3.0
-    container_name: nacos3
-    volumes:
-      - ./cluster-logs/nacos3:/home/nacos/logs
-      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
-    ports:
-      - '8850:8848'
-    env_file:
-      - ../env/nacos-embedded.env
-    restart: always
diff --git a/dubbo-java/nacos-docker/example/cluster-hostname.yaml b/dubbo-java/nacos-docker/example/cluster-hostname.yaml
deleted file mode 100644
index 60b3ef6..0000000
--- a/dubbo-java/nacos-docker/example/cluster-hostname.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
-version: '3'
-services:
-  nacos1:
-    hostname: nacos1
-    container_name: nacos1
-    image: nacos/nacos-server:latest
-    volumes:
-      - ./cluster-logs/nacos1:/home/nacos/logs
-      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
-    ports:
-      - '8848:8848'
-      - '9555:9555'
-    env_file:
-      - ../env/nacos-hostname.env
-    restart: always
-    depends_on:
-      - mysql
-
-  nacos2:
-    hostname: nacos2
-    image: nacos/nacos-server:latest
-    container_name: nacos2
-    volumes:
-      - ./cluster-logs/nacos2:/home/nacos/logs
-      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
-    ports:
-      - '8849:8848'
-    env_file:
-      - ../env/nacos-hostname.env
-    restart: always
-    depends_on:
-      - mysql
-  nacos3:
-    hostname: nacos3
-    image: nacos/nacos-server:latest
-    container_name: nacos3
-    volumes:
-      - ./cluster-logs/nacos3:/home/nacos/logs
-      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
-    ports:
-      - '8850:8848'
-    env_file:
-      - ../env/nacos-hostname.env
-    restart: always
-    depends_on:
-      - mysql
-  mysql:
-    container_name: mysql
-    image: nacos/nacos-mysql:5.7
-    env_file:
-      - ../env/mysql.env
-    volumes:
-      - ./mysql:/var/lib/mysql
-    ports:
-      - '3306:3306'
diff --git a/dubbo-java/nacos-docker/example/cluster-ip.yaml b/dubbo-java/nacos-docker/example/cluster-ip.yaml
deleted file mode 100644
index 439cb3c..0000000
--- a/dubbo-java/nacos-docker/example/cluster-ip.yaml
+++ /dev/null
@@ -1,68 +0,0 @@
-version: '2'
-services:
-  nacos1:
-    image: nacos/nacos-server:latest
-    container_name: nacos1
-    networks:
-      nacos_net:
-        ipv4_address: 172.16.238.10
-    volumes:
-      - ./cluster-logs/nacos1:/home/nacos/logs
-    ports:
-      - '8848:8848'
-      - '9555:9555'
-    env_file:
-      - ../env/nacos-ip.env
-    restart: on-failure
-    depends_on:
-      - mysql
-
-  nacos2:
-    image: nacos/nacos-server:latest
-    container_name: nacos2
-    networks:
-      nacos_net:
-        ipv4_address: 172.16.238.11
-    volumes:
-      - ./cluster-logs/nacos2:/home/nacos/logs
-    ports:
-      - '8849:8848'
-    env_file:
-      - ../env/nacos-ip.env
-    restart: always
-    depends_on:
-      - mysql
-  nacos3:
-    image: nacos/nacos-server:latest
-    container_name: nacos3
-    networks:
-      nacos_net:
-        ipv4_address: 172.16.238.12
-    volumes:
-      - ./cluster-logs/nacos2:/home/nacos/logs
-    ports:
-      - '8850:8848'
-    env_file:
-      - ../env/nacos-ip.env
-    restart: always
-    depends_on:
-      - mysql
-  mysql:
-    container_name: mysql
-    image: nacos/nacos-mysql:5.7
-    networks:
-      nacos_net:
-        ipv4_address: 172.16.238.13
-    env_file:
-      - ../env/mysql.env
-    volumes:
-      - ./mysql:/var/lib/mysql
-    ports:
-      - '3306:3306'
-networks:
-  nacos_net:
-    driver: bridge
-    ipam:
-      driver: default
-      config:
-        - subnet: 172.16.238.0/24
diff --git a/dubbo-java/nacos-docker/example/init.d/custom.properties b/dubbo-java/nacos-docker/example/init.d/custom.properties
deleted file mode 100644
index c37dbfa..0000000
--- a/dubbo-java/nacos-docker/example/init.d/custom.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-#spring.security.enabled=false
-#management.security=false
-#security.basic.enabled=false
-#nacos.security.ignore.urls=/**
-#management.metrics.export.elastic.host=http://localhost:9200
-# metrics for prometheus
-management.endpoints.web.exposure.include=*
-
-# metrics for elastic search
-#management.metrics.export.elastic.enabled=false
-#management.metrics.export.elastic.host=http://localhost:9200
-
-# metrics for influx
-#management.metrics.export.influx.enabled=false
-#management.metrics.export.influx.db=springboot
-#management.metrics.export.influx.uri=http://localhost:8086
-#management.metrics.export.influx.auto-create-db=true
-#management.metrics.export.influx.consistency=one
-#management.metrics.export.influx.compressed=true
\ No newline at end of file
diff --git a/dubbo-java/nacos-docker/example/prometheus/prometheus-cluster.yaml b/dubbo-java/nacos-docker/example/prometheus/prometheus-cluster.yaml
deleted file mode 100644
index ad4d5d3..0000000
--- a/dubbo-java/nacos-docker/example/prometheus/prometheus-cluster.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-# my global config
-global:
-  scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
-  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
-  # scrape_timeout is set to the global default (10s).
-
-# Alertmanager configuration
-alerting:
-  alertmanagers:
-    - static_configs:
-        - targets:
-          # - alertmanager:9093
-
-# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
-rule_files:
-# - "first_rules.yml"
-# - "second_rules.yml"
-
-# A scrape configuration containing exactly one endpoint to scrape:
-# Here it's Prometheus itself.
-scrape_configs:
-  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
-  - job_name: 'prometheus'
-
-    # metrics_path defaults to '/metrics'
-    # scheme defaults to 'http'.
-
-    static_configs:
-      - targets: ['localhost:9090']
-
-  - job_name: 'nacos'
-    metrics_path: '/nacos/actuator/prometheus'
-    static_configs:
-      - targets: ['nacos1:8848', 'nacos2:8848', 'nacos3:8848']
diff --git a/dubbo-java/nacos-docker/example/prometheus/prometheus-standalone.yaml b/dubbo-java/nacos-docker/example/prometheus/prometheus-standalone.yaml
deleted file mode 100644
index e130ce2..0000000
--- a/dubbo-java/nacos-docker/example/prometheus/prometheus-standalone.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-# my global config
-global:
-  scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
-  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
-  # scrape_timeout is set to the global default (10s).
-
-# Alertmanager configuration
-alerting:
-  alertmanagers:
-    - static_configs:
-        - targets:
-          # - alertmanager:9093
-
-# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
-rule_files:
-# - "first_rules.yml"
-# - "second_rules.yml"
-
-# A scrape configuration containing exactly one endpoint to scrape:
-# Here it's Prometheus itself.
-scrape_configs:
-  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
-  - job_name: 'prometheus'
-
-    # metrics_path defaults to '/metrics'
-    # scheme defaults to 'http'.
-
-    static_configs:
-      - targets: ['localhost:9090']
-
-  - job_name: 'nacos'
-    metrics_path: '/nacos/actuator/prometheus'
-    static_configs:
-      - targets: ['nacos:8848']
diff --git a/dubbo-java/nacos-docker/example/standalone-derby.yaml b/dubbo-java/nacos-docker/example/standalone-derby.yaml
deleted file mode 100644
index 9a6e878..0000000
--- a/dubbo-java/nacos-docker/example/standalone-derby.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-version: '2'
-services:
-  nacos:
-    image: nacos/nacos-server:latest
-    container_name: nacos-standalone
-    environment:
-      - PREFER_HOST_MODE=hostname
-      - MODE=standalone
-    volumes:
-      - ./standalone-logs/:/home/nacos/logs
-      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
-    ports:
-      - '8848:8848'
-  prometheus:
-    container_name: prometheus
-    image: prom/prometheus:latest
-    volumes:
-      - ./prometheus/prometheus-standalone.yaml:/etc/prometheus/prometheus.yml
-    ports:
-      - '9090:9090'
-    depends_on:
-      - nacos
-    restart: on-failure
-  grafana:
-    container_name: grafana
-    image: grafana/grafana:latest
-    ports:
-      - 3000:3000
-    restart: on-failure
diff --git a/dubbo-java/nacos-docker/example/standalone-mysql-5.7.yaml b/dubbo-java/nacos-docker/example/standalone-mysql-5.7.yaml
deleted file mode 100644
index 7c0f5c5..0000000
--- a/dubbo-java/nacos-docker/example/standalone-mysql-5.7.yaml
+++ /dev/null
@@ -1,41 +0,0 @@
-version: '2'
-services:
-  nacos:
-    image: nacos/nacos-server:latest
-    container_name: nacos-standalone-mysql
-    env_file:
-      - ../env/nacos-standlone-mysql.env
-    volumes:
-      - ./standalone-logs/:/home/nacos/logs
-      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
-    ports:
-      - '8848:8848'
-      - '9555:9555'
-    depends_on:
-      - mysql
-    restart: on-failure
-  mysql:
-    container_name: mysql
-    image: nacos/nacos-mysql:5.7
-    env_file:
-      - ../env/mysql.env
-    volumes:
-      - ./mysql:/var/lib/mysql
-    ports:
-      - '3306:3306'
-  prometheus:
-    container_name: prometheus
-    image: prom/prometheus:latest
-    volumes:
-      - ./prometheus/prometheus-standalone.yaml:/etc/prometheus/prometheus.yml
-    ports:
-      - '9090:9090'
-    depends_on:
-      - nacos
-    restart: on-failure
-  grafana:
-    container_name: grafana
-    image: grafana/grafana:latest
-    ports:
-      - 3000:3000
-    restart: on-failure
diff --git a/dubbo-java/nacos-docker/example/standalone-mysql-8.yaml b/dubbo-java/nacos-docker/example/standalone-mysql-8.yaml
deleted file mode 100644
index ffffbba..0000000
--- a/dubbo-java/nacos-docker/example/standalone-mysql-8.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-version: '2'
-services:
-  nacos:
-    image: nacos/nacos-server:1.3.1
-    container_name: nacos-standalone-mysql
-    env_file:
-      - ../env/nacos-standlone-mysql.env
-    volumes:
-      - ./standalone-logs/:/home/nacos/logs
-      - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
-    ports:
-      - '8848:8848'
-      - '9555:9555'
-    depends_on:
-      - mysql
-    restart: always
-  mysql:
-    container_name: mysql
-    image: nacos/nacos-mysql:8.0.16
-    env_file:
-      - ../env/mysql.env
-    volumes:
-      - ./mysql:/var/lib/mysql
-    ports:
-      - '3306:3306'
diff --git a/dubbo-java/start-etcd-dubbo-service.sh b/dubbo-java/start-etcd-dubbo-service.sh
deleted file mode 100755
index 02a6439..0000000
--- a/dubbo-java/start-etcd-dubbo-service.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-#!/usr/bin/env sh
-
-# TODO
diff --git a/dubbo-java/start-nacos-dubbo-service.sh b/dubbo-java/start-nacos-dubbo-service.sh
deleted file mode 100755
index 539640b..0000000
--- a/dubbo-java/start-nacos-dubbo-service.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-#!/usr/bin/env sh
-
-# build java dubbo jar
-cd ./dubbo-java/dubbo-demo
-mvn clean install
-cd dubbo-demo-provider-with-nacos
-mvn clean package
-
-# start nacos cluster
-docker-compose -f ../../nacos-docker/example/standalone-derby.yaml up &
-# start java dubbo service
-java -jar ./target/dubbo-demo-provider-with-nacos-2.7.4.1-jar-with-dependencies.jar
diff --git a/dubbo-java/start-nacos.sh b/dubbo-java/start-nacos.sh
deleted file mode 100755
index 211fd1d..0000000
--- a/dubbo-java/start-nacos.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Licensed to the Apache Software Foundation (ASF) under one or more
-#  contributor license agreements.  See the NOTICE file distributed with
-#  this work for additional information regarding copyright ownership.
-#  The ASF licenses this file to You under the Apache License, Version 2.0
-#  (the "License"); you may not use this file except in compliance with
-#  the License.  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-
-#!/usr/bin/env sh
-# start nacos cluster
-docker-compose -f ./nacos-docker/example/standalone-derby.yaml up
diff --git a/dubbo-java/start-zookeeper-dubbo-service.sh b/dubbo-java/start-zookeeper-dubbo-service.sh
deleted file mode 100755
index f3fae9e..0000000
--- a/dubbo-java/start-zookeeper-dubbo-service.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-#!/usr/bin/env sh
-
-# build java dubbo jar
-cd ./dubbo-java/dubbo-demo
-mvn clean install
-cd dubbo-demo-provider-with-zookeeper
-mvn clean package
-
-# start zookeeper cluster
-docker-compose -f ../../zookeeper-docker/docker-compose.yml up &
-# start java dubbo service
-java -jar ./target/dubbo-demo-provider-with-zookeeper-2.7.4.1-jar-with-dependencies.jar
diff --git a/dubbo-java/zookeeper-docker/docker-compose.yml b/dubbo-java/zookeeper-docker/docker-compose.yml
deleted file mode 100644
index bbdd24e..0000000
--- a/dubbo-java/zookeeper-docker/docker-compose.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-version: '3.1'
-
-services:
-  zoo1:
-    image: zookeeper:3.5.6
-    # restart: always
-    hostname: zoo1
-    ports:
-      - 2181:2181
-    environment:
-      ZOO_MY_ID: 1
-      ZOO_SERVERS: server.1=0.0.0.0:2888:3888;2181 server.2=zoo2:2888:3888;2181 server.3=zoo3:2888:3888;2181
-
-  zoo2:
-    image: zookeeper:3.5.6
-    # restart: always
-    hostname: zoo2
-    ports:
-      - 2182:2181
-    environment:
-      ZOO_MY_ID: 2
-      ZOO_SERVERS: server.1=zoo1:2888:3888;2181 server.2=0.0.0.0:2888:3888;2181 server.3=zoo3:2888:3888;2181
-
-  zoo3:
-    image: zookeeper:3.5.6
-    # restart: always
-    hostname: zoo3
-    ports:
-      - 2183:2181
-    environment:
-      ZOO_MY_ID: 3
-      ZOO_SERVERS: server.1=zoo1:2888:3888;2181 server.2=zoo2:2888:3888;2181 server.3=0.0.0.0:2888:3888;2181
diff --git a/dubbo.json b/dubbo.json
deleted file mode 100644
index 79329e0..0000000
--- a/dubbo.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "output": "./packages/dubbo/src/__tests__/providers",
-  "entry": "org.apache.dubbo.demo",
-  "entryJarPath": "./java/dubbo-demo/dubbo-demo-api/target/dubbo-demo-api-2.5.7.jar",
-  "libDirPath": "./java/dubbo-demo/dubbo-demo-api/target/dependency/",
-  "providerSuffix": "Service"
-}
diff --git a/examples/fullstack/README.md b/examples/fullstack/README.md
deleted file mode 100644
index c88deae..0000000
--- a/examples/fullstack/README.md
+++ /dev/null
@@ -1,27 +0,0 @@
-# fullstack demo
-
-# getting started
-
-```sh
-cd dubbo-js
-
-# install dependencies
-yarn
-
-# build all modules
-make
-
-cd examples/fullstack
-
-# start service with zookeeper registry
-yarn run hello-service:zk
-yarn run hello-api:zk
-
-curl http://localhost:3000
-
-# start service with nacos registry
-yarn run hello-service:nacos
-yarn run hello-service:nacos
-
-curl http://localhost:6000
-```
diff --git a/examples/fullstack/hello-api/server-nacos.ts b/examples/fullstack/hello-api/server-nacos.ts
deleted file mode 100644
index a5e750a..0000000
--- a/examples/fullstack/hello-api/server-nacos.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import Koa from 'koa'
-import { Dubbo } from 'apache-dubbo-consumer'
-import { Nacos } from 'apache-dubbo-registry'
-import services from './service'
-
-const dubbo = new Dubbo<typeof services>({
-  application: {
-    name: 'hello-api'
-  },
-  registry: Nacos({
-    connect: 'localhost:8848',
-    namespace: 'public',
-    logger: console
-  }),
-  services
-})
-
-const server = new Koa()
-server.use(async (ctx) => {
-  const { res, err } = await dubbo.service.helloService.hello('dubbo-js')
-  ctx.body = {
-    res,
-    err: err?.message
-  }
-})
-server.listen(6000)
-console.log('hello-api start at port 6000....')
diff --git a/examples/fullstack/hello-api/server-zk.ts b/examples/fullstack/hello-api/server-zk.ts
deleted file mode 100644
index 009117b..0000000
--- a/examples/fullstack/hello-api/server-zk.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import Koa from 'koa'
-import { Dubbo } from 'apache-dubbo-consumer'
-import { Zk } from 'apache-dubbo-registry'
-import services from './service'
-
-const dubbo = new Dubbo<typeof services>({
-  application: {
-    name: 'hello-api'
-  },
-  registry: Zk({ connect: 'localhost:2181' }),
-  services
-})
-
-// start server
-const server = new Koa()
-server.use(async (ctx) => {
-  const { res, err } = await dubbo.service.helloService.hello('dubbo-js')
-  ctx.body = {
-    res,
-    err: err?.message
-  }
-})
-server.listen(3000)
-console.log('hello-api start at port 3000....')
diff --git a/examples/fullstack/hello-api/service/hello-service.ts b/examples/fullstack/hello-api/service/hello-service.ts
deleted file mode 100644
index 97cc814..0000000
--- a/examples/fullstack/hello-api/service/hello-service.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Dubbo, TDubboCallResult, java } from 'apache-dubbo-consumer'
-
-export interface IHelloService {
-  hello(name: string): Promise<TDubboCallResult<string>>
-}
-
-export const helloService = (dubbo: Dubbo): IHelloService =>
-  dubbo.proxyService<IHelloService>({
-    dubboInterface: `org.apache.dubbojs.service.HelloService`,
-    methods: {
-      hello(name: string) {
-        return [java.String(name)]
-      }
-    }
-  })
diff --git a/examples/fullstack/hello-api/service/index.ts b/examples/fullstack/hello-api/service/index.ts
deleted file mode 100644
index 9e5baa0..0000000
--- a/examples/fullstack/hello-api/service/index.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { helloService } from './hello-service'
-
-export default {
-  helloService
-}
diff --git a/examples/fullstack/hello-service/server-nacos.ts b/examples/fullstack/hello-service/server-nacos.ts
deleted file mode 100644
index e03f1e4..0000000
--- a/examples/fullstack/hello-service/server-nacos.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { DubboService } from 'apache-dubbo-service'
-import { Nacos } from 'apache-dubbo-registry'
-import services from './service'
-
-// start
-;(async function main() {
-  const dubbo = new DubboService({
-    registry: Nacos({
-      connect: 'localhost:8848',
-      namespace: 'public',
-      logger: console
-    }),
-    services
-  })
-  await dubbo.ready()
-  console.log('dubbo server start....')
-})()
diff --git a/examples/fullstack/hello-service/server-zk.ts b/examples/fullstack/hello-service/server-zk.ts
deleted file mode 100644
index 07bdc11..0000000
--- a/examples/fullstack/hello-service/server-zk.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { DubboService } from 'apache-dubbo-service'
-import { Zk } from 'apache-dubbo-registry'
-import services from './service'
-
-// start
-;(async function main() {
-  const dubbo = new DubboService({
-    registry: Zk({ connect: 'localhost:2181' }),
-    services
-  })
-  await dubbo.ready()
-  console.log('dubbo server start....')
-})()
diff --git a/examples/fullstack/hello-service/service/hello-service.ts b/examples/fullstack/hello-service/service/hello-service.ts
deleted file mode 100644
index 05570ac..0000000
--- a/examples/fullstack/hello-service/service/hello-service.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-export default class HelloService {
-  dubboInterface = 'org.apache.dubbojs.service.HelloService'
-
-  methods = {
-    hello: this.hello
-  }
-
-  async hello(name: string) {
-    return Promise.resolve(`hello ${name} from node with pid ${process.pid}`)
-  }
-}
diff --git a/examples/fullstack/hello-service/service/index.ts b/examples/fullstack/hello-service/service/index.ts
deleted file mode 100644
index 3c7e715..0000000
--- a/examples/fullstack/hello-service/service/index.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import HelloService from './hello-service'
-
-export default { HelloService: new HelloService() }
diff --git a/examples/fullstack/package.json b/examples/fullstack/package.json
deleted file mode 100644
index e4581d1..0000000
--- a/examples/fullstack/package.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
-  "name": "fullstack",
-  "version": "1.0.0",
-  "main": "index.js",
-  "license": "MIT",
-  "scripts": {
-    "hello-service:zk": "DEBUG=dubbo* ts-node ./hello-service/server-zk.ts",
-    "hello-api:zk": "DEBUG=dubbo* ts-node ./hello-api/server-zk.ts",
-    "hello-service:nacos": "DEBUG=dubbo* ts-node ./hello-service/server-nacos.ts",
-    "hello-api:nacos": "DEBUG=dubbo* ts-node ./hello-api/server-nacos.ts"
-  },
-  "dependencies": {
-    "koa": "^2.13.1",
-    "ts-node": "^10.0.0"
-  }
-}
diff --git a/examples/hello-egg/.autod.conf.js b/examples/hello-egg/.autod.conf.js
deleted file mode 100644
index 7d841b4..0000000
--- a/examples/hello-egg/.autod.conf.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-'ues strict'
-
-module.exports = {
-  write: true,
-  plugin: 'autod-egg',
-  prefix: '^',
-  devprefix: '^',
-  exclude: ['test/fixtures', 'coverage'],
-  dep: ['egg', 'egg-scripts'],
-  devdep: ['autod', 'autod-egg', 'egg-bin', 'tslib', 'typescript'],
-  keep: [],
-  semver: [],
-  test: 'scripts'
-}
diff --git a/examples/hello-egg/.gitignore b/examples/hello-egg/.gitignore
deleted file mode 100644
index 38e00e7..0000000
--- a/examples/hello-egg/.gitignore
+++ /dev/null
@@ -1,21 +0,0 @@
-logs/
-npm-debug.log
-node_modules/
-coverage/
-.idea/
-run/
-logs/
-.github/
-.DS_Store
-.vscode
-*.swp
-*.lock
-*.js
-!.autod.conf.js
-
-app/**/*.js
-test/**/*.js
-config/**/*.js
-app/**/*.map
-test/**/*.map
-config/**/*.map
diff --git a/examples/hello-egg/.travis.yml b/examples/hello-egg/.travis.yml
deleted file mode 100644
index a8bb9d7..0000000
--- a/examples/hello-egg/.travis.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-language: node_js
-node_js:
-  - '8'
-before_install:
-  - npm i npminstall -g
-install:
-  - npminstall
-script:
-  - npm run ci
-after_script:
-  - npminstall codecov && codecov
diff --git a/examples/hello-egg/README.md b/examples/hello-egg/README.md
deleted file mode 100644
index b375be5..0000000
--- a/examples/hello-egg/README.md
+++ /dev/null
@@ -1,46 +0,0 @@
-## QuickStart
-
-### Development
-
-> 以 `zookeeper` 注册中心方式启动:
-
-```bash
-$ cd ../../
-$ make
-$ sh ./dubbo-java/start-zookeeper-dubbo-service.sh
-$ cd examples/hello-egg
-$ yarn
-$ yarn interpret
-$ yarn dev
-$ open http://localhost:7001/
-```
-
-> 以 `nacos` 注册中心方式启动:
-
-修改 `config.default.ts` 中 `config.dubbo` 改成
-
-```js
-config.dubbo = {
-  application: { name: 'node-egg-bff' },
-  // nacos 的链接 要以 nacos:// 开头
-  registry: 'nacos://localhost:8848'
-}
-```
-
-然后执行:
-
-```bash
-$ cd ../../
-$ make
-$ sh ./dubbo-java/start-nacos-dubbo-service.sh
-$ cd examples/hello-egg
-$ yarn
-$ yarn interpret
-$ yarn dev
-$ open http://localhost:7001/
-```
-
-### Requirement
-
-- Node.js 14.x +
-- Typescript 4.x+
diff --git a/examples/hello-egg/app.ts b/examples/hello-egg/app.ts
deleted file mode 100644
index 48f599d..0000000
--- a/examples/hello-egg/app.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { EggApplication } from 'egg'
-import dubbo from './app/dubbo'
-
-export default async (app: EggApplication) => {
-  /**
-   * init dubbo
-   */
-  dubbo(app)
-  await app.dubbo.ready()
-  app.coreLogger.info('dubbo was ready')
-}
diff --git a/examples/hello-egg/app/controller/home.ts b/examples/hello-egg/app/controller/home.ts
deleted file mode 100644
index d542a95..0000000
--- a/examples/hello-egg/app/controller/home.ts
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { java } from 'apache-dubbo-js'
-import { Controller } from 'egg'
-import { Sex } from '../dubbo/providers/org/apache/dubbo/demo/Sex'
-import { TypeRequest } from '../dubbo/providers/org/apache/dubbo/demo/TypeRequest'
-import { UserRequest } from '../dubbo/providers/org/apache/dubbo/demo/UserRequest'
-
-export default class HomeController extends Controller {
-  async index() {
-    this.ctx.body = await this.ctx.service.test.sayHi('egg')
-  }
-
-  async userInfo() {
-    const { res, err } =
-      await this.ctx.app.dubbo.service.DemoProvider.getUserInfo(
-        new UserRequest({
-          sex: Sex.female,
-          email: 'coder.yang20100@gmail.com',
-          name: 'yangxiaodong',
-          id: 1001
-        })
-      )
-
-    this.ctx.body = err ? err.message : res
-  }
-
-  async sayHello() {
-    const { res, err } = await this.ctx.app.dubbo.service.DemoProvider.sayHello(
-      java.String('hello from node world')
-    )
-
-    this.ctx.body = err ? err.message : res
-  }
-
-  async echo() {
-    const { res, err } = await this.ctx.app.dubbo.service.DemoProvider.echo()
-    this.ctx.body = err ? err.message : res
-  }
-
-  async basicType() {
-    const { res, err } =
-      await this.ctx.app.dubbo.service.BasicTypeProvider.testBasicType(
-        new TypeRequest({
-          bigDecimal: { value: '100.00' },
-          map: { hello: 'hello' }
-        })
-      )
-    this.ctx.body = err ? err.message : res
-  }
-}
diff --git a/examples/hello-egg/app/dubbo/index.ts b/examples/hello-egg/app/dubbo/index.ts
deleted file mode 100644
index c5d4b2b..0000000
--- a/examples/hello-egg/app/dubbo/index.ts
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Context, Dubbo, s } from 'apache-dubbo-js'
-import { EggApplication } from 'egg'
-import service from './service'
-
-declare module 'egg' {
-  export interface EggApplication {
-    dubbo: Dubbo<typeof service>
-  }
-}
-
-// dubbo interface setting
-const dubboSetting = s.Setting(
-  s.service(
-    [
-      'org.apache.dubbo.demo.DemoProvider',
-      'org.apache.dubbo.demo.ErrorProvider'
-    ],
-    { version: '1.0.0' }
-  ),
-  s.service('org.apache.dubbo.demo.BasicTypeProvider', { version: '2.0.0' })
-)
-export default (app: EggApplication) => {
-  // create a dubboo object
-  const { application, registry } = app.config.dubbo
-  const dubbo = new Dubbo<typeof service>({
-    application,
-    registry,
-    service,
-    dubboSetting
-  })
-
-  dubbo.subscribe({
-    onTrace(err) {
-      console.log(err)
-    }
-  })
-
-  // extends middleware
-  dubbo.use(async (ctx: Context, next: any) => {
-    const start = Date.now()
-    await next()
-    const end = Date.now()
-    app.coreLogger.info(
-      `${ctx.dubboInterface} was invoked, cost-time ${end - start}`
-    )
-  })
-
-  // mounted dubbo to app
-  app.dubbo = dubbo
-}
diff --git a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/BasicTypeProvider.ts b/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/BasicTypeProvider.ts
deleted file mode 100644
index 4c28570..0000000
--- a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/BasicTypeProvider.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Dubbo, TDubboCallResult } from 'apache-dubbo-js'
-import { argumentMap } from 'interpret-util'
-import { TypeRequest } from './TypeRequest'
-
-export interface IBasicTypeProvider {
-  testBasicType(request: TypeRequest): TDubboCallResult<TypeRequest>
-}
-
-export const BasicTypeProviderWrapper = { testBasicType: argumentMap }
-
-export function BasicTypeProvider(dubbo: Dubbo): IBasicTypeProvider {
-  return dubbo.proxyService<IBasicTypeProvider>({
-    dubboInterface: 'org.apache.dubbo.demo.BasicTypeProvider',
-    methods: BasicTypeProviderWrapper
-  })
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/DemoProvider.ts b/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/DemoProvider.ts
deleted file mode 100644
index a21d502..0000000
--- a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/DemoProvider.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { Dubbo, TDubboCallResult } from 'apache-dubbo-js'
-import { argumentMap, JavaString } from 'interpret-util'
-import { UserRequest } from './UserRequest'
-import { UserResponse } from './UserResponse'
-
-export interface IDemoProvider {
-  sayHello(name: JavaString): TDubboCallResult<string>
-  test(): TDubboCallResult<void>
-  echo(): TDubboCallResult<string>
-  getUserInfo(request: UserRequest): TDubboCallResult<UserResponse>
-}
-
-export const DemoProviderWrapper = {
-  sayHello: argumentMap,
-  test: argumentMap,
-  echo: argumentMap,
-  getUserInfo: argumentMap
-}
-
-export function DemoProvider(dubbo: Dubbo): IDemoProvider {
-  return dubbo.proxyService<IDemoProvider>({
-    dubboInterface: 'org.apache.dubbo.demo.DemoProvider',
-    methods: DemoProviderWrapper
-  })
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/ErrorProvider.ts b/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/ErrorProvider.ts
deleted file mode 100644
index 93fa43a..0000000
--- a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/ErrorProvider.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Dubbo, TDubboCallResult } from 'apache-dubbo-js'
-import { argumentMap } from 'interpret-util'
-
-export interface IErrorProvider {
-  errorTest(): TDubboCallResult<void>
-}
-
-export const ErrorProviderWrapper = { errorTest: argumentMap }
-
-export function ErrorProvider(dubbo: Dubbo): IErrorProvider {
-  return dubbo.proxyService<IErrorProvider>({
-    dubboInterface: 'org.apache.dubbo.demo.ErrorProvider',
-    methods: ErrorProviderWrapper
-  })
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/Sex.ts b/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/Sex.ts
deleted file mode 100644
index 271efb1..0000000
--- a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/Sex.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-export enum Sex {
-  female = 'female',
-  male = 'male'
-}
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/TypeRequest.ts b/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/TypeRequest.ts
deleted file mode 100644
index 0859fd2..0000000
--- a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/TypeRequest.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import java from 'js-to-java'
-
-export interface ITypeRequest {
-  bigDecimal?: { value: string }
-  map?: { [name: string]: string }
-}
-
-export class TypeRequest {
-  constructor(params: ITypeRequest) {
-    this.bigDecimal = params.bigDecimal
-    this.map = params.map
-  }
-
-  bigDecimal?: { value: string }
-  map?: { [name: string]: string }
-
-  __fields2java() {
-    let mapMapTransfer = new Map()
-    for (let mapKey in this.map) {
-      mapMapTransfer.set(java.String(mapKey), java.String(this.map[mapKey]))
-    }
-    return {
-      $class: 'org.apache.dubbo.demo.TypeRequest',
-      $: {
-        bigDecimal: this.bigDecimal
-          ? java.BigDecimal(this.bigDecimal.value)
-          : null,
-        map: java.Map(mapMapTransfer)
-      }
-    }
-  }
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/UserRequest.ts b/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/UserRequest.ts
deleted file mode 100644
index 4ccc77b..0000000
--- a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/UserRequest.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import java from 'js-to-java'
-import { Sex } from './Sex'
-
-export interface IUserRequest {
-  sex?: Sex
-  name?: string
-  id?: number
-  email?: string
-}
-
-export class UserRequest {
-  constructor(params: IUserRequest) {
-    this.sex = params.sex
-    this.name = params.name
-    this.id = params.id
-    this.email = params.email
-  }
-
-  sex?: Sex
-  name?: string
-  id?: number
-  email?: string
-
-  __fields2java() {
-    return {
-      $class: 'org.apache.dubbo.demo.UserRequest',
-      $: {
-        sex: java['enum']('org.apache.dubbo.demo.Sex', Sex[this.sex]),
-        name: java.String(this.name),
-        id: java.Integer(this.id),
-        email: java.String(this.email)
-      }
-    }
-  }
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/UserResponse.ts b/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/UserResponse.ts
deleted file mode 100644
index 774beca..0000000
--- a/examples/hello-egg/app/dubbo/providers/org/apache/dubbo/demo/UserResponse.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import java from 'js-to-java'
-
-export interface IUserResponse {
-  status?: string
-  info?: { [name: string]: string }
-}
-
-export class UserResponse {
-  constructor(params: IUserResponse) {
-    this.status = params.status
-    this.info = params.info
-  }
-
-  status?: string
-  info?: { [name: string]: string }
-
-  __fields2java() {
-    let infoMapTransfer = new Map()
-    for (let mapKey in this.info) {
-      infoMapTransfer.set(java.String(mapKey), java.String(this.info[mapKey]))
-    }
-    return {
-      $class: 'org.apache.dubbo.demo.UserResponse',
-      $: { status: java.String(this.status), info: java.Map(infoMapTransfer) }
-    }
-  }
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-egg/app/dubbo/service.ts b/examples/hello-egg/app/dubbo/service.ts
deleted file mode 100644
index ffda797..0000000
--- a/examples/hello-egg/app/dubbo/service.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { BasicTypeProvider } from './providers/org/apache/dubbo/demo/BasicTypeProvider'
-import { DemoProvider } from './providers/org/apache/dubbo/demo/DemoProvider'
-import { ErrorProvider } from './providers/org/apache/dubbo/demo/ErrorProvider'
-
-export default {
-  DemoProvider,
-  BasicTypeProvider,
-  ErrorProvider
-}
diff --git a/examples/hello-egg/app/router.ts b/examples/hello-egg/app/router.ts
deleted file mode 100644
index 22c7daf..0000000
--- a/examples/hello-egg/app/router.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Application } from 'egg'
-
-export default (app: Application) => {
-  const { controller, router } = app
-
-  router.get('/', controller.home.index)
-  router.get('/hello', controller.home.sayHello)
-  router.get('/user-info', controller.home.userInfo)
-  router.get('/echo', controller.home.echo)
-  router.get('/basic-type', controller.home.basicType)
-}
diff --git a/examples/hello-egg/app/service/Test.ts b/examples/hello-egg/app/service/Test.ts
deleted file mode 100644
index eb0aca8..0000000
--- a/examples/hello-egg/app/service/Test.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Service } from 'egg'
-
-/**
- * Test Service
- */
-export default class Test extends Service {
-  /**
-   * sayHi to you
-   * @param name - your name
-   */
-  public async sayHi(name: string) {
-    return `hi, ${name}`
-  }
-}
diff --git a/examples/hello-egg/appveyor.yml b/examples/hello-egg/appveyor.yml
deleted file mode 100644
index f9156da..0000000
--- a/examples/hello-egg/appveyor.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-environment:
-  matrix:
-    - nodejs_version: '8'
-
-install:
-  - ps: Install-Product node $env:nodejs_version
-  - npm i npminstall && node_modules\.bin\npminstall
-
-test_script:
-  - node --version
-  - npm --version
-  - npm run test
-
-build: off
diff --git a/examples/hello-egg/config/config.default.ts b/examples/hello-egg/config/config.default.ts
deleted file mode 100644
index 8d4b58f..0000000
--- a/examples/hello-egg/config/config.default.ts
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { EggAppConfig, EggAppInfo, PowerPartial } from 'egg'
-
-// for config.{env}.ts
-export type DefaultConfig = PowerPartial<EggAppConfig & BizConfig>
-
-// app special config scheme
-export interface BizConfig {
-  sourceUrl: string
-}
-
-export default (appInfo: EggAppInfo) => {
-  const config = {} as PowerPartial<EggAppConfig> & BizConfig
-
-  // override config from framework / plugin
-  // use for cookie sign key, should change to your own and keep security
-  config.keys = appInfo.name + '_1528804995511_9134'
-
-  // add your config here
-  config.middleware = []
-
-  /**
-   * dubbo config
-   *
-   * application 当前的应用标识
-   * registry 注册中心地址
-   *   support registry mode
-   *     1、 zookeeper  'localhost:2181,localhost:2182,localhost:2183'
-   *     2、 nacos      'nacos://localhost:2181'
-   *       nacos 注册地址要以 nacos:// 开头
-   *
-   */
-  config.dubbo = {
-    application: { name: 'node-egg-bff' },
-    // zookeeper 的链接
-    registry: 'localhost:2181,localhost:2182,localhost:2183'
-    // nacos 的链接 要以 nacos:// 开头
-    // registry: 'nacos://localhost:8848',
-  }
-
-  return config
-}
diff --git a/examples/hello-egg/config/config.local.ts b/examples/hello-egg/config/config.local.ts
deleted file mode 100644
index 890f4c6..0000000
--- a/examples/hello-egg/config/config.local.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { DefaultConfig } from './config.default'
-
-export default () => {
-  const config: DefaultConfig = {}
-  return config
-}
diff --git a/examples/hello-egg/config/config.prod.ts b/examples/hello-egg/config/config.prod.ts
deleted file mode 100644
index 890f4c6..0000000
--- a/examples/hello-egg/config/config.prod.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { DefaultConfig } from './config.default'
-
-export default () => {
-  const config: DefaultConfig = {}
-  return config
-}
diff --git a/examples/hello-egg/config/plugin.ts b/examples/hello-egg/config/plugin.ts
deleted file mode 100644
index 8a77698..0000000
--- a/examples/hello-egg/config/plugin.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { EggPlugin } from 'egg'
-
-const plugin: EggPlugin = {
-  // static: true,
-  // nunjucks: {
-  //   enable: true,
-  //   package: 'egg-view-nunjucks',
-  // },
-}
-
-export default plugin
diff --git a/examples/hello-egg/dubbo.json b/examples/hello-egg/dubbo.json
deleted file mode 100644
index fc825ec..0000000
--- a/examples/hello-egg/dubbo.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "output": "./app/dubbo/providers",
-  "entry": "org.apache.dubbo.demo",
-  "entryJarPath": "../../java/dubbo-demo/dubbo-demo-api/target/dubbo-demo-api-2.7.4.1.jar",
-  "libDirPath": "../../java/dubbo-demo/dubbo-demo-api/target/dependency",
-  "providerSuffix": "Provider"
-}
diff --git a/examples/hello-egg/package.json b/examples/hello-egg/package.json
deleted file mode 100644
index 17e05fc..0000000
--- a/examples/hello-egg/package.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
-  "name": "hello-egg",
-  "version": "1.0.0",
-  "description": "",
-  "private": true,
-  "egg": {
-    "typescript": true
-  },
-  "scripts": {
-    "start": "egg-scripts start --daemon --title=egg-server-hello-egg",
-    "stop": "egg-scripts stop --title=egg-server-hello-egg",
-    "dev": "egg-bin dev -r egg-ts-helper/register",
-    "debug": "egg-bin debug -r egg-ts-helper/register",
-    "interpret:denp": "cd ../../java/dubbo-demo/dubbo-demo-api && mvn clean package && mvn clean install",
-    "interpret": "npm run interpret:denp  && interpret -c dubbo.json",
-    "test-local": "egg-bin test -r egg-ts-helper/register",
-    "test": "npm run lint -- --fix && npm run test-local",
-    "cov": "egg-bin cov -r egg-ts-helper/register",
-    "tsc": "ets && tsc -p tsconfig.json",
-    "ci": "npm run lint && npm run cov && npm run tsc",
-    "autod": "autod",
-    "lint": "tslint .",
-    "clean": "ets clean"
-  },
-  "dependencies": {
-    "egg": "^2.11.2",
-    "egg-scripts": "^2.9.1",
-    "interpret-util": "^0.0.6"
-  },
-  "devDependencies": {
-    "@types/js-to-java": "^2.4.1",
-    "@types/mocha": "^2.2.40",
-    "@types/node": "^7.0.12",
-    "@types/supertest": "^2.0.0",
-    "autod": "^3.0.1",
-    "autod-egg": "^1.1.0",
-    "egg-bin": "^4.6.2",
-    "egg-ci": "^1.8.0",
-    "egg-mock": "^3.16.0",
-    "egg-ts-helper": "^1.4.2",
-    "interpret-dubbo2js": "0.0.22",
-    "tslib": "^1.9.0",
-    "tslint": "^4.0.0",
-    "typescript": "^2.8.1"
-  },
-  "engines": {
-    "node": ">=8.9.0"
-  },
-  "ci": {
-    "version": "8"
-  },
-  "repository": {
-    "type": "git",
-    "url": ""
-  },
-  "eslintIgnore": [
-    "coverage"
-  ],
-  "author": "",
-  "license": "Apache Licence 2.0"
-}
diff --git a/examples/hello-egg/test/app/controller/home.test.ts b/examples/hello-egg/test/app/controller/home.test.ts
deleted file mode 100644
index c0388f8..0000000
--- a/examples/hello-egg/test/app/controller/home.test.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import assert from 'assert'
-import { app } from 'egg-mock/bootstrap'
-
-describe('test/app/controller/home.test.ts', () => {
-  it('should GET /', async () => {
-    const result = await app.httpRequest().get('/').expect(200)
-    assert(result.text === 'hi, egg')
-  })
-})
diff --git a/examples/hello-egg/test/app/service/Test.test.ts b/examples/hello-egg/test/app/service/Test.test.ts
deleted file mode 100644
index 2de4504..0000000
--- a/examples/hello-egg/test/app/service/Test.test.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import assert from 'assert'
-import { Context } from 'egg'
-import { app } from 'egg-mock/bootstrap'
-
-describe('test/app/service/Test.test.js', () => {
-  let ctx: Context
-
-  before(async () => {
-    ctx = app.mockContext()
-  })
-
-  it('sayHi', async () => {
-    const result = await ctx.service.test.sayHi('egg')
-    assert(result === 'hi, egg')
-  })
-})
diff --git a/examples/hello-egg/tsconfig.json b/examples/hello-egg/tsconfig.json
deleted file mode 100644
index d0e4cac..0000000
--- a/examples/hello-egg/tsconfig.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  "compileOnSave": true,
-  "compilerOptions": {
-    "target": "es2017",
-    "module": "commonjs",
-    "strict": true,
-    "strictNullChecks": false,
-    "experimentalDecorators": true,
-    "emitDecoratorMetadata": true,
-    "noImplicitAny": false,
-    "noUnusedLocals": true,
-    "noUnusedParameters": true,
-    "allowUnreachableCode": false,
-    "allowUnusedLabels": false,
-    "noFallthroughCasesInSwitch": true,
-    "inlineSourceMap": true,
-    "esModuleInterop": true,
-    "skipDefaultLibCheck": true,
-    "skipLibCheck": true
-  },
-  "exclude": ["app/public", "app/views", "node_modules*"]
-}
diff --git a/examples/hello-egg/tslint.json b/examples/hello-egg/tslint.json
deleted file mode 100644
index 605e134..0000000
--- a/examples/hello-egg/tslint.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "extends": "tslint:latest",
-  "rules": {
-    "quotemark": [true, "single", "jsx-double"],
-    "no-console": [true, "dir", "log", "error", "warn"],
-    "space-before-function-paren": false,
-    "interface-name": [true, "never-prefix"],
-    "adjacent-overload-signatures": true,
-    "member-access": [false],
-    "member-ordering": [
-      true,
-      {
-        "order": "fields-first"
-      }
-    ],
-    "object-literal-sort-keys": false,
-    "max-classes-per-file": [true, 10],
-    "variable-name": [true, "allow-leading-underscore"],
-    "align": [true, "statements"]
-  }
-}
diff --git a/examples/hello-koa/README.md b/examples/hello-koa/README.md
deleted file mode 100644
index b28fed4..0000000
--- a/examples/hello-koa/README.md
+++ /dev/null
@@ -1,34 +0,0 @@
-## QuickStart
-
-### Development
-
-> 以 `zookeeper` 注册中心方式启动:
-
-```bash
-$ cd ../../
-$ sh ./dubbo-java/start-zookeeper-dubbo-service.sh
-$ cd examples/hello-koa
-$ yarn
-$ yarn start
-$ open http://localhost:4000/hello
-```
-
-> 以 `nacos` 注册中心方式启动:
-
-```bash
-$ cd ../../
-$ sh ./dubbo-java/start-nacos-dubbo-service.sh
-$ cd examples/hello-koa
-$ yarn
-$ yarn start-nacos
-$ open http://localhost:5000/hello
-```
-
-### Requirement
-
-- Node.js 14.x +
-- Typescript 4.x+
-
-### Attention
-
-This example does not use a translator.
diff --git a/examples/hello-koa/package.json b/examples/hello-koa/package.json
deleted file mode 100644
index a27a0f7..0000000
--- a/examples/hello-koa/package.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
-  "name": "hello-koa",
-  "version": "1.0.0",
-  "description": "A simple demo",
-  "scripts": {
-    "debug:start": "cross-env DEBUG=dubbo* ts-node ./src/server-zookeeper.ts",
-    "start": "ts-node ./src/server-zookeeper.ts",
-    "dubbo-server": "ts-node ./src/dubbo/provider/server-zookeeper.ts",
-    "debug:dubbo-server": "cross-env DEBUG=dubbo* ts-node ./src/dubbo/provider/server-zookeeper.ts",
-    "debug:start-nacos": "cross-env DEBUG=dubbo* ts-node ./src/server-nacos.ts",
-    "start-nacos": "ts-node ./src/server-nacos.ts",
-    "dubbo-server-nacos": "ts-node ./src/dubbo/provider/server-nacos.ts",
-    "debug:dubbo-server-nacos": "cross-env DEBUG=dubbo* ts-node ./src/dubbo/provider/server-nacos.ts"
-  },
-  "keywords": [
-    "apache-dubbo-js"
-  ],
-  "author": "fengmi99@gmail.com",
-  "license": "Apache Licence 2.0",
-  "devDependencies": {
-    "@types/koa": "^2.11.4",
-    "@types/koa-router": "^7.4.1",
-    "cross-env": "^7.0.3"
-  },
-  "dependencies": {
-    "apache-dubbo-consumer": "^4.0.0",
-    "apache-dubbo-registry": "0.0.2",
-    "interpret-util": "0.0.6",
-    "ip": "^1.1.5",
-    "koa": "^2.4.1",
-    "koa-router": "^7.3.0"
-  }
-}
diff --git a/examples/hello-koa/src/dubbo/consumer/dubbo-nacos.ts b/examples/hello-koa/src/dubbo/consumer/dubbo-nacos.ts
deleted file mode 100644
index f0ed197..0000000
--- a/examples/hello-koa/src/dubbo/consumer/dubbo-nacos.ts
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Dubbo, dubboSetting } from 'apache-dubbo-consumer'
-import { Nacos } from 'apache-dubbo-registry'
-import * as services from './service'
-
-/**
- * setting dubbo invoke params, such version, group etc.
- */
-const setting = dubboSetting
-  .match(
-    [
-      'org.apache.dubbo.demo.DemoProvider',
-      'org.apache.dubbo.demo.ErrorProvider'
-    ],
-    {
-      version: '1.0.0'
-    }
-  )
-  .match('org.apache.dubbo.demo.BasicTypeProvider', { version: '2.0.0' })
-
-/**
- * create dubbo instance, it create proxyService
- */
-const dubbo = new Dubbo<typeof services>({
-  application: {
-    name: 'dubbo-node-consumer'
-  },
-  services,
-  dubboSetting: setting,
-  registry: Nacos({
-    connect: 'localhost:8848'
-  })
-})
-
-/**
- * apache-dubbo-js middleware Extension mechanism the same as koa middleware
- */
-dubbo.use(async (ctx, next) => {
-  await next()
-  console.log('-providerAttachments-->', ctx.providerAttachments)
-})
-
-export default dubbo
diff --git a/examples/hello-koa/src/dubbo/consumer/dubbo-zookeeper.ts b/examples/hello-koa/src/dubbo/consumer/dubbo-zookeeper.ts
deleted file mode 100644
index d2c9f1c..0000000
--- a/examples/hello-koa/src/dubbo/consumer/dubbo-zookeeper.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Dubbo, s } from 'apache-dubbo-consumer'
-import { Zk } from 'apache-dubbo-registry'
-import * as services from './service'
-
-/**
- * setting dubbo invoke params, such version, group etc.
- */
-const setting = s.Setting(
-  s.service(
-    [
-      'org.apache.dubbo.demo.DemoProvider',
-      'org.apache.dubbo.demo.ErrorProvider'
-    ],
-    { version: '1.0.0' }
-  ),
-  s.service('org.apache.dubbo.demo.BasicTypeProvider', { version: '2.0.0' })
-)
-
-/**
- * create dubbo instance, it create proxyService
- */
-// console.log('nacos-----', nacos);
-const dubbo = new Dubbo<typeof services>({
-  application: { name: 'dubbo-node-consumer' },
-  services,
-  dubboSetting: setting,
-  // default zookeeper
-  registry: Zk({ connect: 'localhost:2181' })
-})
-
-/**
- * apache-dubbo-js middleware Extension mechanism the same as koa middleware
- */
-dubbo.use(async (ctx, next) => {
-  await next()
-  console.log('-providerAttachments-->', ctx.providerAttachments)
-})
-
-export default dubbo
diff --git a/examples/hello-koa/src/dubbo/consumer/service.ts b/examples/hello-koa/src/dubbo/consumer/service.ts
deleted file mode 100644
index 6ed16b6..0000000
--- a/examples/hello-koa/src/dubbo/consumer/service.ts
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Dubbo, java, TDubboCallResult } from 'apache-dubbo-consumer'
-
-//=====================types===========================
-export interface IUserResponse {
-  status?: string
-  info?: { [name: string]: string }
-}
-
-export interface IDemoProvider {
-  sayHello(name: string): TDubboCallResult<string>
-  test(): TDubboCallResult<void>
-  echo(): TDubboCallResult<string>
-  getUserInfo(): TDubboCallResult<IUserResponse>
-}
-
-export interface ITypeRequest {
-  bigDecimal?: { value: string }
-  map?: { [name: string]: string }
-}
-
-export interface IBasicTypeProvider {
-  testBasicType(): TDubboCallResult<ITypeRequest>
-}
-
-export interface IErrorProvider {
-  errorTest(): TDubboCallResult<void>
-}
-
-//========================provider=======================
-export const demoProvider = (dubbo: Dubbo): IDemoProvider =>
-  dubbo.proxyService({
-    dubboInterface: 'org.apache.dubbo.demo.DemoProvider',
-    methods: {
-      sayHello(name: string) {
-        return [java.String(name)]
-      },
-
-      echo() {},
-
-      test() {},
-
-      getUserInfo() {
-        return [
-          java.combine('org.apache.dubbo.demo.UserRequest', {
-            id: 1,
-            name: 'nodejs',
-            email: 'node@qianmi.com'
-          })
-        ]
-      }
-    }
-  })
-
-export const basicTypeProvider = (dubbo: Dubbo): IBasicTypeProvider =>
-  dubbo.proxyService({
-    dubboInterface: 'org.apache.dubbo.demo.BasicTypeProvider',
-    methods: {
-      testBasicType() {
-        return [
-          java.combine('org.apache.dubbo.demo.TypeRequest', {
-            map: java.Map({ name: 'test' }),
-            bigDecimal: java.BigDecimal('1000.0000')
-          })
-        ]
-      }
-    }
-  })
-
-export const errorProvider = (dubbo: Dubbo): IErrorProvider =>
-  dubbo.proxyService({
-    dubboInterface: 'org.apache.dubbo.demo.ErrorProvider',
-    methods: {
-      errorTest() {
-        return []
-      }
-    }
-  })
diff --git a/examples/hello-koa/src/dubbo/provider/dubbo-nacos.ts b/examples/hello-koa/src/dubbo/provider/dubbo-nacos.ts
deleted file mode 100644
index 5c42b46..0000000
--- a/examples/hello-koa/src/dubbo/provider/dubbo-nacos.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { DubboServer, nacos } from 'apache-dubbo-js'
-import service from './service'
-
-const server = new DubboServer({
-  port: 20880,
-  // default zookeeper
-  registry: nacos({
-    url: 'nacos:localhost:8848'
-  }),
-  services: service
-})
-
-server.start()
diff --git a/examples/hello-koa/src/dubbo/provider/dubbo-zookeeper.ts b/examples/hello-koa/src/dubbo/provider/dubbo-zookeeper.ts
deleted file mode 100644
index 0e83bdf..0000000
--- a/examples/hello-koa/src/dubbo/provider/dubbo-zookeeper.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { DubboServer } from 'apache-dubbo-js'
-import service from './service'
-
-const server = new DubboServer({
-  port: 20880,
-  // default zookeeper
-  registry: 'localhost:2181',
-  services: service
-})
-
-server.start()
diff --git a/examples/hello-koa/src/dubbo/provider/service.ts b/examples/hello-koa/src/dubbo/provider/service.ts
deleted file mode 100644
index 13cd0de..0000000
--- a/examples/hello-koa/src/dubbo/provider/service.ts
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import ip from 'ip'
-import java from 'js-to-java'
-import { IDubboService } from 'apache-dubbo-js'
-
-enum Sex {
-  male,
-  female
-}
-
-interface IUserRequest {
-  id: number
-  name: string
-  email: string
-  sex: Sex
-}
-
-class UserResponse {
-  status: string
-  info: Map<string, string>
-
-  __fields2java() {
-    return java('org.apache.dubbo.demo.UserResponse', {
-      status: java.String(this.status),
-      info: this.info
-    })
-  }
-}
-
-class TypeRequest {
-  map: Map<string, string>
-  bigDecimal: { value: string }
-
-  __fields2java() {
-    return java('org.apache.dubbo.demo.TypeRequest', {
-      map: this.map,
-      bigDecimal: java.BigDecimal(this.bigDecimal.value)
-    })
-  }
-}
-
-//========================provider=======================
-
-class DemoProvider implements IDubboService {
-  dubboInterface = 'org.apache.dubbo.demo.DemoProvider'
-  version = '1.0.0'
-  methods = {
-    sayHello(name: string) {
-      return java.String(
-        `Hello ${name}, response from provider ${ip.address()}`
-      )
-    },
-
-    echo() {
-      return 'pang'
-    },
-
-    test() {
-      console.log('test')
-    },
-
-    getUserInfo(request: IUserRequest) {
-      console.log(request)
-      const res = new UserResponse()
-      res.status = 'ok'
-      const map = new Map()
-      map.set('id', '1')
-      map.set('name', 'test')
-      res.info = map
-      return res
-    }
-  }
-}
-
-const basicTypeProvider = {
-  dubboInterface: 'org.apache.dubbo.demo.BasicTypeProvider',
-  version: '2.0.0',
-  methods: {
-    testBasicType(req: TypeRequest) {
-      const response = new TypeRequest()
-      response.bigDecimal = { value: '100.00' }
-      const map = new Map()
-      map.set('hello', 'world')
-      response.map = map
-      return response
-    }
-  }
-} as IDubboService
-
-class ErrorProvider implements IDubboService {
-  dubboInterface = 'org.apache.dubbo.demo.ErrorProvider'
-  version = '1.0.0'
-
-  methods = {
-    errorTest() {
-      throw new Error('ErrorProvider error')
-    }
-  }
-}
-
-export default [new DemoProvider(), basicTypeProvider, new ErrorProvider()]
diff --git a/examples/hello-koa/src/server-nacos.ts b/examples/hello-koa/src/server-nacos.ts
deleted file mode 100644
index 1c55d57..0000000
--- a/examples/hello-koa/src/server-nacos.ts
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import Koa from 'koa'
-import Router from 'koa-router'
-import dubbo from './dubbo/consumer/dubbo-nacos'
-
-const app = new Koa()
-const router = new Router()
-
-// ~~~~~~~~~~~~~~~~~~ router ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-router.get('/', (ctx) => {
-  ctx.body = 'hello, dubbo.js'
-})
-
-router.get('/hello', async (ctx) => {
-  const { res, err } = await dubbo.service.demoProvider.sayHello('test')
-  console.log(await dubbo.service.basicTypeProvider.testBasicType())
-  ctx.body = err ? err.message : res
-})
-
-router.get('/user', async (ctx) => {
-  const { res, err } = await dubbo.service.demoProvider.getUserInfo()
-  ctx.body = res || err.message
-})
-
-router.get('/echo', async (ctx) => {
-  ctx.body = await dubbo.service.demoProvider.echo()
-})
-
-router.get('/type', async (ctx) => {
-  const { res, err } = await dubbo.service.basicTypeProvider.testBasicType()
-  ctx.body = res || err.message
-})
-
-router.get('/exp', async (ctx) => {
-  const { res, err } = await dubbo.service.errorProvider.errorTest()
-  console.log(res)
-  ctx.body = err.message
-})
-
-router.get('/tracer', async (ctx) => {
-  const { res: hello } = await dubbo.service.demoProvider.sayHello('test')
-  const { res: userInfo } = await dubbo.service.demoProvider.getUserInfo()
-
-  setTimeout(async () => {
-    await dubbo.service.basicTypeProvider.testBasicType()
-    process.nextTick(() => {
-      dubbo.service.demoProvider.getUserInfo()
-    })
-  })
-
-  ctx.body = {
-    hello,
-    userInfo
-  }
-})
-
-// use route
-app.use(router.routes()).use(router.allowedMethods())
-
-// listen server
-app.listen(5000)
diff --git a/examples/hello-koa/src/server-zookeeper.ts b/examples/hello-koa/src/server-zookeeper.ts
deleted file mode 100644
index f96fa6f..0000000
--- a/examples/hello-koa/src/server-zookeeper.ts
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import Koa from 'koa'
-import Router from 'koa-router'
-import dubbo from './dubbo/consumer/dubbo-zookeeper'
-
-const app = new Koa()
-const router = new Router()
-
-// ~~~~~~~~~~~~~~~~~~ router ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-router.get('/', (ctx) => {
-  ctx.body = 'hello, dubbo.js'
-})
-
-router.get('/hello', async (ctx) => {
-  const { res, err } = await dubbo.service.demoProvider.sayHello('test')
-  console.log(await dubbo.service.basicTypeProvider.testBasicType())
-  ctx.body = err ? err.message : res
-})
-
-router.get('/user', async (ctx) => {
-  const { res, err } = await dubbo.service.demoProvider.getUserInfo()
-  ctx.body = res || err.message
-})
-
-router.get('/echo', async (ctx) => {
-  ctx.body = await dubbo.service.demoProvider.echo()
-})
-
-router.get('/type', async (ctx) => {
-  const { res, err } = await dubbo.service.basicTypeProvider.testBasicType()
-  ctx.body = res || err.message
-})
-
-router.get('/exp', async (ctx) => {
-  const { res, err } = await dubbo.service.errorProvider.errorTest()
-  console.log(res)
-  ctx.body = err.message
-})
-
-router.get('/tracer', async (ctx) => {
-  const { res: hello } = await dubbo.service.demoProvider.sayHello('test')
-  const { res: userInfo } = await dubbo.service.demoProvider.getUserInfo()
-
-  setTimeout(async () => {
-    await dubbo.service.basicTypeProvider.testBasicType()
-    process.nextTick(() => {
-      dubbo.service.demoProvider.getUserInfo()
-    })
-  })
-
-  ctx.body = {
-    hello,
-    userInfo
-  }
-})
-
-// use route
-app.use(router.routes()).use(router.allowedMethods())
-
-// listen server
-app.listen(4000)
diff --git a/examples/hello-koa/tsconfig.json b/examples/hello-koa/tsconfig.json
deleted file mode 100644
index c82edbd..0000000
--- a/examples/hello-koa/tsconfig.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-  "compilerOptions": {
-    "module": "commonjs",
-    "target": "es2017",
-    "moduleResolution": "node",
-    "esModuleInterop": true,
-    "baseUrl": ".",
-    "paths": {
-      "apache-dubbo-js": ["/usr/local/lib/node_modules/apache-dubbo-js/src/"]
-    }
-  }
-}
diff --git a/examples/hello-koa/yarn.lock b/examples/hello-koa/yarn.lock
deleted file mode 100644
index daab056..0000000
--- a/examples/hello-koa/yarn.lock
+++ /dev/null
@@ -1,467 +0,0 @@
-# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
-# yarn lockfile v1
-
-
-"@types/accepts@*":
-  version "1.3.5"
-  resolved "https://registry.npm.taobao.org/@types/accepts/download/@types/accepts-1.3.5.tgz#c34bec115cfc746e04fe5a059df4ce7e7b391575"
-  integrity sha1-w0vsEVz8dG4E/loFnfTOfns5FXU=
-  dependencies:
-    "@types/node" "*"
-
-"@types/body-parser@*":
-  version "1.19.0"
-  resolved "https://registry.npm.taobao.org/@types/body-parser/download/@types/body-parser-1.19.0.tgz#0685b3c47eb3006ffed117cdd55164b61f80538f"
-  integrity sha1-BoWzxH6zAG/+0RfN1VFkth+AU48=
-  dependencies:
-    "@types/connect" "*"
-    "@types/node" "*"
-
-"@types/connect@*":
-  version "3.4.33"
-  resolved "https://registry.npm.taobao.org/@types/connect/download/@types/connect-3.4.33.tgz#31610c901eca573b8713c3330abc6e6b9f588546"
-  integrity sha1-MWEMkB7KVzuHE8MzCrxua59YhUY=
-  dependencies:
-    "@types/node" "*"
-
-"@types/content-disposition@*":
-  version "0.5.3"
-  resolved "https://registry.npm.taobao.org/@types/content-disposition/download/@types/content-disposition-0.5.3.tgz#0aa116701955c2faa0717fc69cd1596095e49d96"
-  integrity sha1-CqEWcBlVwvqgcX/GnNFZYJXknZY=
-
-"@types/cookies@*":
-  version "0.7.4"
-  resolved "https://registry.npm.taobao.org/@types/cookies/download/@types/cookies-0.7.4.tgz#26dedf791701abc0e36b5b79a5722f40e455f87b"
-  integrity sha1-Jt7feRcBq8Dja1t5pXIvQORV+Hs=
-  dependencies:
-    "@types/connect" "*"
-    "@types/express" "*"
-    "@types/keygrip" "*"
-    "@types/node" "*"
-
-"@types/express-serve-static-core@*":
-  version "4.17.12"
-  resolved "https://registry.npm.taobao.org/@types/express-serve-static-core/download/@types/express-serve-static-core-4.17.12.tgz?cache=0&sync_timestamp=1598975469710&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fexpress-serve-static-core%2Fdownload%2F%40types%2Fexpress-serve-static-core-4.17.12.tgz#9a487da757425e4f267e7d1c5720226af7f89591"
-  integrity sha1-mkh9p1dCXk8mfn0cVyAiavf4lZE=
-  dependencies:
-    "@types/node" "*"
-    "@types/qs" "*"
-    "@types/range-parser" "*"
-
-"@types/express@*":
-  version "4.17.8"
-  resolved "https://registry.npm.taobao.org/@types/express/download/@types/express-4.17.8.tgz?cache=0&sync_timestamp=1598966501943&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fexpress%2Fdownload%2F%40types%2Fexpress-4.17.8.tgz#3df4293293317e61c60137d273a2e96cd8d5f27a"
-  integrity sha1-PfQpMpMxfmHGATfSc6LpbNjV8no=
-  dependencies:
-    "@types/body-parser" "*"
-    "@types/express-serve-static-core" "*"
-    "@types/qs" "*"
-    "@types/serve-static" "*"
-
-"@types/http-assert@*":
-  version "1.5.1"
-  resolved "https://registry.npm.taobao.org/@types/http-assert/download/@types/http-assert-1.5.1.tgz#d775e93630c2469c2f980fc27e3143240335db3b"
-  integrity sha1-13XpNjDCRpwvmA/CfjFDJAM12zs=
-
-"@types/http-errors@*":
-  version "1.8.0"
-  resolved "https://registry.npm.taobao.org/@types/http-errors/download/@types/http-errors-1.8.0.tgz#682477dbbbd07cd032731cb3b0e7eaee3d026b69"
-  integrity sha1-aCR327vQfNAycxyzsOfq7j0Ca2k=
-
-"@types/keygrip@*":
-  version "1.0.2"
-  resolved "https://registry.npm.taobao.org/@types/keygrip/download/@types/keygrip-1.0.2.tgz#513abfd256d7ad0bf1ee1873606317b33b1b2a72"
-  integrity sha1-UTq/0lbXrQvx7hhzYGMXszsbKnI=
-
-"@types/koa-compose@*":
-  version "3.2.5"
-  resolved "https://registry.npm.taobao.org/@types/koa-compose/download/@types/koa-compose-3.2.5.tgz#85eb2e80ac50be95f37ccf8c407c09bbe3468e9d"
-  integrity sha1-hesugKxQvpXzfM+MQHwJu+NGjp0=
-  dependencies:
-    "@types/koa" "*"
-
-"@types/koa-router@^7.4.1":
-  version "7.4.1"
-  resolved "https://registry.npm.taobao.org/@types/koa-router/download/@types/koa-router-7.4.1.tgz?cache=0&sync_timestamp=1596848411479&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fkoa-router%2Fdownload%2F%40types%2Fkoa-router-7.4.1.tgz#3702a4cabe4558cc4eec70d5574acc04beecff7c"
-  integrity sha1-NwKkyr5FWMxO7HDVV0rMBL7s/3w=
-  dependencies:
-    "@types/koa" "*"
-
-"@types/koa@*", "@types/koa@^2.11.4":
-  version "2.11.4"
-  resolved "https://registry.npm.taobao.org/@types/koa/download/@types/koa-2.11.4.tgz#8af02a069a9f8e08fa47b8da28d982e652f69cfb"
-  integrity sha1-ivAqBpqfjgj6R7jaKNmC5lL2nPs=
-  dependencies:
-    "@types/accepts" "*"
-    "@types/content-disposition" "*"
-    "@types/cookies" "*"
-    "@types/http-assert" "*"
-    "@types/http-errors" "*"
-    "@types/keygrip" "*"
-    "@types/koa-compose" "*"
-    "@types/node" "*"
-
-"@types/mime@*":
-  version "2.0.3"
-  resolved "https://registry.npm.taobao.org/@types/mime/download/@types/mime-2.0.3.tgz?cache=0&sync_timestamp=1596839421262&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fmime%2Fdownload%2F%40types%2Fmime-2.0.3.tgz#c893b73721db73699943bfc3653b1deb7faa4a3a"
-  integrity sha1-yJO3NyHbc2mZQ7/DZTsd63+qSjo=
-
-"@types/node@*":
-  version "14.6.4"
-  resolved "https://registry.npm.taobao.org/@types/node/download/@types/node-14.6.4.tgz?cache=0&sync_timestamp=1599568905640&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-14.6.4.tgz#a145cc0bb14ef9c4777361b7bbafa5cf8e3acb5a"
-  integrity sha1-oUXMC7FO+cR3c2G3u6+lz446y1o=
-
-"@types/qs@*":
-  version "6.9.4"
-  resolved "https://registry.npm.taobao.org/@types/qs/download/@types/qs-6.9.4.tgz?cache=0&sync_timestamp=1596839559701&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fqs%2Fdownload%2F%40types%2Fqs-6.9.4.tgz#a59e851c1ba16c0513ea123830dd639a0a15cb6a"
-  integrity sha1-pZ6FHBuhbAUT6hI4MN1jmgoVy2o=
-
-"@types/range-parser@*":
-  version "1.2.3"
-  resolved "https://registry.npm.taobao.org/@types/range-parser/download/@types/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c"
-  integrity sha1-fuMwunyq+5gJC+zoal7kQRWQTCw=
-
-"@types/serve-static@*":
-  version "1.13.5"
-  resolved "https://registry.npm.taobao.org/@types/serve-static/download/@types/serve-static-1.13.5.tgz?cache=0&sync_timestamp=1596840978785&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fserve-static%2Fdownload%2F%40types%2Fserve-static-1.13.5.tgz#3d25d941a18415d3ab092def846e135a08bbcf53"
-  integrity sha1-PSXZQaGEFdOrCS3vhG4TWgi7z1M=
-  dependencies:
-    "@types/express-serve-static-core" "*"
-    "@types/mime" "*"
-
-accepts@^1.3.5:
-  version "1.3.7"
-  resolved "https://registry.npm.taobao.org/accepts/download/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
-  integrity sha1-UxvHJlF6OytB+FACHGzBXqq1B80=
-  dependencies:
-    mime-types "~2.1.24"
-    negotiator "0.6.2"
-
-any-promise@^1.1.0:
-  version "1.3.0"
-  resolved "https://registry.npm.taobao.org/any-promise/download/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f"
-  integrity sha1-q8av7tzqUugJzcA3au0845Y10X8=
-
-cache-content-type@^1.0.0:
-  version "1.0.1"
-  resolved "https://registry.npm.taobao.org/cache-content-type/download/cache-content-type-1.0.1.tgz#035cde2b08ee2129f4a8315ea8f00a00dba1453c"
-  integrity sha1-A1zeKwjuISn0qDFeqPAKANuhRTw=
-  dependencies:
-    mime-types "^2.1.18"
-    ylru "^1.2.0"
-
-co@^4.6.0:
-  version "4.6.0"
-  resolved "https://registry.npm.taobao.org/co/download/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
-  integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=
-
-content-disposition@~0.5.2:
-  version "0.5.3"
-  resolved "https://registry.npm.taobao.org/content-disposition/download/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd"
-  integrity sha1-4TDK9+cnkIfFYWwgB9BIVpiYT70=
-  dependencies:
-    safe-buffer "5.1.2"
-
-content-type@^1.0.4:
-  version "1.0.4"
-  resolved "https://registry.npm.taobao.org/content-type/download/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
-  integrity sha1-4TjMdeBAxyexlm/l5fjJruJW/js=
-
-cookies@~0.8.0:
-  version "0.8.0"
-  resolved "https://registry.npm.taobao.org/cookies/download/cookies-0.8.0.tgz#1293ce4b391740a8406e3c9870e828c4b54f3f90"
-  integrity sha1-EpPOSzkXQKhAbjyYcOgoxLVPP5A=
-  dependencies:
-    depd "~2.0.0"
-    keygrip "~1.1.0"
-
-debug@^3.1.0:
-  version "3.2.6"
-  resolved "https://registry.npm.taobao.org/debug/download/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
-  integrity sha1-6D0X3hbYp++3cX7b5fsQE17uYps=
-  dependencies:
-    ms "^2.1.1"
-
-debug@~3.1.0:
-  version "3.1.0"
-  resolved "https://registry.npm.taobao.org/debug/download/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
-  integrity sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=
-  dependencies:
-    ms "2.0.0"
-
-deep-equal@~1.0.1:
-  version "1.0.1"
-  resolved "https://registry.npm.taobao.org/deep-equal/download/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5"
-  integrity sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=
-
-delegates@^1.0.0:
-  version "1.0.0"
-  resolved "https://registry.npm.taobao.org/delegates/download/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
-  integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=
-
-depd@^1.1.2, depd@~1.1.2:
-  version "1.1.2"
-  resolved "https://registry.npm.taobao.org/depd/download/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
-  integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=
-
-depd@~2.0.0:
-  version "2.0.0"
-  resolved "https://registry.npm.taobao.org/depd/download/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"
-  integrity sha1-tpYWPMdXVg0JzyLMj60Vcbeedt8=
-
-destroy@^1.0.4:
-  version "1.0.4"
-  resolved "https://registry.npm.taobao.org/destroy/download/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
-  integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=
-
-ee-first@1.1.1:
-  version "1.1.1"
-  resolved "https://registry.npm.taobao.org/ee-first/download/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
-  integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
-
-encodeurl@^1.0.2:
-  version "1.0.2"
-  resolved "https://registry.npm.taobao.org/encodeurl/download/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
-  integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=
-
-escape-html@^1.0.3:
-  version "1.0.3"
-  resolved "https://registry.npm.taobao.org/escape-html/download/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
-  integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=
-
-fresh@~0.5.2:
-  version "0.5.2"
-  resolved "https://registry.npm.taobao.org/fresh/download/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
-  integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=
-
-http-assert@^1.3.0:
-  version "1.4.1"
-  resolved "https://registry.npm.taobao.org/http-assert/download/http-assert-1.4.1.tgz#c5f725d677aa7e873ef736199b89686cceb37878"
-  integrity sha1-xfcl1neqfoc+9zYZm4lobM6zeHg=
-  dependencies:
-    deep-equal "~1.0.1"
-    http-errors "~1.7.2"
-
-http-errors@^1.3.1, http-errors@^1.6.3:
-  version "1.8.0"
-  resolved "https://registry.npm.taobao.org/http-errors/download/http-errors-1.8.0.tgz#75d1bbe497e1044f51e4ee9e704a62f28d336507"
-  integrity sha1-ddG75JfhBE9R5O6ecEpi8o0zZQc=
-  dependencies:
-    depd "~1.1.2"
-    inherits "2.0.4"
-    setprototypeof "1.2.0"
-    statuses ">= 1.5.0 < 2"
-    toidentifier "1.0.0"
-
-http-errors@~1.7.2:
-  version "1.7.3"
-  resolved "https://registry.npm.taobao.org/http-errors/download/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06"
-  integrity sha1-bGGeT5xgMIw4UZSYwU+7EKrOuwY=
-  dependencies:
-    depd "~1.1.2"
-    inherits "2.0.4"
-    setprototypeof "1.1.1"
-    statuses ">= 1.5.0 < 2"
-    toidentifier "1.0.0"
-
-inherits@2.0.4:
-  version "2.0.4"
-  resolved "https://registry.npm.taobao.org/inherits/download/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
-  integrity sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=
-
-ip@^1.1.5:
-  version "1.1.5"
-  resolved "http://npm.vivo.com.cn/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
-  integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=
-
-is-generator-function@^1.0.7:
-  version "1.0.7"
-  resolved "https://registry.npm.taobao.org/is-generator-function/download/is-generator-function-1.0.7.tgz#d2132e529bb0000a7f80794d4bdf5cd5e5813522"
-  integrity sha1-0hMuUpuwAAp/gHlNS99c1eWBNSI=
-
-isarray@0.0.1:
-  version "0.0.1"
-  resolved "https://registry.npm.taobao.org/isarray/download/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
-  integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=
-
-keygrip@~1.1.0:
-  version "1.1.0"
-  resolved "https://registry.npm.taobao.org/keygrip/download/keygrip-1.1.0.tgz#871b1681d5e159c62a445b0c74b615e0917e7226"
-  integrity sha1-hxsWgdXhWcYqRFsMdLYV4JF+ciY=
-  dependencies:
-    tsscmp "1.0.6"
-
-koa-compose@^3.0.0:
-  version "3.2.1"
-  resolved "https://registry.npm.taobao.org/koa-compose/download/koa-compose-3.2.1.tgz#a85ccb40b7d986d8e5a345b3a1ace8eabcf54de7"
-  integrity sha1-qFzLQLfZhtjlo0Wzoazo6rz1Tec=
-  dependencies:
-    any-promise "^1.1.0"
-
-koa-compose@^4.1.0:
-  version "4.1.0"
-  resolved "https://registry.npm.taobao.org/koa-compose/download/koa-compose-4.1.0.tgz#507306b9371901db41121c812e923d0d67d3e877"
-  integrity sha1-UHMGuTcZAdtBEhyBLpI9DWfT6Hc=
-
-koa-convert@^1.2.0:
-  version "1.2.0"
-  resolved "https://registry.npm.taobao.org/koa-convert/download/koa-convert-1.2.0.tgz#da40875df49de0539098d1700b50820cebcd21d0"
-  integrity sha1-2kCHXfSd4FOQmNFwC1CCDOvNIdA=
-  dependencies:
-    co "^4.6.0"
-    koa-compose "^3.0.0"
-
-koa-router@^7.3.0:
-  version "7.4.0"
-  resolved "https://registry.npm.taobao.org/koa-router/download/koa-router-7.4.0.tgz?cache=0&sync_timestamp=1597367975228&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fkoa-router%2Fdownload%2Fkoa-router-7.4.0.tgz#aee1f7adc02d5cb31d7d67465c9eacc825e8c5e0"
-  integrity sha1-ruH3rcAtXLMdfWdGXJ6syCXoxeA=
-  dependencies:
-    debug "^3.1.0"
-    http-errors "^1.3.1"
-    koa-compose "^3.0.0"
-    methods "^1.0.1"
-    path-to-regexp "^1.1.1"
-    urijs "^1.19.0"
-
-koa@^2.4.1:
-  version "2.13.0"
-  resolved "https://registry.npm.taobao.org/koa/download/koa-2.13.0.tgz#25217e05efd3358a7e5ddec00f0a380c9b71b501"
-  integrity sha1-JSF+Be/TNYp+Xd7ADwo4DJtxtQE=
-  dependencies:
-    accepts "^1.3.5"
-    cache-content-type "^1.0.0"
-    content-disposition "~0.5.2"
-    content-type "^1.0.4"
-    cookies "~0.8.0"
-    debug "~3.1.0"
-    delegates "^1.0.0"
-    depd "^1.1.2"
-    destroy "^1.0.4"
-    encodeurl "^1.0.2"
-    escape-html "^1.0.3"
-    fresh "~0.5.2"
-    http-assert "^1.3.0"
-    http-errors "^1.6.3"
-    is-generator-function "^1.0.7"
-    koa-compose "^4.1.0"
-    koa-convert "^1.2.0"
-    on-finished "^2.3.0"
-    only "~0.0.2"
-    parseurl "^1.3.2"
-    statuses "^1.5.0"
-    type-is "^1.6.16"
-    vary "^1.1.2"
-
-media-typer@0.3.0:
-  version "0.3.0"
-  resolved "https://registry.npm.taobao.org/media-typer/download/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
-  integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=
-
-methods@^1.0.1:
-  version "1.1.2"
-  resolved "https://registry.npm.taobao.org/methods/download/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
-  integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=
-
-mime-db@1.44.0:
-  version "1.44.0"
-  resolved "https://registry.npm.taobao.org/mime-db/download/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92"
-  integrity sha1-+hHF6wrKEzS0Izy01S8QxaYnL5I=
-
-mime-types@^2.1.18, mime-types@~2.1.24:
-  version "2.1.27"
-  resolved "https://registry.npm.taobao.org/mime-types/download/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f"
-  integrity sha1-R5SfmOJ56lMRn1ci4PNOUpvsAJ8=
-  dependencies:
-    mime-db "1.44.0"
-
-ms@2.0.0:
-  version "2.0.0"
-  resolved "https://registry.npm.taobao.org/ms/download/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
-  integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=
-
-ms@^2.1.1:
-  version "2.1.2"
-  resolved "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
-  integrity sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=
-
-negotiator@0.6.2:
-  version "0.6.2"
-  resolved "https://registry.npm.taobao.org/negotiator/download/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
-  integrity sha1-/qz3zPUlp3rpY0Q2pkiD/+yjRvs=
-
-on-finished@^2.3.0:
-  version "2.3.0"
-  resolved "https://registry.npm.taobao.org/on-finished/download/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
-  integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=
-  dependencies:
-    ee-first "1.1.1"
-
-only@~0.0.2:
-  version "0.0.2"
-  resolved "https://registry.npm.taobao.org/only/download/only-0.0.2.tgz#2afde84d03e50b9a8edc444e30610a70295edfb4"
-  integrity sha1-Kv3oTQPlC5qO3EROMGEKcCle37Q=
-
-parseurl@^1.3.2:
-  version "1.3.3"
-  resolved "https://registry.npm.taobao.org/parseurl/download/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
-  integrity sha1-naGee+6NEt/wUT7Vt2lXeTvC6NQ=
-
-path-to-regexp@^1.1.1:
-  version "1.8.0"
-  resolved "https://registry.npm.taobao.org/path-to-regexp/download/path-to-regexp-1.8.0.tgz#887b3ba9d84393e87a0a0b9f4cb756198b53548a"
-  integrity sha1-iHs7qdhDk+h6CgufTLdWGYtTVIo=
-  dependencies:
-    isarray "0.0.1"
-
-safe-buffer@5.1.2:
-  version "5.1.2"
-  resolved "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
-  integrity sha1-mR7GnSluAxN0fVm9/St0XDX4go0=
-
-setprototypeof@1.1.1:
-  version "1.1.1"
-  resolved "https://registry.npm.taobao.org/setprototypeof/download/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683"
-  integrity sha1-fpWsskqpL1iF4KvvW6ExMw1K5oM=
-
-setprototypeof@1.2.0:
-  version "1.2.0"
-  resolved "https://registry.npm.taobao.org/setprototypeof/download/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424"
-  integrity sha1-ZsmiSnP5/CjL5msJ/tPTPcrxtCQ=
-
-"statuses@>= 1.5.0 < 2", statuses@^1.5.0:
-  version "1.5.0"
-  resolved "https://registry.npm.taobao.org/statuses/download/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
-  integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=
-
-toidentifier@1.0.0:
-  version "1.0.0"
-  resolved "https://registry.npm.taobao.org/toidentifier/download/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"
-  integrity sha1-fhvjRw8ed5SLxD2Uo8j013UrpVM=
-
-tsscmp@1.0.6:
-  version "1.0.6"
-  resolved "https://registry.npm.taobao.org/tsscmp/download/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb"
-  integrity sha1-hbmVg6w1iexL/vgltQAKqRHWBes=
-
-type-is@^1.6.16:
-  version "1.6.18"
-  resolved "https://registry.npm.taobao.org/type-is/download/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131"
-  integrity sha1-TlUs0F3wlGfcvE73Od6J8s83wTE=
-  dependencies:
-    media-typer "0.3.0"
-    mime-types "~2.1.24"
-
-urijs@^1.19.0:
-  version "1.19.2"
-  resolved "https://registry.npm.taobao.org/urijs/download/urijs-1.19.2.tgz#f9be09f00c4c5134b7cb3cf475c1dd394526265a"
-  integrity sha1-+b4J8AxMUTS3yzz0dcHdOUUmJlo=
-
-vary@^1.1.2:
-  version "1.1.2"
-  resolved "https://registry.npm.taobao.org/vary/download/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
-  integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=
-
-ylru@^1.2.0:
-  version "1.2.1"
-  resolved "https://registry.npm.taobao.org/ylru/download/ylru-1.2.1.tgz#f576b63341547989c1de7ba288760923b27fe84f"
-  integrity sha1-9Xa2M0FUeYnB3nuiiHYJI7J/6E8=
diff --git a/examples/hello-midway/.gitignore b/examples/hello-midway/.gitignore
deleted file mode 100755
index 7c550cc..0000000
--- a/examples/hello-midway/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-logs/
-npm-debug.log
-yarn-error.log
-node_modules/
-package-lock.json
-yarn.lock
-coverage/
-dist/
-.idea/
-run/
-.github/
-.DS_Store
-.travis.yml
-*.sw*
-*.un~
-.tsbuildinfo
-.tsbuildinfo.*
diff --git a/examples/hello-midway/.travis.yml b/examples/hello-midway/.travis.yml
deleted file mode 100644
index 97a70fc..0000000
--- a/examples/hello-midway/.travis.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-language: node_js
-node_js:
-  - '10'
-before_install:
-  - npm i npminstall -g
-install:
-  - npminstall
-script:
-  - npm run ci
-after_script:
-  - npminstall codecov && codecov
diff --git a/examples/hello-midway/.vscode/launch.json b/examples/hello-midway/.vscode/launch.json
deleted file mode 100644
index 10088fa..0000000
--- a/examples/hello-midway/.vscode/launch.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
-  // 使用 IntelliSense 了解相关属性。
-  // 悬停以查看现有属性的描述。
-  // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
-  "version": "0.2.0",
-  "configurations": [
-    {
-      "name": "Midway Debug",
-      "type": "node",
-      "autoAttachChildProcesses": true,
-      "console": "integratedTerminal",
-      "env": {
-        "NODE_ENV": "local"
-      },
-      "port": 9229,
-      // "preLaunchTask": "TypeScript compile",
-      "protocol": "auto",
-      "request": "launch",
-      "restart": true,
-      "runtimeArgs": ["run", "debug", "--", "--inspect-brk"],
-      "runtimeExecutable": "npm",
-      "skipFiles": [
-        // "${workspaceFolder}/node_modules/**/*.js",
-        "${workspaceFolder}/node_modules/rxjs/**/*.js",
-        "<node_internals>/**/*.js"
-      ]
-    }
-  ]
-}
diff --git a/examples/hello-midway/README.md b/examples/hello-midway/README.md
deleted file mode 100644
index aaccc95..0000000
--- a/examples/hello-midway/README.md
+++ /dev/null
@@ -1,46 +0,0 @@
-## QuickStart
-
-### Development
-
-> 以 `zookeeper` 注册中心方式启动:
-
-```bash
-$ cd ../../
-$ make
-$ sh ./dubbo-java/start-zookeeper-dubbo-service.sh
-$ cd examples/hello-midway
-$ yarn
-$ yarn interpret
-$ yarn dev
-$ open http://localhost:7001/
-```
-
-> 以 `nacos` 注册中心方式启动:
-
-修改 `config.default.ts` 中 `config.dubbo` 改成
-
-```js
-config.dubbo = {
-  application: { name: 'node-midway-bff' },
-  // nacos 的链接 要以 nacos:// 开头
-  registry: 'nacos://localhost:8848'
-}
-```
-
-然后执行:
-
-```bash
-$ cd ../../
-$ make
-$ sh ./dubbo-java/start-nacos-dubbo-service.sh
-$ cd examples/hello-midway
-$ yarn
-$ yarn interpret
-$ yarn dev
-$ open http://localhost:7001/
-```
-
-### Requirement
-
-- Node.js 8.x
-- Typescript 2.8+
diff --git a/examples/hello-midway/appveyor.yml b/examples/hello-midway/appveyor.yml
deleted file mode 100644
index 6126795..0000000
--- a/examples/hello-midway/appveyor.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-environment:
-  matrix:
-    - nodejs_version: '10'
-
-install:
-  - ps: Install-Product node $env:nodejs_version
-  - npm i npminstall && node_modules\.bin\npminstall
-
-test_script:
-  - node --version
-  - npm --version
-  - npm run test
-
-build: off
diff --git a/examples/hello-midway/package.json b/examples/hello-midway/package.json
deleted file mode 100755
index f7e2114..0000000
--- a/examples/hello-midway/package.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
-  "name": "hello-midway",
-  "version": "1.0.0",
-  "description": "",
-  "private": true,
-  "dependencies": {
-    "egg-scripts": "^2.10.0",
-    "midway": "^1.0.0"
-  },
-  "devDependencies": {
-    "@types/mocha": "^5.2.7",
-    "@types/node": "^10.5.5",
-    "cross-env": "^6.0.0",
-    "egg-ci": "^1.8.0",
-    "midway-bin": "1",
-    "midway-mock": "1",
-    "ts-node": "^8.3.0",
-    "tslib": "^1.8.1",
-    "tslint": "^5.11.0",
-    "tslint-midway-contrib": "1",
-    "typescript": "^3.5.0"
-  },
-  "engines": {
-    "node": ">=10.16.0"
-  },
-  "scripts": {
-    "start": "egg-scripts start --daemon --title=midway-server-hello-midway --framework=midway --ts",
-    "stop": "egg-scripts stop --title=midway-server-hello-midway",
-    "start_build": "npm run build && cross-env NODE_ENV=development midway-bin dev",
-    "clean": "midway-bin clean",
-    "dev": "cross-env NODE_ENV=local midway-bin dev --ts",
-    "dev:debug": "DEBUG=dubbo* cross-env NODE_ENV=local midway-bin dev --ts",
-    "debug": "cross-env NODE_ENV=local midway-bin debug --ts",
-    "test": "npm run lint && midway-bin test --ts",
-    "cov": "midway-bin cov --ts",
-    "lint": "tslint --fix -p tsconfig.json -t stylish",
-    "ci": "npm run cov",
-    "build": "midway-bin build -c",
-    "autod": "midway-bin autod"
-  },
-  "ci": {
-    "version": "10"
-  },
-  "midway-bin-clean": [
-    ".vscode/.tsbuildinfo",
-    "dist"
-  ],
-  "repository": {
-    "type": "git",
-    "url": ""
-  },
-  "author": "yangkun",
-  "license": "MIT"
-}
diff --git a/examples/hello-midway/src/app.ts b/examples/hello-midway/src/app.ts
deleted file mode 100644
index 9d18a44..0000000
--- a/examples/hello-midway/src/app.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Application } from 'midway'
-import dubbo from './app/dubbo'
-
-export default async (app: Application) => {
-  console.log('🚀 Your awesome APP is launching...')
-  await dubbo(app)
-  console.log('dubbo was ready..')
-  await app.dubbo.ready()
-  console.log('✅  Your awesome APP launched')
-}
diff --git a/examples/hello-midway/src/app/controller/home.ts b/examples/hello-midway/src/app/controller/home.ts
deleted file mode 100755
index 931df7c..0000000
--- a/examples/hello-midway/src/app/controller/home.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Context, inject, controller, get, provide } from 'midway'
-import { java } from 'apache-dubbo-consumer'
-import { Sex } from '../dubbo/providers/org/apache/dubbo/demo/Sex'
-import { TypeRequest } from '../dubbo/providers/org/apache/dubbo/demo/TypeRequest'
-import { UserRequest } from '../dubbo/providers/org/apache/dubbo/demo/UserRequest'
-
-@provide()
-@controller('/')
-export class HomeController {
-  @inject()
-  ctx: Context
-
-  @get('/')
-  async index() {
-    this.ctx.body = `Welcome to midwayjs!`
-  }
-
-  @get('/hello')
-  async hello() {
-    const { res, err } = await (
-      this.ctx.app as any
-    ).dubbo.service.DemoProvider.sayHello(java.String('hello from node world'))
-    this.ctx.body = err ? err.message : res
-  }
-
-  @get('/user-info')
-  async userInfo() {
-    const { res, err } = await (
-      this.ctx.app as any
-    ).dubbo.service.DemoProvider.getUserInfo(
-      new UserRequest({
-        sex: Sex.female,
-        email: 'coder.yang20100@gmail.com',
-        name: 'yangxiaodong',
-        id: 1001
-      })
-    )
-
-    this.ctx.body = err ? err.message : res
-  }
-
-  @get('/echo')
-  async echo() {
-    const { res, err } = await (
-      this.ctx.app as any
-    ).dubbo.service.DemoProvider.echo()
-    this.ctx.body = err ? err.message : res
-  }
-
-  @get('basic-type')
-  async basicType() {
-    const { res, err } = await (
-      this.ctx.app as any
-    ).dubbo.service.BasicTypeProvider.testBasicType(
-      new TypeRequest({
-        bigDecimal: { value: '100.00' },
-        map: { hello: 'hello' }
-      })
-    )
-    this.ctx.body = err ? err.message : res
-  }
-}
diff --git a/examples/hello-midway/src/app/dubbo/index.ts b/examples/hello-midway/src/app/dubbo/index.ts
deleted file mode 100644
index 8e25aa5..0000000
--- a/examples/hello-midway/src/app/dubbo/index.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Dubbo, setting } from 'apache-dubbo-js'
-import { Application, Context } from 'midway'
-import service from './service'
-
-export default async (app: Application) => {
-  /**
-   * invoke dubbo configuration, such as version, group etc.
-   */
-  const dubboSetting = setting
-    .match(
-      [
-        'org.apache.dubbo.demo.DemoProvider',
-        'org.apache.dubbo.demo.ErrorProvider'
-      ],
-      {
-        version: '1.0.0'
-      }
-    )
-    .match('org.apache.dubbo.demo.BasicTypeProvider', { version: '2.0.0' })
-
-  const { application, registry } = app.config.dubbo
-  const dubbo = new Dubbo<typeof service>({
-    application,
-    registry,
-    service,
-    dubboSetting
-  })
-
-  dubbo.use(async (ctx: Context, next: any) => {
-    const start = Date.now()
-    await next()
-    const end = Date.now()
-    console.log(`${ctx.dubboInterface} was invoked, cost-time ${end - start}`)
-  })
-
-  app.dubbo = dubbo
-}
diff --git a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/BasicTypeProvider.ts b/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/BasicTypeProvider.ts
deleted file mode 100644
index af270e5..0000000
--- a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/BasicTypeProvider.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Dubbo, TDubboCallResult } from 'apache-dubbo-consumer'
-import { argumentMap } from 'interpret-util'
-import { TypeRequest } from './TypeRequest'
-
-export interface IBasicTypeProvider {
-  testBasicType(request: TypeRequest): TDubboCallResult<TypeRequest>
-}
-
-export const BasicTypeProviderWrapper = { testBasicType: argumentMap }
-
-export function BasicTypeProvider(dubbo: Dubbo): IBasicTypeProvider {
-  return dubbo.proxyService<IBasicTypeProvider>({
-    dubboInterface: 'org.apache.dubbo.demo.BasicTypeProvider',
-    methods: BasicTypeProviderWrapper
-  })
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/DemoProvider.ts b/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/DemoProvider.ts
deleted file mode 100644
index cadaf1a..0000000
--- a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/DemoProvider.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-import { Dubbo, TDubboCallResult } from 'apache-dubbo-consumer'
-import { argumentMap, JavaString } from 'interpret-util'
-import { UserRequest } from './UserRequest'
-import { UserResponse } from './UserResponse'
-
-export interface IDemoProvider {
-  sayHello(name: JavaString): TDubboCallResult<string>
-  test(): TDubboCallResult<void>
-  echo(): TDubboCallResult<string>
-  getUserInfo(request: UserRequest): TDubboCallResult<UserResponse>
-}
-
-export const DemoProviderWrapper = {
-  sayHello: argumentMap,
-  test: argumentMap,
-  echo: argumentMap,
-  getUserInfo: argumentMap
-}
-
-export function DemoProvider(dubbo: Dubbo): IDemoProvider {
-  return dubbo.proxyService<IDemoProvider>({
-    dubboInterface: 'org.apache.dubbo.demo.DemoProvider',
-    methods: DemoProviderWrapper
-  })
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/ErrorProvider.ts b/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/ErrorProvider.ts
deleted file mode 100644
index ca44f43..0000000
--- a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/ErrorProvider.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { Dubbo, TDubboCallResult } from 'apache-dubbo-consumer'
-import { argumentMap } from 'interpret-util'
-
-export interface IErrorProvider {
-  errorTest(): TDubboCallResult<void>
-}
-
-export const ErrorProviderWrapper = { errorTest: argumentMap }
-
-export function ErrorProvider(dubbo: Dubbo): IErrorProvider {
-  return dubbo.proxyService<IErrorProvider>({
-    dubboInterface: 'org.apache.dubbo.demo.ErrorProvider',
-    methods: ErrorProviderWrapper
-  })
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/Sex.ts b/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/Sex.ts
deleted file mode 100644
index 271efb1..0000000
--- a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/Sex.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-export enum Sex {
-  female = 'female',
-  male = 'male'
-}
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/TypeRequest.ts b/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/TypeRequest.ts
deleted file mode 100644
index 9e44179..0000000
--- a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/TypeRequest.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { java } from 'apache-dubbo-consumer'
-
-export interface ITypeRequest {
-  bigDecimal?: { value: string }
-  map?: { [name: string]: string }
-}
-
-export class TypeRequest {
-  constructor(params: ITypeRequest) {
-    this.bigDecimal = params.bigDecimal
-    this.map = params.map
-  }
-
-  bigDecimal?: { value: string }
-  map?: { [name: string]: string }
-
-  __fields2java() {
-    let mapMapTransfer = new Map()
-    for (let mapKey in this.map) {
-      mapMapTransfer.set(java.String(mapKey), java.String(this.map[mapKey]))
-    }
-    return {
-      $class: 'org.apache.dubbo.demo.TypeRequest',
-      $: {
-        bigDecimal: this.bigDecimal
-          ? java.BigDecimal(this.bigDecimal.value)
-          : null,
-        map: java.Map(mapMapTransfer)
-      }
-    }
-  }
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/UserRequest.ts b/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/UserRequest.ts
deleted file mode 100644
index b610775..0000000
--- a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/UserRequest.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { java } from 'apache-dubbo-consumer'
-import { Sex } from './Sex'
-
-export interface IUserRequest {
-  sex?: Sex
-  name?: string
-  id?: number
-  email?: string
-}
-
-export class UserRequest {
-  constructor(params: IUserRequest) {
-    this.sex = params.sex
-    this.name = params.name
-    this.id = params.id
-    this.email = params.email
-  }
-
-  sex?: Sex
-  name?: string
-  id?: number
-  email?: string
-
-  __fields2java() {
-    return {
-      $class: 'org.apache.dubbo.demo.UserRequest',
-      $: {
-        sex: java['enum']('org.apache.dubbo.demo.Sex', Sex[this.sex]),
-        name: java.String(this.name),
-        id: java.Integer(this.id),
-        email: java.String(this.email)
-      }
-    }
-  }
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/UserResponse.ts b/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/UserResponse.ts
deleted file mode 100644
index 80e141a..0000000
--- a/examples/hello-midway/src/app/dubbo/providers/org/apache/dubbo/demo/UserResponse.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { java } from 'apache-dubbo-consumer'
-
-export interface IUserResponse {
-  status?: string
-  info?: { [name: string]: string }
-}
-
-export class UserResponse {
-  constructor(params: IUserResponse) {
-    this.status = params.status
-    this.info = params.info
-  }
-
-  status?: string
-  info?: { [name: string]: string }
-
-  __fields2java() {
-    let infoMapTransfer = new Map()
-    for (let mapKey in this.info) {
-      infoMapTransfer.set(java.String(mapKey), java.String(this.info[mapKey]))
-    }
-    return {
-      $class: 'org.apache.dubbo.demo.UserResponse',
-      $: { status: java.String(this.status), info: java.Map(infoMapTransfer) }
-    }
-  }
-}
-
-//generate by interpret-cli apache-dubbo-js
diff --git a/examples/hello-midway/src/app/dubbo/service.ts b/examples/hello-midway/src/app/dubbo/service.ts
deleted file mode 100644
index ffda797..0000000
--- a/examples/hello-midway/src/app/dubbo/service.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { BasicTypeProvider } from './providers/org/apache/dubbo/demo/BasicTypeProvider'
-import { DemoProvider } from './providers/org/apache/dubbo/demo/DemoProvider'
-import { ErrorProvider } from './providers/org/apache/dubbo/demo/ErrorProvider'
-
-export default {
-  DemoProvider,
-  BasicTypeProvider,
-  ErrorProvider
-}
diff --git a/examples/hello-midway/src/app/public/README.md b/examples/hello-midway/src/app/public/README.md
deleted file mode 100755
index b4b045a..0000000
--- a/examples/hello-midway/src/app/public/README.md
+++ /dev/null
@@ -1 +0,0 @@
-## public static file directory!
diff --git a/examples/hello-midway/src/config/config.default.ts b/examples/hello-midway/src/config/config.default.ts
deleted file mode 100644
index 8177aac..0000000
--- a/examples/hello-midway/src/config/config.default.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { EggAppConfig, EggAppInfo, PowerPartial } from 'midway'
-
-export type DefaultConfig = PowerPartial<EggAppConfig>
-
-export default (appInfo: EggAppInfo) => {
-  const config = {} as DefaultConfig
-
-  // use for cookie sign key, should change to your own and keep security
-  config.keys = appInfo.name + '_1599135676543_3920'
-
-  // add your config here
-  config.middleware = []
-
-  /**
-   * dubbo config
-   *
-   * application 当前的应用标识
-   * registry 注册中心地址
-   *   support registry mode
-   *     1、 zookeeper  'localhost:2181,localhost:2182,localhost:2183'
-   *     2、 nacos      'nacos://localhost:2181'
-   *       nacos 注册地址要以 nacos:// 开头
-   *
-   */
-  config.dubbo = {
-    application: { name: 'node-midway-bff' },
-    // zookeeper 的链接
-    // registry: 'localhost:2181,localhost:2182,localhost:2183',
-    // nacos 的链接 要以 nacos:// 开头
-    registry: 'nacos://localhost:8848'
-  }
-
-  return config
-}
diff --git a/examples/hello-midway/src/config/config.local.ts b/examples/hello-midway/src/config/config.local.ts
deleted file mode 100644
index ce854f7..0000000
--- a/examples/hello-midway/src/config/config.local.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-export const development = {
-  watchDirs: [
-    'app',
-    'lib',
-    'service',
-    'config',
-    'app.ts',
-    'agent.ts',
-    'interface.ts'
-  ],
-  overrideDefault: true
-}
diff --git a/examples/hello-midway/src/config/plugin.ts b/examples/hello-midway/src/config/plugin.ts
deleted file mode 100755
index ec948d3..0000000
--- a/examples/hello-midway/src/config/plugin.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { EggPlugin } from 'midway'
-export default {
-  static: true // default is true
-} as EggPlugin
diff --git a/examples/hello-midway/test/app/controller/home.test.ts b/examples/hello-midway/test/app/controller/home.test.ts
deleted file mode 100755
index 7ca39b2..0000000
--- a/examples/hello-midway/test/app/controller/home.test.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/* tslint:disable */
-const { app, assert } = require('midway-mock/bootstrap')
-/* tslint:enable */
-
-describe('test/app/controller/home.test.ts', () => {
-  it('should assert', async () => {
-    const pkg = require('../../../package.json')
-    assert(app.config.keys.startsWith(pkg.name))
-  })
-
-  it('should GET /', () => {
-    return app.httpRequest().get('/').expect('Welcome to midwayjs!').expect(200)
-  })
-})
diff --git a/examples/hello-midway/tsconfig.json b/examples/hello-midway/tsconfig.json
deleted file mode 100644
index e462d28..0000000
--- a/examples/hello-midway/tsconfig.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
-  "compileOnSave": true,
-  "compilerOptions": {
-    "target": "ES2018",
-    "module": "commonjs",
-    "moduleResolution": "node",
-    "experimentalDecorators": true,
-    "emitDecoratorMetadata": true,
-    "inlineSourceMap": true,
-    "noImplicitThis": true,
-    "noUnusedLocals": true,
-    "stripInternal": true,
-    "pretty": true,
-    "declaration": true,
-    "outDir": "dist"
-  },
-  "exclude": ["dist", "node_modules", "test"]
-}
diff --git a/examples/hello-midway/tslint.json b/examples/hello-midway/tslint.json
deleted file mode 100644
index 13cbe4a..0000000
--- a/examples/hello-midway/tslint.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-  "extends": ["tslint-midway-contrib"]
-}
diff --git a/jest.config.js b/jest.config.js
deleted file mode 100644
index 0cef6ea..0000000
--- a/jest.config.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-module.exports = {
-  preset: 'ts-jest',
-  testEnvironment: 'node',
-  testPathIgnorePatterns: [
-    '<rootDir>/node_modules',
-    '<rootDir>/examples',
-    '<rootDir>/java'
-  ]
-}
diff --git a/lerna.json b/lerna.json
deleted file mode 100644
index 5eaac65..0000000
--- a/lerna.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-  "lerna": "2.5.1",
-  "npmClient": "yarn",
-  "useWorkspaces": true,
-  "version": "independent"
-}
diff --git a/package.json b/package.json
deleted file mode 100644
index e376bf1..0000000
--- a/package.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
-  "private": true,
-  "version": "4.0.1",
-  "workspaces": [
-    "packages/*"
-  ],
-  "scripts": {
-    "test:watch": "jest --watch -u",
-    "test": "jest",
-    "prepare": "husky install"
-  },
-  "devDependencies": {
-    "@types/fs-extra": "9.0.11",
-    "@types/dateformat": "1.0.1",
-    "@types/debug": "^0.0.30",
-    "@types/glob": "^7.1.3",
-    "@types/ip": "0.0.30",
-    "@types/jest": "^21.1.6",
-    "@types/js-to-java": "2.4.0",
-    "@types/koa-compose": "3.2.2",
-    "@types/node": "^14.14.41",
-    "@types/node-zookeeper-client": "^0.2.6",
-    "@types/prettier": "^2.2.3",
-    "@types/uuid": "3.4.3",
-    "@types/proper-lockfile": "^4.1.2",
-    "chalk": "^4.1.1",
-    "glob": "^7.1.7",
-    "husky": "^6.0.0",
-    "jest": "^27.0.5",
-    "lerna": "^2.5.1",
-    "prettier": "^2.2.1",
-    "pretty-quick": "^1.10.0",
-    "ts-jest": "^27.0.3",
-    "ts-node": "^9.1.1",
-    "typescript": "^4.2.4",
-    "uuid": "3.2.1",
-    "commander": "^7.2.0"
-  }
-}
diff --git a/packages/dubbo-common/.npmignore b/packages/dubbo-common/.npmignore
deleted file mode 100644
index d3b953c..0000000
--- a/packages/dubbo-common/.npmignore
+++ /dev/null
@@ -1,5 +0,0 @@
-**/__tests__/**
-**/__mocks__/**
-src
-tsconfig.json
-node_modules
diff --git a/packages/dubbo-common/package.json b/packages/dubbo-common/package.json
deleted file mode 100644
index f661cc7..0000000
--- a/packages/dubbo-common/package.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
-  "name": "apache-dubbo-common",
-  "version": "0.0.1",
-  "main": "./lib/index.js",
-  "types": "./lib/typings/index.d.ts",
-  "license": "Apache Licence 2.0",
-  "description": "Apache dubbo & dubbo-js & dubbo-common",
-  "author": "hufeng@apache.org, xiaodongyang@apache.org",
-  "maintainers": [
-    "godkun666@126.com",
-    "hsiaosiyuan0@outlook.com"
-  ],
-  "engines": {
-    "node": ">=10.0.0"
-  },
-  "repository": {
-    "type": "git",
-    "url": "https://github.com/apache/dubbo-js"
-  },
-  "dependencies": {
-    "ip": "^1.1.5"
-  }
-}
diff --git a/packages/dubbo-common/src/__tests__/binary-test.ts b/packages/dubbo-common/src/__tests__/binary-test.ts
deleted file mode 100644
index d138850..0000000
--- a/packages/dubbo-common/src/__tests__/binary-test.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { fromBytes4, fromBytes8, toBytes4, toBytes8 } from '../byte'
-
-describe('binary test suite', () => {
-  it('test binaryNum', () => {
-    expect(toBytes4(1025)).toEqual(Buffer.from([0x00, 0x00, 0x04, 0x01]))
-    expect(toBytes4(201212)).toEqual(Buffer.from([0x00, 0x03, 0x11, 0xfc]))
-  })
-
-  it('test convert number', () => {
-    expect(fromBytes4(Buffer.from([0x00, 0x00, 0x04, 0x01]))).toEqual(1025)
-    expect(fromBytes4(Buffer.from([0x00, 0x03, 0x11, 0xfc]))).toEqual(201212)
-  })
-
-  it('test binary uuid', () => {
-    const seed = 1323423423423423
-    const buffer = toBytes8(seed)
-    const num = fromBytes8(buffer)
-    expect(seed).toEqual(num)
-  })
-})
diff --git a/packages/dubbo-common/src/__tests__/byte-test.ts b/packages/dubbo-common/src/__tests__/byte-test.ts
deleted file mode 100644
index 0abc993..0000000
--- a/packages/dubbo-common/src/__tests__/byte-test.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { fromBytes4, fromBytes8, toBytes4, toBytes8 } from '../byte'
-
-describe('byte test suite', () => {
-  it('test byte4', () => {
-    const MAX = 4294967295 //2 ** 32 - 1
-    for (let i = MAX; i > MAX - 100; i--) {
-      const byte = toBytes4(i)
-      expect(fromBytes4(byte)).toEqual(i)
-    }
-  })
-
-  it('test byte8', () => {
-    const MAX = Number.MAX_SAFE_INTEGER - 1
-    for (let i = MAX; i > MAX - 100; i--) {
-      const byteBuf = toBytes8(i)
-      expect(fromBytes8(byteBuf)).toEqual(i)
-    }
-  })
-})
diff --git a/packages/dubbo-common/src/__tests__/go-test.ts b/packages/dubbo-common/src/__tests__/go-test.ts
deleted file mode 100644
index f92e985..0000000
--- a/packages/dubbo-common/src/__tests__/go-test.ts
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import fs from 'fs'
-import { promisify } from 'util'
-import { go } from '../go'
-
-describe('go test suite', () => {
-  it('test promise resolve 1', async () => {
-    const test = (): Promise<string> => {
-      return new Promise((resolve, reject) => {
-        resolve('1')
-      })
-    }
... 12353 lines suppressed ...