You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by aa...@apache.org on 2022/07/14 08:11:39 UTC

[rocketmq-apis] branch main updated: Add apache license header (#59)

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

aaronai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-apis.git


The following commit(s) were added to refs/heads/main by this push:
     new 26f6860  Add apache license header (#59)
26f6860 is described below

commit 26f6860c00b9c3608b7d9eee6423ec3a78532b04
Author: Aaron Ai <ya...@alibaba-inc.com>
AuthorDate: Thu Jul 14 16:11:36 2022 +0800

    Add apache license header (#59)
---
 status_code.md => StatusCode.md |  0
 compile.bzl                     | 15 +++++++++++++++
 cpp/cpp_grpc_compile.bzl        | 15 +++++++++++++++
 cpp/cpp_grpc_library.bzl        | 15 +++++++++++++++
 deps.bzl                        | 15 +++++++++++++++
 java/java_grpc_compile.bzl      | 15 +++++++++++++++
 plugin.bzl                      | 15 +++++++++++++++
 7 files changed, 90 insertions(+)

diff --git a/status_code.md b/StatusCode.md
similarity index 100%
rename from status_code.md
rename to StatusCode.md
diff --git a/compile.bzl b/compile.bzl
index c37774d..8b59c5a 100644
--- a/compile.bzl
+++ b/compile.bzl
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#     http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 load("//:plugin.bzl", "ProtoPluginInfo")
 
 ProtoCompileInfo = provider(fields = {
diff --git a/cpp/cpp_grpc_compile.bzl b/cpp/cpp_grpc_compile.bzl
index 20ee259..7dab666 100644
--- a/cpp/cpp_grpc_compile.bzl
+++ b/cpp/cpp_grpc_compile.bzl
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#     http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 load("//:compile.bzl", "proto_compile")
 
 def cpp_grpc_compile(**kwargs):
diff --git a/cpp/cpp_grpc_library.bzl b/cpp/cpp_grpc_library.bzl
index 61621c8..e03048c 100644
--- a/cpp/cpp_grpc_library.bzl
+++ b/cpp/cpp_grpc_library.bzl
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#     http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 load("//cpp:cpp_grpc_compile.bzl", "cpp_grpc_compile")
 
 def cpp_grpc_library(**kwargs):
diff --git a/deps.bzl b/deps.bzl
index 181cb39..0345afa 100644
--- a/deps.bzl
+++ b/deps.bzl
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#     http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")
 
diff --git a/java/java_grpc_compile.bzl b/java/java_grpc_compile.bzl
index 926b7e8..beb522e 100644
--- a/java/java_grpc_compile.bzl
+++ b/java/java_grpc_compile.bzl
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#     http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 load("//:compile.bzl", "proto_compile")
 
 def java_grpc_compile(**kwargs):
diff --git a/plugin.bzl b/plugin.bzl
index 361cc84..7da43e2 100644
--- a/plugin.bzl
+++ b/plugin.bzl
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#     http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 ProtoPluginInfo = provider(fields = {
     "name": "proto plugin name",
     "outputs": "outputs to be generated",