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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2f0ae14e Fix Apache License (#143)
2f0ae14e is described below

commit 2f0ae14ee3b02a0ba7081bee966c26531898da60
Author: cjcchen <[email protected]>
AuthorDate: Sun May 5 01:13:15 2024 +0800

    Fix Apache License (#143)
    
    * add npm in workflow
    
    * test
    
    * add workflow
    
    * add path
    
    * add path
    
    * add path
    
    * add path
    
    * add path
    
    * add path
    
    * add path
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add license
    
    * add loc
    
    * add loc
    
    * add loc
    
    * fix build
---
 .github/workflows/license.yml                      | 10 +++++--
 .github/workflows/loc.yml                          | 14 ++++++---
 .licenserc.yaml                                    | 19 ++++++++++++
 BUILD.bazel                                        | 19 ++++++++++++
 api/BUILD                                          | 18 ++++++++++++
 api/kv_operation.py                                | 19 ++++++++++++
 api/pybind_kv_service.cpp                          | 19 ++++++++++++
 benchmark/protocols/pbft/BUILD                     | 18 ++++++++++++
 benchmark/protocols/poe/BUILD                      | 18 ++++++++++++
 chain/state/BUILD                                  | 18 ++++++++++++
 chain/storage/BUILD                                | 18 ++++++++++++
 chain/storage/proto/BUILD                          | 18 ++++++++++++
 chain/storage/proto/kv.proto                       | 19 ++++++++++++
 chain/storage/proto/leveldb_config.proto           | 19 ++++++++++++
 chain/storage/proto/rocksdb_config.proto           | 19 ++++++++++++
 chain/storage/setting/BUILD                        | 18 ++++++++++++
 common/BUILD                                       | 18 ++++++++++++
 common/crypto/BUILD                                | 19 ++++++++++++
 common/proto/BUILD                                 | 18 ++++++++++++
 common/proto/signature_info.proto                  | 19 ++++++++++++
 common/test/BUILD                                  | 34 +++++++++-------------
 common/utils/BUILD                                 | 18 ++++++++++++
 executor/common/BUILD                              | 18 ++++++++++++
 executor/contract/executor/BUILD                   | 18 ++++++++++++
 executor/contract/executor/test_data/BUILD         | 18 ++++++++++++
 executor/contract/manager/BUILD                    | 18 ++++++++++++
 executor/contract/manager/test_data/BUILD          | 18 ++++++++++++
 executor/kv/BUILD                                  | 18 ++++++++++++
 executor/utxo/executor/BUILD                       | 18 ++++++++++++
 executor/utxo/manager/BUILD                        | 18 ++++++++++++
 interface/common/BUILD                             | 19 ++++++++++++
 interface/contract/BUILD                           | 18 ++++++++++++
 interface/kv/BUILD                                 | 18 ++++++++++++
 interface/rdbc/BUILD                               | 18 ++++++++++++
 interface/utxo/BUILD                               | 18 ++++++++++++
 platform/common/data_comm/BUILD                    | 18 ++++++++++++
 platform/common/network/BUILD                      | 18 ++++++++++++
 platform/common/queue/BUILD                        | 18 ++++++++++++
 platform/config/BUILD                              | 18 ++++++++++++
 platform/consensus/checkpoint/BUILD                | 18 ++++++++++++
 platform/consensus/execution/BUILD                 | 18 ++++++++++++
 platform/consensus/ordering/common/BUILD           | 18 ++++++++++++
 platform/consensus/ordering/common/algorithm/BUILD | 18 ++++++++++++
 platform/consensus/ordering/common/framework/BUILD | 18 ++++++++++++
 platform/consensus/ordering/geo_pbft/BUILD         | 18 ++++++++++++
 platform/consensus/ordering/pbft/BUILD             | 19 ++++++++++++
 platform/consensus/ordering/poe/algorithm/BUILD    | 18 ++++++++++++
 platform/consensus/ordering/poe/framework/BUILD    | 18 ++++++++++++
 platform/consensus/ordering/poe/proto/BUILD        | 18 ++++++++++++
 .../consensus/ordering/poe/proto/proposal.proto    | 18 ++++++++++++
 platform/consensus/recovery/BUILD                  | 18 ++++++++++++
 platform/networkstrate/BUILD                       | 18 ++++++++++++
 platform/proto/BUILD                               | 18 ++++++++++++
 platform/proto/broadcast.proto                     | 19 ++++++++++++
 platform/proto/checkpoint_info.proto               | 19 ++++++++++++
 platform/proto/client_test.proto                   | 19 ++++++++++++
 platform/proto/logging.proto                       | 19 ++++++++++++
 platform/proto/network_type.proto                  | 19 ++++++++++++
 platform/proto/replica_info.proto                  | 19 ++++++++++++
 platform/proto/resdb.proto                         | 19 ++++++++++++
 platform/proto/system_info_data.proto              | 19 ++++++++++++
 platform/proto/viewchange_message.proto            | 19 ++++++++++++
 platform/rdbc/BUILD                                | 18 ++++++++++++
 platform/statistic/BUILD                           | 18 ++++++++++++
 platform/test/BUILD                                | 19 ++++++++++++
 platform/test/proto/BUILD                          | 19 ++++++++++++
 platform/test/proto/resdb_test.proto               | 19 ++++++++++++
 platform/test/test_data/BUILD                      | 19 ++++++++++++
 proto/contract/BUILD                               | 19 ++++++++++++
 proto/contract/account.proto                       | 19 ++++++++++++
 proto/contract/contract.proto                      | 19 ++++++++++++
 proto/contract/func_params.proto                   | 19 ++++++++++++
 proto/contract/rpc.proto                           | 19 ++++++++++++
 proto/kv/BUILD                                     | 18 ++++++++++++
 proto/kv/kv.proto                                  | 19 ++++++++++++
 proto/utxo/BUILD                                   | 19 ++++++++++++
 proto/utxo/config.proto                            | 19 ++++++++++++
 proto/utxo/rpc.proto                               | 19 ++++++++++++
 proto/utxo/utxo.proto                              | 19 ++++++++++++
 service/contract/BUILD                             | 18 ++++++++++++
 service/kv/BUILD                                   | 19 ++++++++++++
 service/tools/contract/api_tools/BUILD             | 19 ++++++++++++
 service/tools/kv/api_tools/BUILD                   | 19 ++++++++++++
 service/tools/utxo/wallet_tool/cpp/BUILD           | 19 ++++++++++++
 service/tools/utxo/wallet_tool/py/BUILD            | 19 ++++++++++++
 service/tools/utxo/wallet_tool/pybind/BUILD        | 19 ++++++++++++
 service/tools/utxo/wallet_tool/test/BUILD          | 19 ++++++++++++
 service/utils/BUILD                                | 19 ++++++++++++
 service/utxo/BUILD                                 | 19 ++++++++++++
 third_party/BUILD                                  | 19 ++++++++++++
 action.yml => third_party/loc_script/action.yml    |  0
 {src => third_party/loc_script/src}/index.js       |  0
 tools/BUILD                                        | 19 ++++++++++++
 93 files changed, 1661 insertions(+), 26 deletions(-)

diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
index f8f5be7e..7243bbb7 100644
--- a/.github/workflows/license.yml
+++ b/.github/workflows/license.yml
@@ -8,5 +8,11 @@ jobs:
     name: check license
     runs-on: ubuntu-latest
     steps:
-      - name: Check License Header
-        uses: apache/skywalking-eyes/header@main
+     - name: Checkout
+       uses: actions/checkout@v2
+       with:
+         repository: ${{github.repository}}
+         ref: ${{ env.BRANCH_NAME }}
+
+     - name: Check License Header
+       uses: apache/skywalking-eyes/header@main
diff --git a/.github/workflows/loc.yml b/.github/workflows/loc.yml
index 32f33140..fe403091 100644
--- a/.github/workflows/loc.yml
+++ b/.github/workflows/loc.yml
@@ -1,10 +1,10 @@
 name: LOC
 
 on:
-  push:
-    branches:    
+  push: 
+    branches:
       - master
- 
+
 jobs:
   build:
     runs-on: ubuntu-latest
@@ -16,9 +16,15 @@ jobs:
          repository: ${{github.repository}}
          ref: ${{ env.BRANCH_NAME }}
 
+     - name: NPM Init
+       run: npm init -y 
+
+     - name: NPM Install
+       run: npm install badgen @actions/core glob-gitignore
+
      - name: Launch the local action
-       uses: ./ # Uses an action in the root directory
        id: badge
+       uses: ./third_party/loc_script/ # Uses an action in the root directory
        with:
          debug: true
          directory: ./
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 9b1a2fce..3320b7a5 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -9,6 +9,25 @@ header:
     - '**/*.md'
     - 'LICENSE'
     - 'NOTICE'
+    - '.*'
+    - '.**/**'
+    - '**/*.conf'
+    - '**/*.config'
+    - '**/*.json'
+    - '**/*.sol'
+    - '**/*.yaml'
+    - '**/*.css'
+    - '**/*.yml'
+    - 'repositories.bzl'
+    - 'documents/**'
+    - 'CNAME'
+    - 'DISCLAIMER'
+    - 'Docker/**'
+    - 'WORKSPACE'
+    - 'skywalking-eyes/**'
+    - 'third_party/**.BUILD'
+    - 'third_party/loc_script/src/index.js'
+
 
   comment: on-failure
 
diff --git a/BUILD.bazel b/BUILD.bazel
index ef108781..a2966540 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_foreign_cc//foreign_cc:defs.bzl", "make")
diff --git a/api/BUILD b/api/BUILD
index 93b83cdf..5bad893b 100644
--- a/api/BUILD
+++ b/api/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/api/kv_operation.py b/api/kv_operation.py
index c100962e..f18c8460 100644
--- a/api/kv_operation.py
+++ b/api/kv_operation.py
@@ -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.
+ #
+
 import os
 import sys
 current_file_path = os.path.abspath(__file__)
diff --git a/api/pybind_kv_service.cpp b/api/pybind_kv_service.cpp
index 40073d66..013683fb 100644
--- a/api/pybind_kv_service.cpp
+++ b/api/pybind_kv_service.cpp
@@ -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.
+ */
+
 #include <fcntl.h>
 #include <getopt.h>
 #include <pybind11/pybind11.h>
diff --git a/benchmark/protocols/pbft/BUILD b/benchmark/protocols/pbft/BUILD
index 659280d9..f99e8206 100644
--- a/benchmark/protocols/pbft/BUILD
+++ b/benchmark/protocols/pbft/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:private"])
 
 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
diff --git a/benchmark/protocols/poe/BUILD b/benchmark/protocols/poe/BUILD
index f63f6fb8..7f1cc05e 100644
--- a/benchmark/protocols/poe/BUILD
+++ b/benchmark/protocols/poe/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:private"])
 
 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
diff --git a/chain/state/BUILD b/chain/state/BUILD
index 5bd5d118..f4bcde57 100644
--- a/chain/state/BUILD
+++ b/chain/state/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/chain/storage/BUILD b/chain/storage/BUILD
index 57904291..0ffb39b5 100644
--- a/chain/storage/BUILD
+++ b/chain/storage/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/chain/storage/proto/BUILD b/chain/storage/proto/BUILD
index 1dea24a1..55d10eeb 100644
--- a/chain/storage/proto/BUILD
+++ b/chain/storage/proto/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/chain/storage/proto/kv.proto b/chain/storage/proto/kv.proto
index bb2e8945..8466b8dc 100644
--- a/chain/storage/proto/kv.proto
+++ b/chain/storage/proto/kv.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb.storage;
diff --git a/chain/storage/proto/leveldb_config.proto 
b/chain/storage/proto/leveldb_config.proto
index 572b4a08..d8be2519 100644
--- a/chain/storage/proto/leveldb_config.proto
+++ b/chain/storage/proto/leveldb_config.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb.storage;
diff --git a/chain/storage/proto/rocksdb_config.proto 
b/chain/storage/proto/rocksdb_config.proto
index a1a45396..bb03566c 100644
--- a/chain/storage/proto/rocksdb_config.proto
+++ b/chain/storage/proto/rocksdb_config.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb.storage;
diff --git a/chain/storage/setting/BUILD b/chain/storage/setting/BUILD
index e7f33e35..7e36c9ee 100644
--- a/chain/storage/setting/BUILD
+++ b/chain/storage/setting/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
diff --git a/common/BUILD b/common/BUILD
index 4e6a18aa..c5982dd1 100644
--- a/common/BUILD
+++ b/common/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/common/crypto/BUILD b/common/crypto/BUILD
index 1b7dbebe..e5596903 100644
--- a/common/crypto/BUILD
+++ b/common/crypto/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/common/proto/BUILD b/common/proto/BUILD
index d6647a53..2122cef4 100644
--- a/common/proto/BUILD
+++ b/common/proto/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/common/proto/signature_info.proto 
b/common/proto/signature_info.proto
index 607fe4ac..cc1cfc42 100644
--- a/common/proto/signature_info.proto
+++ b/common/proto/signature_info.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/common/test/BUILD b/common/test/BUILD
index c7470298..e6bd3d61 100644
--- a/common/test/BUILD
+++ b/common/test/BUILD
@@ -1,26 +1,20 @@
 #
-# Copyright (c) 2019-2022 ExpoLab, UC Davis
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Permission is hereby granted, free of charge, to any person
-# obtaining a copy of this software and associated documentation
-# files (the "Software"), to deal in the Software without
-# restriction, including without limitation the rights to use,
-# copy, modify, merge, publish, distribute, sublicense, and/or
-# sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be
-# included in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #
 
 package(default_visibility = ["//visibility:public"])
diff --git a/common/utils/BUILD b/common/utils/BUILD
index 3f6d1d06..44d5e69b 100644
--- a/common/utils/BUILD
+++ b/common/utils/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/executor/common/BUILD b/executor/common/BUILD
index 0e0d8ee5..e50dab38 100644
--- a/executor/common/BUILD
+++ b/executor/common/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/executor/contract/executor/BUILD b/executor/contract/executor/BUILD
index d93b372b..c6e40c65 100644
--- a/executor/contract/executor/BUILD
+++ b/executor/contract/executor/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/executor/contract/executor/test_data/BUILD 
b/executor/contract/executor/test_data/BUILD
index 65e3dc3d..25213295 100644
--- a/executor/contract/executor/test_data/BUILD
+++ b/executor/contract/executor/test_data/BUILD
@@ -1 +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.
+#
+
 exports_files(["contract.json"])
diff --git a/executor/contract/manager/BUILD b/executor/contract/manager/BUILD
index 17d9d709..f1d26925 100644
--- a/executor/contract/manager/BUILD
+++ b/executor/contract/manager/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/executor/contract/manager/test_data/BUILD 
b/executor/contract/manager/test_data/BUILD
index 65e3dc3d..25213295 100644
--- a/executor/contract/manager/test_data/BUILD
+++ b/executor/contract/manager/test_data/BUILD
@@ -1 +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.
+#
+
 exports_files(["contract.json"])
diff --git a/executor/kv/BUILD b/executor/kv/BUILD
index 85a5e216..09f75c24 100644
--- a/executor/kv/BUILD
+++ b/executor/kv/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
diff --git a/executor/utxo/executor/BUILD b/executor/utxo/executor/BUILD
index 013e4ad6..2a4fb938 100644
--- a/executor/utxo/executor/BUILD
+++ b/executor/utxo/executor/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/executor/utxo/manager/BUILD b/executor/utxo/manager/BUILD
index 13958c40..77f125f4 100644
--- a/executor/utxo/manager/BUILD
+++ b/executor/utxo/manager/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//executor/utxo:__subpackages__"])
 
 cc_library(
diff --git a/interface/common/BUILD b/interface/common/BUILD
index e5765e1e..63f5bdee 100644
--- a/interface/common/BUILD
+++ b/interface/common/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/interface/contract/BUILD b/interface/contract/BUILD
index f31924fb..f5223930 100644
--- a/interface/contract/BUILD
+++ b/interface/contract/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/interface/kv/BUILD b/interface/kv/BUILD
index 2acf3636..e90fb9ef 100644
--- a/interface/kv/BUILD
+++ b/interface/kv/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/interface/rdbc/BUILD b/interface/rdbc/BUILD
index b1137dbf..e51e677c 100644
--- a/interface/rdbc/BUILD
+++ b/interface/rdbc/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/interface/utxo/BUILD b/interface/utxo/BUILD
index 7079e644..b47bb997 100644
--- a/interface/utxo/BUILD
+++ b/interface/utxo/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/platform/common/data_comm/BUILD b/platform/common/data_comm/BUILD
index 2d887a0f..f5de8bda 100644
--- a/platform/common/data_comm/BUILD
+++ b/platform/common/data_comm/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/platform/common/network/BUILD b/platform/common/network/BUILD
index 0545051d..04790a43 100644
--- a/platform/common/network/BUILD
+++ b/platform/common/network/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/platform/common/queue/BUILD b/platform/common/queue/BUILD
index de2759ba..110a8228 100644
--- a/platform/common/queue/BUILD
+++ b/platform/common/queue/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/platform/config/BUILD b/platform/config/BUILD
index 85b029d5..cef76ade 100644
--- a/platform/config/BUILD
+++ b/platform/config/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/platform/consensus/checkpoint/BUILD 
b/platform/consensus/checkpoint/BUILD
index 2f107761..30349b55 100644
--- a/platform/consensus/checkpoint/BUILD
+++ b/platform/consensus/checkpoint/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//platform/consensus:__subpackages__"])
 
 cc_library(
diff --git a/platform/consensus/execution/BUILD 
b/platform/consensus/execution/BUILD
index 64a61d96..773e25bc 100644
--- a/platform/consensus/execution/BUILD
+++ b/platform/consensus/execution/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//platform/consensus:__subpackages__"])
 
 cc_library(
diff --git a/platform/consensus/ordering/common/BUILD 
b/platform/consensus/ordering/common/BUILD
index 8a581e54..0813e522 100644
--- a/platform/consensus/ordering/common/BUILD
+++ b/platform/consensus/ordering/common/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//platform:__subpackages__"])
 
 cc_library(
diff --git a/platform/consensus/ordering/common/algorithm/BUILD 
b/platform/consensus/ordering/common/algorithm/BUILD
index 1ba4e6fa..0d7c5d19 100644
--- a/platform/consensus/ordering/common/algorithm/BUILD
+++ b/platform/consensus/ordering/common/algorithm/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//platform/consensus/ordering:__subpackages__"])
 
 cc_library(
diff --git a/platform/consensus/ordering/common/framework/BUILD 
b/platform/consensus/ordering/common/framework/BUILD
index e4a5382d..c56c9260 100644
--- a/platform/consensus/ordering/common/framework/BUILD
+++ b/platform/consensus/ordering/common/framework/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//platform/consensus/ordering:__subpackages__"])
 
 cc_library(
diff --git a/platform/consensus/ordering/geo_pbft/BUILD 
b/platform/consensus/ordering/geo_pbft/BUILD
index 652c9d20..4bc568dd 100644
--- a/platform/consensus/ordering/geo_pbft/BUILD
+++ b/platform/consensus/ordering/geo_pbft/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:private"])
 
 cc_library(
diff --git a/platform/consensus/ordering/pbft/BUILD 
b/platform/consensus/ordering/pbft/BUILD
index a1bf1755..6f4fdff7 100644
--- a/platform/consensus/ordering/pbft/BUILD
+++ b/platform/consensus/ordering/pbft/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:private"])
 
 cc_library(
diff --git a/platform/consensus/ordering/poe/algorithm/BUILD 
b/platform/consensus/ordering/poe/algorithm/BUILD
index 335cbca0..ece7a23f 100644
--- a/platform/consensus/ordering/poe/algorithm/BUILD
+++ b/platform/consensus/ordering/poe/algorithm/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = 
["//platform/consensus/ordering/poe:__subpackages__"])
 
 cc_library(
diff --git a/platform/consensus/ordering/poe/framework/BUILD 
b/platform/consensus/ordering/poe/framework/BUILD
index 833a121b..3d697bc4 100644
--- a/platform/consensus/ordering/poe/framework/BUILD
+++ b/platform/consensus/ordering/poe/framework/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:private"])
 
 cc_library(
diff --git a/platform/consensus/ordering/poe/proto/BUILD 
b/platform/consensus/ordering/poe/proto/BUILD
index 8088db09..d20d8cfe 100644
--- a/platform/consensus/ordering/poe/proto/BUILD
+++ b/platform/consensus/ordering/poe/proto/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = 
["//platform/consensus/ordering/poe:__subpackages__"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/platform/consensus/ordering/poe/proto/proposal.proto 
b/platform/consensus/ordering/poe/proto/proposal.proto
index 8302752a..4f8124d4 100644
--- a/platform/consensus/ordering/poe/proto/proposal.proto
+++ b/platform/consensus/ordering/poe/proto/proposal.proto
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 
 syntax = "proto3";
 
diff --git a/platform/consensus/recovery/BUILD 
b/platform/consensus/recovery/BUILD
index 8426a64b..d429c6a7 100644
--- a/platform/consensus/recovery/BUILD
+++ b/platform/consensus/recovery/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//platform/consensus:__subpackages__"])
 
 cc_library(
diff --git a/platform/networkstrate/BUILD b/platform/networkstrate/BUILD
index a44b75b1..4b510770 100644
--- a/platform/networkstrate/BUILD
+++ b/platform/networkstrate/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//platform:__subpackages__"])
 
 cc_library(
diff --git a/platform/proto/BUILD b/platform/proto/BUILD
index c19b351c..88c70e27 100644
--- a/platform/proto/BUILD
+++ b/platform/proto/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/platform/proto/broadcast.proto b/platform/proto/broadcast.proto
index 3f50416e..3b2d9fbd 100644
--- a/platform/proto/broadcast.proto
+++ b/platform/proto/broadcast.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 message BroadcastData {
diff --git a/platform/proto/checkpoint_info.proto 
b/platform/proto/checkpoint_info.proto
index dec6733d..6d4de8ae 100644
--- a/platform/proto/checkpoint_info.proto
+++ b/platform/proto/checkpoint_info.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 import "common/proto/signature_info.proto";
diff --git a/platform/proto/client_test.proto b/platform/proto/client_test.proto
index 08a83b4e..be16d37e 100644
--- a/platform/proto/client_test.proto
+++ b/platform/proto/client_test.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/proto/logging.proto b/platform/proto/logging.proto
index 1963b603..4908c276 100644
--- a/platform/proto/logging.proto
+++ b/platform/proto/logging.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/proto/network_type.proto 
b/platform/proto/network_type.proto
index 86ac773d..66940704 100644
--- a/platform/proto/network_type.proto
+++ b/platform/proto/network_type.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/proto/replica_info.proto 
b/platform/proto/replica_info.proto
index 658bf532..5df8ec1c 100644
--- a/platform/proto/replica_info.proto
+++ b/platform/proto/replica_info.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/proto/resdb.proto b/platform/proto/resdb.proto
index 0efea6bf..ac60498a 100644
--- a/platform/proto/resdb.proto
+++ b/platform/proto/resdb.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 import "platform/proto/replica_info.proto";
diff --git a/platform/proto/system_info_data.proto 
b/platform/proto/system_info_data.proto
index a8452f6b..9ae67788 100644
--- a/platform/proto/system_info_data.proto
+++ b/platform/proto/system_info_data.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/proto/viewchange_message.proto 
b/platform/proto/viewchange_message.proto
index cd0a8056..70827e0d 100644
--- a/platform/proto/viewchange_message.proto
+++ b/platform/proto/viewchange_message.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 import "platform/proto/resdb.proto";
diff --git a/platform/rdbc/BUILD b/platform/rdbc/BUILD
index dce5f250..08d9b2c0 100644
--- a/platform/rdbc/BUILD
+++ b/platform/rdbc/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = ["//platform:__subpackages__"])
 
 cc_library(
diff --git a/platform/statistic/BUILD b/platform/statistic/BUILD
index a0618d3d..e814f9ff 100644
--- a/platform/statistic/BUILD
+++ b/platform/statistic/BUILD
@@ -1,3 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
 package(default_visibility = [
     "//platform:__subpackages__",
     "//service:__subpackages__",
diff --git a/platform/test/BUILD b/platform/test/BUILD
index 33c9fa26..1b3282fc 100644
--- a/platform/test/BUILD
+++ b/platform/test/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:private"])
 
 cc_test(
diff --git a/platform/test/proto/BUILD b/platform/test/proto/BUILD
index 0b33cd00..34ea296c 100644
--- a/platform/test/proto/BUILD
+++ b/platform/test/proto/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//platform/test:__pkg__"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/platform/test/proto/resdb_test.proto 
b/platform/test/proto/resdb_test.proto
index bc09053e..4537ddd0 100644
--- a/platform/test/proto/resdb_test.proto
+++ b/platform/test/proto/resdb_test.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/platform/test/test_data/BUILD b/platform/test/test_data/BUILD
index 68bd5b95..b58db82c 100644
--- a/platform/test/test_data/BUILD
+++ b/platform/test/test_data/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//platform/test:__pkg__"])
 
 filegroup(
diff --git a/proto/contract/BUILD b/proto/contract/BUILD
index 0b094362..fb341230 100644
--- a/proto/contract/BUILD
+++ b/proto/contract/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/proto/contract/account.proto b/proto/contract/account.proto
index e98e0364..9dd8964f 100644
--- a/proto/contract/account.proto
+++ b/proto/contract/account.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb.contract;
diff --git a/proto/contract/contract.proto b/proto/contract/contract.proto
index b226ed81..fd595dd9 100644
--- a/proto/contract/contract.proto
+++ b/proto/contract/contract.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb.contract;
diff --git a/proto/contract/func_params.proto b/proto/contract/func_params.proto
index d1a9ca1c..67310482 100644
--- a/proto/contract/func_params.proto
+++ b/proto/contract/func_params.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb.contract;
diff --git a/proto/contract/rpc.proto b/proto/contract/rpc.proto
index 1e2e4982..8939fdef 100644
--- a/proto/contract/rpc.proto
+++ b/proto/contract/rpc.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb.contract;
diff --git a/proto/kv/BUILD b/proto/kv/BUILD
index 8c4098b3..d65710bd 100644
--- a/proto/kv/BUILD
+++ b/proto/kv/BUILD
@@ -1,3 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/proto/kv/kv.proto b/proto/kv/kv.proto
index f07523fe..a76c2f48 100644
--- a/proto/kv/kv.proto
+++ b/proto/kv/kv.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb;
diff --git a/proto/utxo/BUILD b/proto/utxo/BUILD
index cf9f2823..f9120bd5 100644
--- a/proto/utxo/BUILD
+++ b/proto/utxo/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_cc//cc:defs.bzl", "cc_proto_library")
diff --git a/proto/utxo/config.proto b/proto/utxo/config.proto
index b0901021..227efcda 100644
--- a/proto/utxo/config.proto
+++ b/proto/utxo/config.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb.utxo;
diff --git a/proto/utxo/rpc.proto b/proto/utxo/rpc.proto
index 3713da46..add8f872 100644
--- a/proto/utxo/rpc.proto
+++ b/proto/utxo/rpc.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb.utxo;
diff --git a/proto/utxo/utxo.proto b/proto/utxo/utxo.proto
index 4fd41790..63137fc0 100644
--- a/proto/utxo/utxo.proto
+++ b/proto/utxo/utxo.proto
@@ -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.
+ */
+
 syntax = "proto3";
 
 package resdb.utxo;
diff --git a/service/contract/BUILD b/service/contract/BUILD
index d19f5a6b..11545b16 100644
--- a/service/contract/BUILD
+++ b/service/contract/BUILD
@@ -1,3 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/service/kv/BUILD b/service/kv/BUILD
index 56b45ae1..a79b779b 100644
--- a/service/kv/BUILD
+++ b/service/kv/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:private"])
 
 load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
diff --git a/service/tools/contract/api_tools/BUILD 
b/service/tools/contract/api_tools/BUILD
index c9c4b1d0..f0709e9c 100644
--- a/service/tools/contract/api_tools/BUILD
+++ b/service/tools/contract/api_tools/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/service/tools/kv/api_tools/BUILD b/service/tools/kv/api_tools/BUILD
index e1f198cd..61a7d366 100644
--- a/service/tools/kv/api_tools/BUILD
+++ b/service/tools/kv/api_tools/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/service/tools/utxo/wallet_tool/cpp/BUILD 
b/service/tools/utxo/wallet_tool/cpp/BUILD
index 729dab6e..ad7910d4 100644
--- a/service/tools/utxo/wallet_tool/cpp/BUILD
+++ b/service/tools/utxo/wallet_tool/cpp/BUILD
@@ -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.
+#
+
 package(default_visibility = 
["//service/tools/utxo/wallet_tool/pybind:__subpackages__"])
 
 cc_library(
diff --git a/service/tools/utxo/wallet_tool/py/BUILD 
b/service/tools/utxo/wallet_tool/py/BUILD
index 0e8e8e71..205da8b3 100644
--- a/service/tools/utxo/wallet_tool/py/BUILD
+++ b/service/tools/utxo/wallet_tool/py/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 py_binary(
diff --git a/service/tools/utxo/wallet_tool/pybind/BUILD 
b/service/tools/utxo/wallet_tool/pybind/BUILD
index 9a6b7bad..b42b1380 100644
--- a/service/tools/utxo/wallet_tool/pybind/BUILD
+++ b/service/tools/utxo/wallet_tool/pybind/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/service/tools/utxo/wallet_tool/test/BUILD 
b/service/tools/utxo/wallet_tool/test/BUILD
index 2055c2ff..4b2d9ad2 100644
--- a/service/tools/utxo/wallet_tool/test/BUILD
+++ b/service/tools/utxo/wallet_tool/test/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:private"])
 
 cc_binary(
diff --git a/service/utils/BUILD b/service/utils/BUILD
index a851d99a..2849d7b4 100644
--- a/service/utils/BUILD
+++ b/service/utils/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_library(
diff --git a/service/utxo/BUILD b/service/utxo/BUILD
index d832e989..a72086c6 100644
--- a/service/utxo/BUILD
+++ b/service/utxo/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(
diff --git a/third_party/BUILD b/third_party/BUILD
index 0ec7614b..9d13dacb 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make", "make")
diff --git a/action.yml b/third_party/loc_script/action.yml
similarity index 100%
rename from action.yml
rename to third_party/loc_script/action.yml
diff --git a/src/index.js b/third_party/loc_script/src/index.js
similarity index 100%
rename from src/index.js
rename to third_party/loc_script/src/index.js
diff --git a/tools/BUILD b/tools/BUILD
index 56b50b98..8d5ca092 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -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.
+#
+
 package(default_visibility = ["//visibility:public"])
 
 cc_binary(

Reply via email to