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

alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/develop by this push:
     new c143b9646 ci(license): add license header check ci (#2957)
c143b9646 is described below

commit c143b964663c0eceab021faacf11bc01523174b1
Author: marsevilspirit <[email protected]>
AuthorDate: Tue Jul 29 19:45:14 2025 +0800

    ci(license): add license header check ci (#2957)
    
    * ci(license): add license header check ci
    
    * fix(license): fix license check ci error
    
    * fix(license): delete unused field
---
 .github/workflows/github-actions.yml               | 14 ++++++
 .golangci.yml                                      | 15 ++++++
 .licenserc.yaml                                    | 58 ++++++++++++++++++++++
 config/testdata/application.yaml                   | 15 ++++++
 .../testdata/config/active/application-local.yaml  | 15 ++++++
 config/testdata/config/active/application.yaml     | 15 ++++++
 config/testdata/config/app/application.yaml        | 15 ++++++
 .../testdata/config/application/application.yaml   | 15 ++++++
 .../testdata/config/center/conf-application.yaml   | 15 ++++++
 config/testdata/config/custom/custom.yaml          | 15 ++++++
 config/testdata/config/custom/empty.yaml           | 15 ++++++
 config/testdata/config/logger/empty_log.yaml       | 15 ++++++
 config/testdata/config/logger/file_log.yaml        | 15 ++++++
 config/testdata/config/logger/log.yaml             | 15 ++++++
 config/testdata/config/protocol/application.yaml   | 15 ++++++
 .../config/protocol/empty_application.yaml         | 15 ++++++
 config/testdata/config/provider/application.yaml   | 15 ++++++
 .../provider/empty_registry_application.yaml       | 15 ++++++
 .../config/provider/registry_application.yaml      | 15 ++++++
 config/testdata/config/registry/application.yaml   | 15 ++++++
 .../config/registry/empty_application.yaml         | 15 ++++++
 config/testdata/config/resolver/application.yaml   | 15 ++++++
 config/testdata/consumer_config.yml                | 15 ++++++
 .../testdata/consumer_config_with_configcenter.yml | 15 ++++++
 .../testdata/consumer_config_withoutProtocol.yml   | 15 ++++++
 config/testdata/provider_config.yml                | 15 ++++++
 .../testdata/provider_config_withoutProtocol.yml   | 15 ++++++
 config/testdata/root_config_test.yml               | 15 ++++++
 config/testdata/router_config_dest_rule.yml        | 15 ++++++
 config/testdata/router_config_virtual_service.yml  | 15 ++++++
 .../config/reader/testdata/consumer_config.yml     | 15 ++++++
 .../config/reader/testdata/provider_config.yml     | 15 ++++++
 remoting/polaris/polaris.yaml                      | 15 ++++++
 tools/dubbo-go-schema/application.yaml             | 15 ++++++
 tools/dubbogo-cli/Makefile                         | 15 ++++++
 .../cmd/testGenCode/template/newApp/Makefile       | 15 ++++++
 .../testGenCode/template/newApp/build/Dockerfile   | 15 ++++++
 .../template/newApp/chart/app/Chart.yaml           | 15 ++++++
 .../newApp/chart/app/templates/deployment.yaml     | 15 ++++++
 .../newApp/chart/app/templates/service.yaml        | 15 ++++++
 .../newApp/chart/app/templates/serviceaccount.yaml | 15 ++++++
 .../template/newApp/chart/app/values.yaml          | 15 ++++++
 .../template/newApp/chart/nacos_env/Chart.yaml     | 15 ++++++
 .../chart/nacos_env/templates/deployment.yaml      | 15 ++++++
 .../newApp/chart/nacos_env/templates/service.yaml  | 15 ++++++
 .../template/newApp/chart/nacos_env/values.yaml    | 15 ++++++
 .../testGenCode/template/newApp/conf/dubbogo.yaml  | 15 ++++++
 .../template/newDemo/go-client/conf/dubbogo.yaml   | 15 ++++++
 .../template/newDemo/go-server/conf/dubbogo.yaml   | 15 ++++++
 49 files changed, 777 insertions(+)

diff --git a/.github/workflows/github-actions.yml 
b/.github/workflows/github-actions.yml
index cf95080c8..829c1453c 100644
--- a/.github/workflows/github-actions.yml
+++ b/.github/workflows/github-actions.yml
@@ -13,6 +13,20 @@ permissions:
   contents: read
 
 jobs:
+  license:
+    name: Check License Header
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+
+      - name: Check License Header
+        uses: apache/skywalking-eyes/header@main
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        with:
+          config: .licenserc.yaml
+          mode: check
+
   build:
     name: ${{ matrix.os }} - Go ${{ matrix.go_version }}
     runs-on: ${{ matrix.os }}
diff --git a/.golangci.yml b/.golangci.yml
index ae141b307..62a556a5d 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 version: "2"
 linters:
   default: none
diff --git a/.licenserc.yaml b/.licenserc.yaml
new file mode 100644
index 000000000..4b5a69f3f
--- /dev/null
+++ b/.licenserc.yaml
@@ -0,0 +1,58 @@
+# 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
+    content: |
+      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.
+
+  paths-ignore:
+    - '**/*.md'
+    - '**/*.json'
+    - '**/*.properties'
+    - '**/*.proto'
+    - '**/*.tpl'
+    - '**/go.mod'
+    - '**/go.sum'
+    - '.git/'
+    - '.github/**'
+    - '.gitignore'
+    - '.gitmodules'
+    - 'LICENSE'
+    - 'NOTICE'
+    - '**/*.hessian2.go'
+    - 'protocol/triple/triple_protocol'
+    - 'protocol/triple/reflection/serverreflection.go'
+
+  comment: on-failure
+
+# If you don't want to check dependencies' license compatibility, remove the 
following part
+dependency:
+  files:
+    - go.mod
diff --git a/config/testdata/application.yaml b/config/testdata/application.yaml
index e4663ae64..b1a90870c 100644
--- a/config/testdata/application.yaml
+++ b/config/testdata/application.yaml
@@ -1,3 +1,18 @@
+# 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:
   application:
     name: dubbo-go
diff --git a/config/testdata/config/active/application-local.yaml 
b/config/testdata/config/active/application-local.yaml
index 0d87a9ecb..a56662cd7 100644
--- a/config/testdata/config/active/application-local.yaml
+++ b/config/testdata/config/active/application-local.yaml
@@ -1,3 +1,18 @@
+# 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:
   profiles:
     active: local
diff --git a/config/testdata/config/active/application.yaml 
b/config/testdata/config/active/application.yaml
index 1f5165446..0555b5c94 100644
--- a/config/testdata/config/active/application.yaml
+++ b/config/testdata/config/active/application.yaml
@@ -1,3 +1,18 @@
+# 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:
   profiles:
     active: local
diff --git a/config/testdata/config/app/application.yaml 
b/config/testdata/config/app/application.yaml
index 50a7e276a..21deb3eee 100644
--- a/config/testdata/config/app/application.yaml
+++ b/config/testdata/config/app/application.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/application/application.yaml 
b/config/testdata/config/application/application.yaml
index ea32df4ca..773e87cc6 100644
--- a/config/testdata/config/application/application.yaml
+++ b/config/testdata/config/application/application.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/center/conf-application.yaml 
b/config/testdata/config/center/conf-application.yaml
index bc0a93f0f..f41cf1b50 100644
--- a/config/testdata/config/center/conf-application.yaml
+++ b/config/testdata/config/center/conf-application.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/custom/custom.yaml 
b/config/testdata/config/custom/custom.yaml
index 61297960a..d6da15f4e 100644
--- a/config/testdata/config/custom/custom.yaml
+++ b/config/testdata/config/custom/custom.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/custom/empty.yaml 
b/config/testdata/config/custom/empty.yaml
index a4611db1e..8fc58887b 100644
--- a/config/testdata/config/custom/empty.yaml
+++ b/config/testdata/config/custom/empty.yaml
@@ -1,3 +1,18 @@
+# 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:
   custom:
   registries:
diff --git a/config/testdata/config/logger/empty_log.yaml 
b/config/testdata/config/logger/empty_log.yaml
index 80bcc1d06..befa55dda 100644
--- a/config/testdata/config/logger/empty_log.yaml
+++ b/config/testdata/config/logger/empty_log.yaml
@@ -1,3 +1,18 @@
+# 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:
   logger:
   registries:
diff --git a/config/testdata/config/logger/file_log.yaml 
b/config/testdata/config/logger/file_log.yaml
index 4c4e1cffa..0bcfd2e5d 100644
--- a/config/testdata/config/logger/file_log.yaml
+++ b/config/testdata/config/logger/file_log.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/logger/log.yaml 
b/config/testdata/config/logger/log.yaml
index 1a4fb9c7f..5e9c0bef8 100644
--- a/config/testdata/config/logger/log.yaml
+++ b/config/testdata/config/logger/log.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/protocol/application.yaml 
b/config/testdata/config/protocol/application.yaml
index c24809213..9dbd0b00e 100644
--- a/config/testdata/config/protocol/application.yaml
+++ b/config/testdata/config/protocol/application.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/protocol/empty_application.yaml 
b/config/testdata/config/protocol/empty_application.yaml
index 4f06d63f4..f01c21abe 100644
--- a/config/testdata/config/protocol/empty_application.yaml
+++ b/config/testdata/config/protocol/empty_application.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/provider/application.yaml 
b/config/testdata/config/provider/application.yaml
index 038950224..4665c3ddf 100644
--- a/config/testdata/config/provider/application.yaml
+++ b/config/testdata/config/provider/application.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/provider/empty_registry_application.yaml 
b/config/testdata/config/provider/empty_registry_application.yaml
index c171c86bd..4412102cb 100644
--- a/config/testdata/config/provider/empty_registry_application.yaml
+++ b/config/testdata/config/provider/empty_registry_application.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/provider/registry_application.yaml 
b/config/testdata/config/provider/registry_application.yaml
index f150c2318..a1604e94d 100644
--- a/config/testdata/config/provider/registry_application.yaml
+++ b/config/testdata/config/provider/registry_application.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/registry/application.yaml 
b/config/testdata/config/registry/application.yaml
index 844353835..59d23e1fd 100644
--- a/config/testdata/config/registry/application.yaml
+++ b/config/testdata/config/registry/application.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/config/testdata/config/registry/empty_application.yaml 
b/config/testdata/config/registry/empty_application.yaml
index 9e7a20af2..6e86eced5 100644
--- a/config/testdata/config/registry/empty_application.yaml
+++ b/config/testdata/config/registry/empty_application.yaml
@@ -1,2 +1,17 @@
+# 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:
   registries:
\ No newline at end of file
diff --git a/config/testdata/config/resolver/application.yaml 
b/config/testdata/config/resolver/application.yaml
index 92b157e91..511370b8d 100644
--- a/config/testdata/config/resolver/application.yaml
+++ b/config/testdata/config/resolver/application.yaml
@@ -1,3 +1,18 @@
+# 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.
+
 localhost: 127.0.0.1
 dubbo:
   application:
diff --git a/config/testdata/consumer_config.yml 
b/config/testdata/consumer_config.yml
index f646e3cda..3524262d3 100644
--- a/config/testdata/consumer_config.yml
+++ b/config/testdata/consumer_config.yml
@@ -1,3 +1,18 @@
+# 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 client yaml configure file
 
 filter: ""
diff --git a/config/testdata/consumer_config_with_configcenter.yml 
b/config/testdata/consumer_config_with_configcenter.yml
index 3f552aa66..caff614e9 100644
--- a/config/testdata/consumer_config_with_configcenter.yml
+++ b/config/testdata/consumer_config_with_configcenter.yml
@@ -1,3 +1,18 @@
+# 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 client yaml configure file
 
 application:
diff --git a/config/testdata/consumer_config_withoutProtocol.yml 
b/config/testdata/consumer_config_withoutProtocol.yml
index 2432f9659..817212b9f 100644
--- a/config/testdata/consumer_config_withoutProtocol.yml
+++ b/config/testdata/consumer_config_withoutProtocol.yml
@@ -1,3 +1,18 @@
+# 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 client yaml configure file
 
 filter: ""
diff --git a/config/testdata/provider_config.yml 
b/config/testdata/provider_config.yml
index 4d81e5c0c..a0e0adef8 100644
--- a/config/testdata/provider_config.yml
+++ b/config/testdata/provider_config.yml
@@ -1,3 +1,18 @@
+# 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
 
 filter: ""
diff --git a/config/testdata/provider_config_withoutProtocol.yml 
b/config/testdata/provider_config_withoutProtocol.yml
index f88b6461e..5e17d1e5f 100644
--- a/config/testdata/provider_config_withoutProtocol.yml
+++ b/config/testdata/provider_config_withoutProtocol.yml
@@ -1,3 +1,18 @@
+# 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
 
 filter: ""
diff --git a/config/testdata/root_config_test.yml 
b/config/testdata/root_config_test.yml
index 9acfc4947..4f8b4cd27 100644
--- a/config/testdata/root_config_test.yml
+++ b/config/testdata/root_config_test.yml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     demoZK:
diff --git a/config/testdata/router_config_dest_rule.yml 
b/config/testdata/router_config_dest_rule.yml
index 89bd88f01..9f43c5596 100644
--- a/config/testdata/router_config_dest_rule.yml
+++ b/config/testdata/router_config_dest_rule.yml
@@ -1,3 +1,18 @@
+# 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.
+
 apiVersion: service.dubbo.apache.org/v1alpha1
 kind: DestinationRule
 metadata:
diff --git a/config/testdata/router_config_virtual_service.yml 
b/config/testdata/router_config_virtual_service.yml
index 2f12de9d7..d460a34c0 100644
--- a/config/testdata/router_config_virtual_service.yml
+++ b/config/testdata/router_config_virtual_service.yml
@@ -1,3 +1,18 @@
+# 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.
+
 apiVersion: service.dubbo.apache.org/v1alpha1
 kind: VirtualService
 metadata:
diff --git a/protocol/rest/config/reader/testdata/consumer_config.yml 
b/protocol/rest/config/reader/testdata/consumer_config.yml
index fa4ce3bd6..8d7300928 100644
--- a/protocol/rest/config/reader/testdata/consumer_config.yml
+++ b/protocol/rest/config/reader/testdata/consumer_config.yml
@@ -1,3 +1,18 @@
+# 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 client yaml configure file
 
 filter: ""
diff --git a/protocol/rest/config/reader/testdata/provider_config.yml 
b/protocol/rest/config/reader/testdata/provider_config.yml
index 46400bd4c..17d8c3213 100644
--- a/protocol/rest/config/reader/testdata/provider_config.yml
+++ b/protocol/rest/config/reader/testdata/provider_config.yml
@@ -1,3 +1,18 @@
+# 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
 
 filter: ""
diff --git a/remoting/polaris/polaris.yaml b/remoting/polaris/polaris.yaml
index 2347aad37..487e016cc 100644
--- a/remoting/polaris/polaris.yaml
+++ b/remoting/polaris/polaris.yaml
@@ -1,3 +1,18 @@
+# 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.
+
 global:
   system:
     mode: 0
diff --git a/tools/dubbo-go-schema/application.yaml 
b/tools/dubbo-go-schema/application.yaml
index a21d05b0c..cf267347b 100644
--- a/tools/dubbo-go-schema/application.yaml
+++ b/tools/dubbo-go-schema/application.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git a/tools/dubbogo-cli/Makefile b/tools/dubbogo-cli/Makefile
index 7816b9bac..f9c8ea4b6 100644
--- a/tools/dubbogo-cli/Makefile
+++ b/tools/dubbogo-cli/Makefile
@@ -1,2 +1,17 @@
+# 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.
+
 test:
        go test ./...
\ No newline at end of file
diff --git a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/Makefile 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/Makefile
index 1e31d80e8..44ebaa32b 100644
--- a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/Makefile
+++ b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/Makefile
@@ -1,3 +1,18 @@
+# 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.
+
 IMAGE = $(your_repo)/$(namespace)/$(image_name)
 TAG = 1.0.0
 HELM_INSTALL_NAME = dubbo-go-app
diff --git a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/build/Dockerfile 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/build/Dockerfile
index 4c4262543..d936148db 100644
--- a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/build/Dockerfile
+++ b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/build/Dockerfile
@@ -1,3 +1,18 @@
+# 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 alpine:3.15
 
 WORKDIR /dubbogo
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/Chart.yaml 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/Chart.yaml
index d09ac341c..fe1dce428 100644
--- a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/Chart.yaml
+++ b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/Chart.yaml
@@ -1,3 +1,18 @@
+# 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.
+
 apiVersion: v1
 name: dubbo-go-app
 description: dubbo-go-app
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/deployment.yaml
 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/deployment.yaml
index 297aaf1f7..e9715630f 100644
--- 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/deployment.yaml
+++ 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/deployment.yaml
@@ -1,3 +1,18 @@
+# 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.
+
 apiVersion: apps/v1
 kind: Deployment
 metadata:
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/service.yaml
 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/service.yaml
index f13a67251..9743008f3 100644
--- 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/service.yaml
+++ 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/service.yaml
@@ -1,3 +1,18 @@
+# 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-go version control, we do not update service if there is exsiting 
service, because
 # service is an app-level resource, helm install service with a different 
helmName again to add an app
 # version would cause failed.
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/serviceaccount.yaml
 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/serviceaccount.yaml
index bfeb1763e..2f03bddb6 100644
--- 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/serviceaccount.yaml
+++ 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/templates/serviceaccount.yaml
@@ -1,3 +1,18 @@
+# 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 .Values.serviceAccount.create -}}
 apiVersion: v1
 kind: ServiceAccount
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/values.yaml 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/values.yaml
index de603aa43..eb115d261 100644
--- a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/values.yaml
+++ b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/app/values.yaml
@@ -1,3 +1,18 @@
+# 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.
+
 replicaCount: 1
 
 image:
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/Chart.yaml 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/Chart.yaml
index 58c993ce6..5ee468abf 100644
--- 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/Chart.yaml
+++ 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/Chart.yaml
@@ -1,3 +1,18 @@
+# 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.
+
 apiVersion: v1
 name: nacos
 description: nacos environment
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/templates/deployment.yaml
 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/templates/deployment.yaml
index 297aaf1f7..e9715630f 100644
--- 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/templates/deployment.yaml
+++ 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/templates/deployment.yaml
@@ -1,3 +1,18 @@
+# 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.
+
 apiVersion: apps/v1
 kind: Deployment
 metadata:
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/templates/service.yaml
 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/templates/service.yaml
index f13a67251..9743008f3 100644
--- 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/templates/service.yaml
+++ 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/templates/service.yaml
@@ -1,3 +1,18 @@
+# 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-go version control, we do not update service if there is exsiting 
service, because
 # service is an app-level resource, helm install service with a different 
helmName again to add an app
 # version would cause failed.
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/values.yaml 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/values.yaml
index 74378d4d3..bdb8d4994 100644
--- 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/values.yaml
+++ 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/chart/nacos_env/values.yaml
@@ -1,3 +1,18 @@
+# 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.
+
 replicaCount: 1
 
 image:
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/conf/dubbogo.yaml 
b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/conf/dubbogo.yaml
index 0bca0bd4a..e8d948078 100644
--- a/tools/dubbogo-cli/cmd/testGenCode/template/newApp/conf/dubbogo.yaml
+++ b/tools/dubbogo-cli/cmd/testGenCode/template/newApp/conf/dubbogo.yaml
@@ -1,3 +1,18 @@
+# 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:
   registries:
     nacos:
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newDemo/go-client/conf/dubbogo.yaml
 
b/tools/dubbogo-cli/cmd/testGenCode/template/newDemo/go-client/conf/dubbogo.yaml
index 6885e3f12..4b78741ac 100644
--- 
a/tools/dubbogo-cli/cmd/testGenCode/template/newDemo/go-client/conf/dubbogo.yaml
+++ 
b/tools/dubbogo-cli/cmd/testGenCode/template/newDemo/go-client/conf/dubbogo.yaml
@@ -1,3 +1,18 @@
+# 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:
   consumer:
     references:
diff --git 
a/tools/dubbogo-cli/cmd/testGenCode/template/newDemo/go-server/conf/dubbogo.yaml
 
b/tools/dubbogo-cli/cmd/testGenCode/template/newDemo/go-server/conf/dubbogo.yaml
index 90bd6b143..ad005fa00 100644
--- 
a/tools/dubbogo-cli/cmd/testGenCode/template/newDemo/go-server/conf/dubbogo.yaml
+++ 
b/tools/dubbogo-cli/cmd/testGenCode/template/newDemo/go-server/conf/dubbogo.yaml
@@ -1,3 +1,18 @@
+# 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:
   protocols:
     triple:

Reply via email to