You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ke...@apache.org on 2021/05/11 13:25:13 UTC

[dubbo-go-pixiu] branch license-eye updated (5989b36 -> 6e39b71)

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

kezhenxu94 pushed a change to branch license-eye
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git.


 discard 5989b36  Add license-eye to check and fix license headers
     add 9cc7c21  Merge pull request #129 from dubbogo/master
     add e50b3f3  add license checker action
     add f2c251e  add license checker action
     add 37a43c6  add license checker action
     add 260bad8  Merge pull request #134 from xiaoliu10/add_license_checker_action
     add de8f1cd  add pixiu mascot pic
     add 6f539fe  Merge pull request #135 from xiaoliu10/add_pixiu_pic
     add c04d018  Mod: pic dir in readme
     add e75b3b5  format readme
     add bfa1c54  set image size
     add 19711a4  change image size in readme
     add c02b196  add notice file
     add a76fd9a  add notice file
     add d80a76b  Merge pull request #136 from xiaoliu10/add_notice_file
     add d59b817  Merge branch 'develop' of https://github.com/dubbogo/dubbo-go-pixiu into develop
     add 7b7afe3  add commnity qr code
     add d1e5cdb  Replace chinese comment
     add fc2dd65  Merge pull request #141 from xiaoliu10/relpace_chinese_comment
     add 17fadd2  Replace chinese comment
     add ca4d0f5  Merge pull request #142 from xiaoliu10/relpace_chinese_comment
     add df7857c  Work around the "Hound" required check and 3rd-party GHA (#148)
     add ec544d4  Remove Hound required check (#149)
     add c445f6a  Remove workaround file
     add 355416c  change package to apache after trasffering to apache (#146)
     add d5f6407  Add important CI checks required back
     add 1f411d7  gofumpt format
     add 60ed707  Merge pull request #150 from wongoo/develop
     add a16efb1  Add reviewdog (#157)
     add 985a285  Fix golint-ci time out issue (#162)
     new 6e39b71  Add license-eye to check and fix license headers

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (5989b36)
            \
             N -- N -- N   refs/heads/license-eye (6e39b71)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .asf.yaml                                          |  30 +++++
 .github/actions/actions-ding                       |   1 +
 .github/actions/review-dog                         |   1 +
 .github/workflows/github-actions.yml               |  10 +-
 .../config.yml => .github/workflows/reviewdog.yml  |  22 +++-
 .gitmodules                                        |   6 +
 .travis.yml                                        |   2 +-
 NOTICE                                             |   5 +
 README.md                                          | 128 +++++++++++++++++++-
 README_CN.md                                       | 130 ++++++++++++++++++++-
 cmd/admin/admin.go                                 |  11 +-
 cmd/pixiu/control.go                               |   6 +-
 cmd/pixiu/pixiu.go                                 |  16 +--
 docs/common/faq.md                                 |   2 +-
 docs/images/dubbogo-dingding.png                   | Bin 0 -> 39890 bytes
 docs/images/dubbogo-wechat.png                     | Bin 0 -> 27216 bytes
 docs/images/pixiu-log.jpg                          | Bin 0 -> 227280 bytes
 docs/sample/dubbo-error.md                         |  10 +-
 docs/sample/dubbo-multi.md                         |   4 +-
 docs/sample/zh-cn/dubbo-body.md                    |   2 +-
 docs/sample/zh-cn/dubbo-mix.md                     |   2 +-
 docs/sample/zh-cn/dubbo-multi.md                   |   6 +-
 docs/sample/zh-cn/dubbo-query.md                   |   2 +-
 docs/sample/zh-cn/dubbo.md                         |   2 +-
 go.mod                                             |   2 +-
 go.sum                                             |   3 -
 pkg/client/dubbo/dubbo.go                          |   9 +-
 pkg/client/dubbo/dubbo_test.go                     |   4 +-
 pkg/client/dubbo/mapper.go                         |   6 +-
 pkg/client/dubbo/mapper_test.go                    |   4 +-
 pkg/client/dubbo/option.go                         |   3 +-
 pkg/client/http/http.go                            |  11 +-
 pkg/client/http/http_test.go                       |   4 +-
 pkg/client/http/mapper.go                          |   9 +-
 pkg/client/http/mapper_test.go                     |   6 +-
 pkg/client/http/response.go                        |  10 +-
 pkg/client/mapper.go                               |   2 +-
 pkg/common/constant/filter.go                      |   2 +-
 pkg/common/extension/discovery_service.go          |   6 +-
 pkg/common/extension/filter.go                     |   4 +-
 pkg/common/yaml/yaml.go                            |   2 +-
 pkg/config/api_config.go                           |  12 +-
 pkg/config/api_config_test.go                      |   2 +-
 pkg/config/config_load.go                          |   5 +-
 pkg/config/config_load_test.go                     |   2 +-
 pkg/context/base_context.go                        |   3 +-
 pkg/context/http/context.go                        |  10 +-
 pkg/context/http/context_test.go                   |  10 +-
 pkg/context/http/util.go                           |   4 +-
 pkg/context/http/writer.go                         |   2 +-
 pkg/context/mock/context.go                        |   4 +-
 pkg/filter/accesslog/access_log.go                 |  12 +-
 pkg/filter/accesslog/access_log_test.go            |   8 +-
 pkg/filter/api/api.go                              |   4 +-
 pkg/filter/authority/authority.go                  |  11 +-
 pkg/filter/header/header.go                        |   6 +-
 pkg/filter/host/host.go                            |   2 +-
 pkg/filter/host/host_test.go                       |   4 +-
 pkg/filter/logger/logger.go                        |   9 +-
 pkg/filter/plugins/plugins.go                      |   9 +-
 pkg/filter/plugins/plugins_test.go                 |   6 +-
 pkg/filter/recovery/recovery.go                    |   9 +-
 pkg/filter/recovery/recovery_test.go               |   2 +-
 pkg/filter/remote/call.go                          |  15 ++-
 pkg/filter/replacepath/replace_path.go             |   4 +-
 pkg/filter/replacepath/replace_place_test.go       |   4 +-
 pkg/filter/response/response.go                    |  15 ++-
 pkg/filter/response/response_test.go               |   2 +-
 pkg/filter/timeout/timeout.go                      |  10 +-
 pkg/filter/timeout/timeout_test.go                 |   4 +-
 pkg/initialize/init.go                             |  16 +--
 pkg/logger/logger.go                               |   6 +-
 pkg/model/authority.go                             |   8 +-
 pkg/model/base.go                                  |   3 +-
 pkg/model/bootstrap.go                             |   3 +-
 pkg/model/cluster.go                               |   2 +-
 pkg/model/health.go                                |   3 +-
 pkg/model/log.go                                   |   4 +-
 pkg/model/router.go                                |   2 +-
 pkg/pixiu/http.go                                  |   4 +-
 pkg/pixiu/listener.go                              |  22 ++--
 pkg/pixiu/listener_test.go                         |  14 +--
 pkg/pixiu/pixiu_start.go                           |  16 +--
 pkg/pool/pool.go                                   |   8 +-
 pkg/registry/consul.go                             |   6 +-
 pkg/registry/util.go                               |   2 +-
 pkg/registry/zookeeper.go                          |   2 +-
 pkg/remoting/etcd3/client.go                       |   2 +-
 pkg/remoting/etcd3/client_test.go                  |  15 ---
 pkg/router/api.go                                  |   2 +-
 pkg/router/route.go                                |   2 +-
 pkg/router/route_test.go                           |   3 +-
 pkg/service/api/discovery_service.go               |  12 +-
 pkg/service/api/discovery_service_test.go          |   8 +-
 pkg/service/discovery_service.go                   |   2 +-
 samples/admin/server/app/server.go                 |   4 +-
 samples/admin/server/app/user.go                   |   3 +-
 samples/admin/server/app/version.go                |   6 +-
 samples/admin/server/config/server.yml             |   5 +-
 samples/dubbogo/http/server/app/server.go          |   4 +-
 samples/dubbogo/http/server/app/user.go            |   3 +-
 samples/dubbogo/http/server/app/version.go         |   6 +-
 .../dubbogo/http/server/profiles/dev/server.yml    |   5 +-
 .../http/server/profiles/release/server.yml        |   5 +-
 .../http/server/profiles/test}/log.yml             |   4 +-
 .../http/server/profiles/{dev => test}/server.yml  |   5 +-
 samples/dubbogo/multi/server/app/server.go         |   4 +-
 samples/dubbogo/multi/server/app/student.go        |   3 +-
 samples/dubbogo/multi/server/app/teacher.go        |   3 +-
 samples/dubbogo/multi/server/app/version.go        |   6 +-
 .../dubbogo/multi/server/profiles/dev/server.yml   |   4 +-
 .../multi/server/profiles/release/server.yml       |   4 +-
 .../dev => multi/server/profiles/test}/log.yml     |   0
 .../server/profiles/{release => test}/server.yml   |   4 +-
 samples/dubbogo/simple/server/app/server.go        |   4 +-
 samples/dubbogo/simple/server/app/user.go          |   3 +-
 samples/dubbogo/simple/server/app/version.go       |   6 +-
 .../dubbogo/simple/server/profiles/dev/server.yml  |   2 +-
 .../simple/server/profiles/release/server.yml      |   2 +-
 .../simple/server/profiles/test}/log.yml           |   4 +-
 .../server/profiles/{release => test}/server.yml   |   5 +-
 samples/http/server/app/server.go                  |   4 +-
 samples/plugins/plugin/access.go                   |   3 +-
 samples/plugins/plugin/rate_limit.go               |   3 +-
 samples/plugins/plugin/trace.go                    |   3 +-
 125 files changed, 589 insertions(+), 370 deletions(-)
 create mode 100644 .asf.yaml
 create mode 160000 .github/actions/actions-ding
 create mode 160000 .github/actions/review-dog
 copy pkg/common/yaml/testdata/config.yml => .github/workflows/reviewdog.yml (63%)
 create mode 100644 .gitmodules
 create mode 100644 NOTICE
 create mode 100644 docs/images/dubbogo-dingding.png
 create mode 100644 docs/images/dubbogo-wechat.png
 create mode 100644 docs/images/pixiu-log.jpg
 copy samples/{admin/server/config => dubbogo/http/server/profiles/test}/log.yml (96%)
 copy samples/dubbogo/http/server/profiles/{dev => test}/server.yml (90%)
 copy samples/dubbogo/{simple/server/profiles/dev => multi/server/profiles/test}/log.yml (100%)
 copy samples/dubbogo/multi/server/profiles/{release => test}/server.yml (94%)
 copy samples/{admin/server/config => dubbogo/simple/server/profiles/test}/log.yml (96%)
 copy samples/dubbogo/simple/server/profiles/{release => test}/server.yml (94%)

[dubbo-go-pixiu] 01/01: Add license-eye to check and fix license headers

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch license-eye
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git

commit 6e39b71f71569de0e94f5b152d4254fee4d757ac
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue May 11 21:24:10 2021 +0800

    Add license-eye to check and fix license headers
---
 .github/auto-comment.yml                           | 18 +++++++++++++
 .github/workflows/github-actions.yml               | 30 +++++++++++++++++-----
 .github/workflows/reviewdog.yml                    | 18 +++++++++++++
 .travis.yml                                        | 18 +++++++++++++
 Makefile                                           | 19 ++++++++++++++
 configs/admin_config.yaml                          | 18 +++++++++++++
 configs/api_config.yaml                            | 18 +++++++++++++
 configs/conf.yaml                                  | 18 +++++++++++++
 configs/log.yml                                    | 19 +++++++++++++-
 docs/sample/dubbo_sample_startup.sh                | 18 +++++++++++++
 docs/sample/http_sample_startup.sh                 | 18 +++++++++++++
 pkg/common/yaml/testdata/config.yml                | 19 +++++++++++++-
 pkg/config/conf_test.yaml                          | 18 +++++++++++++
 pkg/config/mock/api_config.yml                     | 18 +++++++++++++
 pkg/logger/log.yml                                 | 19 +++++++++++++-
 samples/admin/admin/admin_config.yaml              | 18 +++++++++++++
 samples/admin/proxy/api_config.yaml                | 18 +++++++++++++
 samples/admin/proxy/conf.yaml                      | 18 +++++++++++++
 samples/admin/server/config/log.yml                | 18 +++++++++++++
 samples/admin/server/config/server.yml             | 18 +++++++++++++
 samples/dubbogo/http/pixiu/api_config.yaml         | 18 +++++++++++++
 samples/dubbogo/http/pixiu/conf.yaml               | 18 +++++++++++++
 samples/dubbogo/http/server/profiles/dev/log.yml   | 18 +++++++++++++
 .../dubbogo/http/server/profiles/dev/server.yml    | 18 +++++++++++++
 .../dubbogo/http/server/profiles/release/log.yml   | 18 +++++++++++++
 .../http/server/profiles/release/server.yml        | 18 +++++++++++++
 samples/dubbogo/http/server/profiles/test/log.yml  | 18 +++++++++++++
 .../dubbogo/http/server/profiles/test/server.yml   | 18 +++++++++++++
 samples/dubbogo/multi/apiconfig/api_config.yaml    | 18 +++++++++++++
 samples/dubbogo/multi/config/conf.yaml             | 18 +++++++++++++
 samples/dubbogo/multi/server/profiles/dev/log.yml  | 18 +++++++++++++
 .../dubbogo/multi/server/profiles/dev/server.yml   | 18 +++++++++++++
 .../dubbogo/multi/server/profiles/release/log.yml  | 18 +++++++++++++
 .../multi/server/profiles/release/server.yml       | 18 +++++++++++++
 samples/dubbogo/multi/server/profiles/test/log.yml | 18 +++++++++++++
 .../dubbogo/multi/server/profiles/test/server.yml  | 18 +++++++++++++
 samples/dubbogo/simple/body/api_config.yaml        | 18 +++++++++++++
 samples/dubbogo/simple/body/conf.yaml              | 18 +++++++++++++
 samples/dubbogo/simple/body/request.sh             | 18 +++++++++++++
 samples/dubbogo/simple/mix/api_config.yaml         | 18 +++++++++++++
 samples/dubbogo/simple/mix/conf.yaml               | 18 +++++++++++++
 samples/dubbogo/simple/mix/request.sh              | 18 +++++++++++++
 samples/dubbogo/simple/proxy/api_config.yaml       | 18 +++++++++++++
 samples/dubbogo/simple/proxy/conf.yaml             | 18 +++++++++++++
 samples/dubbogo/simple/proxy/request.sh            | 18 +++++++++++++
 samples/dubbogo/simple/query/api_config.yaml       | 18 +++++++++++++
 samples/dubbogo/simple/query/conf.yaml             | 18 +++++++++++++
 samples/dubbogo/simple/query/request.sh            | 18 +++++++++++++
 samples/dubbogo/simple/server/profiles/dev/log.yml | 18 +++++++++++++
 .../dubbogo/simple/server/profiles/dev/server.yml  | 18 +++++++++++++
 .../dubbogo/simple/server/profiles/release/log.yml | 18 +++++++++++++
 .../simple/server/profiles/release/server.yml      | 18 +++++++++++++
 .../dubbogo/simple/server/profiles/test/log.yml    | 18 +++++++++++++
 .../dubbogo/simple/server/profiles/test/server.yml | 18 +++++++++++++
 samples/dubbogo/simple/start.sh                    | 18 +++++++++++++
 samples/dubbogo/simple/uri/api_config.yaml         | 18 +++++++++++++
 samples/dubbogo/simple/uri/conf.yaml               | 18 +++++++++++++
 samples/dubbogo/simple/uri/request.sh              | 18 +++++++++++++
 samples/plugins/Dockerfile                         | 18 +++++++++++++
 samples/plugins/config/api_config.yaml             | 18 +++++++++++++
 samples/plugins/config/conf.yaml                   | 18 +++++++++++++
 samples/plugins/start.sh                           | 18 +++++++++++++
 start.sh                                           | 18 +++++++++++++
 63 files changed, 1140 insertions(+), 10 deletions(-)

diff --git a/.github/auto-comment.yml b/.github/auto-comment.yml
index 6d6f710..396e34a 100644
--- a/.github/auto-comment.yml
+++ b/.github/auto-comment.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 # Comment to a new issue.
 issueOpened: >
   Thank your for raising a issue. We will try and get back to you as soon as possible.
diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml
index 1783b8c..8b64eb0 100644
--- a/.github/workflows/github-actions.yml
+++ b/.github/workflows/github-actions.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: CI
 
 on:
@@ -37,6 +55,11 @@ jobs:
       - name: Check out code into the Go module directory
         uses: actions/checkout@v2
 
+      - name: Check License Header
+        uses: apache/skywalking-eyes@main
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
       - name: Cache dependencies
         uses: actions/cache@v2
         with:
@@ -60,13 +83,6 @@ jobs:
       - name: Go Fmt
         run: go fmt ./... && [[ -z `git status -s` ]]
 
-      - name: License Check
-        run: |
-          go fmt ./... && [[ -z `git status -s` ]]
-          sh before_validate_license.sh
-          chmod u+x /tmp/tools/license/license-header-checker
-          /tmp/tools/license/license-header-checker -v -a -r -i vendor  /tmp/tools/license/license.txt . go  && [[ -z `git status -s` ]]
-
       - name: Install go ci lint
         run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0
 
diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml
index 7d6a837..428db72 100644
--- a/.github/workflows/reviewdog.yml
+++ b/.github/workflows/reviewdog.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: reviewdog
 on: [pull_request]
 jobs:
diff --git a/.travis.yml b/.travis.yml
index 9daa314..2fbb7a8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 language: go
 
 go:
diff --git a/Makefile b/Makefile
index eade0fd..50d327d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
 cur_mkfile := $(abspath $(lastword $(MAKEFILE_LIST)))
 currentPath := $(patsubst %/, %, $(dir $(cur_mkfile)))
 $(info cur_makefile_path1=$(currentPath))
diff --git a/configs/admin_config.yaml b/configs/admin_config.yaml
index 91f5b95..8972366 100644
--- a/configs/admin_config.yaml
+++ b/configs/admin_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 server:
   address: 127.0.0.1:8080
 etcd:
diff --git a/configs/api_config.yaml b/configs/api_config.yaml
index 433fa40..7a742db 100644
--- a/configs/api_config.yaml
+++ b/configs/api_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: pixiu
 description: pixiu sample
 resources:
diff --git a/configs/conf.yaml b/configs/conf.yaml
index 2248854..3ef86e8 100644
--- a/configs/conf.yaml
+++ b/configs/conf.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/configs/log.yml b/configs/log.yml
index 3ed242d..9330cda 100644
--- a/configs/log.yml
+++ b/configs/log.yml
@@ -1,4 +1,21 @@
-
+#
+# 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.
+#
 level: "debug"
 development: true
 disableCaller: false
diff --git a/docs/sample/dubbo_sample_startup.sh b/docs/sample/dubbo_sample_startup.sh
index 08f2754..f7c7f92 100755
--- a/docs/sample/dubbo_sample_startup.sh
+++ b/docs/sample/dubbo_sample_startup.sh
@@ -1,4 +1,22 @@
 #!/bin/sh
+#
+# 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.
+#
 if [ "$1" != "skip_zookeeper" ]; then
   zookeeper_container_id=$(docker ps | grep zookeeper | head -n 1 | awk '{print  $1}')
   if [ -n "$zookeeper_container_id" ]; then
diff --git a/docs/sample/http_sample_startup.sh b/docs/sample/http_sample_startup.sh
index 0100e4e..3f100a2 100644
--- a/docs/sample/http_sample_startup.sh
+++ b/docs/sample/http_sample_startup.sh
@@ -1,4 +1,22 @@
 #!/bin/sh
+#
+# 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.
+#
 if [ "$1" != "skip_zookeeper" ]; then
   zookeeper_container_id=$(docker ps | grep zookeeper | head -n 1 | awk '{print  $1}')
   if [ -n "$zookeeper_container_id" ]; then
diff --git a/pkg/common/yaml/testdata/config.yml b/pkg/common/yaml/testdata/config.yml
index b5c2ca8..f43b686 100644
--- a/pkg/common/yaml/testdata/config.yml
+++ b/pkg/common/yaml/testdata/config.yml
@@ -1,4 +1,21 @@
-
+#
+# 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.
+#
 intTest: 11
 booleanTest: false
 strTest: "strTest"
diff --git a/pkg/config/conf_test.yaml b/pkg/config/conf_test.yaml
index 2a18c07..12515f5 100644
--- a/pkg/config/conf_test.yaml
+++ b/pkg/config/conf_test.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/pkg/config/mock/api_config.yml b/pkg/config/mock/api_config.yml
index 382a9ef..cf0546c 100644
--- a/pkg/config/mock/api_config.yml
+++ b/pkg/config/mock/api_config.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: api name
 description: api description
 resources:
diff --git a/pkg/logger/log.yml b/pkg/logger/log.yml
index 3ed242d..9330cda 100644
--- a/pkg/logger/log.yml
+++ b/pkg/logger/log.yml
@@ -1,4 +1,21 @@
-
+#
+# 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.
+#
 level: "debug"
 development: true
 disableCaller: false
diff --git a/samples/admin/admin/admin_config.yaml b/samples/admin/admin/admin_config.yaml
index a4e15bc..a7a5348 100644
--- a/samples/admin/admin/admin_config.yaml
+++ b/samples/admin/admin/admin_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 server:
   address: 127.0.0.1:8080
 etcd:
diff --git a/samples/admin/proxy/api_config.yaml b/samples/admin/proxy/api_config.yaml
index 2e72f85..cd81c1e 100644
--- a/samples/admin/proxy/api_config.yaml
+++ b/samples/admin/proxy/api_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: pixiu
 description: pixiu sample
 resources:
diff --git a/samples/admin/proxy/conf.yaml b/samples/admin/proxy/conf.yaml
index 1739dc9..b18a5e0 100644
--- a/samples/admin/proxy/conf.yaml
+++ b/samples/admin/proxy/conf.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/samples/admin/server/config/log.yml b/samples/admin/server/config/log.yml
index 47f9e60..a92b3a2 100644
--- a/samples/admin/server/config/log.yml
+++ b/samples/admin/server/config/log.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 level: "info"
 development: true
 disableCaller: false
diff --git a/samples/admin/server/config/server.yml b/samples/admin/server/config/server.yml
index b882ce8..d8010e9 100644
--- a/samples/admin/server/config/server.yml
+++ b/samples/admin/server/config/server.yml
@@ -1,3 +1,21 @@
+#
+# 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 server yaml configure file
 
 
diff --git a/samples/dubbogo/http/pixiu/api_config.yaml b/samples/dubbogo/http/pixiu/api_config.yaml
index a9e12e3..eafc34e 100644
--- a/samples/dubbogo/http/pixiu/api_config.yaml
+++ b/samples/dubbogo/http/pixiu/api_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: pixiu
 description: pixiu sample
 resources:
diff --git a/samples/dubbogo/http/pixiu/conf.yaml b/samples/dubbogo/http/pixiu/conf.yaml
index ba3b141..6f353a8 100644
--- a/samples/dubbogo/http/pixiu/conf.yaml
+++ b/samples/dubbogo/http/pixiu/conf.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/samples/dubbogo/http/server/profiles/dev/log.yml b/samples/dubbogo/http/server/profiles/dev/log.yml
index de4613c..9330cda 100644
--- a/samples/dubbogo/http/server/profiles/dev/log.yml
+++ b/samples/dubbogo/http/server/profiles/dev/log.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 level: "debug"
 development: true
 disableCaller: false
diff --git a/samples/dubbogo/http/server/profiles/dev/server.yml b/samples/dubbogo/http/server/profiles/dev/server.yml
index 39edd07..c2fab18 100644
--- a/samples/dubbogo/http/server/profiles/dev/server.yml
+++ b/samples/dubbogo/http/server/profiles/dev/server.yml
@@ -1,3 +1,21 @@
+#
+# 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 server yaml configure file
 # application config
 application:
diff --git a/samples/dubbogo/http/server/profiles/release/log.yml b/samples/dubbogo/http/server/profiles/release/log.yml
index 5388f76..e2835d8 100644
--- a/samples/dubbogo/http/server/profiles/release/log.yml
+++ b/samples/dubbogo/http/server/profiles/release/log.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 level: "warn"
 development: true
 disableCaller: true
diff --git a/samples/dubbogo/http/server/profiles/release/server.yml b/samples/dubbogo/http/server/profiles/release/server.yml
index 39edd07..c2fab18 100644
--- a/samples/dubbogo/http/server/profiles/release/server.yml
+++ b/samples/dubbogo/http/server/profiles/release/server.yml
@@ -1,3 +1,21 @@
+#
+# 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 server yaml configure file
 # application config
 application:
diff --git a/samples/dubbogo/http/server/profiles/test/log.yml b/samples/dubbogo/http/server/profiles/test/log.yml
index 716e2fb..26d0a76 100644
--- a/samples/dubbogo/http/server/profiles/test/log.yml
+++ b/samples/dubbogo/http/server/profiles/test/log.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 level: "info"
 development: false
 disableCaller: false
diff --git a/samples/dubbogo/http/server/profiles/test/server.yml b/samples/dubbogo/http/server/profiles/test/server.yml
index 39edd07..c2fab18 100644
--- a/samples/dubbogo/http/server/profiles/test/server.yml
+++ b/samples/dubbogo/http/server/profiles/test/server.yml
@@ -1,3 +1,21 @@
+#
+# 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 server yaml configure file
 # application config
 application:
diff --git a/samples/dubbogo/multi/apiconfig/api_config.yaml b/samples/dubbogo/multi/apiconfig/api_config.yaml
index b26ae3d..4ce16ef 100644
--- a/samples/dubbogo/multi/apiconfig/api_config.yaml
+++ b/samples/dubbogo/multi/apiconfig/api_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: pixiu
 description: pixiu sample
 resources:
diff --git a/samples/dubbogo/multi/config/conf.yaml b/samples/dubbogo/multi/config/conf.yaml
index 4f53af5..5691e98 100644
--- a/samples/dubbogo/multi/config/conf.yaml
+++ b/samples/dubbogo/multi/config/conf.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/samples/dubbogo/multi/server/profiles/dev/log.yml b/samples/dubbogo/multi/server/profiles/dev/log.yml
index de4613c..9330cda 100644
--- a/samples/dubbogo/multi/server/profiles/dev/log.yml
+++ b/samples/dubbogo/multi/server/profiles/dev/log.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 level: "debug"
 development: true
 disableCaller: false
diff --git a/samples/dubbogo/multi/server/profiles/dev/server.yml b/samples/dubbogo/multi/server/profiles/dev/server.yml
index a805338..e0d6d80 100644
--- a/samples/dubbogo/multi/server/profiles/dev/server.yml
+++ b/samples/dubbogo/multi/server/profiles/dev/server.yml
@@ -1,3 +1,21 @@
+#
+# 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 server yaml configure file
 # application config
 application:
diff --git a/samples/dubbogo/multi/server/profiles/release/log.yml b/samples/dubbogo/multi/server/profiles/release/log.yml
index de4613c..9330cda 100644
--- a/samples/dubbogo/multi/server/profiles/release/log.yml
+++ b/samples/dubbogo/multi/server/profiles/release/log.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 level: "debug"
 development: true
 disableCaller: false
diff --git a/samples/dubbogo/multi/server/profiles/release/server.yml b/samples/dubbogo/multi/server/profiles/release/server.yml
index a805338..e0d6d80 100644
--- a/samples/dubbogo/multi/server/profiles/release/server.yml
+++ b/samples/dubbogo/multi/server/profiles/release/server.yml
@@ -1,3 +1,21 @@
+#
+# 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 server yaml configure file
 # application config
 application:
diff --git a/samples/dubbogo/multi/server/profiles/test/log.yml b/samples/dubbogo/multi/server/profiles/test/log.yml
index de4613c..9330cda 100644
--- a/samples/dubbogo/multi/server/profiles/test/log.yml
+++ b/samples/dubbogo/multi/server/profiles/test/log.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 level: "debug"
 development: true
 disableCaller: false
diff --git a/samples/dubbogo/multi/server/profiles/test/server.yml b/samples/dubbogo/multi/server/profiles/test/server.yml
index a805338..e0d6d80 100644
--- a/samples/dubbogo/multi/server/profiles/test/server.yml
+++ b/samples/dubbogo/multi/server/profiles/test/server.yml
@@ -1,3 +1,21 @@
+#
+# 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 server yaml configure file
 # application config
 application:
diff --git a/samples/dubbogo/simple/body/api_config.yaml b/samples/dubbogo/simple/body/api_config.yaml
index 718d75d..7ea3b59 100644
--- a/samples/dubbogo/simple/body/api_config.yaml
+++ b/samples/dubbogo/simple/body/api_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: pixiu
 description: pixiu sample
 resources:
diff --git a/samples/dubbogo/simple/body/conf.yaml b/samples/dubbogo/simple/body/conf.yaml
index 2c83e96..beb8e64 100644
--- a/samples/dubbogo/simple/body/conf.yaml
+++ b/samples/dubbogo/simple/body/conf.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/samples/dubbogo/simple/body/request.sh b/samples/dubbogo/simple/body/request.sh
index b033379..e930a58 100644
--- a/samples/dubbogo/simple/body/request.sh
+++ b/samples/dubbogo/simple/body/request.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ADDRESS="localhost:8881"
 
 API1=$(curl -s -X POST ${ADDRESS}"/api/v1/test-dubbo/user" -d '{"id":"0003","code":3,"name":"dubbogo","age":99}' --header 'Content-Type: application/json')
diff --git a/samples/dubbogo/simple/mix/api_config.yaml b/samples/dubbogo/simple/mix/api_config.yaml
index 5243082..7434baa 100644
--- a/samples/dubbogo/simple/mix/api_config.yaml
+++ b/samples/dubbogo/simple/mix/api_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: pixiu
 description: pixiu sample
 resources:
diff --git a/samples/dubbogo/simple/mix/conf.yaml b/samples/dubbogo/simple/mix/conf.yaml
index ac0da43..7f98a78 100644
--- a/samples/dubbogo/simple/mix/conf.yaml
+++ b/samples/dubbogo/simple/mix/conf.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/samples/dubbogo/simple/mix/request.sh b/samples/dubbogo/simple/mix/request.sh
index 7ed9ecb..003d634 100644
--- a/samples/dubbogo/simple/mix/request.sh
+++ b/samples/dubbogo/simple/mix/request.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ADDRESS="localhost:8882"
 
 API1=$(curl -s -X GET ${ADDRESS}"/api/v1/test-dubbo/user/tc?age=99")
diff --git a/samples/dubbogo/simple/proxy/api_config.yaml b/samples/dubbogo/simple/proxy/api_config.yaml
index 9fc37bc..de29ca6 100644
--- a/samples/dubbogo/simple/proxy/api_config.yaml
+++ b/samples/dubbogo/simple/proxy/api_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: pixiu
 description: pixiu sample
 resources:
diff --git a/samples/dubbogo/simple/proxy/conf.yaml b/samples/dubbogo/simple/proxy/conf.yaml
index 9d96a09..010769f 100644
--- a/samples/dubbogo/simple/proxy/conf.yaml
+++ b/samples/dubbogo/simple/proxy/conf.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/samples/dubbogo/simple/proxy/request.sh b/samples/dubbogo/simple/proxy/request.sh
index d142c2f..d4f9b0d 100644
--- a/samples/dubbogo/simple/proxy/request.sh
+++ b/samples/dubbogo/simple/proxy/request.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ADDRESS="localhost:8883"
 
 API1=$(curl -s -X POST ${ADDRESS}"/api/v1/test-dubbo/UserService/com.dubbogo.pixiu.UserService?group=test&version=1.0.0&method=GetUserByName" -d '{"types":["string"],"values":"tc"}' --header 'Content-Type: application/json')
diff --git a/samples/dubbogo/simple/query/api_config.yaml b/samples/dubbogo/simple/query/api_config.yaml
index 5273977..9a7ade8 100644
--- a/samples/dubbogo/simple/query/api_config.yaml
+++ b/samples/dubbogo/simple/query/api_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: pixiu
 description: pixiu sample
 resources:
diff --git a/samples/dubbogo/simple/query/conf.yaml b/samples/dubbogo/simple/query/conf.yaml
index 61865f9..6631744 100644
--- a/samples/dubbogo/simple/query/conf.yaml
+++ b/samples/dubbogo/simple/query/conf.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/samples/dubbogo/simple/query/request.sh b/samples/dubbogo/simple/query/request.sh
index c303499..e0abe10 100644
--- a/samples/dubbogo/simple/query/request.sh
+++ b/samples/dubbogo/simple/query/request.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ADDRESS="localhost:8884"
 
 API1=$(curl -s -X GET ${ADDRESS}"/api/v1/test-dubbo/userByName?name=tc")
diff --git a/samples/dubbogo/simple/server/profiles/dev/log.yml b/samples/dubbogo/simple/server/profiles/dev/log.yml
index de4613c..9330cda 100644
--- a/samples/dubbogo/simple/server/profiles/dev/log.yml
+++ b/samples/dubbogo/simple/server/profiles/dev/log.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 level: "debug"
 development: true
 disableCaller: false
diff --git a/samples/dubbogo/simple/server/profiles/dev/server.yml b/samples/dubbogo/simple/server/profiles/dev/server.yml
index 744bca6..66d8f94 100644
--- a/samples/dubbogo/simple/server/profiles/dev/server.yml
+++ b/samples/dubbogo/simple/server/profiles/dev/server.yml
@@ -1,3 +1,21 @@
+#
+# 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 server yaml configure file
 # application config
 application:
diff --git a/samples/dubbogo/simple/server/profiles/release/log.yml b/samples/dubbogo/simple/server/profiles/release/log.yml
index 5388f76..e2835d8 100644
--- a/samples/dubbogo/simple/server/profiles/release/log.yml
+++ b/samples/dubbogo/simple/server/profiles/release/log.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 level: "warn"
 development: true
 disableCaller: true
diff --git a/samples/dubbogo/simple/server/profiles/release/server.yml b/samples/dubbogo/simple/server/profiles/release/server.yml
index c16b2b6..e4ebf01 100644
--- a/samples/dubbogo/simple/server/profiles/release/server.yml
+++ b/samples/dubbogo/simple/server/profiles/release/server.yml
@@ -1,3 +1,21 @@
+#
+# 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 server yaml configure file
 
 
diff --git a/samples/dubbogo/simple/server/profiles/test/log.yml b/samples/dubbogo/simple/server/profiles/test/log.yml
index 716e2fb..26d0a76 100644
--- a/samples/dubbogo/simple/server/profiles/test/log.yml
+++ b/samples/dubbogo/simple/server/profiles/test/log.yml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 level: "info"
 development: false
 disableCaller: false
diff --git a/samples/dubbogo/simple/server/profiles/test/server.yml b/samples/dubbogo/simple/server/profiles/test/server.yml
index 824caa3..cba0212 100644
--- a/samples/dubbogo/simple/server/profiles/test/server.yml
+++ b/samples/dubbogo/simple/server/profiles/test/server.yml
@@ -1,3 +1,21 @@
+#
+# 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 server yaml configure file
 
 
diff --git a/samples/dubbogo/simple/start.sh b/samples/dubbogo/simple/start.sh
index 18d43db..2bafa5b 100755
--- a/samples/dubbogo/simple/start.sh
+++ b/samples/dubbogo/simple/start.sh
@@ -1,4 +1,22 @@
 #!/bin/bash -x
+#
+# 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.
+#
 
 DIR=$(cd $(dirname $0) && pwd )
 
diff --git a/samples/dubbogo/simple/uri/api_config.yaml b/samples/dubbogo/simple/uri/api_config.yaml
index d578cec..ebcf28b 100644
--- a/samples/dubbogo/simple/uri/api_config.yaml
+++ b/samples/dubbogo/simple/uri/api_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: pixiu
 description: pixiu sample
 resources:
diff --git a/samples/dubbogo/simple/uri/conf.yaml b/samples/dubbogo/simple/uri/conf.yaml
index 5565ea7..2067be4 100644
--- a/samples/dubbogo/simple/uri/conf.yaml
+++ b/samples/dubbogo/simple/uri/conf.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/samples/dubbogo/simple/uri/request.sh b/samples/dubbogo/simple/uri/request.sh
index ca4f55c..4f0029e 100644
--- a/samples/dubbogo/simple/uri/request.sh
+++ b/samples/dubbogo/simple/uri/request.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ADDRESS="localhost:8885"
 
 API1=$(curl -s -X GET ${ADDRESS}"/api/v1/test-dubbo/user/name/tc")
diff --git a/samples/plugins/Dockerfile b/samples/plugins/Dockerfile
index 276649f..8fafc37 100644
--- a/samples/plugins/Dockerfile
+++ b/samples/plugins/Dockerfile
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 FROM golang:1.14
 
 ENV HOME /go/src
diff --git a/samples/plugins/config/api_config.yaml b/samples/plugins/config/api_config.yaml
index 158c176..5d3ca1a 100644
--- a/samples/plugins/config/api_config.yaml
+++ b/samples/plugins/config/api_config.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 name: pixiu
 description: pixiu sample
 resources:
diff --git a/samples/plugins/config/conf.yaml b/samples/plugins/config/conf.yaml
index 5286094..bde9d5f 100644
--- a/samples/plugins/config/conf.yaml
+++ b/samples/plugins/config/conf.yaml
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 ---
 static_resources:
   listeners:
diff --git a/samples/plugins/start.sh b/samples/plugins/start.sh
index c7f1cda..a413f24 100644
--- a/samples/plugins/start.sh
+++ b/samples/plugins/start.sh
@@ -1,4 +1,22 @@
 #!/usr/bin/env sh
+#
+# 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.
+#
 DIR=$(cd "$(dirname "$0")" && pwd)
 echo "$DIR"
 
diff --git a/start.sh b/start.sh
index 56b0db4..af254e0 100755
--- a/start.sh
+++ b/start.sh
@@ -1,4 +1,22 @@
 #! /bin/bash
+#
+# 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.
+#
 
 args=$1