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

laiyingchun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/master by this push:
     new c4247eeb chore: Add license header check action (#943)
c4247eeb is described below

commit c4247eeb5f13019252d856826f7b0f28bfe20a2f
Author: Yingchun Lai <[email protected]>
AuthorDate: Thu Apr 14 20:33:58 2022 +0800

    chore: Add license header check action (#943)
---
 .github/ISSUE_TEMPLATE/bug_report.md               | 19 +++++++++++
 .github/ISSUE_TEMPLATE/feature-request.md          | 19 +++++++++++
 .github/ISSUE_TEMPLATE/general_question.md         | 19 +++++++++++
 .github/pull_request_template.md                   | 19 +++++++++++
 .github/workflows/check_license_header.yaml        | 39 ++++++++++++++++++++++
 .../workflows/ci-pull-request-markdown-links.yaml  | 17 ++++++++++
 .github/workflows/ci-pull-request-title.yaml       | 17 ++++++++++
 .github/workflows/ci-pull-request.yaml             | 17 ++++++++++
 .gitignore                                         | 17 ++++++++++
 .gitmodules                                        | 17 ++++++++++
 .licenserc.yaml                                    | 39 ++++++++++++++++++++++
 README.md                                          | 19 +++++++++++
 rfcs/2020-08-27-metric-api.md                      | 19 +++++++++++
 rfcs/2020-10-09-data-version-v3.md                 | 19 +++++++++++
 rfcs/2020-12-15-meta-proxy.md                      | 19 +++++++++++
 rfcs/2021-02-22-disk-migrator.md                   | 19 +++++++++++
 rfcs/2021-05-27-user-specified-compaction.md       | 19 +++++++++++
 src/base/test/config.ini                           | 16 +++++++++
 src/geo/bench/config.ini                           | 16 +++++++++
 src/geo/test/config.ini                            | 16 +++++++++
 src/redis_protocol/proxy/config.ini                | 16 +++++++++
 src/redis_protocol/proxy_ut/config.ini             | 16 +++++++++
 src/sample/README                                  | 13 --------
 src/sample/README.md                               | 32 ++++++++++++++++++
 src/sample/config.ini                              | 16 +++++++++
 src/server/config.ini                              | 16 +++++++++
 src/server/config.min.ini                          | 16 +++++++++
 src/server/test/config.ini                         | 16 +++++++++
 src/shell/config.ini                               | 16 +++++++++
 src/test/bench_test/config.ini                     | 16 +++++++++
 src/test/function_test/config.ini                  | 16 +++++++++
 src/test/kill_test/config.ini                      | 16 +++++++++
 src/test/pressure_test/config-pressure.ini         | 16 +++++++++
 src/test/upgrade_test/config.ini                   | 16 +++++++++
 34 files changed, 625 insertions(+), 13 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/bug_report.md 
b/.github/ISSUE_TEMPLATE/bug_report.md
index a07df53e..b150bc0e 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -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.
+-->
+
 ---
 name: Bug report
 about: Something isn't working as expected.
diff --git a/.github/ISSUE_TEMPLATE/feature-request.md 
b/.github/ISSUE_TEMPLATE/feature-request.md
index d8b5e5b0..b10ee349 100644
--- a/.github/ISSUE_TEMPLATE/feature-request.md
+++ b/.github/ISSUE_TEMPLATE/feature-request.md
@@ -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.
+-->
+
 ---
 name: "\U0001F680 Feature Request"
 about: I have a suggestion
diff --git a/.github/ISSUE_TEMPLATE/general_question.md 
b/.github/ISSUE_TEMPLATE/general_question.md
index fde63958..d65b559c 100644
--- a/.github/ISSUE_TEMPLATE/general_question.md
+++ b/.github/ISSUE_TEMPLATE/general_question.md
@@ -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.
+-->
+
 ---
 name: "\U0001F914 General Question"
 about: General question that isn't answered in docs
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index f061b782..63bf8436 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -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.
+-->
+
 ### What problem does this PR solve? <!--add issue link with summary if 
exists-->
 
 
diff --git a/.github/workflows/check_license_header.yaml 
b/.github/workflows/check_license_header.yaml
new file mode 100644
index 00000000..b22c9c25
--- /dev/null
+++ b/.github/workflows/check_license_header.yaml
@@ -0,0 +1,39 @@
+# 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: License Check
+on:
+  pull_request:
+  push:
+    branches:
+      - master
+jobs:
+  license-check:
+    name: "License Check"
+    runs-on: ubuntu-latest
+    steps:
+      - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
+        uses: actions/checkout@v2
+      - name: Check License Header
+        uses: apache/[email protected]
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # needed only when you 
want License-Eye to comment on the pull request.
+        # with:
+            # Optional: set the log level. The default value is `info`.
+            # log: debug
+            # Optional: set the config file. The default value is 
`.licenserc.yaml`.
+            # config: .licenserc.yaml
diff --git a/.github/workflows/ci-pull-request-markdown-links.yaml 
b/.github/workflows/ci-pull-request-markdown-links.yaml
index 4e2fae9d..77bba5f6 100644
--- a/.github/workflows/ci-pull-request-markdown-links.yaml
+++ b/.github/workflows/ci-pull-request-markdown-links.yaml
@@ -1,3 +1,20 @@
+# 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: Check Markdown links
 
 on:
diff --git a/.github/workflows/ci-pull-request-title.yaml 
b/.github/workflows/ci-pull-request-title.yaml
index db323f1b..b19031ac 100644
--- a/.github/workflows/ci-pull-request-title.yaml
+++ b/.github/workflows/ci-pull-request-title.yaml
@@ -1,3 +1,20 @@
+# 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: "Lint PR title"
 on:
   pull_request_target:
diff --git a/.github/workflows/ci-pull-request.yaml 
b/.github/workflows/ci-pull-request.yaml
index 2d43c685..4a21c6b5 100644
--- a/.github/workflows/ci-pull-request.yaml
+++ b/.github/workflows/ci-pull-request.yaml
@@ -1,3 +1,20 @@
+# 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.
+---
 # Developer Notes:
 #
 # This config is for github actions. Before merging your changes of this file,
diff --git a/.gitignore b/.gitignore
index daebca2b..15bbdee7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,20 @@
+# 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.
+
 src/.matchfile
 src/builder
 onebox/
diff --git a/.gitmodules b/.gitmodules
index a9d38a35..afae0a2d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,20 @@
+# 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.
+
 [submodule "rdsn"]
   path = rdsn
   url = https://github.com/XiaoMi/rdsn.git
diff --git a/.licenserc.yaml b/.licenserc.yaml
new file mode 100644
index 00000000..edcaa5d0
--- /dev/null
+++ b/.licenserc.yaml
@@ -0,0 +1,39 @@
+# 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.
+header:
+  license:
+    spdx-id: Apache-2.0
+    copyright-owner: Apache Software Foundation
+
+  paths-ignore:
+    - 'LICENSE'
+    - 'NOTICE'
+    - '.rat-excludes'
+    - 'DISCLAIMER-WIP'
+    - 'src/.clang-format'
+    # TODO(yingchun): rrdb_types.* files can be automatic generated when 
build, we can remove them later.
+    - 'src/base/rrdb_types.cpp'
+    - 'src/include/rrdb/rrdb_types.h'
+    # TODO(yingchun): shell/* files are import from thirdparties, we can move 
them to rdsn/thirdparty later.
+    - 'src/shell/argh.h'
+    - 'src/shell/linenoise/linenoise.c'
+    - 'src/shell/linenoise/linenoise.h'
+    - 'src/shell/sds/sds.c'
+    - 'src/shell/sds/sds.h'
+    - 'src/shell/sds/sdsalloc.h'
+
+  comment: on-failure
diff --git a/README.md b/README.md
index 4864114e..69c3c01d 100644
--- a/README.md
+++ b/README.md
@@ -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.
+-->
+
 [github-release]: https://github.com/apache/incubator-pegasus/releases
 [PacificA]: 
https://www.microsoft.com/en-us/research/publication/pacifica-replication-in-log-based-distributed-storage-systems/
 [pegasus-rocksdb]: https://github.com/xiaomi/pegasus-rocksdb
diff --git a/rfcs/2020-08-27-metric-api.md b/rfcs/2020-08-27-metric-api.md
index ce69a0e5..58659f9c 100644
--- a/rfcs/2020-08-27-metric-api.md
+++ b/rfcs/2020-08-27-metric-api.md
@@ -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.
+-->
+
 # Metric API
 
 ## Summary
diff --git a/rfcs/2020-10-09-data-version-v3.md 
b/rfcs/2020-10-09-data-version-v3.md
index 70c3b4fd..8cd89651 100644
--- a/rfcs/2020-10-09-data-version-v3.md
+++ b/rfcs/2020-10-09-data-version-v3.md
@@ -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.
+-->
+
 # Pegasus Data Version v3
 
 ## Background
diff --git a/rfcs/2020-12-15-meta-proxy.md b/rfcs/2020-12-15-meta-proxy.md
index d83cbb9a..d36d9a28 100644
--- a/rfcs/2020-12-15-meta-proxy.md
+++ b/rfcs/2020-12-15-meta-proxy.md
@@ -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.
+-->
+
 # Meta Proxy
 
 Previously, Pegasus offered every user with a list of MetaServer IP:Port 
addresses. Client queries MetaServer to locate the ReplicaServer where a 
specific data partition is hosted, and thereby it can read/write. 
diff --git a/rfcs/2021-02-22-disk-migrator.md b/rfcs/2021-02-22-disk-migrator.md
index b291fddf..81ead7bf 100644
--- a/rfcs/2021-02-22-disk-migrator.md
+++ b/rfcs/2021-02-22-disk-migrator.md
@@ -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.
+-->
+
 # Disk-Migrator
 
 ## Design Goals
diff --git a/rfcs/2021-05-27-user-specified-compaction.md 
b/rfcs/2021-05-27-user-specified-compaction.md
index 62caa21e..fbfe2ab6 100644
--- a/rfcs/2021-05-27-user-specified-compaction.md
+++ b/rfcs/2021-05-27-user-specified-compaction.md
@@ -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.
+-->
+
 # User Specified Compaction
 
 ## Summary
diff --git a/src/base/test/config.ini b/src/base/test/config.ini
index b6b37b39..d58db87e 100644
--- a/src/base/test/config.ini
+++ b/src/base/test/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/geo/bench/config.ini b/src/geo/bench/config.ini
index fd14ff18..8c1bcbe0 100644
--- a/src/geo/bench/config.ini
+++ b/src/geo/bench/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/geo/test/config.ini b/src/geo/test/config.ini
index aa6c2a7b..7c033729 100644
--- a/src/geo/test/config.ini
+++ b/src/geo/test/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/redis_protocol/proxy/config.ini 
b/src/redis_protocol/proxy/config.ini
index 0ef4b399..ddb20e4f 100644
--- a/src/redis_protocol/proxy/config.ini
+++ b/src/redis_protocol/proxy/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/redis_protocol/proxy_ut/config.ini 
b/src/redis_protocol/proxy_ut/config.ini
index b9bb4cdb..56a5eb23 100644
--- a/src/redis_protocol/proxy_ut/config.ini
+++ b/src/redis_protocol/proxy_ut/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/sample/README b/src/sample/README
deleted file mode 100644
index 22bbef7a..00000000
--- a/src/sample/README
+++ /dev/null
@@ -1,13 +0,0 @@
-Build
-=====
-make
-
-Run
-===
-./run.sh <cluster_name> <app_name>
-
-For example:
-./run.sh onebox temp
-
-To change cluster, please modify the last line of `config.ini'.
-
diff --git a/src/sample/README.md b/src/sample/README.md
new file mode 100644
index 00000000..ea5d0265
--- /dev/null
+++ b/src/sample/README.md
@@ -0,0 +1,32 @@
+<!--
+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.
+-->
+
+Build
+=====
+make
+
+Run
+===
+./run.sh <cluster_name> <app_name>
+
+For example:
+./run.sh onebox temp
+
+To change cluster, please modify the last line of `config.ini'.
+
diff --git a/src/sample/config.ini b/src/sample/config.ini
index aa6c2a7b..7c033729 100644
--- a/src/sample/config.ini
+++ b/src/sample/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/server/config.ini b/src/server/config.ini
index 16148eae..29a1c3a1 100644
--- a/src/server/config.ini
+++ b/src/server/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
   run = true
   count = 1
diff --git a/src/server/config.min.ini b/src/server/config.min.ini
index dfcc2940..4d56d7ee 100644
--- a/src/server/config.min.ini
+++ b/src/server/config.min.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
   run = true
   count = 1
diff --git a/src/server/test/config.ini b/src/server/test/config.ini
index 3835520d..3b49b871 100644
--- a/src/server/test/config.ini
+++ b/src/server/test/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/shell/config.ini b/src/shell/config.ini
index b4adc087..852d9073 100644
--- a/src/shell/config.ini
+++ b/src/shell/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/test/bench_test/config.ini b/src/test/bench_test/config.ini
index bf3ed4c2..46dbc7b9 100644
--- a/src/test/bench_test/config.ini
+++ b/src/test/bench_test/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/test/function_test/config.ini 
b/src/test/function_test/config.ini
index 158992fa..42a0bdce 100644
--- a/src/test/function_test/config.ini
+++ b/src/test/function_test/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/test/kill_test/config.ini b/src/test/kill_test/config.ini
index 86acc726..228d9bba 100644
--- a/src/test/kill_test/config.ini
+++ b/src/test/kill_test/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/test/pressure_test/config-pressure.ini 
b/src/test/pressure_test/config-pressure.ini
index eac6dae9..bad2b3d1 100644
--- a/src/test/pressure_test/config-pressure.ini
+++ b/src/test/pressure_test/config-pressure.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1
diff --git a/src/test/upgrade_test/config.ini b/src/test/upgrade_test/config.ini
index 6be98256..a2d10232 100644
--- a/src/test/upgrade_test/config.ini
+++ b/src/test/upgrade_test/config.ini
@@ -1,3 +1,19 @@
+; 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.
 [apps..default]
 run = true
 count = 1


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to