diff --git a/BUILD.bazel b/BUILD.bazel index 855ab7bf427..f9d2541d07b 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@bazel_gazelle//:def.bzl", "gazelle") load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier") load("@io_bazel_rules_docker//container:container.bzl", "container_image") diff --git a/Makefile b/Makefile index f9e9ecf942f..4c36e79ad91 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Makefile for the repo. # This is used to help coordinate some of the tasks around the build process. # Most of the actual build steps should be managed by Bazel. diff --git a/bazel/BUILD.bazel b/bazel/BUILD.bazel index c2f86471910..917720029f3 100644 --- a/bazel/BUILD.bazel +++ b/bazel/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + package(default_visibility = ["//visibility:public"]) config_setting( diff --git a/bazel/cc_resource.bzl b/bazel/cc_resource.bzl index 60b827c4a3b..bb84e50d748 100644 --- a/bazel/cc_resource.bzl +++ b/bazel/cc_resource.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") load("//bazel:pl_bpf_preprocess.bzl", "pl_bpf_preprocess") diff --git a/bazel/external/BUILD.bazel b/bazel/external/BUILD.bazel index e69de29bb2d..14ca481dc04 100644 --- a/bazel/external/BUILD.bazel +++ b/bazel/external/BUILD.bazel @@ -0,0 +1,15 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/bazel/external/concurrentqueue.BUILD b/bazel/external/concurrentqueue.BUILD index e31b3a76888..daf4b5a8baf 100644 --- a/bazel/external/concurrentqueue.BUILD +++ b/bazel/external/concurrentqueue.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) # BSD LICENSE diff --git a/bazel/external/cpp_jwt.BUILD b/bazel/external/cpp_jwt.BUILD index 27edc48611d..16e854800e5 100644 --- a/bazel/external/cpp_jwt.BUILD +++ b/bazel/external/cpp_jwt.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) diff --git a/bazel/external/csv_parser.BUILD b/bazel/external/csv_parser.BUILD index 8537fe3b2ff..7a2b6fb6648 100644 --- a/bazel/external/csv_parser.BUILD +++ b/bazel/external/csv_parser.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) diff --git a/bazel/external/double_conversion.BUILD b/bazel/external/double_conversion.BUILD index e3042d89077..d40ce2a7914 100644 --- a/bazel/external/double_conversion.BUILD +++ b/bazel/external/double_conversion.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) diff --git a/bazel/external/farmhash.BUILD b/bazel/external/farmhash.BUILD index f818fdecf08..68b4941cdde 100644 --- a/bazel/external/farmhash.BUILD +++ b/bazel/external/farmhash.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) # MIT diff --git a/bazel/external/llvm.BUILD b/bazel/external/llvm.BUILD index f10227aaa5b..f07f45e5e3b 100644 --- a/bazel/external/llvm.BUILD +++ b/bazel/external/llvm.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) diff --git a/bazel/external/nlohmann_json.BUILD b/bazel/external/nlohmann_json.BUILD index 32b86c5a188..0c58344df3c 100644 --- a/bazel/external/nlohmann_json.BUILD +++ b/bazel/external/nlohmann_json.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) diff --git a/bazel/external/picohttpparser.BUILD b/bazel/external/picohttpparser.BUILD index ad750189f22..6313b79ab48 100644 --- a/bazel/external/picohttpparser.BUILD +++ b/bazel/external/picohttpparser.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) # MIT diff --git a/bazel/external/rapidjson.BUILD b/bazel/external/rapidjson.BUILD index efa9ea19ee0..50e108479ff 100644 --- a/bazel/external/rapidjson.BUILD +++ b/bazel/external/rapidjson.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) diff --git a/bazel/external/sentencepiece.BUILD b/bazel/external/sentencepiece.BUILD index 985ec37c92b..1232c798ec2 100644 --- a/bazel/external/sentencepiece.BUILD +++ b/bazel/external/sentencepiece.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library", "cc_proto_library") load("@rules_proto//proto:defs.bzl", "proto_library") diff --git a/bazel/external/sole.BUILD b/bazel/external/sole.BUILD index 7e2d9693ecc..03533ee01ad 100644 --- a/bazel/external/sole.BUILD +++ b/bazel/external/sole.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) diff --git a/bazel/external/tbb.BUILD b/bazel/external/tbb.BUILD index 81499fa0b63..ae9500cc294 100644 --- a/bazel/external/tbb.BUILD +++ b/bazel/external/tbb.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) # 3-Clause BSD diff --git a/bazel/external/xxhash.BUILD b/bazel/external/xxhash.BUILD index caaca21cf35..4c6e4b1417a 100644 --- a/bazel/external/xxhash.BUILD +++ b/bazel/external/xxhash.BUILD @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_library") licenses(["notice"]) diff --git a/bazel/flex_bison.bzl b/bazel/flex_bison.bzl index f5c17e3c941..c10d5689a4a 100644 --- a/bazel/flex_bison.bzl +++ b/bazel/flex_bison.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Taken from: https://github.com/kythe/kythe/blob/master/tools/build_rules/lexyacc.bzl def genflex(name, src, out, includes = [], **kwargs): diff --git a/bazel/gogo.bzl b/bazel/gogo.bzl index eb3b0713ba4..1b05adde909 100644 --- a/bazel/gogo.bzl +++ b/bazel/gogo.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This files is based on: https://github.com/bazelbuild/ # rules_go/blob/185de7fefd7fe6ea1ccf03747b29bf84afa4c149/proto/gogo.bzl # but modified. diff --git a/bazel/grpc_web.bzl b/bazel/grpc_web.bzl index 627f678ff04..baf5b5ed72a 100644 --- a/bazel/grpc_web.bzl +++ b/bazel/grpc_web.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This rule was inspired by grpc_webs closure build rule, which is # licensed under Apache 2. # https://github.com/grpc/grpc-web/blob/master/bazel/closure_grpc_web_library.bzl diff --git a/bazel/licenses.bzl b/bazel/licenses.bzl index 88ee66dc2d1..6f63e27454d 100644 --- a/bazel/licenses.bzl +++ b/bazel/licenses.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + def _fetch_licenses_impl(ctx): args = ctx.actions.args() args.add("--github_token", ctx.file.oauth_token) diff --git a/bazel/pl_bpf_preprocess.bzl b/bazel/pl_bpf_preprocess.bzl index 5af1710a23b..78258a66475 100644 --- a/bazel/pl_bpf_preprocess.bzl +++ b/bazel/pl_bpf_preprocess.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This macro preprocesses BPF C files to include any user-includes. # It essentially does this by running the C preprocessor. # BPF source should not, however, have system includes inlined, as that diff --git a/bazel/pl_build_system.bzl b/bazel/pl_build_system.bzl index 102b8a0a93e..5c23e5b7c96 100644 --- a/bazel/pl_build_system.bzl +++ b/bazel/pl_build_system.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Based on envoy(28d5f41) envoy/bazel/envoy_build_system.bzl # Compute the final copts based on various options. load("@io_bazel_rules_go//go:def.bzl", "go_context", "go_library") diff --git a/bazel/pl_workspace.bzl b/bazel/pl_workspace.bzl index 8f61fb7273c..0f176cd7c78 100644 --- a/bazel/pl_workspace.bzl +++ b/bazel/pl_workspace.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file") load("@com_github_bazelbuild_buildtools//buildifier:deps.bzl", "buildifier_dependencies") diff --git a/bazel/proto_compile.bzl b/bazel/proto_compile.bzl index d4c05a5aa7d..c98212ec108 100644 --- a/bazel/proto_compile.bzl +++ b/bazel/proto_compile.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + """Generates and compiles proto and GRPC stubs using proto_library rules.""" # This is used instead of the default rules because the GRPC, proto and GOGO diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 605e1b50234..d6af579ab7b 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load(":repository_locations.bzl", "REPOSITORY_LOCATIONS") diff --git a/bazel/repository_locations.bzl b/bazel/repository_locations.bzl index 835a92209e2..ebfa9a5cc24 100644 --- a/bazel/repository_locations.bzl +++ b/bazel/repository_locations.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + REPOSITORY_LOCATIONS = dict( bazel_gazelle = dict( sha256 = "222e49f034ca7a1d1231422cdb67066b885819885c356673cb1f72f748a3c9d4", diff --git a/bazel/ui.bzl b/bazel/ui.bzl index 430c9b37b94..b895543dddd 100644 --- a/bazel/ui.bzl +++ b/bazel/ui.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This file contains rules for for our UI builds. # It's a bit hacky, but better than what we had before. This is just a placeholder until # https://github.com/bazelbuild/rules_nodejs is ready. In the current state bazel diff --git a/ci/bazel_build_deps.sh b/ci/bazel_build_deps.sh index cf37049c379..ebfa13178b0 100755 --- a/ci/bazel_build_deps.sh +++ b/ci/bazel_build_deps.sh @@ -1,4 +1,21 @@ #!/bin/bash -ex + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This script finds all the Bazel targets based on which files are changed and flags passed in. # Go to the root of the repo diff --git a/ci/cli_build_release.sh b/ci/cli_build_release.sh index 4578bb89a24..940ad183a14 100755 --- a/ci/cli_build_release.sh +++ b/ci/cli_build_release.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -ex repo_path=$(bazel info workspace) diff --git a/ci/cli_sign.sh b/ci/cli_sign.sh index 359cb83a480..871eabe9a0e 100755 --- a/ci/cli_sign.sh +++ b/ci/cli_sign.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -ex printenv diff --git a/ci/cli_upload_signed.sh b/ci/cli_upload_signed.sh index 2578f791fbe..fe67c243e62 100755 --- a/ci/cli_upload_signed.sh +++ b/ci/cli_upload_signed.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + repo_path=$(bazel info workspace) # shellcheck source=ci/gcs_utils.sh diff --git a/ci/collect_and_upload_lsif.sh b/ci/collect_and_upload_lsif.sh index a20f476e0d3..79b352efacd 100755 --- a/ci/collect_and_upload_lsif.sh +++ b/ci/collect_and_upload_lsif.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + SOURCEGRAPH_ENDPOINT="https://cs.corp.pixielabs.ai" GIT_COMMIT="" diff --git a/ci/collect_coverage.sh b/ci/collect_coverage.sh index 670aa209d6d..8539bcbc240 100755 --- a/ci/collect_coverage.sh +++ b/ci/collect_coverage.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # We use GCC for building coverage code. export CC=gcc export CXX=g++ diff --git a/ci/gcs_utils.sh b/ci/gcs_utils.sh index 16d5c3ce0a9..e6c232e7c3e 100644 --- a/ci/gcs_utils.sh +++ b/ci/gcs_utils.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + copy_artifact_to_gcs() { output_path="$1" diff --git a/ci/helm_build_release.sh b/ci/helm_build_release.sh index d69a0e4c7cf..9594573634c 100755 --- a/ci/helm_build_release.sh +++ b/ci/helm_build_release.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -ex usage() { diff --git a/ci/run_clang_tidy.sh b/ci/run_clang_tidy.sh index 899e02b620d..2341a4e17d2 100755 --- a/ci/run_clang_tidy.sh +++ b/ci/run_clang_tidy.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + diff_mode=false diff_file="" build=true diff --git a/ci/save_diff_info.sh b/ci/save_diff_info.sh index ca40e316dd2..51b99b424b8 100755 --- a/ci/save_diff_info.sh +++ b/ci/save_diff_info.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -e git diff -U0 origin/main > diff_origin_main diff --git a/ci/save_version_info.sh b/ci/save_version_info.sh index 205cad42c6c..98d6ff227bb 100755 --- a/ci/save_version_info.sh +++ b/ci/save_version_info.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -e git rev-parse HEAD > GIT_COMMIT diff --git a/ci/update_artifact_db.sh b/ci/update_artifact_db.sh index 8032fe07d25..251065050c7 100755 --- a/ci/update_artifact_db.sh +++ b/ci/update_artifact_db.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -ex versions_file="$(pwd)/src/utils/artifacts/artifact_db_updater/VERSIONS.json" diff --git a/ci/vizier_build_release.sh b/ci/vizier_build_release.sh index 8e51e2a9a4e..8a5028856f7 100755 --- a/ci/vizier_build_release.sh +++ b/ci/vizier_build_release.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -ex printenv diff --git a/demos/BUILD.bazel b/demos/BUILD.bazel index 6ba387c4b7c..376b43ba231 100644 --- a/demos/BUILD.bazel +++ b/demos/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar") load("@px//demos:demo_upload.bzl", "demo_upload") diff --git a/demos/demo_upload.bzl b/demos/demo_upload.bzl index 4579df8737a..493c548b688 100644 --- a/demos/demo_upload.bzl +++ b/demos/demo_upload.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + def _impl(ctx): bucket = ctx.attr.bucket if bucket[-1] == "/": diff --git a/go_deps.bzl b/go_deps.bzl index 8a8d6b55b40..d424e26bc51 100644 --- a/go_deps.bzl +++ b/go_deps.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@bazel_gazelle//:deps.bzl", "go_repository") def pl_go_dependencies(): diff --git a/k8s/cloud/BUILD.bazel b/k8s/cloud/BUILD.bazel index aa70d91f48a..3592c33b70a 100644 --- a/k8s/cloud/BUILD.bazel +++ b/k8s/cloud/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_bundle") load("//k8s/vizier:images.bzl", "image_map_with_bundle_version") diff --git a/k8s/vizier/BUILD.bazel b/k8s/vizier/BUILD.bazel index a973c3e28b5..cbf0b8f6347 100644 --- a/k8s/vizier/BUILD.bazel +++ b/k8s/vizier/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar") load("@io_bazel_rules_docker//container:container.bzl", "container_bundle") load("@io_bazel_rules_docker//contrib:push-all.bzl", "container_push") diff --git a/k8s/vizier/images.bzl b/k8s/vizier/images.bzl index 6383bb8dcee..89672002c46 100644 --- a/k8s/vizier/images.bzl +++ b/k8s/vizier/images.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + private_registry = "gcr.io/pl-dev-infra" public_registry = "gcr.io/pixie-prod" diff --git a/k8s/vizier_bootstrap/BUILD.bazel b/k8s/vizier_bootstrap/BUILD.bazel index adfa78edf04..8f9fa4f0fbc 100644 --- a/k8s/vizier_bootstrap/BUILD.bazel +++ b/k8s/vizier_bootstrap/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + package(default_visibility = ["//visibility:public"]) filegroup( diff --git a/k8s/vizier_deps/BUILD.bazel b/k8s/vizier_deps/BUILD.bazel index b1e0ee48539..b8757311e9b 100644 --- a/k8s/vizier_deps/BUILD.bazel +++ b/k8s/vizier_deps/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar") package(default_visibility = ["//visibility:public"]) diff --git a/scripts/access_prod_db.sh b/scripts/access_prod_db.sh index 79682e84901..f36ebadff44 100755 --- a/scripts/access_prod_db.sh +++ b/scripts/access_prod_db.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + DB="pl_prod" usage() { diff --git a/scripts/create_gke_cluster.sh b/scripts/create_gke_cluster.sh index 53709035b61..7fd9649058d 100755 --- a/scripts/create_gke_cluster.sh +++ b/scripts/create_gke_cluster.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This script creates a K8s cluster for various environments. ################## diff --git a/scripts/create_release_tag.sh b/scripts/create_release_tag.sh index 8aab4526765..7bd85964412 100755 --- a/scripts/create_release_tag.sh +++ b/scripts/create_release_tag.sh @@ -1,5 +1,21 @@ #!/bin/bash -ex +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This creates a new tag in git for the current commit. usage() { diff --git a/scripts/decode_yaml_secret.py b/scripts/decode_yaml_secret.py index 74d5c0a9561..cfbded9b014 100644 --- a/scripts/decode_yaml_secret.py +++ b/scripts/decode_yaml_secret.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import yaml import sys import base64 diff --git a/scripts/deploy_cloud.sh b/scripts/deploy_cloud.sh index 2d0e9dcf239..ac5d6cd1269 100755 --- a/scripts/deploy_cloud.sh +++ b/scripts/deploy_cloud.sh @@ -1,5 +1,21 @@ #!/bin/bash -ex +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This deploys a new cloud release. usage() { diff --git a/scripts/deploy_cloud_deps.sh b/scripts/deploy_cloud_deps.sh index 99deb596bc3..1f9ca84dfad 100755 --- a/scripts/deploy_cloud_deps.sh +++ b/scripts/deploy_cloud_deps.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + if [ "$#" -ne 1 ]; then echo "This script requires exactly one argument: " exit 1 diff --git a/scripts/deploy_cloud_prereqs.sh b/scripts/deploy_cloud_prereqs.sh index c46806ce0e3..4b411a55ccd 100755 --- a/scripts/deploy_cloud_prereqs.sh +++ b/scripts/deploy_cloud_prereqs.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + if [ "$#" -ne 2 ]; then echo "This script requires exactly two arguments: " exit 1 diff --git a/scripts/gen_compilation_database.py b/scripts/gen_compilation_database.py index d4cbdcdaa5d..8707392bc9f 100755 --- a/scripts/gen_compilation_database.py +++ b/scripts/gen_compilation_database.py @@ -1,5 +1,21 @@ #!/usr/bin/env python +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Borrowed from: https://github.com/envoyproxy/envoy/commit/24e2e0e735347a0440fe456ddc328053ba095daa import argparse diff --git a/scripts/gen_compilation_database.sh b/scripts/gen_compilation_database.sh index ae287fbbfb4..8d2fa8ee755 100755 --- a/scripts/gen_compilation_database.sh +++ b/scripts/gen_compilation_database.sh @@ -1,5 +1,21 @@ #!/bin/bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + RELEASE_VERSION=0.3.5 workspace=$(bazel info workspace 2> /dev/null) diff --git a/scripts/generate_jenkins_secret.sh b/scripts/generate_jenkins_secret.sh index 5d0ef9f13df..9e39e51a9b4 100755 --- a/scripts/generate_jenkins_secret.sh +++ b/scripts/generate_jenkins_secret.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This script can be used to generate secret tokens used by Jenkins. # Any cluster accessed by Jenkins needs credentials to be registered # in the UI under: https://jenkins.pixielabs.ai/credentials. diff --git a/scripts/generate_vscode_tasks.py b/scripts/generate_vscode_tasks.py index 70451b2d206..64cb4f47792 100644 --- a/scripts/generate_vscode_tasks.py +++ b/scripts/generate_vscode_tasks.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This file manages the generation of tasks.json (builds) and launch.json (debug commands). # Simply run: python scripts/generate_vscode_tasks.py from the bazel workspace root. import argparse diff --git a/scripts/load_cloud_secrets.sh b/scripts/load_cloud_secrets.sh index 323830efc29..23acb3753a4 100755 --- a/scripts/load_cloud_secrets.sh +++ b/scripts/load_cloud_secrets.sh @@ -1,4 +1,21 @@ #!/usr/bin/env bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -e if [ "$#" -ne 2 ]; then diff --git a/scripts/load_dev_db.sh b/scripts/load_dev_db.sh index 57ad02054ec..cc915aa8910 100755 --- a/scripts/load_dev_db.sh +++ b/scripts/load_dev_db.sh @@ -1,5 +1,21 @@ #!/bin/bash -ex +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + function usage() { # Disable the printing on each echo. diff --git a/scripts/run_docker.sh b/scripts/run_docker.sh index ea3aeb191c3..532cfec9460 100755 --- a/scripts/run_docker.sh +++ b/scripts/run_docker.sh @@ -1,5 +1,21 @@ #!/bin/bash -ex +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + function usage() { echo "run_docker.sh [--extra_args=]" } diff --git a/scripts/run_etcdctl.sh b/scripts/run_etcdctl.sh index 8ff9c4432ec..6cb4bce80ba 100755 --- a/scripts/run_etcdctl.sh +++ b/scripts/run_etcdctl.sh @@ -1,5 +1,21 @@ #!/bin/bash -ex +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + endpoint="https://localhost:2379" cert="/clientcerts/etcd-client.crt" key="/clientcerts/etcd-client.key" diff --git a/scripts/script_utils.sh b/scripts/script_utils.sh index 9e33c6839ca..681920ee766 100755 --- a/scripts/script_utils.sh +++ b/scripts/script_utils.sh @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + retry() { cmd=$1 try=${2:-15} # 15 by default diff --git a/scripts/setup_dev_k8s.sh b/scripts/setup_dev_k8s.sh index 7e52e01b99d..3e446bd238a 100755 --- a/scripts/setup_dev_k8s.sh +++ b/scripts/setup_dev_k8s.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + vm_driver=kvm2 memory=8192 cpus=8 diff --git a/scripts/sudo_bazel_run.sh b/scripts/sudo_bazel_run.sh index b5160b1396e..6b2c0b3e98c 100755 --- a/scripts/sudo_bazel_run.sh +++ b/scripts/sudo_bazel_run.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + usage() { echo "This script effectively executes 'bazel run' with sudo" echo "" diff --git a/scripts/update_go_protos.sh b/scripts/update_go_protos.sh index 0583f131649..8ac9f65eba4 100755 --- a/scripts/update_go_protos.sh +++ b/scripts/update_go_protos.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + workspace=$(bazel info workspace 2> /dev/null) pushd "${workspace}" &> /dev/null || exit diff --git a/scripts/update_tls_certs.sh b/scripts/update_tls_certs.sh index 3f333051340..df9d2523ee6 100755 --- a/scripts/update_tls_certs.sh +++ b/scripts/update_tls_certs.sh @@ -1,5 +1,21 @@ #!/bin/bash -ex +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This script updates service_tls_certs for the provided cluster # Print out the usage information and exit. diff --git a/scripts/update_ts_protos.sh b/scripts/update_ts_protos.sh index 90eabdd4996..32925000361 100755 --- a/scripts/update_ts_protos.sh +++ b/scripts/update_ts_protos.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + if (($# > 1)); then echo "Needs at most one argument as a build label, exit ..." exit 1 diff --git a/src/api/BUILD.bazel b/src/api/BUILD.bazel index 4d0b572728d..a818e706bec 100644 --- a/src/api/BUILD.bazel +++ b/src/api/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_python//python:defs.bzl", "py_binary") filegroup( diff --git a/src/api/copy_to_public_repo.sh b/src/api/copy_to_public_repo.sh index 13b06bcf18e..364ab81b5a2 100755 --- a/src/api/copy_to_public_repo.sh +++ b/src/api/copy_to_public_repo.sh @@ -1,4 +1,21 @@ #!/bin/bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # --- begin runfiles.bash initialization --- # Load Bazel's Bash runfiles library (tools/bash/runfiles/runfiles.bash). set -euo pipefail diff --git a/src/api/go/pxapi/BUILD.bazel b/src/api/go/pxapi/BUILD.bazel index cd8d4674266..89d51c5f631 100644 --- a/src/api/go/pxapi/BUILD.bazel +++ b/src/api/go/pxapi/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/api/go/pxapi/client.go b/src/api/go/pxapi/client.go index efb704faa8b..9cf2eacd0d6 100644 --- a/src/api/go/pxapi/client.go +++ b/src/api/go/pxapi/client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pxapi import ( diff --git a/src/api/go/pxapi/doc.go b/src/api/go/pxapi/doc.go index 950c5e85ac8..a09be8fc4b4 100644 --- a/src/api/go/pxapi/doc.go +++ b/src/api/go/pxapi/doc.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Package pxapi provides the Go client interface for Pixie. // WARNING: The API defined in this package is not stable and can change without notice. // The same goes for the package path: (github.com/pixie-labs/pixie/api/go) diff --git a/src/api/go/pxapi/errdefs/BUILD.bazel b/src/api/go/pxapi/errdefs/BUILD.bazel index eb4af1d7473..268e35a24b8 100644 --- a/src/api/go/pxapi/errdefs/BUILD.bazel +++ b/src/api/go/pxapi/errdefs/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/api/go/pxapi/errdefs/compiler.go b/src/api/go/pxapi/errdefs/compiler.go index 63f75d2fc57..cb1cc18c245 100644 --- a/src/api/go/pxapi/errdefs/compiler.go +++ b/src/api/go/pxapi/errdefs/compiler.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package errdefs import ( diff --git a/src/api/go/pxapi/errdefs/doc.go b/src/api/go/pxapi/errdefs/doc.go index 6cfe63f4029..1dcce98e9ad 100644 --- a/src/api/go/pxapi/errdefs/doc.go +++ b/src/api/go/pxapi/errdefs/doc.go @@ -1,2 +1,20 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Package errdefs has the public error types used by the API. package errdefs diff --git a/src/api/go/pxapi/errdefs/err.go b/src/api/go/pxapi/errdefs/err.go index 1a2c1a661ac..0fcaac13533 100644 --- a/src/api/go/pxapi/errdefs/err.go +++ b/src/api/go/pxapi/errdefs/err.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package errdefs import ( diff --git a/src/api/go/pxapi/errdefs/err_test.go b/src/api/go/pxapi/errdefs/err_test.go index 28d0c7b0197..7b9f322297d 100644 --- a/src/api/go/pxapi/errdefs/err_test.go +++ b/src/api/go/pxapi/errdefs/err_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package errdefs import "testing" diff --git a/src/api/go/pxapi/errdefs/formatters/BUILD.bazel b/src/api/go/pxapi/errdefs/formatters/BUILD.bazel index 8922ae08a05..535aa352c06 100644 --- a/src/api/go/pxapi/errdefs/formatters/BUILD.bazel +++ b/src/api/go/pxapi/errdefs/formatters/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/api/go/pxapi/errdefs/formatters/doc.go b/src/api/go/pxapi/errdefs/formatters/doc.go index 437d461658b..08bbc8be837 100644 --- a/src/api/go/pxapi/errdefs/formatters/doc.go +++ b/src/api/go/pxapi/errdefs/formatters/doc.go @@ -1,2 +1,20 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Package formatters contains implementations of table handles that can format data into tables, json, etc. package formatters diff --git a/src/api/go/pxapi/errdefs/formatters/json.go b/src/api/go/pxapi/errdefs/formatters/json.go index 48343ad30b0..2362cf4edf1 100644 --- a/src/api/go/pxapi/errdefs/formatters/json.go +++ b/src/api/go/pxapi/errdefs/formatters/json.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package formatters import ( diff --git a/src/api/go/pxapi/errdefs/formatters/table.go b/src/api/go/pxapi/errdefs/formatters/table.go index 12caf011236..5a2de3efe36 100644 --- a/src/api/go/pxapi/errdefs/formatters/table.go +++ b/src/api/go/pxapi/errdefs/formatters/table.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package formatters import ( diff --git a/src/api/go/pxapi/errdefs/parsers.go b/src/api/go/pxapi/errdefs/parsers.go index 70580a44dc5..e1c10dfe397 100644 --- a/src/api/go/pxapi/errdefs/parsers.go +++ b/src/api/go/pxapi/errdefs/parsers.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package errdefs import ( diff --git a/src/api/go/pxapi/examples/basic_example/BUILD.bazel b/src/api/go/pxapi/examples/basic_example/BUILD.bazel index 5117310b6b6..8ba4992113c 100644 --- a/src/api/go/pxapi/examples/basic_example/BUILD.bazel +++ b/src/api/go/pxapi/examples/basic_example/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") go_library( diff --git a/src/api/go/pxapi/examples/basic_example/example.go b/src/api/go/pxapi/examples/basic_example/example.go index b64c5f70c8c..16e71f9787f 100644 --- a/src/api/go/pxapi/examples/basic_example/example.go +++ b/src/api/go/pxapi/examples/basic_example/example.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/api/go/pxapi/examples/example_mux/BUILD.bazel b/src/api/go/pxapi/examples/example_mux/BUILD.bazel index 02f86eca831..d8413e9eec2 100644 --- a/src/api/go/pxapi/examples/example_mux/BUILD.bazel +++ b/src/api/go/pxapi/examples/example_mux/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") go_library( diff --git a/src/api/go/pxapi/examples/example_mux/example.go b/src/api/go/pxapi/examples/example_mux/example.go index f432e79ca95..b88f577a8ef 100644 --- a/src/api/go/pxapi/examples/example_mux/example.go +++ b/src/api/go/pxapi/examples/example_mux/example.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/api/go/pxapi/muxes/BUILD.bazel b/src/api/go/pxapi/muxes/BUILD.bazel index dda397d69a8..1c17939a3c6 100644 --- a/src/api/go/pxapi/muxes/BUILD.bazel +++ b/src/api/go/pxapi/muxes/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/api/go/pxapi/muxes/doc.go b/src/api/go/pxapi/muxes/doc.go index a53f03624a0..4284152e4be 100644 --- a/src/api/go/pxapi/muxes/doc.go +++ b/src/api/go/pxapi/muxes/doc.go @@ -1,2 +1,20 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Package muxes has implementations of the Mux interface to route tables. package muxes diff --git a/src/api/go/pxapi/muxes/regex.go b/src/api/go/pxapi/muxes/regex.go index 1052da9c485..5e7ea9a9de0 100644 --- a/src/api/go/pxapi/muxes/regex.go +++ b/src/api/go/pxapi/muxes/regex.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package muxes import ( diff --git a/src/api/go/pxapi/opts.go b/src/api/go/pxapi/opts.go index 6b64e410672..c90bbb89ee9 100644 --- a/src/api/go/pxapi/opts.go +++ b/src/api/go/pxapi/opts.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pxapi // ClientOption configures options on the client. diff --git a/src/api/go/pxapi/results.go b/src/api/go/pxapi/results.go index 689b9eb9f2d..9c2e3c8e57d 100644 --- a/src/api/go/pxapi/results.go +++ b/src/api/go/pxapi/results.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pxapi import ( diff --git a/src/api/go/pxapi/results_test.go b/src/api/go/pxapi/results_test.go index 7dafd79353f..5781d049904 100644 --- a/src/api/go/pxapi/results_test.go +++ b/src/api/go/pxapi/results_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pxapi import ( diff --git a/src/api/go/pxapi/types/BUILD.bazel b/src/api/go/pxapi/types/BUILD.bazel index 88c94ef987d..9c89afd9851 100644 --- a/src/api/go/pxapi/types/BUILD.bazel +++ b/src/api/go/pxapi/types/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/api/go/pxapi/types/doc.go b/src/api/go/pxapi/types/doc.go index 3410f3900fe..2b316437b14 100644 --- a/src/api/go/pxapi/types/doc.go +++ b/src/api/go/pxapi/types/doc.go @@ -1,2 +1,20 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Package types tracks all the Pixie types used in the Go API. package types diff --git a/src/api/go/pxapi/types/schema.go b/src/api/go/pxapi/types/schema.go index b129f46bbbf..337e20aad38 100644 --- a/src/api/go/pxapi/types/schema.go +++ b/src/api/go/pxapi/types/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package types // TableMetadata contains the table metadata state. diff --git a/src/api/go/pxapi/types/types.go b/src/api/go/pxapi/types/types.go index 5567311e33e..a55196df0eb 100644 --- a/src/api/go/pxapi/types/types.go +++ b/src/api/go/pxapi/types/types.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package types import ( diff --git a/src/api/go/pxapi/uuid.go b/src/api/go/pxapi/uuid.go index 49a65b6ad97..327307d5be4 100644 --- a/src/api/go/pxapi/uuid.go +++ b/src/api/go/pxapi/uuid.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pxapi import ( diff --git a/src/api/go/pxapi/vizier.go b/src/api/go/pxapi/vizier.go index 90e8bd351ce..21cb3c3632c 100644 --- a/src/api/go/pxapi/vizier.go +++ b/src/api/go/pxapi/vizier.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pxapi import ( diff --git a/src/api/prepend_licenses.py b/src/api/prepend_licenses.py index 9cb17adf83b..b444ff453f4 100644 --- a/src/api/prepend_licenses.py +++ b/src/api/prepend_licenses.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Copyright 2018- The Pixie Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/api/public/cloudapipb/BUILD.bazel b/src/api/public/cloudapipb/BUILD.bazel index dccdbc65e11..903a441fb1d 100644 --- a/src/api/public/cloudapipb/BUILD.bazel +++ b/src/api/public/cloudapipb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_go_proto_library", "pl_proto_library", "pl_py_grpc_library") diff --git a/src/api/public/cloudapipb/cloudapi.proto b/src/api/public/cloudapipb/cloudapi.proto index 0250dd50864..553ba3fc19b 100644 --- a/src/api/public/cloudapipb/cloudapi.proto +++ b/src/api/public/cloudapipb/cloudapi.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.public.cloudapi; diff --git a/src/api/public/cloudapipb/mock.go b/src/api/public/cloudapipb/mock.go index 3ef3ac9890f..85b2048e22f 100644 --- a/src/api/public/cloudapipb/mock.go +++ b/src/api/public/cloudapipb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package publiccloudapipb //go:generate mockgen -source=cloudapi.pb.go -destination=mock/cloudapi_mock.gen.go OrganizationServiceServer diff --git a/src/api/public/cloudapipb/mock/BUILD.bazel b/src/api/public/cloudapipb/mock/BUILD.bazel index 29f3ca8aa77..0546938d5f7 100644 --- a/src/api/public/cloudapipb/mock/BUILD.bazel +++ b/src/api/public/cloudapipb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/api/public/uuidpb/BUILD.bazel b/src/api/public/uuidpb/BUILD.bazel index 16577605f9c..b1995d611bd 100644 --- a/src/api/public/uuidpb/BUILD.bazel +++ b/src/api/public/uuidpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library", "pl_py_proto_library") diff --git a/src/api/public/uuidpb/uuid.proto b/src/api/public/uuidpb/uuid.proto index 10eaf0faf7f..69c1fa34131 100644 --- a/src/api/public/uuidpb/uuid.proto +++ b/src/api/public/uuidpb/uuid.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.uuidpb; diff --git a/src/api/public/vizierapipb/BUILD.bazel b/src/api/public/vizierapipb/BUILD.bazel index c38649b8f61..fb61d1b4c5c 100644 --- a/src/api/public/vizierapipb/BUILD.bazel +++ b/src/api/public/vizierapipb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:grpc_web.bzl", "pl_grpc_web_library") # gazelle:ignore diff --git a/src/api/public/vizierapipb/mock.go b/src/api/public/vizierapipb/mock.go index 97ccc16a77b..67313dd9397 100644 --- a/src/api/public/vizierapipb/mock.go +++ b/src/api/public/vizierapipb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package publicvizierapipb //go:generate mockgen -source=vizierapi.pb.go -destination=mock/vizier_mock.gen.go VizierService_ExecuteScriptServer diff --git a/src/api/public/vizierapipb/mock/BUILD.bazel b/src/api/public/vizierapipb/mock/BUILD.bazel index abbeb4521df..9b5c8d684e8 100644 --- a/src/api/public/vizierapipb/mock/BUILD.bazel +++ b/src/api/public/vizierapipb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/api/public/vizierapipb/vizierapi.proto b/src/api/public/vizierapipb/vizierapi.proto index 81ea0ee5bd4..195474d67d9 100644 --- a/src/api/public/vizierapipb/vizierapi.proto +++ b/src/api/public/vizierapipb/vizierapi.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.api.vizierpb; diff --git a/src/api/python/BUILD.bazel b/src/api/python/BUILD.bazel index d4ba4c785ad..c5f12f4e5bb 100644 --- a/src/api/python/BUILD.bazel +++ b/src/api/python/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("@rules_python//python:defs.bzl", "py_test") diff --git a/src/api/python/api_test.py b/src/api/python/api_test.py index bafc9d87c27..66642d6cc80 100644 --- a/src/api/python/api_test.py +++ b/src/api/python/api_test.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + from pxapi import cloudapi_pb2_grpc, cpb, vizierapi_pb2_grpc, vpb, test_utils, utils import pxapi import unittest diff --git a/src/api/python/build_pip_package.sh b/src/api/python/build_pip_package.sh index 028a3398091..51b8df7322a 100755 --- a/src/api/python/build_pip_package.sh +++ b/src/api/python/build_pip_package.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Modified from original Tensorflow version. # https://github.com/tensorflow/tensorflow/blob/bab0d14036efd0adcd4e48303d045cee3c342cb0/tensorflow/tools/pip_package/build_pip_package.sh # This maintains the license and notice below: diff --git a/src/api/python/copy_python_srcs.sh b/src/api/python/copy_python_srcs.sh index b305af886c8..0f69c24803c 100644 --- a/src/api/python/copy_python_srcs.sh +++ b/src/api/python/copy_python_srcs.sh @@ -1,4 +1,21 @@ #!/usr/bin/env bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + shopt -s globstar function replace_pb_paths() { diff --git a/src/api/python/pxapi/BUILD.bazel b/src/api/python/pxapi/BUILD.bazel index 1af2bb655d2..f3294978b01 100644 --- a/src/api/python/pxapi/BUILD.bazel +++ b/src/api/python/pxapi/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("@rules_python//python:defs.bzl", "py_library", "py_test") load("@vizier_api_python_deps//:requirements.bzl", "requirement") diff --git a/src/api/python/pxapi/__init__.py b/src/api/python/pxapi/__init__.py index c2c18c8b754..83477d7927b 100644 --- a/src/api/python/pxapi/__init__.py +++ b/src/api/python/pxapi/__init__.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # flake8: noqa from .data import Row from .client import ( diff --git a/src/api/python/pxapi/client.py b/src/api/python/pxapi/client.py index dfad690ce29..d9186149330 100644 --- a/src/api/python/pxapi/client.py +++ b/src/api/python/pxapi/client.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import grpc import grpc.aio from urllib.parse import urlparse diff --git a/src/api/python/pxapi/data.py b/src/api/python/pxapi/data.py index 3b1cdb70339..d45678d754e 100644 --- a/src/api/python/pxapi/data.py +++ b/src/api/python/pxapi/data.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import json import uuid import asyncio diff --git a/src/api/python/pxapi/data_test.py b/src/api/python/pxapi/data_test.py index 40a926a0159..ece3eb9ef35 100644 --- a/src/api/python/pxapi/data_test.py +++ b/src/api/python/pxapi/data_test.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import unittest import json import asyncio diff --git a/src/api/python/pxapi/errors.py b/src/api/python/pxapi/errors.py index 4bf4cb9f522..8df502c8ac2 100644 --- a/src/api/python/pxapi/errors.py +++ b/src/api/python/pxapi/errors.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + from src.api.public.vizierapipb import vizierapi_pb2 as vpb diff --git a/src/api/python/pxapi/test_utils.py b/src/api/python/pxapi/test_utils.py index 4c7d1df65be..13e50f2e020 100644 --- a/src/api/python/pxapi/test_utils.py +++ b/src/api/python/pxapi/test_utils.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + from typing import List, Any from src.api.python.pxapi import vpb from src.api.python import pxapi diff --git a/src/api/python/pxapi/utils.py b/src/api/python/pxapi/utils.py index 7921131443e..ad05ab506e1 100644 --- a/src/api/python/pxapi/utils.py +++ b/src/api/python/pxapi/utils.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import uuid from src.api.public.uuidpb import uuid_pb2 as uuidpb diff --git a/src/api/python/release_pip.sh b/src/api/python/release_pip.sh index 06878a8430b..bff11bbec74 100755 --- a/src/api/python/release_pip.sh +++ b/src/api/python/release_pip.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + BUILDDIR=/tmp/blahdyblah PKGDIR=/tmp/out workspace=$(bazel info workspace 2> /dev/null) diff --git a/src/api/python/setup.py b/src/api/python/setup.py index 3564084d282..ac38ac7340f 100644 --- a/src/api/python/setup.py +++ b/src/api/python/setup.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import setuptools with open("README.md", "r", encoding="utf-8") as fh: diff --git a/src/api/python_examples/script_with_multiple_tables.py b/src/api/python_examples/script_with_multiple_tables.py index 284d1aefc56..ca7bbd10283 100644 --- a/src/api/python_examples/script_with_multiple_tables.py +++ b/src/api/python_examples/script_with_multiple_tables.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import os import pxapi diff --git a/src/api/python_examples/script_with_single_table.py b/src/api/python_examples/script_with_single_table.py index cbd554ad26f..eee6d3cc239 100644 --- a/src/api/python_examples/script_with_single_table.py +++ b/src/api/python_examples/script_with_single_table.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import os import pxapi diff --git a/src/api/python_examples/streaming_script_with_single_table.py b/src/api/python_examples/streaming_script_with_single_table.py index 4f16be9fcb2..80130dbeadd 100644 --- a/src/api/python_examples/streaming_script_with_single_table.py +++ b/src/api/python_examples/streaming_script_with_single_table.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import os import pxapi diff --git a/src/benchmarks/BUILD.bazel b/src/benchmarks/BUILD.bazel index ce9e4d07271..3c452233394 100644 --- a/src/benchmarks/BUILD.bazel +++ b/src/benchmarks/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/benchmarks/map_benchmark.cc b/src/benchmarks/map_benchmark.cc index 11b78bcb30c..b4ce426980e 100644 --- a/src/benchmarks/map_benchmark.cc +++ b/src/benchmarks/map_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/benchmarks/pb_parsing_benchmark.cc b/src/benchmarks/pb_parsing_benchmark.cc index 070f440de6e..7f110f1a4f1 100644 --- a/src/benchmarks/pb_parsing_benchmark.cc +++ b/src/benchmarks/pb_parsing_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/benchmarks/proto/BUILD.bazel b/src/benchmarks/proto/BUILD.bazel index 7175da871d8..bc3417e2777 100644 --- a/src/benchmarks/proto/BUILD.bazel +++ b/src/benchmarks/proto/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") # gazelle:ignore diff --git a/src/benchmarks/proto/benchmark.proto b/src/benchmarks/proto/benchmark.proto index a1600eff3ee..491d47ec063 100644 --- a/src/benchmarks/proto/benchmark.proto +++ b/src/benchmarks/proto/benchmark.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.benchmarks; diff --git a/src/carnot/BUILD.bazel b/src/carnot/BUILD.bazel index d826729b151..3ade813b863 100644 --- a/src/carnot/BUILD.bazel +++ b/src/carnot/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/blocking_agg_benchmark.cc b/src/carnot/blocking_agg_benchmark.cc index 0cc57745548..0e525395083 100644 --- a/src/carnot/blocking_agg_benchmark.cc +++ b/src/carnot/blocking_agg_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/carnot.cc b/src/carnot/carnot.cc index d6e6567d3bc..be8c8d65fef 100644 --- a/src/carnot/carnot.cc +++ b/src/carnot/carnot.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/carnot.h b/src/carnot/carnot.h index 6f6a07d7fb7..8003946d5ce 100644 --- a/src/carnot/carnot.h +++ b/src/carnot/carnot.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/carnot_executable.cc b/src/carnot/carnot_executable.cc index 3f20bcf2596..0844b3fdbe3 100644 --- a/src/carnot/carnot_executable.cc +++ b/src/carnot/carnot_executable.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/carnot_test.cc b/src/carnot/carnot_test.cc index 4571d129d84..2f078078181 100644 --- a/src/carnot/carnot_test.cc +++ b/src/carnot/carnot_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/carnotpb/BUILD.bazel b/src/carnot/carnotpb/BUILD.bazel index a8e7fb9aaab..bd9a1fe5323 100644 --- a/src/carnot/carnotpb/BUILD.bazel +++ b/src/carnot/carnotpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/carnot/carnotpb/carnot.proto b/src/carnot/carnotpb/carnot.proto index ad8a4bce8c8..0626edeea12 100644 --- a/src/carnot/carnotpb/carnot.proto +++ b/src/carnot/carnotpb/carnot.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.carnotpb; diff --git a/src/carnot/carnotpb/mock.go b/src/carnot/carnotpb/mock.go index 6a8cc4dc932..62a1f48327c 100644 --- a/src/carnot/carnotpb/mock.go +++ b/src/carnot/carnotpb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package carnotpb //go:generate mockgen -source=carnot.pb.go -destination=mock/carnot_mock.gen.go ResultSinkService_TransferResultChunkServer diff --git a/src/carnot/carnotpb/mock/BUILD.bazel b/src/carnot/carnotpb/mock/BUILD.bazel index d483ddf3702..cbeca6947c8 100644 --- a/src/carnot/carnotpb/mock/BUILD.bazel +++ b/src/carnot/carnotpb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/carnot/dag/BUILD.bazel b/src/carnot/dag/BUILD.bazel index e3035439ab6..a24021c8e17 100644 --- a/src/carnot/dag/BUILD.bazel +++ b/src/carnot/dag/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/dag/dag.cc b/src/carnot/dag/dag.cc index d90601173f9..4a29d38224c 100644 --- a/src/carnot/dag/dag.cc +++ b/src/carnot/dag/dag.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/dag/dag.h" #include diff --git a/src/carnot/dag/dag.h b/src/carnot/dag/dag.h index d5f342dece9..8cf56c63bbe 100644 --- a/src/carnot/dag/dag.h +++ b/src/carnot/dag/dag.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Implemetation of a Directed Acyclic Graph. // We currently only need support for int's since we just store id's in this graph. // If needed the DAG implementation can be made generic. diff --git a/src/carnot/dag/dag_test.cc b/src/carnot/dag/dag_test.cc index 3828ac3a031..5fcfe93eab6 100644 --- a/src/carnot/dag/dag_test.cc +++ b/src/carnot/dag/dag_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/dag/dag.h" #include diff --git a/src/carnot/docspb/BUILD.bazel b/src/carnot/docspb/BUILD.bazel index 22184a33185..278570c0661 100644 --- a/src/carnot/docspb/BUILD.bazel +++ b/src/carnot/docspb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/carnot/docspb/docs.proto b/src/carnot/docspb/docs.proto index f7e7c935482..551506b5270 100644 --- a/src/carnot/docspb/docs.proto +++ b/src/carnot/docspb/docs.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.carnot.docspb; diff --git a/src/carnot/docstring/BUILD.bazel b/src/carnot/docstring/BUILD.bazel index 4fa6dc3ff8e..f3b76b5a710 100644 --- a/src/carnot/docstring/BUILD.bazel +++ b/src/carnot/docstring/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/docstring/docstring_integration.sh b/src/carnot/docstring/docstring_integration.sh index c498d1dac71..431532e8cfb 100755 --- a/src/carnot/docstring/docstring_integration.sh +++ b/src/carnot/docstring/docstring_integration.sh @@ -1,4 +1,21 @@ #!/bin/bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # --- begin runfiles.bash initialization --- # Copy-pasted from Bazel's Bash runfiles library (tools/bash/runfiles/runfiles.bash). set -euo pipefail diff --git a/src/carnot/docstring/docstring_integration_test.sh b/src/carnot/docstring/docstring_integration_test.sh index 969925c386f..110ab9a8ee4 100755 --- a/src/carnot/docstring/docstring_integration_test.sh +++ b/src/carnot/docstring/docstring_integration_test.sh @@ -1,3 +1,20 @@ #!/bin/bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + executable=src/carnot/docstring/docstring_integration ${executable} tmp_output.json diff --git a/src/carnot/docstring/main.go b/src/carnot/docstring/main.go index d81756440cb..b85d439f8c5 100644 --- a/src/carnot/docstring/main.go +++ b/src/carnot/docstring/main.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/carnot/docstring/pkg/BUILD.bazel b/src/carnot/docstring/pkg/BUILD.bazel index 30bcf966d53..da6ae10b592 100644 --- a/src/carnot/docstring/pkg/BUILD.bazel +++ b/src/carnot/docstring/pkg/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/docstring/pkg/docstring.go b/src/carnot/docstring/pkg/docstring.go index 6b646a187e3..621676b81a9 100644 --- a/src/carnot/docstring/pkg/docstring.go +++ b/src/carnot/docstring/pkg/docstring.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package docstring import ( diff --git a/src/carnot/docstring/pkg/docstring_test.go b/src/carnot/docstring/pkg/docstring_test.go index 96dbdba816c..bd7f827c9ab 100644 --- a/src/carnot/docstring/pkg/docstring_test.go +++ b/src/carnot/docstring/pkg/docstring_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package docstring import ( diff --git a/src/carnot/end_to_end_join_test.cc b/src/carnot/end_to_end_join_test.cc index b23c988f53b..74731995980 100644 --- a/src/carnot/end_to_end_join_test.cc +++ b/src/carnot/end_to_end_join_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/engine_state.h b/src/carnot/engine_state.h index a1bf66fed37..b71c40bf16c 100644 --- a/src/carnot/engine_state.h +++ b/src/carnot/engine_state.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/BUILD.bazel b/src/carnot/exec/BUILD.bazel index 5fe43e9dadd..73c1f2d5816 100644 --- a/src/carnot/exec/BUILD.bazel +++ b/src/carnot/exec/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test", "pl_cc_test_library") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/exec/agg_node.cc b/src/carnot/exec/agg_node.cc index e0a7ccf0ba7..d9925367c3f 100644 --- a/src/carnot/exec/agg_node.cc +++ b/src/carnot/exec/agg_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/agg_node.h" #include diff --git a/src/carnot/exec/agg_node.h b/src/carnot/exec/agg_node.h index f0dbcd742f8..c0b42dc2ebd 100644 --- a/src/carnot/exec/agg_node.h +++ b/src/carnot/exec/agg_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/exec/agg_node_test.cc b/src/carnot/exec/agg_node_test.cc index 69af368f22a..7ebd3981cfc 100644 --- a/src/carnot/exec/agg_node_test.cc +++ b/src/carnot/exec/agg_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/agg_node.h" #include diff --git a/src/carnot/exec/empty_source_node.cc b/src/carnot/exec/empty_source_node.cc index 2059c382542..e772cd2945b 100644 --- a/src/carnot/exec/empty_source_node.cc +++ b/src/carnot/exec/empty_source_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/empty_source_node.h" #include diff --git a/src/carnot/exec/empty_source_node.h b/src/carnot/exec/empty_source_node.h index 6d5b96fec38..9032fcc8a88 100644 --- a/src/carnot/exec/empty_source_node.h +++ b/src/carnot/exec/empty_source_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/empty_source_node_test.cc b/src/carnot/exec/empty_source_node_test.cc index 6488bc99676..d96ae9fdbef 100644 --- a/src/carnot/exec/empty_source_node_test.cc +++ b/src/carnot/exec/empty_source_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/empty_source_node.h" #include diff --git a/src/carnot/exec/equijoin_node.cc b/src/carnot/exec/equijoin_node.cc index ad05a32cdc7..6a7c6c3818d 100644 --- a/src/carnot/exec/equijoin_node.cc +++ b/src/carnot/exec/equijoin_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/equijoin_node.h" #include diff --git a/src/carnot/exec/equijoin_node.h b/src/carnot/exec/equijoin_node.h index 1f607480d01..8bb3aa8429f 100644 --- a/src/carnot/exec/equijoin_node.h +++ b/src/carnot/exec/equijoin_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/equijoin_node_test.cc b/src/carnot/exec/equijoin_node_test.cc index adddccbaac0..198b39eef35 100644 --- a/src/carnot/exec/equijoin_node_test.cc +++ b/src/carnot/exec/equijoin_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/equijoin_node.h" #include diff --git a/src/carnot/exec/exec_graph.cc b/src/carnot/exec/exec_graph.cc index ecd96dac0be..b5c7eb7c04e 100644 --- a/src/carnot/exec/exec_graph.cc +++ b/src/carnot/exec/exec_graph.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/exec_graph.h" #include diff --git a/src/carnot/exec/exec_graph.h b/src/carnot/exec/exec_graph.h index b4de7b7f9d5..2ebf0b918ce 100644 --- a/src/carnot/exec/exec_graph.h +++ b/src/carnot/exec/exec_graph.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/exec_graph_test.cc b/src/carnot/exec/exec_graph_test.cc index ed7f61c9c90..34aa6f2095b 100644 --- a/src/carnot/exec/exec_graph_test.cc +++ b/src/carnot/exec/exec_graph_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/exec_graph.h" #include diff --git a/src/carnot/exec/exec_node.h b/src/carnot/exec/exec_node.h index 7766aa75c3d..4f5b3e0e564 100644 --- a/src/carnot/exec/exec_node.h +++ b/src/carnot/exec/exec_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/exec_node_mock.h b/src/carnot/exec/exec_node_mock.h index cd949abf240..ce07c328b82 100644 --- a/src/carnot/exec/exec_node_mock.h +++ b/src/carnot/exec/exec_node_mock.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/exec_state.h b/src/carnot/exec/exec_state.h index 39ec48f0289..f38f7db1aa1 100644 --- a/src/carnot/exec/exec_state.h +++ b/src/carnot/exec/exec_state.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/expression_evaluator.cc b/src/carnot/exec/expression_evaluator.cc index b92a1a5e543..f5b4066351f 100644 --- a/src/carnot/exec/expression_evaluator.cc +++ b/src/carnot/exec/expression_evaluator.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/expression_evaluator.h" #include diff --git a/src/carnot/exec/expression_evaluator.h b/src/carnot/exec/expression_evaluator.h index 7fd527dfb43..fe50e80fb7b 100644 --- a/src/carnot/exec/expression_evaluator.h +++ b/src/carnot/exec/expression_evaluator.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/expression_evaluator_benchmark.cc b/src/carnot/exec/expression_evaluator_benchmark.cc index fab9da151a0..992c2eac56e 100644 --- a/src/carnot/exec/expression_evaluator_benchmark.cc +++ b/src/carnot/exec/expression_evaluator_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/exec/expression_evaluator_test.cc b/src/carnot/exec/expression_evaluator_test.cc index a33d147ae94..f7f3bc5f5f7 100644 --- a/src/carnot/exec/expression_evaluator_test.cc +++ b/src/carnot/exec/expression_evaluator_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/expression_evaluator.h" #include diff --git a/src/carnot/exec/filter_node.cc b/src/carnot/exec/filter_node.cc index e37a7c87334..7ec80baaf53 100644 --- a/src/carnot/exec/filter_node.cc +++ b/src/carnot/exec/filter_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/filter_node.h" #include diff --git a/src/carnot/exec/filter_node.h b/src/carnot/exec/filter_node.h index 4ac5ca0e7af..e31b2f052fb 100644 --- a/src/carnot/exec/filter_node.h +++ b/src/carnot/exec/filter_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/filter_node_test.cc b/src/carnot/exec/filter_node_test.cc index 4809d875b16..8a2471006e5 100644 --- a/src/carnot/exec/filter_node_test.cc +++ b/src/carnot/exec/filter_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/filter_node.h" #include diff --git a/src/carnot/exec/grpc_router.cc b/src/carnot/exec/grpc_router.cc index 58be72637f8..755eb18ffbd 100644 --- a/src/carnot/exec/grpc_router.cc +++ b/src/carnot/exec/grpc_router.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/grpc_router.h" #include diff --git a/src/carnot/exec/grpc_router.h b/src/carnot/exec/grpc_router.h index ed7b85a0004..0b5a8c0efe3 100644 --- a/src/carnot/exec/grpc_router.h +++ b/src/carnot/exec/grpc_router.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/grpc_router_test.cc b/src/carnot/exec/grpc_router_test.cc index 9083fe5d6f1..65e563c9932 100644 --- a/src/carnot/exec/grpc_router_test.cc +++ b/src/carnot/exec/grpc_router_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/grpc_router.h" #include diff --git a/src/carnot/exec/grpc_sink_node.cc b/src/carnot/exec/grpc_sink_node.cc index 3262840a88c..5a9d4b83969 100644 --- a/src/carnot/exec/grpc_sink_node.cc +++ b/src/carnot/exec/grpc_sink_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/grpc_sink_node.h" #include diff --git a/src/carnot/exec/grpc_sink_node.h b/src/carnot/exec/grpc_sink_node.h index 980f2887236..20044c6ac50 100644 --- a/src/carnot/exec/grpc_sink_node.h +++ b/src/carnot/exec/grpc_sink_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/grpc_sink_node_test.cc b/src/carnot/exec/grpc_sink_node_test.cc index a84e896507d..ca0c635675f 100644 --- a/src/carnot/exec/grpc_sink_node_test.cc +++ b/src/carnot/exec/grpc_sink_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/grpc_sink_node.h" #include diff --git a/src/carnot/exec/grpc_source_node.cc b/src/carnot/exec/grpc_source_node.cc index 7ee4edbaf82..61dd705f83b 100644 --- a/src/carnot/exec/grpc_source_node.cc +++ b/src/carnot/exec/grpc_source_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/grpc_source_node.h" #include diff --git a/src/carnot/exec/grpc_source_node.h b/src/carnot/exec/grpc_source_node.h index 4b9a0fd59a6..b282549a7bb 100644 --- a/src/carnot/exec/grpc_source_node.h +++ b/src/carnot/exec/grpc_source_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/grpc_source_node_test.cc b/src/carnot/exec/grpc_source_node_test.cc index 09b6f5ead7d..3b8425aa77b 100644 --- a/src/carnot/exec/grpc_source_node_test.cc +++ b/src/carnot/exec/grpc_source_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/grpc_source_node.h" #include diff --git a/src/carnot/exec/limit_node.cc b/src/carnot/exec/limit_node.cc index 15ac4536f25..ce0d23c937c 100644 --- a/src/carnot/exec/limit_node.cc +++ b/src/carnot/exec/limit_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/limit_node.h" #include diff --git a/src/carnot/exec/limit_node.h b/src/carnot/exec/limit_node.h index 52a14fac549..beed3ffe210 100644 --- a/src/carnot/exec/limit_node.h +++ b/src/carnot/exec/limit_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/limit_node_test.cc b/src/carnot/exec/limit_node_test.cc index e36b18a97a4..66eda17f97e 100644 --- a/src/carnot/exec/limit_node_test.cc +++ b/src/carnot/exec/limit_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/limit_node.h" #include diff --git a/src/carnot/exec/local_grpc_result_server.h b/src/carnot/exec/local_grpc_result_server.h index 287669b6bb1..79dac3dbb19 100644 --- a/src/carnot/exec/local_grpc_result_server.h +++ b/src/carnot/exec/local_grpc_result_server.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/map_node.cc b/src/carnot/exec/map_node.cc index 7ae95ab5135..92ee0eb1d45 100644 --- a/src/carnot/exec/map_node.cc +++ b/src/carnot/exec/map_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/map_node.h" #include diff --git a/src/carnot/exec/map_node.h b/src/carnot/exec/map_node.h index fdc47fb1034..7557e0b5e19 100644 --- a/src/carnot/exec/map_node.h +++ b/src/carnot/exec/map_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/map_node_test.cc b/src/carnot/exec/map_node_test.cc index 1c5f467dcce..158cfd4c860 100644 --- a/src/carnot/exec/map_node_test.cc +++ b/src/carnot/exec/map_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/map_node.h" #include diff --git a/src/carnot/exec/memory_sink_node.cc b/src/carnot/exec/memory_sink_node.cc index e79232084b5..42371dc03ad 100644 --- a/src/carnot/exec/memory_sink_node.cc +++ b/src/carnot/exec/memory_sink_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/memory_sink_node.h" #include diff --git a/src/carnot/exec/memory_sink_node.h b/src/carnot/exec/memory_sink_node.h index 8d08cbaa423..704611173e4 100644 --- a/src/carnot/exec/memory_sink_node.h +++ b/src/carnot/exec/memory_sink_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/memory_sink_node_test.cc b/src/carnot/exec/memory_sink_node_test.cc index 45ba6e54799..bdc8da4bcd7 100644 --- a/src/carnot/exec/memory_sink_node_test.cc +++ b/src/carnot/exec/memory_sink_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/memory_sink_node.h" #include diff --git a/src/carnot/exec/memory_source_node.cc b/src/carnot/exec/memory_source_node.cc index b70e3ca34fe..b3e225a9e67 100644 --- a/src/carnot/exec/memory_source_node.cc +++ b/src/carnot/exec/memory_source_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/memory_source_node.h" #include diff --git a/src/carnot/exec/memory_source_node.h b/src/carnot/exec/memory_source_node.h index 9db68c6a14f..51821129478 100644 --- a/src/carnot/exec/memory_source_node.h +++ b/src/carnot/exec/memory_source_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/memory_source_node_test.cc b/src/carnot/exec/memory_source_node_test.cc index 513c599287d..364c548179f 100644 --- a/src/carnot/exec/memory_source_node_test.cc +++ b/src/carnot/exec/memory_source_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/memory_source_node.h" #include diff --git a/src/carnot/exec/ml/BUILD.bazel b/src/carnot/exec/ml/BUILD.bazel index 28ef32abbcc..4abe00a36bd 100644 --- a/src/carnot/exec/ml/BUILD.bazel +++ b/src/carnot/exec/ml/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test", "pl_cc_test_library") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/exec/ml/borrow_pool.h b/src/carnot/exec/ml/borrow_pool.h index bb647c9a916..09c69828f47 100644 --- a/src/carnot/exec/ml/borrow_pool.h +++ b/src/carnot/exec/ml/borrow_pool.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/exec/ml/borrow_pool_test.cc b/src/carnot/exec/ml/borrow_pool_test.cc index 6e89f00a2eb..d80b3a6f224 100644 --- a/src/carnot/exec/ml/borrow_pool_test.cc +++ b/src/carnot/exec/ml/borrow_pool_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/ml/borrow_pool.h" #include #include diff --git a/src/carnot/exec/ml/coreset.cc b/src/carnot/exec/ml/coreset.cc index e2e92ce6523..4a7259c26c2 100644 --- a/src/carnot/exec/ml/coreset.cc +++ b/src/carnot/exec/ml/coreset.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/exec/ml/coreset.h" diff --git a/src/carnot/exec/ml/coreset.h b/src/carnot/exec/ml/coreset.h index fed2b05f591..e0adbb94bcb 100644 --- a/src/carnot/exec/ml/coreset.h +++ b/src/carnot/exec/ml/coreset.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/ml/coreset_benchmark.cc b/src/carnot/exec/ml/coreset_benchmark.cc index 152e18202ba..c0962ebfb00 100644 --- a/src/carnot/exec/ml/coreset_benchmark.cc +++ b/src/carnot/exec/ml/coreset_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/exec/ml/coreset.h" diff --git a/src/carnot/exec/ml/coreset_test.cc b/src/carnot/exec/ml/coreset_test.cc index 9f49b38ca31..0ec9d39b2e2 100644 --- a/src/carnot/exec/ml/coreset_test.cc +++ b/src/carnot/exec/ml/coreset_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/exec/ml/eigen_test_utils.cc b/src/carnot/exec/ml/eigen_test_utils.cc index a0c86f36dbf..1b0801c32b1 100644 --- a/src/carnot/exec/ml/eigen_test_utils.cc +++ b/src/carnot/exec/ml/eigen_test_utils.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/ml/eigen_test_utils.h" Eigen::MatrixXf kmeans_test_data() { diff --git a/src/carnot/exec/ml/eigen_test_utils.h b/src/carnot/exec/ml/eigen_test_utils.h index b1f46b892af..982895a4045 100644 --- a/src/carnot/exec/ml/eigen_test_utils.h +++ b/src/carnot/exec/ml/eigen_test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/ml/kmeans.cc b/src/carnot/exec/ml/kmeans.cc index 30bb9171b94..f3355f74b4f 100644 --- a/src/carnot/exec/ml/kmeans.cc +++ b/src/carnot/exec/ml/kmeans.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/ml/kmeans.h" #include diff --git a/src/carnot/exec/ml/kmeans.h b/src/carnot/exec/ml/kmeans.h index da3ca96f843..7deda4735ce 100644 --- a/src/carnot/exec/ml/kmeans.h +++ b/src/carnot/exec/ml/kmeans.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/ml/kmeans_benchmark.cc b/src/carnot/exec/ml/kmeans_benchmark.cc index 6b060bf606f..3d129be9fa0 100644 --- a/src/carnot/exec/ml/kmeans_benchmark.cc +++ b/src/carnot/exec/ml/kmeans_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/exec/ml/coreset.h" diff --git a/src/carnot/exec/ml/kmeans_test.cc b/src/carnot/exec/ml/kmeans_test.cc index 5f999135587..f2121a9ace2 100644 --- a/src/carnot/exec/ml/kmeans_test.cc +++ b/src/carnot/exec/ml/kmeans_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/exec/ml/model_executor.h b/src/carnot/exec/ml/model_executor.h index 48b7b9d98c0..d0160918dbb 100644 --- a/src/carnot/exec/ml/model_executor.h +++ b/src/carnot/exec/ml/model_executor.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once namespace px { diff --git a/src/carnot/exec/ml/model_pool.h b/src/carnot/exec/ml/model_pool.h index 3fa1abea061..d221f504b7c 100644 --- a/src/carnot/exec/ml/model_pool.h +++ b/src/carnot/exec/ml/model_pool.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/ml/model_pool_test.cc b/src/carnot/exec/ml/model_pool_test.cc index 0733c3cc9be..440a0b31552 100644 --- a/src/carnot/exec/ml/model_pool_test.cc +++ b/src/carnot/exec/ml/model_pool_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/ml/model_pool.h" #include #include diff --git a/src/carnot/exec/ml/sampling.cc b/src/carnot/exec/ml/sampling.cc index 258e0893419..196ae6c56f0 100644 --- a/src/carnot/exec/ml/sampling.cc +++ b/src/carnot/exec/ml/sampling.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/exec/ml/sampling.h b/src/carnot/exec/ml/sampling.h index f44ef718bf8..6d58dcc8c90 100644 --- a/src/carnot/exec/ml/sampling.h +++ b/src/carnot/exec/ml/sampling.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/common/base/base.h" diff --git a/src/carnot/exec/ml/transformer_executor.cc b/src/carnot/exec/ml/transformer_executor.cc index f80d4725d91..374701ffe01 100644 --- a/src/carnot/exec/ml/transformer_executor.cc +++ b/src/carnot/exec/ml/transformer_executor.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/ml/transformer_executor.h" namespace px { diff --git a/src/carnot/exec/ml/transformer_executor.h b/src/carnot/exec/ml/transformer_executor.h index adf358516ab..026b2e1e486 100644 --- a/src/carnot/exec/ml/transformer_executor.h +++ b/src/carnot/exec/ml/transformer_executor.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/row_tuple.h b/src/carnot/exec/row_tuple.h index 2c2f32ec61d..0afac897f88 100644 --- a/src/carnot/exec/row_tuple.h +++ b/src/carnot/exec/row_tuple.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/row_tuple_test.cc b/src/carnot/exec/row_tuple_test.cc index 59c6a96f756..4532b992c00 100644 --- a/src/carnot/exec/row_tuple_test.cc +++ b/src/carnot/exec/row_tuple_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/exec/row_tuple.h" diff --git a/src/carnot/exec/test_utils.h b/src/carnot/exec/test_utils.h index 890e49ab8f7..64fca05ed70 100644 --- a/src/carnot/exec/test_utils.h +++ b/src/carnot/exec/test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/udtf_source_node.cc b/src/carnot/exec/udtf_source_node.cc index 8bee0361e9d..01168f43c0d 100644 --- a/src/carnot/exec/udtf_source_node.cc +++ b/src/carnot/exec/udtf_source_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/udtf_source_node.h" #include diff --git a/src/carnot/exec/udtf_source_node.h b/src/carnot/exec/udtf_source_node.h index 739fce97adb..2629574b073 100644 --- a/src/carnot/exec/udtf_source_node.h +++ b/src/carnot/exec/udtf_source_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/udtf_source_node_test.cc b/src/carnot/exec/udtf_source_node_test.cc index 23e2972ab79..d17e41030ce 100644 --- a/src/carnot/exec/udtf_source_node_test.cc +++ b/src/carnot/exec/udtf_source_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/udtf_source_node.h" #include diff --git a/src/carnot/exec/union_node.cc b/src/carnot/exec/union_node.cc index 2f664f03fa9..43a6d30f0d1 100644 --- a/src/carnot/exec/union_node.cc +++ b/src/carnot/exec/union_node.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/union_node.h" #include diff --git a/src/carnot/exec/union_node.h b/src/carnot/exec/union_node.h index bfea82e0f33..780d76f627e 100644 --- a/src/carnot/exec/union_node.h +++ b/src/carnot/exec/union_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/exec/union_node_test.cc b/src/carnot/exec/union_node_test.cc index 0dc819d66e5..4a33c59f9c5 100644 --- a/src/carnot/exec/union_node_test.cc +++ b/src/carnot/exec/union_node_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/exec/union_node.h" #include diff --git a/src/carnot/funcs/BUILD.bazel b/src/carnot/funcs/BUILD.bazel index 6a3dcedabf6..80b3975a9b4 100644 --- a/src/carnot/funcs/BUILD.bazel +++ b/src/carnot/funcs/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/carnot/funcs/builtins/BUILD.bazel b/src/carnot/funcs/builtins/BUILD.bazel index f67425c567e..90a7a5768f8 100644 --- a/src/carnot/funcs/builtins/BUILD.bazel +++ b/src/carnot/funcs/builtins/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/funcs/builtins/builtins.cc b/src/carnot/funcs/builtins/builtins.cc index 0a4bc934d7b..9044f87acae 100644 --- a/src/carnot/funcs/builtins/builtins.cc +++ b/src/carnot/funcs/builtins/builtins.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/funcs/builtins/builtins.h" #include "src/carnot/funcs/builtins/collections.h" #include "src/carnot/funcs/builtins/conditionals.h" diff --git a/src/carnot/funcs/builtins/builtins.h b/src/carnot/funcs/builtins/builtins.h index 9c23415daec..d2ab4af59f1 100644 --- a/src/carnot/funcs/builtins/builtins.h +++ b/src/carnot/funcs/builtins/builtins.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/udf/registry.h" diff --git a/src/carnot/funcs/builtins/collections.cc b/src/carnot/funcs/builtins/collections.cc index b85fdf41995..665b5fca9dd 100644 --- a/src/carnot/funcs/builtins/collections.cc +++ b/src/carnot/funcs/builtins/collections.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/funcs/builtins/collections.h" namespace px { diff --git a/src/carnot/funcs/builtins/collections.h b/src/carnot/funcs/builtins/collections.h index 9e843c7d1b8..09dabf82f04 100644 --- a/src/carnot/funcs/builtins/collections.h +++ b/src/carnot/funcs/builtins/collections.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/udf/registry.h" #include "src/shared/types/types.h" diff --git a/src/carnot/funcs/builtins/collections_test.cc b/src/carnot/funcs/builtins/collections_test.cc index b60d4d605b1..2e6707f6b2f 100644 --- a/src/carnot/funcs/builtins/collections_test.cc +++ b/src/carnot/funcs/builtins/collections_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/funcs/builtins/conditionals.cc b/src/carnot/funcs/builtins/conditionals.cc index ab4325060fc..f6886a2c891 100644 --- a/src/carnot/funcs/builtins/conditionals.cc +++ b/src/carnot/funcs/builtins/conditionals.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/funcs/builtins/conditionals.h" namespace px { diff --git a/src/carnot/funcs/builtins/conditionals.h b/src/carnot/funcs/builtins/conditionals.h index 6c019f8a1d4..0318bfc69e3 100644 --- a/src/carnot/funcs/builtins/conditionals.h +++ b/src/carnot/funcs/builtins/conditionals.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/udf/registry.h" diff --git a/src/carnot/funcs/builtins/conditionals_test.cc b/src/carnot/funcs/builtins/conditionals_test.cc index 087110c4b30..984da99fc5e 100644 --- a/src/carnot/funcs/builtins/conditionals_test.cc +++ b/src/carnot/funcs/builtins/conditionals_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/funcs/builtins/json_ops.cc b/src/carnot/funcs/builtins/json_ops.cc index c641f048b08..d0f6a7f9d79 100644 --- a/src/carnot/funcs/builtins/json_ops.cc +++ b/src/carnot/funcs/builtins/json_ops.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/funcs/builtins/json_ops.h" #include "src/carnot/udf/registry.h" diff --git a/src/carnot/funcs/builtins/json_ops.h b/src/carnot/funcs/builtins/json_ops.h index 9550ff94700..d334605fd81 100644 --- a/src/carnot/funcs/builtins/json_ops.h +++ b/src/carnot/funcs/builtins/json_ops.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/funcs/builtins/json_ops_test.cc b/src/carnot/funcs/builtins/json_ops_test.cc index fd2fbeaeec4..1789d14b77d 100644 --- a/src/carnot/funcs/builtins/json_ops_test.cc +++ b/src/carnot/funcs/builtins/json_ops_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/funcs/builtins/json_ops.h" diff --git a/src/carnot/funcs/builtins/math_ops.cc b/src/carnot/funcs/builtins/math_ops.cc index d49fa564e56..2e17ac8811d 100644 --- a/src/carnot/funcs/builtins/math_ops.cc +++ b/src/carnot/funcs/builtins/math_ops.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/funcs/builtins/math_ops.h" #include "src/carnot/udf/registry.h" #include "src/common/base/base.h" diff --git a/src/carnot/funcs/builtins/math_ops.h b/src/carnot/funcs/builtins/math_ops.h index a0d4842b472..d9a4bb19663 100644 --- a/src/carnot/funcs/builtins/math_ops.h +++ b/src/carnot/funcs/builtins/math_ops.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/funcs/builtins/math_ops_test.cc b/src/carnot/funcs/builtins/math_ops_test.cc index 3aa0564ef45..2e96f7370ae 100644 --- a/src/carnot/funcs/builtins/math_ops_test.cc +++ b/src/carnot/funcs/builtins/math_ops_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/funcs/builtins/math_sketches.cc b/src/carnot/funcs/builtins/math_sketches.cc index 26ec00c1370..570f1975a2a 100644 --- a/src/carnot/funcs/builtins/math_sketches.cc +++ b/src/carnot/funcs/builtins/math_sketches.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/funcs/builtins/math_sketches.h" namespace px { diff --git a/src/carnot/funcs/builtins/math_sketches.h b/src/carnot/funcs/builtins/math_sketches.h index c7b570e0faf..1dd118bc7b2 100644 --- a/src/carnot/funcs/builtins/math_sketches.h +++ b/src/carnot/funcs/builtins/math_sketches.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/funcs/builtins/math_sketches_test.cc b/src/carnot/funcs/builtins/math_sketches_test.cc index 805b1dd8d8f..fd2c1066742 100644 --- a/src/carnot/funcs/builtins/math_sketches_test.cc +++ b/src/carnot/funcs/builtins/math_sketches_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/funcs/builtins/ml_ops.cc b/src/carnot/funcs/builtins/ml_ops.cc index fbd0ca2c7e7..4526216d01c 100644 --- a/src/carnot/funcs/builtins/ml_ops.cc +++ b/src/carnot/funcs/builtins/ml_ops.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/funcs/builtins/ml_ops.h" #include "src/carnot/udf/registry.h" #include "src/common/base/base.h" diff --git a/src/carnot/funcs/builtins/ml_ops.h b/src/carnot/funcs/builtins/ml_ops.h index 03487db870b..7ed0dc392b0 100644 --- a/src/carnot/funcs/builtins/ml_ops.h +++ b/src/carnot/funcs/builtins/ml_ops.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/funcs/builtins/ml_ops_benchmark.cc b/src/carnot/funcs/builtins/ml_ops_benchmark.cc index 0facef3a583..774da84615a 100644 --- a/src/carnot/funcs/builtins/ml_ops_benchmark.cc +++ b/src/carnot/funcs/builtins/ml_ops_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/funcs/builtins/ml_ops_test.cc b/src/carnot/funcs/builtins/ml_ops_test.cc index 8128857a108..c5d06987706 100644 --- a/src/carnot/funcs/builtins/ml_ops_test.cc +++ b/src/carnot/funcs/builtins/ml_ops_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/funcs/builtins/request_path_ops.cc b/src/carnot/funcs/builtins/request_path_ops.cc index 1cc81e40bfd..a446f70622d 100644 --- a/src/carnot/funcs/builtins/request_path_ops.cc +++ b/src/carnot/funcs/builtins/request_path_ops.cc @@ -1,3 +1,20 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ #include "src/carnot/funcs/builtins/request_path_ops.h" diff --git a/src/carnot/funcs/builtins/request_path_ops.h b/src/carnot/funcs/builtins/request_path_ops.h index b5a7696b273..b2bbbd98554 100644 --- a/src/carnot/funcs/builtins/request_path_ops.h +++ b/src/carnot/funcs/builtins/request_path_ops.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/funcs/builtins/request_path_ops_test.cc b/src/carnot/funcs/builtins/request_path_ops_test.cc index c506dc282af..f37877c8d6e 100644 --- a/src/carnot/funcs/builtins/request_path_ops_test.cc +++ b/src/carnot/funcs/builtins/request_path_ops_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/funcs/builtins/request_path_ops_test_utils.h b/src/carnot/funcs/builtins/request_path_ops_test_utils.h index 6c0e8bedc06..ba9324b0511 100644 --- a/src/carnot/funcs/builtins/request_path_ops_test_utils.h +++ b/src/carnot/funcs/builtins/request_path_ops_test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/funcs/builtins/string_ops.cc b/src/carnot/funcs/builtins/string_ops.cc index 8bcf6c60a60..580598d68a9 100644 --- a/src/carnot/funcs/builtins/string_ops.cc +++ b/src/carnot/funcs/builtins/string_ops.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/funcs/builtins/string_ops.h" #include "src/carnot/udf/registry.h" #include "src/common/base/base.h" diff --git a/src/carnot/funcs/builtins/string_ops.h b/src/carnot/funcs/builtins/string_ops.h index 8f4457a7d87..299402d7a42 100644 --- a/src/carnot/funcs/builtins/string_ops.h +++ b/src/carnot/funcs/builtins/string_ops.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/funcs/builtins/string_ops_test.cc b/src/carnot/funcs/builtins/string_ops_test.cc index 0ef73a1e093..b3ab2ea95b4 100644 --- a/src/carnot/funcs/builtins/string_ops_test.cc +++ b/src/carnot/funcs/builtins/string_ops_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/funcs/funcs.cc b/src/carnot/funcs/funcs.cc index e3c663fe645..2a0741d5ada 100644 --- a/src/carnot/funcs/funcs.cc +++ b/src/carnot/funcs/funcs.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/funcs/funcs.h" #include "src/carnot/funcs/builtins/builtins.h" diff --git a/src/carnot/funcs/funcs.h b/src/carnot/funcs/funcs.h index ac94dd725b6..038d0c12995 100644 --- a/src/carnot/funcs/funcs.h +++ b/src/carnot/funcs/funcs.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/udf/registry.h" diff --git a/src/carnot/funcs/metadata/BUILD.bazel b/src/carnot/funcs/metadata/BUILD.bazel index 80256ebcd95..947b29fa36d 100644 --- a/src/carnot/funcs/metadata/BUILD.bazel +++ b/src/carnot/funcs/metadata/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/carnot/funcs/metadata/metadata_ops.cc b/src/carnot/funcs/metadata/metadata_ops.cc index db5194095f7..e3bcada719b 100644 --- a/src/carnot/funcs/metadata/metadata_ops.cc +++ b/src/carnot/funcs/metadata/metadata_ops.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/funcs/metadata/metadata_ops.h" diff --git a/src/carnot/funcs/metadata/metadata_ops.h b/src/carnot/funcs/metadata/metadata_ops.h index 552d908896d..6db7c197a40 100644 --- a/src/carnot/funcs/metadata/metadata_ops.h +++ b/src/carnot/funcs/metadata/metadata_ops.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/funcs/metadata/metadata_ops_test.cc b/src/carnot/funcs/metadata/metadata_ops_test.cc index c34d45be79f..ce8459fa01b 100644 --- a/src/carnot/funcs/metadata/metadata_ops_test.cc +++ b/src/carnot/funcs/metadata/metadata_ops_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/funcs/net/BUILD.bazel b/src/carnot/funcs/net/BUILD.bazel index 422cbb3ad15..a209f3fd723 100644 --- a/src/carnot/funcs/net/BUILD.bazel +++ b/src/carnot/funcs/net/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/carnot/funcs/net/dns.h b/src/carnot/funcs/net/dns.h index c17d1a418de..21cb491790f 100644 --- a/src/carnot/funcs/net/dns.h +++ b/src/carnot/funcs/net/dns.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/funcs/net/net_ops.cc b/src/carnot/funcs/net/net_ops.cc index aced9387d0b..1489760b0ed 100644 --- a/src/carnot/funcs/net/net_ops.cc +++ b/src/carnot/funcs/net/net_ops.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/funcs/net/net_ops.h" diff --git a/src/carnot/funcs/net/net_ops.h b/src/carnot/funcs/net/net_ops.h index 3b65131b7c2..250fbf5956b 100644 --- a/src/carnot/funcs/net/net_ops.h +++ b/src/carnot/funcs/net/net_ops.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/goplanner/BUILD.bazel b/src/carnot/goplanner/BUILD.bazel index 8e45b87764c..5f61791a777 100644 --- a/src/carnot/goplanner/BUILD.bazel +++ b/src/carnot/goplanner/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_test") load("//bazel:pl_build_system.bzl", "pl_cgo_library") diff --git a/src/carnot/goplanner/logical_planner.go b/src/carnot/goplanner/logical_planner.go index a9511597552..371e7105ce1 100644 --- a/src/carnot/goplanner/logical_planner.go +++ b/src/carnot/goplanner/logical_planner.go @@ -1,5 +1,23 @@ // +build cgo +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package goplanner // // The following is live code even though it is commented out. diff --git a/src/carnot/goplanner/logical_planner_benchmark_test.go b/src/carnot/goplanner/logical_planner_benchmark_test.go index 317e1ed0c99..38e75b4b264 100644 --- a/src/carnot/goplanner/logical_planner_benchmark_test.go +++ b/src/carnot/goplanner/logical_planner_benchmark_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package goplanner_test import ( diff --git a/src/carnot/goplanner/logical_planner_stub.go b/src/carnot/goplanner/logical_planner_stub.go index 3674a516a61..5feac7bc56a 100644 --- a/src/carnot/goplanner/logical_planner_stub.go +++ b/src/carnot/goplanner/logical_planner_stub.go @@ -1,5 +1,23 @@ // +build !cgo +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package goplanner import ( diff --git a/src/carnot/goplanner/logical_planner_test.go b/src/carnot/goplanner/logical_planner_test.go index b017cd70afa..7374d762bcf 100644 --- a/src/carnot/goplanner/logical_planner_test.go +++ b/src/carnot/goplanner/logical_planner_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package goplanner_test import ( diff --git a/src/carnot/goplanner/schema_test.go b/src/carnot/goplanner/schema_test.go index a7aabbfe186..d91298efba7 100644 --- a/src/carnot/goplanner/schema_test.go +++ b/src/carnot/goplanner/schema_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package goplanner_test // TODO move to some file diff --git a/src/carnot/plan/BUILD.bazel b/src/carnot/plan/BUILD.bazel index 73a01832d6f..5f9ba4c601a 100644 --- a/src/carnot/plan/BUILD.bazel +++ b/src/carnot/plan/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = [ diff --git a/src/carnot/plan/operators.cc b/src/carnot/plan/operators.cc index aac4462a09c..f3ffb3c56b8 100644 --- a/src/carnot/plan/operators.cc +++ b/src/carnot/plan/operators.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/plan/operators.h" #include diff --git a/src/carnot/plan/operators.h b/src/carnot/plan/operators.h index bff3a964ab3..29e0419b8ee 100644 --- a/src/carnot/plan/operators.h +++ b/src/carnot/plan/operators.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/plan/operators_test.cc b/src/carnot/plan/operators_test.cc index b9ebb8482be..17d9dd7973d 100644 --- a/src/carnot/plan/operators_test.cc +++ b/src/carnot/plan/operators_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/plan/operators.h" #include diff --git a/src/carnot/plan/plan.cc b/src/carnot/plan/plan.cc index 9c91d740d63..a7674268cef 100644 --- a/src/carnot/plan/plan.cc +++ b/src/carnot/plan/plan.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/plan/plan.h" #include diff --git a/src/carnot/plan/plan.h b/src/carnot/plan/plan.h index f70f8387724..5e8422451ef 100644 --- a/src/carnot/plan/plan.h +++ b/src/carnot/plan/plan.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/plan/plan_fragment.cc b/src/carnot/plan/plan_fragment.cc index f66b1b84f4d..1db12cd6789 100644 --- a/src/carnot/plan/plan_fragment.cc +++ b/src/carnot/plan/plan_fragment.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/plan/plan_fragment.h" #include diff --git a/src/carnot/plan/plan_fragment.h b/src/carnot/plan/plan_fragment.h index a3e35de94d0..d8631f7a2e2 100644 --- a/src/carnot/plan/plan_fragment.h +++ b/src/carnot/plan/plan_fragment.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/plan/plan_fragment_test.cc b/src/carnot/plan/plan_fragment_test.cc index 40e60e0963d..3277fc12004 100644 --- a/src/carnot/plan/plan_fragment_test.cc +++ b/src/carnot/plan/plan_fragment_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/plan/plan_fragment.h" #include diff --git a/src/carnot/plan/plan_graph.h b/src/carnot/plan/plan_graph.h index c7a606739ce..96af50604a9 100644 --- a/src/carnot/plan/plan_graph.h +++ b/src/carnot/plan/plan_graph.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/plan/plan_node.h b/src/carnot/plan/plan_node.h index 9e1700830b1..24c737fcb0c 100644 --- a/src/carnot/plan/plan_node.h +++ b/src/carnot/plan/plan_node.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/plan/plan_state.h b/src/carnot/plan/plan_state.h index 833888624c7..c329aac2c6b 100644 --- a/src/carnot/plan/plan_state.h +++ b/src/carnot/plan/plan_state.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/plan/plan_test.cc b/src/carnot/plan/plan_test.cc index 36d75a98b90..ab821899692 100644 --- a/src/carnot/plan/plan_test.cc +++ b/src/carnot/plan/plan_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/plan/plan.h" #include diff --git a/src/carnot/plan/scalar_expression.cc b/src/carnot/plan/scalar_expression.cc index dda0774bd74..ba4c5773198 100644 --- a/src/carnot/plan/scalar_expression.cc +++ b/src/carnot/plan/scalar_expression.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/plan/scalar_expression.h" #include diff --git a/src/carnot/plan/scalar_expression.h b/src/carnot/plan/scalar_expression.h index e6c124a4fc0..6a147da5277 100644 --- a/src/carnot/plan/scalar_expression.h +++ b/src/carnot/plan/scalar_expression.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/plan/scalar_expression_test.cc b/src/carnot/plan/scalar_expression_test.cc index 8be168d69f1..f88d2e76899 100644 --- a/src/carnot/plan/scalar_expression_test.cc +++ b/src/carnot/plan/scalar_expression_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/plan/scalar_expression.h" #include diff --git a/src/carnot/plandebugger/BUILD.bazel b/src/carnot/plandebugger/BUILD.bazel index 6a573694795..5496b72470c 100644 --- a/src/carnot/plandebugger/BUILD.bazel +++ b/src/carnot/plandebugger/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") package(default_visibility = ["//visibility:private"]) diff --git a/src/carnot/plandebugger/main.go b/src/carnot/plandebugger/main.go index 95873f1dcc7..8d237a2e4ac 100644 --- a/src/carnot/plandebugger/main.go +++ b/src/carnot/plandebugger/main.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/carnot/planner/BUILD.bazel b/src/carnot/planner/BUILD.bazel index f2a0bbc5937..f20b1366ddc 100644 --- a/src/carnot/planner/BUILD.bazel +++ b/src/carnot/planner/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test", "pl_cc_test_library") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/carnot/planner/ast/BUILD.bazel b/src/carnot/planner/ast/BUILD.bazel index 7fd14aaa6ad..9dce43584cb 100644 --- a/src/carnot/planner/ast/BUILD.bazel +++ b/src/carnot/planner/ast/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") # gazelle:ignore diff --git a/src/carnot/planner/ast/ast_visitor.h b/src/carnot/planner/ast/ast_visitor.h index e6c2d040a6e..05eae027461 100644 --- a/src/carnot/planner/ast/ast_visitor.h +++ b/src/carnot/planner/ast/ast_visitor.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/cgo_export.cc b/src/carnot/planner/cgo_export.cc index 911d1c4af2c..f557596e4b3 100644 --- a/src/carnot/planner/cgo_export.cc +++ b/src/carnot/planner/cgo_export.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/cgo_export.h" #include diff --git a/src/carnot/planner/cgo_export.h b/src/carnot/planner/cgo_export.h index 41aeddd46f6..d1f64a1b600 100644 --- a/src/carnot/planner/cgo_export.h +++ b/src/carnot/planner/cgo_export.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #ifdef __cplusplus extern "C" { diff --git a/src/carnot/planner/cgo_export_test.cc b/src/carnot/planner/cgo_export_test.cc index 0848c247185..47fa00006e1 100644 --- a/src/carnot/planner/cgo_export_test.cc +++ b/src/carnot/planner/cgo_export_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/cgo_export.h" #include diff --git a/src/carnot/planner/cgo_export_utils.h b/src/carnot/planner/cgo_export_utils.h index 89ccfb2eb33..ba5e6a2ba28 100644 --- a/src/carnot/planner/cgo_export_utils.h +++ b/src/carnot/planner/cgo_export_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/compiler/BUILD.bazel b/src/carnot/planner/compiler/BUILD.bazel index 496416e3a3b..6d923476ca9 100644 --- a/src/carnot/planner/compiler/BUILD.bazel +++ b/src/carnot/planner/compiler/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test", "pl_cc_test_library") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/carnot/planner/compiler/analyzer.h b/src/carnot/planner/compiler/analyzer.h index 5a631a26c7d..7b733741533 100644 --- a/src/carnot/planner/compiler/analyzer.h +++ b/src/carnot/planner/compiler/analyzer.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/compiler/analyzer_test.cc b/src/carnot/planner/compiler/analyzer_test.cc index b563e4716a2..3363c7ecfb7 100644 --- a/src/carnot/planner/compiler/analyzer_test.cc +++ b/src/carnot/planner/compiler/analyzer_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/compiler/ast_visitor.cc b/src/carnot/planner/compiler/ast_visitor.cc index 92df3dea4d7..15be41fb356 100644 --- a/src/carnot/planner/compiler/ast_visitor.cc +++ b/src/carnot/planner/compiler/ast_visitor.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/compiler/ast_visitor.h" #include "src/carnot/planner/compiler_error_context/compiler_error_context.h" diff --git a/src/carnot/planner/compiler/ast_visitor.h b/src/carnot/planner/compiler/ast_visitor.h index cfb0fc2441a..e3d3c0cb248 100644 --- a/src/carnot/planner/compiler/ast_visitor.h +++ b/src/carnot/planner/compiler/ast_visitor.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/compiler/ast_visitor_expression_test.cc b/src/carnot/planner/compiler/ast_visitor_expression_test.cc index 9d930aece06..9d90bb4b3cb 100644 --- a/src/carnot/planner/compiler/ast_visitor_expression_test.cc +++ b/src/carnot/planner/compiler/ast_visitor_expression_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/compiler/ast_visitor_test.cc b/src/carnot/planner/compiler/ast_visitor_test.cc index 2fe979ca161..541cea371f6 100644 --- a/src/carnot/planner/compiler/ast_visitor_test.cc +++ b/src/carnot/planner/compiler/ast_visitor_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/compiler/ast_visitor.h" #include diff --git a/src/carnot/planner/compiler/compiler.cc b/src/carnot/planner/compiler/compiler.cc index e3aeecbfa1e..a584e2ac601 100644 --- a/src/carnot/planner/compiler/compiler.cc +++ b/src/carnot/planner/compiler/compiler.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/compiler/compiler.h b/src/carnot/planner/compiler/compiler.h index 821b791912f..97e4b84c0e5 100644 --- a/src/carnot/planner/compiler/compiler.h +++ b/src/carnot/planner/compiler/compiler.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/compiler/compiler_test.cc b/src/carnot/planner/compiler/compiler_test.cc index 4fdedb125dd..a6a470bc75f 100644 --- a/src/carnot/planner/compiler/compiler_test.cc +++ b/src/carnot/planner/compiler/compiler_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/compiler/optimizer/BUILD.bazel b/src/carnot/planner/compiler/optimizer/BUILD.bazel index b1147a4abcf..c1c4d0a6130 100644 --- a/src/carnot/planner/compiler/optimizer/BUILD.bazel +++ b/src/carnot/planner/compiler/optimizer/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/carnot/planner/compiler/optimizer/filter_push_down.cc b/src/carnot/planner/compiler/optimizer/filter_push_down.cc index d16fa065d3c..6fbd4c9e4d9 100644 --- a/src/carnot/planner/compiler/optimizer/filter_push_down.cc +++ b/src/carnot/planner/compiler/optimizer/filter_push_down.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/compiler/optimizer/filter_push_down.h" #include diff --git a/src/carnot/planner/compiler/optimizer/filter_push_down.h b/src/carnot/planner/compiler/optimizer/filter_push_down.h index 272fe6df54d..5af81c2962b 100644 --- a/src/carnot/planner/compiler/optimizer/filter_push_down.h +++ b/src/carnot/planner/compiler/optimizer/filter_push_down.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/compiler/optimizer/filter_push_down_test.cc b/src/carnot/planner/compiler/optimizer/filter_push_down_test.cc index 1507028d137..c4238de8098 100644 --- a/src/carnot/planner/compiler/optimizer/filter_push_down_test.cc +++ b/src/carnot/planner/compiler/optimizer/filter_push_down_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/compiler/optimizer/limit_push_down.cc b/src/carnot/planner/compiler/optimizer/limit_push_down.cc index 98a302c37f5..8d61a8a495d 100644 --- a/src/carnot/planner/compiler/optimizer/limit_push_down.cc +++ b/src/carnot/planner/compiler/optimizer/limit_push_down.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/compiler/optimizer/limit_push_down.h" namespace px { diff --git a/src/carnot/planner/compiler/optimizer/limit_push_down.h b/src/carnot/planner/compiler/optimizer/limit_push_down.h index 8f2f8b2867d..7527bea2049 100644 --- a/src/carnot/planner/compiler/optimizer/limit_push_down.h +++ b/src/carnot/planner/compiler/optimizer/limit_push_down.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/planner/ir/ir_nodes.h" diff --git a/src/carnot/planner/compiler/optimizer/limit_push_down_test.cc b/src/carnot/planner/compiler/optimizer/limit_push_down_test.cc index 06cd79b934d..df4bc7cae15 100644 --- a/src/carnot/planner/compiler/optimizer/limit_push_down_test.cc +++ b/src/carnot/planner/compiler/optimizer/limit_push_down_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/compiler/optimizer/merge_nodes.cc b/src/carnot/planner/compiler/optimizer/merge_nodes.cc index 1d51f4e4fed..fe1dd295472 100644 --- a/src/carnot/planner/compiler/optimizer/merge_nodes.cc +++ b/src/carnot/planner/compiler/optimizer/merge_nodes.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/compiler/optimizer/merge_nodes.h" #include diff --git a/src/carnot/planner/compiler/optimizer/merge_nodes.h b/src/carnot/planner/compiler/optimizer/merge_nodes.h index 2a0bc18e091..ab8e9380f97 100644 --- a/src/carnot/planner/compiler/optimizer/merge_nodes.h +++ b/src/carnot/planner/compiler/optimizer/merge_nodes.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/compiler/optimizer/merge_nodes_test.cc b/src/carnot/planner/compiler/optimizer/merge_nodes_test.cc index f4fe2286a94..a6964b5efa6 100644 --- a/src/carnot/planner/compiler/optimizer/merge_nodes_test.cc +++ b/src/carnot/planner/compiler/optimizer/merge_nodes_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/compiler/optimizer/optimizer.h b/src/carnot/planner/compiler/optimizer/optimizer.h index 1101ca12e67..131042d88b3 100644 --- a/src/carnot/planner/compiler/optimizer/optimizer.h +++ b/src/carnot/planner/compiler/optimizer/optimizer.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/compiler/optimizer/optimizer_test.cc b/src/carnot/planner/compiler/optimizer/optimizer_test.cc index 0f5e2c5a77e..1d30d443e9b 100644 --- a/src/carnot/planner/compiler/optimizer/optimizer_test.cc +++ b/src/carnot/planner/compiler/optimizer/optimizer_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/compiler/test_utils.h b/src/carnot/planner/compiler/test_utils.h index 8951ecfe30f..fd0c61c130a 100644 --- a/src/carnot/planner/compiler/test_utils.h +++ b/src/carnot/planner/compiler/test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/compiler_error_context/BUILD.bazel b/src/carnot/planner/compiler_error_context/BUILD.bazel index 373a49cc568..3d8312e858b 100644 --- a/src/carnot/planner/compiler_error_context/BUILD.bazel +++ b/src/carnot/planner/compiler_error_context/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/carnot/planner/compiler_error_context/compiler_error_context.cc b/src/carnot/planner/compiler_error_context/compiler_error_context.cc index c35b66ee188..f97863fbc5b 100644 --- a/src/carnot/planner/compiler_error_context/compiler_error_context.cc +++ b/src/carnot/planner/compiler_error_context/compiler_error_context.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/compiler_error_context/compiler_error_context.h" #include diff --git a/src/carnot/planner/compiler_error_context/compiler_error_context.h b/src/carnot/planner/compiler_error_context/compiler_error_context.h index 95635abff25..07d4e7c9ee6 100644 --- a/src/carnot/planner/compiler_error_context/compiler_error_context.h +++ b/src/carnot/planner/compiler_error_context/compiler_error_context.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/compiler_error_context/compiler_error_context_test.cc b/src/carnot/planner/compiler_error_context/compiler_error_context_test.cc index 11e9cbf9447..76852c0832f 100644 --- a/src/carnot/planner/compiler_error_context/compiler_error_context_test.cc +++ b/src/carnot/planner/compiler_error_context/compiler_error_context_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/compiler_state/BUILD.bazel b/src/carnot/planner/compiler_state/BUILD.bazel index bfa84e89056..c1c893000e6 100644 --- a/src/carnot/planner/compiler_state/BUILD.bazel +++ b/src/carnot/planner/compiler_state/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") # gazelle:ignore diff --git a/src/carnot/planner/compiler_state/compiler_state.h b/src/carnot/planner/compiler_state/compiler_state.h index 0ac6a0c6eff..deb70895801 100644 --- a/src/carnot/planner/compiler_state/compiler_state.h +++ b/src/carnot/planner/compiler_state/compiler_state.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/compiler_state/registry_info.cc b/src/carnot/planner/compiler_state/registry_info.cc index 59817cc97fb..51a3ae0a0d0 100644 --- a/src/carnot/planner/compiler_state/registry_info.cc +++ b/src/carnot/planner/compiler_state/registry_info.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/compiler_state/registry_info.h b/src/carnot/planner/compiler_state/registry_info.h index b47375af625..59acdcc5f62 100644 --- a/src/carnot/planner/compiler_state/registry_info.h +++ b/src/carnot/planner/compiler_state/registry_info.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/compiler_state/registry_info_test.cc b/src/carnot/planner/compiler_state/registry_info_test.cc index dfa181da63d..fadd0735700 100644 --- a/src/carnot/planner/compiler_state/registry_info_test.cc +++ b/src/carnot/planner/compiler_state/registry_info_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/compilerpb/BUILD.bazel b/src/carnot/planner/compilerpb/BUILD.bazel index 87b04972504..f3f479f86b5 100644 --- a/src/carnot/planner/compilerpb/BUILD.bazel +++ b/src/carnot/planner/compilerpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/carnot/planner/compilerpb/compiler_status.proto b/src/carnot/planner/compilerpb/compiler_status.proto index 433c959f581..97a80b2316a 100644 --- a/src/carnot/planner/compilerpb/compiler_status.proto +++ b/src/carnot/planner/compilerpb/compiler_status.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.carnot.planner.compilerpb; diff --git a/src/carnot/planner/distributed/BUILD.bazel b/src/carnot/planner/distributed/BUILD.bazel index 3a60e056c1e..e3a23d98b60 100644 --- a/src/carnot/planner/distributed/BUILD.bazel +++ b/src/carnot/planner/distributed/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/carnot/planner/distributed/distributed_coordinator.cc b/src/carnot/planner/distributed/distributed_coordinator.cc index 2ae55dc9fe0..a3cf77c1454 100644 --- a/src/carnot/planner/distributed/distributed_coordinator.cc +++ b/src/carnot/planner/distributed/distributed_coordinator.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/distributed_coordinator.h b/src/carnot/planner/distributed/distributed_coordinator.h index cca5b0c248a..29435c4d247 100644 --- a/src/carnot/planner/distributed/distributed_coordinator.h +++ b/src/carnot/planner/distributed/distributed_coordinator.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/distributed/distributed_coordinator_test.cc b/src/carnot/planner/distributed/distributed_coordinator_test.cc index 21bfb2cd1ee..2012bef16e1 100644 --- a/src/carnot/planner/distributed/distributed_coordinator_test.cc +++ b/src/carnot/planner/distributed/distributed_coordinator_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/distributed_plan.cc b/src/carnot/planner/distributed/distributed_plan.cc index 4ae277198d3..2b75237dd24 100644 --- a/src/carnot/planner/distributed/distributed_plan.cc +++ b/src/carnot/planner/distributed/distributed_plan.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/distributed/distributed_plan.h" namespace px { diff --git a/src/carnot/planner/distributed/distributed_plan.h b/src/carnot/planner/distributed/distributed_plan.h index c7106cf1ac2..f9c37af8404 100644 --- a/src/carnot/planner/distributed/distributed_plan.h +++ b/src/carnot/planner/distributed/distributed_plan.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/distributed/distributed_plan_test.cc b/src/carnot/planner/distributed/distributed_plan_test.cc index e3c28329dc1..5ee112bd022 100644 --- a/src/carnot/planner/distributed/distributed_plan_test.cc +++ b/src/carnot/planner/distributed/distributed_plan_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/distributed_planner.cc b/src/carnot/planner/distributed/distributed_planner.cc index 477e2b37ad9..4f5ecd55544 100644 --- a/src/carnot/planner/distributed/distributed_planner.cc +++ b/src/carnot/planner/distributed/distributed_planner.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/distributed_planner.h b/src/carnot/planner/distributed/distributed_planner.h index 4b392b7c280..5c04e6d83b5 100644 --- a/src/carnot/planner/distributed/distributed_planner.h +++ b/src/carnot/planner/distributed/distributed_planner.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/distributed/distributed_planner_test.cc b/src/carnot/planner/distributed/distributed_planner_test.cc index ad17d47e510..33c5c3c8eae 100644 --- a/src/carnot/planner/distributed/distributed_planner_test.cc +++ b/src/carnot/planner/distributed/distributed_planner_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/distributed_rules.cc b/src/carnot/planner/distributed/distributed_rules.cc index 87af8d5d3a9..4ea6e42abda 100644 --- a/src/carnot/planner/distributed/distributed_rules.cc +++ b/src/carnot/planner/distributed/distributed_rules.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/distributed/distributed_rules.h" #include diff --git a/src/carnot/planner/distributed/distributed_rules.h b/src/carnot/planner/distributed/distributed_rules.h index 1c448a8df7c..678842c96ff 100644 --- a/src/carnot/planner/distributed/distributed_rules.h +++ b/src/carnot/planner/distributed/distributed_rules.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/distributed/distributed_rules_test.cc b/src/carnot/planner/distributed/distributed_rules_test.cc index 0bfbf718a09..3e1f3c656e5 100644 --- a/src/carnot/planner/distributed/distributed_rules_test.cc +++ b/src/carnot/planner/distributed/distributed_rules_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/distributed_splitter.cc b/src/carnot/planner/distributed/distributed_splitter.cc index 5fc87d89a63..5ccc4844252 100644 --- a/src/carnot/planner/distributed/distributed_splitter.cc +++ b/src/carnot/planner/distributed/distributed_splitter.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/distributed_splitter.h b/src/carnot/planner/distributed/distributed_splitter.h index 3be827a797e..bcf41d42183 100644 --- a/src/carnot/planner/distributed/distributed_splitter.h +++ b/src/carnot/planner/distributed/distributed_splitter.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/distributed/distributed_splitter_test.cc b/src/carnot/planner/distributed/distributed_splitter_test.cc index 68d3bf3d4da..8ee98748934 100644 --- a/src/carnot/planner/distributed/distributed_splitter_test.cc +++ b/src/carnot/planner/distributed/distributed_splitter_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/distributed_stitcher_rules.cc b/src/carnot/planner/distributed/distributed_stitcher_rules.cc index 0a4b89692b4..d861fc0642f 100644 --- a/src/carnot/planner/distributed/distributed_stitcher_rules.cc +++ b/src/carnot/planner/distributed/distributed_stitcher_rules.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/distributed_stitcher_rules.h b/src/carnot/planner/distributed/distributed_stitcher_rules.h index ac21c720929..534026cd302 100644 --- a/src/carnot/planner/distributed/distributed_stitcher_rules.h +++ b/src/carnot/planner/distributed/distributed_stitcher_rules.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/distributed/distributed_stitcher_rules_test.cc b/src/carnot/planner/distributed/distributed_stitcher_rules_test.cc index 65c120b2216..48abf5d5b05 100644 --- a/src/carnot/planner/distributed/distributed_stitcher_rules_test.cc +++ b/src/carnot/planner/distributed/distributed_stitcher_rules_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/grpc_source_conversion.cc b/src/carnot/planner/distributed/grpc_source_conversion.cc index 03a5c0c9252..eec48bfb08f 100644 --- a/src/carnot/planner/distributed/grpc_source_conversion.cc +++ b/src/carnot/planner/distributed/grpc_source_conversion.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/grpc_source_conversion.h b/src/carnot/planner/distributed/grpc_source_conversion.h index 5f0e04bc4fb..39eaba4c4b0 100644 --- a/src/carnot/planner/distributed/grpc_source_conversion.h +++ b/src/carnot/planner/distributed/grpc_source_conversion.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/distributed/grpc_source_conversion_test.cc b/src/carnot/planner/distributed/grpc_source_conversion_test.cc index 896e26fa1ef..aad4700cce9 100644 --- a/src/carnot/planner/distributed/grpc_source_conversion_test.cc +++ b/src/carnot/planner/distributed/grpc_source_conversion_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/partial_op_mgr.cc b/src/carnot/planner/distributed/partial_op_mgr.cc index eb0479f9e75..9da1b712618 100644 --- a/src/carnot/planner/distributed/partial_op_mgr.cc +++ b/src/carnot/planner/distributed/partial_op_mgr.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/distributed/partial_op_mgr.h" #include diff --git a/src/carnot/planner/distributed/partial_op_mgr.h b/src/carnot/planner/distributed/partial_op_mgr.h index d645363c005..5770dd85a3f 100644 --- a/src/carnot/planner/distributed/partial_op_mgr.h +++ b/src/carnot/planner/distributed/partial_op_mgr.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/planner/ir/ir_nodes.h" #include "src/carnot/planner/ir/pattern_match.h" diff --git a/src/carnot/planner/distributed/partial_op_mgr_test.cc b/src/carnot/planner/distributed/partial_op_mgr_test.cc index a66286e0e23..ce8d6029ddb 100644 --- a/src/carnot/planner/distributed/partial_op_mgr_test.cc +++ b/src/carnot/planner/distributed/partial_op_mgr_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/plan_clusters.cc b/src/carnot/planner/distributed/plan_clusters.cc index d03748c4356..f81982ec467 100644 --- a/src/carnot/planner/distributed/plan_clusters.cc +++ b/src/carnot/planner/distributed/plan_clusters.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/plan_clusters.h b/src/carnot/planner/distributed/plan_clusters.h index 91107dea33a..9cc914f9e86 100644 --- a/src/carnot/planner/distributed/plan_clusters.h +++ b/src/carnot/planner/distributed/plan_clusters.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/distributed/plan_clusters_test.cc b/src/carnot/planner/distributed/plan_clusters_test.cc index afdc56fa0a7..d90d6298a5e 100644 --- a/src/carnot/planner/distributed/plan_clusters_test.cc +++ b/src/carnot/planner/distributed/plan_clusters_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/distributed/presplit_analyzer.h b/src/carnot/planner/distributed/presplit_analyzer.h index 1b38fe627c3..0c2afd4442c 100644 --- a/src/carnot/planner/distributed/presplit_analyzer.h +++ b/src/carnot/planner/distributed/presplit_analyzer.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/distributed/presplit_optimizer.h b/src/carnot/planner/distributed/presplit_optimizer.h index 4f6b5c16460..101b088e279 100644 --- a/src/carnot/planner/distributed/presplit_optimizer.h +++ b/src/carnot/planner/distributed/presplit_optimizer.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/distributed/removable_ops_rule.cc b/src/carnot/planner/distributed/removable_ops_rule.cc index 026147414cd..aa269b21b6a 100644 --- a/src/carnot/planner/distributed/removable_ops_rule.cc +++ b/src/carnot/planner/distributed/removable_ops_rule.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributed/removable_ops_rule.h b/src/carnot/planner/distributed/removable_ops_rule.h index 34bd5df00b0..8434a3f7e7f 100644 --- a/src/carnot/planner/distributed/removable_ops_rule.h +++ b/src/carnot/planner/distributed/removable_ops_rule.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/distributed/removable_ops_rule_test.cc b/src/carnot/planner/distributed/removable_ops_rule_test.cc index 05a576843a9..704a6d2247a 100644 --- a/src/carnot/planner/distributed/removable_ops_rule_test.cc +++ b/src/carnot/planner/distributed/removable_ops_rule_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/distributed/tablet_rules.cc b/src/carnot/planner/distributed/tablet_rules.cc index 4ea198dcf0b..221750645d7 100644 --- a/src/carnot/planner/distributed/tablet_rules.cc +++ b/src/carnot/planner/distributed/tablet_rules.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/distributed/tablet_rules.h" namespace px { diff --git a/src/carnot/planner/distributed/tablet_rules.h b/src/carnot/planner/distributed/tablet_rules.h index bd6ef9f8acc..eba1efd1450 100644 --- a/src/carnot/planner/distributed/tablet_rules.h +++ b/src/carnot/planner/distributed/tablet_rules.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/distributed/tablet_rules_test.cc b/src/carnot/planner/distributed/tablet_rules_test.cc index 92422ec9da8..be1855e71fd 100644 --- a/src/carnot/planner/distributed/tablet_rules_test.cc +++ b/src/carnot/planner/distributed/tablet_rules_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/distributedpb/BUILD.bazel b/src/carnot/planner/distributedpb/BUILD.bazel index c362bd0a19b..777400d2dc1 100644 --- a/src/carnot/planner/distributedpb/BUILD.bazel +++ b/src/carnot/planner/distributedpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/carnot/planner/distributedpb/distributed_plan.proto b/src/carnot/planner/distributedpb/distributed_plan.proto index aa4177d8a7d..322ea596415 100644 --- a/src/carnot/planner/distributedpb/distributed_plan.proto +++ b/src/carnot/planner/distributedpb/distributed_plan.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.carnot.planner.distributedpb; diff --git a/src/carnot/planner/docs/BUILD.bazel b/src/carnot/planner/docs/BUILD.bazel index bf2756d38c5..855cad0b3b0 100644 --- a/src/carnot/planner/docs/BUILD.bazel +++ b/src/carnot/planner/docs/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/planner/docs/doc_extractor.cc b/src/carnot/planner/docs/doc_extractor.cc index 1d51855a571..f5e9b6e1a20 100644 --- a/src/carnot/planner/docs/doc_extractor.cc +++ b/src/carnot/planner/docs/doc_extractor.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/docs/doc_extractor.h" namespace px { diff --git a/src/carnot/planner/docs/doc_extractor.h b/src/carnot/planner/docs/doc_extractor.h index ff1578db214..f536efb6fe6 100644 --- a/src/carnot/planner/docs/doc_extractor.h +++ b/src/carnot/planner/docs/doc_extractor.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/docs/doc_extractor_main.cc b/src/carnot/planner/docs/doc_extractor_main.cc index dc6ef0dc112..a72cef40592 100644 --- a/src/carnot/planner/docs/doc_extractor_main.cc +++ b/src/carnot/planner/docs/doc_extractor_main.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/docs/doc_extractor.h" #include "src/carnot/udf_exporter/udf_exporter.h" diff --git a/src/carnot/planner/docs/doc_extractor_test.cc b/src/carnot/planner/docs/doc_extractor_test.cc index 13278e86d7e..cff5f935dd9 100644 --- a/src/carnot/planner/docs/doc_extractor_test.cc +++ b/src/carnot/planner/docs/doc_extractor_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/dynamic_tracing/ir/logicalpb/BUILD.bazel b/src/carnot/planner/dynamic_tracing/ir/logicalpb/BUILD.bazel index febf5046aed..6e24f2c7116 100644 --- a/src/carnot/planner/dynamic_tracing/ir/logicalpb/BUILD.bazel +++ b/src/carnot/planner/dynamic_tracing/ir/logicalpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/carnot/planner/dynamic_tracing/ir/logicalpb/logical.proto b/src/carnot/planner/dynamic_tracing/ir/logicalpb/logical.proto index a46f380ecf8..ea29a6ce643 100644 --- a/src/carnot/planner/dynamic_tracing/ir/logicalpb/logical.proto +++ b/src/carnot/planner/dynamic_tracing/ir/logicalpb/logical.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.carnot.planner.dynamic_tracing.ir.logical; diff --git a/src/carnot/planner/ir/BUILD.bazel b/src/carnot/planner/ir/BUILD.bazel index 32c0a115f36..d0793c0e570 100644 --- a/src/carnot/planner/ir/BUILD.bazel +++ b/src/carnot/planner/ir/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") # gazelle:ignore diff --git a/src/carnot/planner/ir/ast_utils.cc b/src/carnot/planner/ir/ast_utils.cc index 117fe980995..97d0208e18a 100644 --- a/src/carnot/planner/ir/ast_utils.cc +++ b/src/carnot/planner/ir/ast_utils.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/ir/ast_utils.h" namespace px { diff --git a/src/carnot/planner/ir/ast_utils.h b/src/carnot/planner/ir/ast_utils.h index 5f940b012a3..ef998a58606 100644 --- a/src/carnot/planner/ir/ast_utils.h +++ b/src/carnot/planner/ir/ast_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/ir/ir_node_traits.h b/src/carnot/planner/ir/ir_node_traits.h index b08b9732c67..c9a0002e8d0 100644 --- a/src/carnot/planner/ir/ir_node_traits.h +++ b/src/carnot/planner/ir/ir_node_traits.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/ir/ir_node_type_conversion.h b/src/carnot/planner/ir/ir_node_type_conversion.h index 3005ada233a..d0385c3d929 100644 --- a/src/carnot/planner/ir/ir_node_type_conversion.h +++ b/src/carnot/planner/ir/ir_node_type_conversion.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/ir/ir_nodes.cc b/src/carnot/planner/ir/ir_nodes.cc index 0c5240b09bb..5049e506d48 100644 --- a/src/carnot/planner/ir/ir_nodes.cc +++ b/src/carnot/planner/ir/ir_nodes.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/planner/ir/ir_nodes.h" diff --git a/src/carnot/planner/ir/ir_nodes.h b/src/carnot/planner/ir/ir_nodes.h index 2ef496beed0..f016b8193b9 100644 --- a/src/carnot/planner/ir/ir_nodes.h +++ b/src/carnot/planner/ir/ir_nodes.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/ir/ir_nodes_test.cc b/src/carnot/planner/ir/ir_nodes_test.cc index 241a8116ac2..1d485397b89 100644 --- a/src/carnot/planner/ir/ir_nodes_test.cc +++ b/src/carnot/planner/ir/ir_nodes_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/ir/pattern_match.h b/src/carnot/planner/ir/pattern_match.h index 7d689cf7975..a8d8bbbfc4f 100644 --- a/src/carnot/planner/ir/pattern_match.h +++ b/src/carnot/planner/ir/pattern_match.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /** * This file handles pattern matching. The idea behind this * is heavily copied from LLVM's pattern matching module. diff --git a/src/carnot/planner/ir/pattern_match_test.cc b/src/carnot/planner/ir/pattern_match_test.cc index cd202b1821f..dea0975d545 100644 --- a/src/carnot/planner/ir/pattern_match_test.cc +++ b/src/carnot/planner/ir/pattern_match_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/ir/time.cc b/src/carnot/planner/ir/time.cc index 79dadc31d43..4467dd5e46f 100644 --- a/src/carnot/planner/ir/time.cc +++ b/src/carnot/planner/ir/time.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/ir/time.h" namespace px { diff --git a/src/carnot/planner/ir/time.h b/src/carnot/planner/ir/time.h index 0d793b56bba..d189b2cb7a5 100644 --- a/src/carnot/planner/ir/time.h +++ b/src/carnot/planner/ir/time.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/ir/type_resolution.cc b/src/carnot/planner/ir/type_resolution.cc index f3fdf1b5e90..8b8c9e27cd8 100644 --- a/src/carnot/planner/ir/type_resolution.cc +++ b/src/carnot/planner/ir/type_resolution.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/ir/ir_nodes.h" namespace px { diff --git a/src/carnot/planner/ir/type_resolution_test.cc b/src/carnot/planner/ir/type_resolution_test.cc index 04afaa5f2a7..0118d1e2861 100644 --- a/src/carnot/planner/ir/type_resolution_test.cc +++ b/src/carnot/planner/ir/type_resolution_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/funcs/funcs.h" diff --git a/src/carnot/planner/logical_planner.cc b/src/carnot/planner/logical_planner.cc index 448a0d5441c..ccbcf71b619 100644 --- a/src/carnot/planner/logical_planner.cc +++ b/src/carnot/planner/logical_planner.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/logical_planner.h" #include diff --git a/src/carnot/planner/logical_planner.h b/src/carnot/planner/logical_planner.h index 9254b194767..a8159aaabb0 100644 --- a/src/carnot/planner/logical_planner.h +++ b/src/carnot/planner/logical_planner.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/logical_planner_benchmark.cc b/src/carnot/planner/logical_planner_benchmark.cc index dba0f4d7cca..ad0e65d826f 100644 --- a/src/carnot/planner/logical_planner_benchmark.cc +++ b/src/carnot/planner/logical_planner_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/planner/logical_planner.h" diff --git a/src/carnot/planner/logical_planner_test.cc b/src/carnot/planner/logical_planner_test.cc index f18b97d4ce3..f1e9e4be2d1 100644 --- a/src/carnot/planner/logical_planner_test.cc +++ b/src/carnot/planner/logical_planner_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/metadata/BUILD.bazel b/src/carnot/planner/metadata/BUILD.bazel index 3a33c1148d2..235f6a95120 100644 --- a/src/carnot/planner/metadata/BUILD.bazel +++ b/src/carnot/planner/metadata/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/carnot/planner/metadata/metadata_handler.cc b/src/carnot/planner/metadata/metadata_handler.cc index db90466b8dd..2e2b9f5faa3 100644 --- a/src/carnot/planner/metadata/metadata_handler.cc +++ b/src/carnot/planner/metadata/metadata_handler.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/metadata/metadata_handler.h" #include diff --git a/src/carnot/planner/metadata/metadata_handler.h b/src/carnot/planner/metadata/metadata_handler.h index 66bd64e20ce..bff1ffb2008 100644 --- a/src/carnot/planner/metadata/metadata_handler.h +++ b/src/carnot/planner/metadata/metadata_handler.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/metadata/metadata_handler_test.cc b/src/carnot/planner/metadata/metadata_handler_test.cc index 441769577d1..63554a05c27 100644 --- a/src/carnot/planner/metadata/metadata_handler_test.cc +++ b/src/carnot/planner/metadata/metadata_handler_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/objects/BUILD.bazel b/src/carnot/planner/objects/BUILD.bazel index aa3a0642680..e05c3deab16 100644 --- a/src/carnot/planner/objects/BUILD.bazel +++ b/src/carnot/planner/objects/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test", "pl_cc_test_library") # gazelle:ignore diff --git a/src/carnot/planner/objects/collection_object.cc b/src/carnot/planner/objects/collection_object.cc index cb74e9c9df0..5f7c1627dd7 100644 --- a/src/carnot/planner/objects/collection_object.cc +++ b/src/carnot/planner/objects/collection_object.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/objects/collection_object.h" namespace px { diff --git a/src/carnot/planner/objects/collection_object.h b/src/carnot/planner/objects/collection_object.h index 92fc1d89922..3477f159d3d 100644 --- a/src/carnot/planner/objects/collection_object.h +++ b/src/carnot/planner/objects/collection_object.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/collection_object_test.cc b/src/carnot/planner/objects/collection_object_test.cc index 5fd9d5ccd9d..537c7f724b8 100644 --- a/src/carnot/planner/objects/collection_object_test.cc +++ b/src/carnot/planner/objects/collection_object_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/planner/objects/collection_object.h" diff --git a/src/carnot/planner/objects/dataframe.cc b/src/carnot/planner/objects/dataframe.cc index 4364ee8faf0..1120a48a311 100644 --- a/src/carnot/planner/objects/dataframe.cc +++ b/src/carnot/planner/objects/dataframe.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/objects/dataframe.h" #include "src/carnot/planner/ir/ast_utils.h" #include "src/carnot/planner/objects/collection_object.h" diff --git a/src/carnot/planner/objects/dataframe.h b/src/carnot/planner/objects/dataframe.h index 7fcefe9424c..59413d86e76 100644 --- a/src/carnot/planner/objects/dataframe.h +++ b/src/carnot/planner/objects/dataframe.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/dataframe_test.cc b/src/carnot/planner/objects/dataframe_test.cc index c91da41a00b..4c085dc9e31 100644 --- a/src/carnot/planner/objects/dataframe_test.cc +++ b/src/carnot/planner/objects/dataframe_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/objects/default_arguments_test.cc b/src/carnot/planner/objects/default_arguments_test.cc index 963394bf88e..334bd079545 100644 --- a/src/carnot/planner/objects/default_arguments_test.cc +++ b/src/carnot/planner/objects/default_arguments_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/objects/dict_object.h b/src/carnot/planner/objects/dict_object.h index dbd321afafd..ad4eea182e3 100644 --- a/src/carnot/planner/objects/dict_object.h +++ b/src/carnot/planner/objects/dict_object.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/expr_object.h b/src/carnot/planner/objects/expr_object.h index a89456f3013..357726d980f 100644 --- a/src/carnot/planner/objects/expr_object.h +++ b/src/carnot/planner/objects/expr_object.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/funcobject.cc b/src/carnot/planner/objects/funcobject.cc index 143fc65acd8..a6c788697f5 100644 --- a/src/carnot/planner/objects/funcobject.cc +++ b/src/carnot/planner/objects/funcobject.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/objects/funcobject.h" #include diff --git a/src/carnot/planner/objects/funcobject.h b/src/carnot/planner/objects/funcobject.h index b7201c1a62d..5f96a05e25f 100644 --- a/src/carnot/planner/objects/funcobject.h +++ b/src/carnot/planner/objects/funcobject.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/funcobject_test.cc b/src/carnot/planner/objects/funcobject_test.cc index cedc3704160..cfc466ebe22 100644 --- a/src/carnot/planner/objects/funcobject_test.cc +++ b/src/carnot/planner/objects/funcobject_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/objects/metadata_object.cc b/src/carnot/planner/objects/metadata_object.cc index 6d75a9262b9..395b1d833fd 100644 --- a/src/carnot/planner/objects/metadata_object.cc +++ b/src/carnot/planner/objects/metadata_object.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/objects/metadata_object.h b/src/carnot/planner/objects/metadata_object.h index c2fc2b8d4c6..9bf0e704df9 100644 --- a/src/carnot/planner/objects/metadata_object.h +++ b/src/carnot/planner/objects/metadata_object.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/metadata_object_test.cc b/src/carnot/planner/objects/metadata_object_test.cc index 92c6421ecbe..c6e0b9f76e9 100644 --- a/src/carnot/planner/objects/metadata_object_test.cc +++ b/src/carnot/planner/objects/metadata_object_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/objects/module.cc b/src/carnot/planner/objects/module.cc index b416eca6839..aead576b836 100644 --- a/src/carnot/planner/objects/module.cc +++ b/src/carnot/planner/objects/module.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/objects/module.h" #include "src/carnot/planner/parser/parser.h" diff --git a/src/carnot/planner/objects/module.h b/src/carnot/planner/objects/module.h index 56ea62ff01b..e2428fbd8a0 100644 --- a/src/carnot/planner/objects/module.h +++ b/src/carnot/planner/objects/module.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/module_test.cc b/src/carnot/planner/objects/module_test.cc index ca740027121..4e5a688cf48 100644 --- a/src/carnot/planner/objects/module_test.cc +++ b/src/carnot/planner/objects/module_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/objects/none_object.h b/src/carnot/planner/objects/none_object.h index 4c5bb8308ce..12821e25588 100644 --- a/src/carnot/planner/objects/none_object.h +++ b/src/carnot/planner/objects/none_object.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/none_object_test.cc b/src/carnot/planner/objects/none_object_test.cc index 1d870499c5b..a0217e9e341 100644 --- a/src/carnot/planner/objects/none_object_test.cc +++ b/src/carnot/planner/objects/none_object_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/objects/pixie_module.cc b/src/carnot/planner/objects/pixie_module.cc index abe36677f6d..241a0e969cf 100644 --- a/src/carnot/planner/objects/pixie_module.cc +++ b/src/carnot/planner/objects/pixie_module.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/objects/pixie_module.h" #include diff --git a/src/carnot/planner/objects/pixie_module.h b/src/carnot/planner/objects/pixie_module.h index e30e05ad97e..5d40c2e7279 100644 --- a/src/carnot/planner/objects/pixie_module.h +++ b/src/carnot/planner/objects/pixie_module.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/pixie_module_test.cc b/src/carnot/planner/objects/pixie_module_test.cc index a7cc2dd3d3d..35988ed8f03 100644 --- a/src/carnot/planner/objects/pixie_module_test.cc +++ b/src/carnot/planner/objects/pixie_module_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/objects/pixie_module.h" #include "src/carnot/planner/objects/dict_object.h" #include "src/carnot/planner/objects/expr_object.h" diff --git a/src/carnot/planner/objects/ql_object_test.cc b/src/carnot/planner/objects/ql_object_test.cc index 3597ba1a975..ee35ae9a31c 100644 --- a/src/carnot/planner/objects/ql_object_test.cc +++ b/src/carnot/planner/objects/ql_object_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/objects/qlobject.cc b/src/carnot/planner/objects/qlobject.cc index c485328461e..741b3f5e202 100644 --- a/src/carnot/planner/objects/qlobject.cc +++ b/src/carnot/planner/objects/qlobject.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/planner/objects/collection_object.h" diff --git a/src/carnot/planner/objects/qlobject.h b/src/carnot/planner/objects/qlobject.h index fc2b88a39ca..2a68664f828 100644 --- a/src/carnot/planner/objects/qlobject.h +++ b/src/carnot/planner/objects/qlobject.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/test_utils.h b/src/carnot/planner/objects/test_utils.h index 800195dcec5..38ad9f1cdc1 100644 --- a/src/carnot/planner/objects/test_utils.h +++ b/src/carnot/planner/objects/test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/objects/type_object.cc b/src/carnot/planner/objects/type_object.cc index d22ffacf441..a4a140a726d 100644 --- a/src/carnot/planner/objects/type_object.cc +++ b/src/carnot/planner/objects/type_object.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/objects/type_object.h" #include "src/carnot/planner/objects/funcobject.h" diff --git a/src/carnot/planner/objects/type_object.h b/src/carnot/planner/objects/type_object.h index face80ab7a5..94d72b0ea00 100644 --- a/src/carnot/planner/objects/type_object.h +++ b/src/carnot/planner/objects/type_object.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/type_object_test.cc b/src/carnot/planner/objects/type_object_test.cc index b45abb62a10..37c9e555cde 100644 --- a/src/carnot/planner/objects/type_object_test.cc +++ b/src/carnot/planner/objects/type_object_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/objects/var_table.cc b/src/carnot/planner/objects/var_table.cc index 21e5f722b03..842d70d3fcc 100644 --- a/src/carnot/planner/objects/var_table.cc +++ b/src/carnot/planner/objects/var_table.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/objects/var_table.h" #include "src/carnot/planner/objects/funcobject.h" diff --git a/src/carnot/planner/objects/var_table.h b/src/carnot/planner/objects/var_table.h index 9abf627350f..5d2a1d71690 100644 --- a/src/carnot/planner/objects/var_table.h +++ b/src/carnot/planner/objects/var_table.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/var_table_test.cc b/src/carnot/planner/objects/var_table_test.cc index 3ea03843de1..d25f8135444 100644 --- a/src/carnot/planner/objects/var_table_test.cc +++ b/src/carnot/planner/objects/var_table_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/carnot/planner/objects/dataframe.h" diff --git a/src/carnot/planner/objects/viz_object.cc b/src/carnot/planner/objects/viz_object.cc index c1c7f1e0757..75067c918f2 100644 --- a/src/carnot/planner/objects/viz_object.cc +++ b/src/carnot/planner/objects/viz_object.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/objects/viz_object.h" #include diff --git a/src/carnot/planner/objects/viz_object.h b/src/carnot/planner/objects/viz_object.h index c50923bfb18..63765b56bed 100644 --- a/src/carnot/planner/objects/viz_object.h +++ b/src/carnot/planner/objects/viz_object.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/objects/viz_object_test.cc b/src/carnot/planner/objects/viz_object_test.cc index e192c1b4ec9..31ce3b4d55b 100644 --- a/src/carnot/planner/objects/viz_object_test.cc +++ b/src/carnot/planner/objects/viz_object_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/parser/BUILD.bazel b/src/carnot/planner/parser/BUILD.bazel index 928ae2a2ad4..edee9f89f2e 100644 --- a/src/carnot/planner/parser/BUILD.bazel +++ b/src/carnot/planner/parser/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") # gazelle:ignore diff --git a/src/carnot/planner/parser/parser.cc b/src/carnot/planner/parser/parser.cc index 9616cbfa45c..b67334b34e0 100644 --- a/src/carnot/planner/parser/parser.cc +++ b/src/carnot/planner/parser/parser.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/planner/parser/parser.h b/src/carnot/planner/parser/parser.h index 21cb5815849..744da8dbea6 100644 --- a/src/carnot/planner/parser/parser.h +++ b/src/carnot/planner/parser/parser.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/parser/parser_test.cc b/src/carnot/planner/parser/parser_test.cc index 706e41c4d44..26899f40575 100644 --- a/src/carnot/planner/parser/parser_test.cc +++ b/src/carnot/planner/parser/parser_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/parser/string_reader.h b/src/carnot/planner/parser/string_reader.h index d9a3a7271f6..b44409f635c 100644 --- a/src/carnot/planner/parser/string_reader.h +++ b/src/carnot/planner/parser/string_reader.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/parser/string_reader_test.cc b/src/carnot/planner/parser/string_reader_test.cc index 3cc1019d8f1..0e0ac32d4b3 100644 --- a/src/carnot/planner/parser/string_reader_test.cc +++ b/src/carnot/planner/parser/string_reader_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/parser/symbol_table.h b/src/carnot/planner/parser/symbol_table.h index 0dc1215d69f..4e3c30cbf97 100644 --- a/src/carnot/planner/parser/symbol_table.h +++ b/src/carnot/planner/parser/symbol_table.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/plannerpb/BUILD.bazel b/src/carnot/planner/plannerpb/BUILD.bazel index 40b6025f1c4..0768ab33602 100644 --- a/src/carnot/planner/plannerpb/BUILD.bazel +++ b/src/carnot/planner/plannerpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/carnot/planner/plannerpb/func_args.proto b/src/carnot/planner/plannerpb/func_args.proto index 73ac071f4d1..c2e8983974b 100644 --- a/src/carnot/planner/plannerpb/func_args.proto +++ b/src/carnot/planner/plannerpb/func_args.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.carnot.planner.plannerpb; diff --git a/src/carnot/planner/probes/BUILD.bazel b/src/carnot/planner/probes/BUILD.bazel index a8dee8c7e82..3d6601b7155 100644 --- a/src/carnot/planner/probes/BUILD.bazel +++ b/src/carnot/planner/probes/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/planner/probes/config_module.cc b/src/carnot/planner/probes/config_module.cc index b5d987a10f3..1ed484c848d 100644 --- a/src/carnot/planner/probes/config_module.cc +++ b/src/carnot/planner/probes/config_module.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/probes/config_module.h" #include diff --git a/src/carnot/planner/probes/config_module.h b/src/carnot/planner/probes/config_module.h index 50cfc626d5f..54a3a9054c1 100644 --- a/src/carnot/planner/probes/config_module.h +++ b/src/carnot/planner/probes/config_module.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/probes/kprobe_target.h b/src/carnot/planner/probes/kprobe_target.h index dcedcdbcb10..131b4ccebab 100644 --- a/src/carnot/planner/probes/kprobe_target.h +++ b/src/carnot/planner/probes/kprobe_target.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/probes/probes.cc b/src/carnot/planner/probes/probes.cc index 2313c1841c2..a5a2786722c 100644 --- a/src/carnot/planner/probes/probes.cc +++ b/src/carnot/planner/probes/probes.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/probes/probes.h" #include "external/gogo_grpc_proto/github.com/gogo/protobuf/gogoproto/gogo.pb.h" diff --git a/src/carnot/planner/probes/probes.h b/src/carnot/planner/probes/probes.h index 324dc9fa741..1e241ebbbb0 100644 --- a/src/carnot/planner/probes/probes.h +++ b/src/carnot/planner/probes/probes.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/probes/probes_test.cc b/src/carnot/planner/probes/probes_test.cc index e3594db61c3..43dd7c888b1 100644 --- a/src/carnot/planner/probes/probes_test.cc +++ b/src/carnot/planner/probes/probes_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/probes/probes.h" #include "src/carnot/planner/compiler/ast_visitor.h" #include "src/carnot/planner/compiler/test_utils.h" diff --git a/src/carnot/planner/probes/process_target.h b/src/carnot/planner/probes/process_target.h index fed264a237b..44fd3de79cd 100644 --- a/src/carnot/planner/probes/process_target.h +++ b/src/carnot/planner/probes/process_target.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/probes/shared_object.h b/src/carnot/planner/probes/shared_object.h index 664f626ef00..e4b52dfbd39 100644 --- a/src/carnot/planner/probes/shared_object.h +++ b/src/carnot/planner/probes/shared_object.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/probes/tracepoint_generator.cc b/src/carnot/planner/probes/tracepoint_generator.cc index 78ea6d7028b..36c1988250b 100644 --- a/src/carnot/planner/probes/tracepoint_generator.cc +++ b/src/carnot/planner/probes/tracepoint_generator.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/probes/tracepoint_generator.h" #include diff --git a/src/carnot/planner/probes/tracepoint_generator.h b/src/carnot/planner/probes/tracepoint_generator.h index b8faa7d0b91..7cc4a957515 100644 --- a/src/carnot/planner/probes/tracepoint_generator.h +++ b/src/carnot/planner/probes/tracepoint_generator.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/planner/compiler/ast_visitor.h" diff --git a/src/carnot/planner/probes/tracepoint_generator_tool.cc b/src/carnot/planner/probes/tracepoint_generator_tool.cc index b80f3f90651..9e1ea85efe8 100644 --- a/src/carnot/planner/probes/tracepoint_generator_tool.cc +++ b/src/carnot/planner/probes/tracepoint_generator_tool.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/probes/tracing_module.cc b/src/carnot/planner/probes/tracing_module.cc index cac4c0d1cc1..512bd4e234d 100644 --- a/src/carnot/planner/probes/tracing_module.cc +++ b/src/carnot/planner/probes/tracing_module.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/probes/tracing_module.h" #include diff --git a/src/carnot/planner/probes/tracing_module.h b/src/carnot/planner/probes/tracing_module.h index ea1703035a1..f3b179c741c 100644 --- a/src/carnot/planner/probes/tracing_module.h +++ b/src/carnot/planner/probes/tracing_module.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/rules/BUILD.bazel b/src/carnot/planner/rules/BUILD.bazel index 7f895ef9754..26a9eeb23bf 100644 --- a/src/carnot/planner/rules/BUILD.bazel +++ b/src/carnot/planner/rules/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test", "pl_cc_test_library") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/planner/rules/rule_executor.h b/src/carnot/planner/rules/rule_executor.h index d1d75f02275..61f96f03a10 100644 --- a/src/carnot/planner/rules/rule_executor.h +++ b/src/carnot/planner/rules/rule_executor.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/rules/rule_executor_test.cc b/src/carnot/planner/rules/rule_executor_test.cc index c5d2c9c7e88..8df0abda49c 100644 --- a/src/carnot/planner/rules/rule_executor_test.cc +++ b/src/carnot/planner/rules/rule_executor_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/rules/rule_mock.h b/src/carnot/planner/rules/rule_mock.h index a6204870be9..b65ff964cd0 100644 --- a/src/carnot/planner/rules/rule_mock.h +++ b/src/carnot/planner/rules/rule_mock.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/rules/rules.cc b/src/carnot/planner/rules/rules.cc index 6ce6bf561c4..8bb23825dcc 100644 --- a/src/carnot/planner/rules/rules.cc +++ b/src/carnot/planner/rules/rules.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/planner/rules/rules.h" #include diff --git a/src/carnot/planner/rules/rules.h b/src/carnot/planner/rules/rules.h index 7cf8a54705d..42987f8f713 100644 --- a/src/carnot/planner/rules/rules.h +++ b/src/carnot/planner/rules/rules.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/planner/rules/rules_test.cc b/src/carnot/planner/rules/rules_test.cc index 99e3dee22ce..d9bd0fa508c 100644 --- a/src/carnot/planner/rules/rules_test.cc +++ b/src/carnot/planner/rules/rules_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planner/test_utils.h b/src/carnot/planner/test_utils.h index 296f3693cbe..b4425cae989 100644 --- a/src/carnot/planner/test_utils.h +++ b/src/carnot/planner/test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/types/BUILD.bazel b/src/carnot/planner/types/BUILD.bazel index 5654f03b17c..5939f98cb19 100644 --- a/src/carnot/planner/types/BUILD.bazel +++ b/src/carnot/planner/types/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") # gazelle:ignore diff --git a/src/carnot/planner/types/types.h b/src/carnot/planner/types/types.h index 76ec393b3ae..41012532419 100644 --- a/src/carnot/planner/types/types.h +++ b/src/carnot/planner/types/types.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/planner/types/types_test.cc b/src/carnot/planner/types/types_test.cc index 76857342a4d..b5ff2065684 100644 --- a/src/carnot/planner/types/types_test.cc +++ b/src/carnot/planner/types/types_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/planpb/BUILD.bazel b/src/carnot/planpb/BUILD.bazel index f4c7e0c7e5c..bbbb78ad251 100644 --- a/src/carnot/planpb/BUILD.bazel +++ b/src/carnot/planpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") # gazelle:ignore diff --git a/src/carnot/planpb/plan.proto b/src/carnot/planpb/plan.proto index 2aa8197ac61..c1efb31f40f 100644 --- a/src/carnot/planpb/plan.proto +++ b/src/carnot/planpb/plan.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.carnot.planpb; diff --git a/src/carnot/planpb/test_proto.h b/src/carnot/planpb/test_proto.h index b765efdc0e7..8424193727c 100644 --- a/src/carnot/planpb/test_proto.h +++ b/src/carnot/planpb/test_proto.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/queryresultspb/BUILD.bazel b/src/carnot/queryresultspb/BUILD.bazel index ea57a163a90..35f360fd2b1 100644 --- a/src/carnot/queryresultspb/BUILD.bazel +++ b/src/carnot/queryresultspb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/carnot/queryresultspb/query_results.proto b/src/carnot/queryresultspb/query_results.proto index bf441fd5739..2ece1ede44c 100644 --- a/src/carnot/queryresultspb/query_results.proto +++ b/src/carnot/queryresultspb/query_results.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.carnot.queryresultspb; diff --git a/src/carnot/udf/BUILD.bazel b/src/carnot/udf/BUILD.bazel index 555ff8442c2..3e22ac37040 100644 --- a/src/carnot/udf/BUILD.bazel +++ b/src/carnot/udf/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test", "pl_cc_test_library") package(default_visibility = [ diff --git a/src/carnot/udf/base.h b/src/carnot/udf/base.h index d37e3fb27cc..2187cbfb240 100644 --- a/src/carnot/udf/base.h +++ b/src/carnot/udf/base.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/udf/doc.cc b/src/carnot/udf/doc.cc index f82d949d167..760b36f5ca5 100644 --- a/src/carnot/udf/doc.cc +++ b/src/carnot/udf/doc.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/udf/doc.h b/src/carnot/udf/doc.h index f49670221f7..873de2358b8 100644 --- a/src/carnot/udf/doc.h +++ b/src/carnot/udf/doc.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once // This contains documentation functions for UDFs. #include diff --git a/src/carnot/udf/doc_test.cc b/src/carnot/udf/doc_test.cc index 9da4efb0c35..600125512d4 100644 --- a/src/carnot/udf/doc_test.cc +++ b/src/carnot/udf/doc_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/udf/doc.h" #include "src/carnot/udf/udf.h" #include "src/common/testing/testing.h" diff --git a/src/carnot/udf/registry.cc b/src/carnot/udf/registry.cc index 5d1d08aa77f..d6e4a377ca9 100644 --- a/src/carnot/udf/registry.cc +++ b/src/carnot/udf/registry.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/udf/registry.h" namespace px { diff --git a/src/carnot/udf/registry.h b/src/carnot/udf/registry.h index 4e6746ef3a5..f01ef814f49 100644 --- a/src/carnot/udf/registry.h +++ b/src/carnot/udf/registry.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/udf/registry_test.cc b/src/carnot/udf/registry_test.cc index 60e46833f4d..9e46eae08ea 100644 --- a/src/carnot/udf/registry_test.cc +++ b/src/carnot/udf/registry_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/udf/test_utils.h b/src/carnot/udf/test_utils.h index c85cddd3e24..ba48c4c6ad0 100644 --- a/src/carnot/udf/test_utils.h +++ b/src/carnot/udf/test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/udf/type_inference.cc b/src/carnot/udf/type_inference.cc index f51473cc6b7..60d8ce17173 100644 --- a/src/carnot/udf/type_inference.cc +++ b/src/carnot/udf/type_inference.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/udf/type_inference.h" #include "src/common/base/hash_utils.h" diff --git a/src/carnot/udf/type_inference.h b/src/carnot/udf/type_inference.h index 1873542e5d5..f3bb464c75e 100644 --- a/src/carnot/udf/type_inference.h +++ b/src/carnot/udf/type_inference.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/udf/udf.h b/src/carnot/udf/udf.h index 26f82668f82..f0eef89e8c7 100644 --- a/src/carnot/udf/udf.h +++ b/src/carnot/udf/udf.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/udf/udf_definition.h b/src/carnot/udf/udf_definition.h index 18064aa0334..988fec5f8ce 100644 --- a/src/carnot/udf/udf_definition.h +++ b/src/carnot/udf/udf_definition.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/udf/udf_definition_test.cc b/src/carnot/udf/udf_definition_test.cc index 8d533310d0b..65025c05be3 100644 --- a/src/carnot/udf/udf_definition_test.cc +++ b/src/carnot/udf/udf_definition_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/udf/udf_eval_benchmark.cc b/src/carnot/udf/udf_eval_benchmark.cc index 1d353780230..47d43f8e5ab 100644 --- a/src/carnot/udf/udf_eval_benchmark.cc +++ b/src/carnot/udf/udf_eval_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/udf/udf_test.cc b/src/carnot/udf/udf_test.cc index ffd40c16183..96e12dd235c 100644 --- a/src/carnot/udf/udf_test.cc +++ b/src/carnot/udf/udf_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/udf/udf_wrapper.h b/src/carnot/udf/udf_wrapper.h index 0f6b8effd86..2c196439058 100644 --- a/src/carnot/udf/udf_wrapper.h +++ b/src/carnot/udf/udf_wrapper.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/udf/udtf.h b/src/carnot/udf/udtf.h index c4cc51c15e6..2a36c933102 100644 --- a/src/carnot/udf/udtf.h +++ b/src/carnot/udf/udtf.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/carnot/udf/udtf_test.cc b/src/carnot/udf/udtf_test.cc index 58f26e4a90e..66088b8953c 100644 --- a/src/carnot/udf/udtf_test.cc +++ b/src/carnot/udf/udtf_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/carnot/udf_exporter/BUILD.bazel b/src/carnot/udf_exporter/BUILD.bazel index 20e4fa96094..a1aea175cca 100644 --- a/src/carnot/udf_exporter/BUILD.bazel +++ b/src/carnot/udf_exporter/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src/carnot:__subpackages__"]) diff --git a/src/carnot/udf_exporter/udf_exporter.cc b/src/carnot/udf_exporter/udf_exporter.cc index aa0b419f465..bd19e582ca2 100644 --- a/src/carnot/udf_exporter/udf_exporter.cc +++ b/src/carnot/udf_exporter/udf_exporter.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/carnot/udf_exporter/udf_exporter.h" #include "src/vizier/funcs/context/vizier_context.h" #include "src/vizier/funcs/funcs.h" diff --git a/src/carnot/udf_exporter/udf_exporter.h b/src/carnot/udf_exporter/udf_exporter.h index 75d9c0a7872..844ac009956 100644 --- a/src/carnot/udf_exporter/udf_exporter.h +++ b/src/carnot/udf_exporter/udf_exporter.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/carnot/udf_exporter/udf_exporter_test.cc b/src/carnot/udf_exporter/udf_exporter_test.cc index ac32525a933..b386029a233 100644 --- a/src/carnot/udf_exporter/udf_exporter_test.cc +++ b/src/carnot/udf_exporter/udf_exporter_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/carnot/udfspb/BUILD.bazel b/src/carnot/udfspb/BUILD.bazel index 421a4288262..610679f6007 100644 --- a/src/carnot/udfspb/BUILD.bazel +++ b/src/carnot/udfspb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/carnot/udfspb/udfs.proto b/src/carnot/udfspb/udfs.proto index 054116e9cbf..c9bc02a9a5d 100644 --- a/src/carnot/udfspb/udfs.proto +++ b/src/carnot/udfspb/udfs.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.carnot.udfspb; diff --git a/src/cloud/api/BUILD.bazel b/src/cloud/api/BUILD.bazel index 343deab52e6..a2cd50293b7 100644 --- a/src/cloud/api/BUILD.bazel +++ b/src/cloud/api/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/api/api_server.go b/src/cloud/api/api_server.go index 21b3f5601d9..8e2dda073c0 100644 --- a/src/cloud/api/api_server.go +++ b/src/cloud/api/api_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/api/apienv/BUILD.bazel b/src/cloud/api/apienv/BUILD.bazel index 06fda54c1c3..7e083174e53 100644 --- a/src/cloud/api/apienv/BUILD.bazel +++ b/src/cloud/api/apienv/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/api/apienv/artifact_tracker_client.go b/src/cloud/api/apienv/artifact_tracker_client.go index 6cb08b81272..d336ef5545f 100644 --- a/src/cloud/api/apienv/artifact_tracker_client.go +++ b/src/cloud/api/apienv/artifact_tracker_client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package apienv import ( diff --git a/src/cloud/api/apienv/env.go b/src/cloud/api/apienv/env.go index 76c83ee187b..cc1f7a4b357 100644 --- a/src/cloud/api/apienv/env.go +++ b/src/cloud/api/apienv/env.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package apienv import ( diff --git a/src/cloud/api/apienv/env_test.go b/src/cloud/api/apienv/env_test.go index 0984b955065..e2b68edda87 100644 --- a/src/cloud/api/apienv/env_test.go +++ b/src/cloud/api/apienv/env_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package apienv_test import ( diff --git a/src/cloud/api/apienv/profile_client.go b/src/cloud/api/apienv/profile_client.go index 318c497f438..5ec00e2b4c8 100644 --- a/src/cloud/api/apienv/profile_client.go +++ b/src/cloud/api/apienv/profile_client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package apienv import ( diff --git a/src/cloud/api/apienv/project_manager_client.go b/src/cloud/api/apienv/project_manager_client.go index 7c58c437d03..19156f0b27a 100644 --- a/src/cloud/api/apienv/project_manager_client.go +++ b/src/cloud/api/apienv/project_manager_client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package apienv import ( diff --git a/src/cloud/api/apienv/scriptmgr_client.go b/src/cloud/api/apienv/scriptmgr_client.go index cdeb356b5cd..a372a4437fd 100644 --- a/src/cloud/api/apienv/scriptmgr_client.go +++ b/src/cloud/api/apienv/scriptmgr_client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package apienv import ( diff --git a/src/cloud/api/apienv/vzmgr_client.go b/src/cloud/api/apienv/vzmgr_client.go index 523a923c7b0..cea6cedbd99 100644 --- a/src/cloud/api/apienv/vzmgr_client.go +++ b/src/cloud/api/apienv/vzmgr_client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package apienv import ( diff --git a/src/cloud/api/controller/BUILD.bazel b/src/cloud/api/controller/BUILD.bazel index eaeea342b69..3dfbabecaa3 100644 --- a/src/cloud/api/controller/BUILD.bazel +++ b/src/cloud/api/controller/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/api/controller/api_key_resolver.go b/src/cloud/api/controller/api_key_resolver.go index df9bf4c4651..4c09378711c 100644 --- a/src/cloud/api/controller/api_key_resolver.go +++ b/src/cloud/api/controller/api_key_resolver.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/api_key_resolver_test.go b/src/cloud/api/controller/api_key_resolver_test.go index 5be50dfbed3..3ed60a00397 100644 --- a/src/cloud/api/controller/api_key_resolver_test.go +++ b/src/cloud/api/controller/api_key_resolver_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/controller/artifact_resolver.go b/src/cloud/api/controller/artifact_resolver.go index 97f0a11e6f8..454a105daee 100644 --- a/src/cloud/api/controller/artifact_resolver.go +++ b/src/cloud/api/controller/artifact_resolver.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/artifact_resolver_test.go b/src/cloud/api/controller/artifact_resolver_test.go index c9a4807eb06..ed06a696532 100644 --- a/src/cloud/api/controller/artifact_resolver_test.go +++ b/src/cloud/api/controller/artifact_resolver_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/controller/auth.go b/src/cloud/api/controller/auth.go index c302e11fa6a..12254e361c0 100644 --- a/src/cloud/api/controller/auth.go +++ b/src/cloud/api/controller/auth.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/auth_client.go b/src/cloud/api/controller/auth_client.go index c9e49ee44b9..6972812a1fe 100644 --- a/src/cloud/api/controller/auth_client.go +++ b/src/cloud/api/controller/auth_client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/auth_test.go b/src/cloud/api/controller/auth_test.go index 62b7a845eb5..ed91a41900d 100644 --- a/src/cloud/api/controller/auth_test.go +++ b/src/cloud/api/controller/auth_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/controller/autocomplete_resolver.go b/src/cloud/api/controller/autocomplete_resolver.go index b65dc3390c7..c7aa7c3a290 100644 --- a/src/cloud/api/controller/autocomplete_resolver.go +++ b/src/cloud/api/controller/autocomplete_resolver.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/autocomplete_resolver_test.go b/src/cloud/api/controller/autocomplete_resolver_test.go index 6c64cc03ba1..a6dbe1bf7f7 100644 --- a/src/cloud/api/controller/autocomplete_resolver_test.go +++ b/src/cloud/api/controller/autocomplete_resolver_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/controller/cluster_name.go b/src/cloud/api/controller/cluster_name.go index 1a0a52bf044..1d74489abd7 100644 --- a/src/cloud/api/controller/cluster_name.go +++ b/src/cloud/api/controller/cluster_name.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/cluster_name_test.go b/src/cloud/api/controller/cluster_name_test.go index 0be1aa476d0..9760dd3db0e 100644 --- a/src/cloud/api/controller/cluster_name_test.go +++ b/src/cloud/api/controller/cluster_name_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/controller/cluster_resolver.go b/src/cloud/api/controller/cluster_resolver.go index e71b0c0e4a9..3b7f9a4e4b3 100644 --- a/src/cloud/api/controller/cluster_resolver.go +++ b/src/cloud/api/controller/cluster_resolver.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/cluster_resolver_test.go b/src/cloud/api/controller/cluster_resolver_test.go index b5406674736..6d8c643fd7a 100644 --- a/src/cloud/api/controller/cluster_resolver_test.go +++ b/src/cloud/api/controller/cluster_resolver_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/controller/deployment_key_resolver.go b/src/cloud/api/controller/deployment_key_resolver.go index 9d02f8a9da6..3893a16dad9 100644 --- a/src/cloud/api/controller/deployment_key_resolver.go +++ b/src/cloud/api/controller/deployment_key_resolver.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/deployment_key_resolver_test.go b/src/cloud/api/controller/deployment_key_resolver_test.go index 576b7b95296..ef615db7701 100644 --- a/src/cloud/api/controller/deployment_key_resolver_test.go +++ b/src/cloud/api/controller/deployment_key_resolver_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/controller/gql.go b/src/cloud/api/controller/gql.go index 72de93b481f..cf77fed0d85 100644 --- a/src/cloud/api/controller/gql.go +++ b/src/cloud/api/controller/gql.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/grpc.go b/src/cloud/api/controller/grpc.go index 345bacfe40f..deee14e51e2 100644 --- a/src/cloud/api/controller/grpc.go +++ b/src/cloud/api/controller/grpc.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/grpc_test.go b/src/cloud/api/controller/grpc_test.go index d07e03e0cf8..5449becb722 100644 --- a/src/cloud/api/controller/grpc_test.go +++ b/src/cloud/api/controller/grpc_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/controller/schema/BUILD.bazel b/src/cloud/api/controller/schema/BUILD.bazel index 9511ea90eb9..f6571bb41ed 100644 --- a/src/cloud/api/controller/schema/BUILD.bazel +++ b/src/cloud/api/controller/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") filegroup( diff --git a/src/cloud/api/controller/schema/schema.d.ts b/src/cloud/api/controller/schema/schema.d.ts index 825b70b3db6..b9adf14fdd1 100644 --- a/src/cloud/api/controller/schema/schema.d.ts +++ b/src/cloud/api/controller/schema/schema.d.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* tslint:disable */ /* eslint-disable */ import { GraphQLResolveInfo } from 'graphql'; diff --git a/src/cloud/api/controller/schema/schema.go b/src/cloud/api/controller/schema/schema.go index c681cb5e247..88a72ad0edf 100644 --- a/src/cloud/api/controller/schema/schema.go +++ b/src/cloud/api/controller/schema/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /** GraphQL Schema setup file. */ diff --git a/src/cloud/api/controller/schema/update.sh b/src/cloud/api/controller/schema/update.sh index 54264053a3e..fcecc7d3606 100755 --- a/src/cloud/api/controller/schema/update.sh +++ b/src/cloud/api/controller/schema/update.sh @@ -1,5 +1,21 @@ #!/bin/bash -ex +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Grab bin data. go get -u github.com/go-bindata/go-bindata/... diff --git a/src/cloud/api/controller/scriptmgr_resolver.go b/src/cloud/api/controller/scriptmgr_resolver.go index 06fb9614263..0bd7d516652 100644 --- a/src/cloud/api/controller/scriptmgr_resolver.go +++ b/src/cloud/api/controller/scriptmgr_resolver.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/scriptmgr_resolver_test.go b/src/cloud/api/controller/scriptmgr_resolver_test.go index de2f56de67b..86b5b27aff1 100644 --- a/src/cloud/api/controller/scriptmgr_resolver_test.go +++ b/src/cloud/api/controller/scriptmgr_resolver_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/controller/session.go b/src/cloud/api/controller/session.go index 5ec11a01a6c..d6cfec3bc93 100644 --- a/src/cloud/api/controller/session.go +++ b/src/cloud/api/controller/session.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/session_middleware.go b/src/cloud/api/controller/session_middleware.go index cd002b63ddb..2d2d086cce1 100644 --- a/src/cloud/api/controller/session_middleware.go +++ b/src/cloud/api/controller/session_middleware.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/session_middleware_test.go b/src/cloud/api/controller/session_middleware_test.go index 821485205bb..121da501b2d 100644 --- a/src/cloud/api/controller/session_middleware_test.go +++ b/src/cloud/api/controller/session_middleware_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/controller/testutils/BUILD.bazel b/src/cloud/api/controller/testutils/BUILD.bazel index c5c148040f8..3b805c613ea 100644 --- a/src/cloud/api/controller/testutils/BUILD.bazel +++ b/src/cloud/api/controller/testutils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/api/controller/testutils/testutils.go b/src/cloud/api/controller/testutils/testutils.go index 9083cd13569..b7fc5b05967 100644 --- a/src/cloud/api/controller/testutils/testutils.go +++ b/src/cloud/api/controller/testutils/testutils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testutils import ( diff --git a/src/cloud/api/controller/unauthenticated_schema/BUILD.bazel b/src/cloud/api/controller/unauthenticated_schema/BUILD.bazel index d7b2c8aa789..07ce4c6d1d9 100644 --- a/src/cloud/api/controller/unauthenticated_schema/BUILD.bazel +++ b/src/cloud/api/controller/unauthenticated_schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/api/controller/unauthenticated_schema/schema.d.ts b/src/cloud/api/controller/unauthenticated_schema/schema.d.ts index 5b7fd1efd0f..22d69061c58 100644 --- a/src/cloud/api/controller/unauthenticated_schema/schema.d.ts +++ b/src/cloud/api/controller/unauthenticated_schema/schema.d.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* tslint:disable */ /* eslint-disable */ import { GraphQLResolveInfo } from 'graphql'; diff --git a/src/cloud/api/controller/unauthenticated_schema/schema.go b/src/cloud/api/controller/unauthenticated_schema/schema.go index c56655f6ba9..09a6046e66d 100644 --- a/src/cloud/api/controller/unauthenticated_schema/schema.go +++ b/src/cloud/api/controller/unauthenticated_schema/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /** GraphQL Schema setup file. */ diff --git a/src/cloud/api/controller/unauthenticated_schema/update.sh b/src/cloud/api/controller/unauthenticated_schema/update.sh index d9134c547ef..71646841348 100755 --- a/src/cloud/api/controller/unauthenticated_schema/update.sh +++ b/src/cloud/api/controller/unauthenticated_schema/update.sh @@ -1,5 +1,21 @@ #!/bin/bash -ex +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Grab bin data. go get -u github.com/go-bindata/go-bindata/... diff --git a/src/cloud/api/controller/user_resolver.go b/src/cloud/api/controller/user_resolver.go index 7ae3a1abb84..6b708620af8 100644 --- a/src/cloud/api/controller/user_resolver.go +++ b/src/cloud/api/controller/user_resolver.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/api/controller/user_resolver_test.go b/src/cloud/api/controller/user_resolver_test.go index b8fc792ffa1..5b689968712 100644 --- a/src/cloud/api/controller/user_resolver_test.go +++ b/src/cloud/api/controller/user_resolver_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/api/ptproxy/BUILD.bazel b/src/cloud/api/ptproxy/BUILD.bazel index 2d758ccebb7..d4b2ba16d3e 100644 --- a/src/cloud/api/ptproxy/BUILD.bazel +++ b/src/cloud/api/ptproxy/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/api/ptproxy/request_proxyer.go b/src/cloud/api/ptproxy/request_proxyer.go index 104125efac8..0f72ffe0d7e 100644 --- a/src/cloud/api/ptproxy/request_proxyer.go +++ b/src/cloud/api/ptproxy/request_proxyer.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package ptproxy import ( diff --git a/src/cloud/api/ptproxy/vizier_pt_proxy.go b/src/cloud/api/ptproxy/vizier_pt_proxy.go index 8f52aa95f6d..c1eb5bd9e74 100644 --- a/src/cloud/api/ptproxy/vizier_pt_proxy.go +++ b/src/cloud/api/ptproxy/vizier_pt_proxy.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package ptproxy import ( diff --git a/src/cloud/api/ptproxy/vizier_pt_proxy_test.go b/src/cloud/api/ptproxy/vizier_pt_proxy_test.go index b68b14664f5..919b0bd60b8 100644 --- a/src/cloud/api/ptproxy/vizier_pt_proxy_test.go +++ b/src/cloud/api/ptproxy/vizier_pt_proxy_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package ptproxy_test import ( diff --git a/src/cloud/artifact_tracker/BUILD.bazel b/src/cloud/artifact_tracker/BUILD.bazel index e37778571f9..f5b25a470e5 100644 --- a/src/cloud/artifact_tracker/BUILD.bazel +++ b/src/cloud/artifact_tracker/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/artifact_tracker/artifact_tracker_server.go b/src/cloud/artifact_tracker/artifact_tracker_server.go index c037b015364..c0fd29e320d 100644 --- a/src/cloud/artifact_tracker/artifact_tracker_server.go +++ b/src/cloud/artifact_tracker/artifact_tracker_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/artifact_tracker/artifacttrackerenv/BUILD.bazel b/src/cloud/artifact_tracker/artifacttrackerenv/BUILD.bazel index 1fda4797ba0..bbc7c777323 100644 --- a/src/cloud/artifact_tracker/artifacttrackerenv/BUILD.bazel +++ b/src/cloud/artifact_tracker/artifacttrackerenv/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/artifact_tracker/artifacttrackerenv/env.go b/src/cloud/artifact_tracker/artifacttrackerenv/env.go index 1bef38517e7..ac2b27846ba 100644 --- a/src/cloud/artifact_tracker/artifacttrackerenv/env.go +++ b/src/cloud/artifact_tracker/artifacttrackerenv/env.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package artifacttrackerenv import ( diff --git a/src/cloud/artifact_tracker/artifacttrackerpb/BUILD.bazel b/src/cloud/artifact_tracker/artifacttrackerpb/BUILD.bazel index 0e999041b1f..1063b2e83f5 100644 --- a/src/cloud/artifact_tracker/artifacttrackerpb/BUILD.bazel +++ b/src/cloud/artifact_tracker/artifacttrackerpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_go_proto_library", "pl_proto_library") diff --git a/src/cloud/artifact_tracker/artifacttrackerpb/artifact_tracker.proto b/src/cloud/artifact_tracker/artifacttrackerpb/artifact_tracker.proto index a1274203cac..b98e7794cee 100644 --- a/src/cloud/artifact_tracker/artifacttrackerpb/artifact_tracker.proto +++ b/src/cloud/artifact_tracker/artifacttrackerpb/artifact_tracker.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.services; diff --git a/src/cloud/artifact_tracker/artifacttrackerpb/mock.go b/src/cloud/artifact_tracker/artifacttrackerpb/mock.go index 5ccf7edad8e..b6c8b87baee 100644 --- a/src/cloud/artifact_tracker/artifacttrackerpb/mock.go +++ b/src/cloud/artifact_tracker/artifacttrackerpb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package artifacttrackerpb //go:generate mockgen -source=artifact_tracker.pb.go -destination=mock/artifact_tracker_mock.gen.go ArtifactTrackerClient diff --git a/src/cloud/artifact_tracker/artifacttrackerpb/mock/BUILD.bazel b/src/cloud/artifact_tracker/artifacttrackerpb/mock/BUILD.bazel index 4c81158c12a..66276debf70 100644 --- a/src/cloud/artifact_tracker/artifacttrackerpb/mock/BUILD.bazel +++ b/src/cloud/artifact_tracker/artifacttrackerpb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/artifact_tracker/controller/BUILD.bazel b/src/cloud/artifact_tracker/controller/BUILD.bazel index b1a16df44eb..307cca6fb22 100644 --- a/src/cloud/artifact_tracker/controller/BUILD.bazel +++ b/src/cloud/artifact_tracker/controller/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/artifact_tracker/controller/server.go b/src/cloud/artifact_tracker/controller/server.go index b0abcad0ace..f0595e34479 100644 --- a/src/cloud/artifact_tracker/controller/server.go +++ b/src/cloud/artifact_tracker/controller/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/artifact_tracker/controller/server_test.go b/src/cloud/artifact_tracker/controller/server_test.go index 2a39a673807..3c24ddddfac 100644 --- a/src/cloud/artifact_tracker/controller/server_test.go +++ b/src/cloud/artifact_tracker/controller/server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/artifact_tracker/schema/BUILD.bazel b/src/cloud/artifact_tracker/schema/BUILD.bazel index 1aa54c95745..eb61571629c 100644 --- a/src/cloud/artifact_tracker/schema/BUILD.bazel +++ b/src/cloud/artifact_tracker/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/artifact_tracker/schema/schema.go b/src/cloud/artifact_tracker/schema/schema.go index 64152067043..c10bf0fc673 100644 --- a/src/cloud/artifact_tracker/schema/schema.go +++ b/src/cloud/artifact_tracker/schema/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package schema //go:generate go-bindata -ignore=\.go -ignore=\.sh -ignore=\.bazel -pkg=schema -o=bindata.gen.go ./... diff --git a/src/cloud/auth/BUILD.bazel b/src/cloud/auth/BUILD.bazel index 3cecd6cee31..86109396e4c 100644 --- a/src/cloud/auth/BUILD.bazel +++ b/src/cloud/auth/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/auth/apikey/BUILD.bazel b/src/cloud/auth/apikey/BUILD.bazel index ec93893d00a..84859ccf8fe 100644 --- a/src/cloud/auth/apikey/BUILD.bazel +++ b/src/cloud/auth/apikey/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/auth/apikey/api_key.go b/src/cloud/auth/apikey/api_key.go index e0e906eb636..aba7387ba05 100644 --- a/src/cloud/auth/apikey/api_key.go +++ b/src/cloud/auth/apikey/api_key.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package apikey import ( diff --git a/src/cloud/auth/apikey/api_key_test.go b/src/cloud/auth/apikey/api_key_test.go index aabdb4a3cac..a4979044447 100644 --- a/src/cloud/auth/apikey/api_key_test.go +++ b/src/cloud/auth/apikey/api_key_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package apikey import ( diff --git a/src/cloud/auth/auth_server.go b/src/cloud/auth/auth_server.go index 2e2b1e013d3..1265531b0a4 100644 --- a/src/cloud/auth/auth_server.go +++ b/src/cloud/auth/auth_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/auth/authenv/BUILD.bazel b/src/cloud/auth/authenv/BUILD.bazel index 8c3dafb86b1..c8af2ca176a 100644 --- a/src/cloud/auth/authenv/BUILD.bazel +++ b/src/cloud/auth/authenv/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/auth/authenv/env.go b/src/cloud/auth/authenv/env.go index 09c16af45b2..26ad4c3ba1c 100644 --- a/src/cloud/auth/authenv/env.go +++ b/src/cloud/auth/authenv/env.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package authenv import ( diff --git a/src/cloud/auth/authenv/profile_client.go b/src/cloud/auth/authenv/profile_client.go index 3549135192a..ef813b96fb4 100644 --- a/src/cloud/auth/authenv/profile_client.go +++ b/src/cloud/auth/authenv/profile_client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package authenv import ( diff --git a/src/cloud/auth/authpb/BUILD.bazel b/src/cloud/auth/authpb/BUILD.bazel index 5438d19f1d7..0ef58fbd8ff 100644 --- a/src/cloud/auth/authpb/BUILD.bazel +++ b/src/cloud/auth/authpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") diff --git a/src/cloud/auth/authpb/auth.proto b/src/cloud/auth/authpb/auth.proto index d06efb6054c..9848bda2d36 100644 --- a/src/cloud/auth/authpb/auth.proto +++ b/src/cloud/auth/authpb/auth.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.services; diff --git a/src/cloud/auth/authpb/mock.go b/src/cloud/auth/authpb/mock.go index 236621b4460..63183cccd49 100644 --- a/src/cloud/auth/authpb/mock.go +++ b/src/cloud/auth/authpb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package authpb //go:generate mockgen -source=auth.pb.go -destination=mock/auth_mock.gen.go AuthServiceClient,APIKeyServiceClient diff --git a/src/cloud/auth/authpb/mock/BUILD.bazel b/src/cloud/auth/authpb/mock/BUILD.bazel index a724f425c09..e5fc16ed31f 100644 --- a/src/cloud/auth/authpb/mock/BUILD.bazel +++ b/src/cloud/auth/authpb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/auth/controllers/BUILD.bazel b/src/cloud/auth/controllers/BUILD.bazel index e8456d60404..d6e658ebc1c 100644 --- a/src/cloud/auth/controllers/BUILD.bazel +++ b/src/cloud/auth/controllers/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/auth/controllers/auth0.go b/src/cloud/auth/controllers/auth0.go index 9ff0bfbeba3..21f0a34c74f 100644 --- a/src/cloud/auth/controllers/auth0.go +++ b/src/cloud/auth/controllers/auth0.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/cloud/auth/controllers/auth0_test.go b/src/cloud/auth/controllers/auth0_test.go index 86163a2cf4b..a46a3250366 100644 --- a/src/cloud/auth/controllers/auth0_test.go +++ b/src/cloud/auth/controllers/auth0_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/cloud/auth/controllers/domain.go b/src/cloud/auth/controllers/domain.go index 98acc14dade..1eecb8a8d2d 100644 --- a/src/cloud/auth/controllers/domain.go +++ b/src/cloud/auth/controllers/domain.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/cloud/auth/controllers/hydra_kratos_auth.go b/src/cloud/auth/controllers/hydra_kratos_auth.go index 7c5211da61b..fbffa2f2baf 100644 --- a/src/cloud/auth/controllers/hydra_kratos_auth.go +++ b/src/cloud/auth/controllers/hydra_kratos_auth.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/cloud/auth/controllers/login.go b/src/cloud/auth/controllers/login.go index 4ae1b2c355e..53619de71e0 100644 --- a/src/cloud/auth/controllers/login.go +++ b/src/cloud/auth/controllers/login.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/cloud/auth/controllers/login_test.go b/src/cloud/auth/controllers/login_test.go index 93d016730a9..dbdc149fe71 100644 --- a/src/cloud/auth/controllers/login_test.go +++ b/src/cloud/auth/controllers/login_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/cloud/auth/controllers/mock.go b/src/cloud/auth/controllers/mock.go index a87448dd5d3..6dd46e0fb43 100644 --- a/src/cloud/auth/controllers/mock.go +++ b/src/cloud/auth/controllers/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers //go:generate mockgen -source=server.go -destination=mock/mock_apikeymgr.gen.go APIKeyMgr,AuthProvider diff --git a/src/cloud/auth/controllers/mock/BUILD.bazel b/src/cloud/auth/controllers/mock/BUILD.bazel index 7313c71e3e2..ba8fba1e5a1 100644 --- a/src/cloud/auth/controllers/mock/BUILD.bazel +++ b/src/cloud/auth/controllers/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/auth/controllers/server.go b/src/cloud/auth/controllers/server.go index feb09074b99..2289f385d3d 100644 --- a/src/cloud/auth/controllers/server.go +++ b/src/cloud/auth/controllers/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/cloud/auth/schema/BUILD.bazel b/src/cloud/auth/schema/BUILD.bazel index 19cf0ad2fd7..a6134d26d82 100644 --- a/src/cloud/auth/schema/BUILD.bazel +++ b/src/cloud/auth/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") filegroup( diff --git a/src/cloud/auth/schema/schema.go b/src/cloud/auth/schema/schema.go index 64152067043..c10bf0fc673 100644 --- a/src/cloud/auth/schema/schema.go +++ b/src/cloud/auth/schema/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package schema //go:generate go-bindata -ignore=\.go -ignore=\.sh -ignore=\.bazel -pkg=schema -o=bindata.gen.go ./... diff --git a/src/cloud/autocomplete/BUILD.bazel b/src/cloud/autocomplete/BUILD.bazel index 0496c044edb..f630b7c5d62 100644 --- a/src/cloud/autocomplete/BUILD.bazel +++ b/src/cloud/autocomplete/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/autocomplete/autocomplete.go b/src/cloud/autocomplete/autocomplete.go index bab87862790..83d4cbd3f86 100644 --- a/src/cloud/autocomplete/autocomplete.go +++ b/src/cloud/autocomplete/autocomplete.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package autocomplete import ( diff --git a/src/cloud/autocomplete/autocomplete_test.go b/src/cloud/autocomplete/autocomplete_test.go index a66438acb08..1eb4967f616 100644 --- a/src/cloud/autocomplete/autocomplete_test.go +++ b/src/cloud/autocomplete/autocomplete_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package autocomplete_test import ( diff --git a/src/cloud/autocomplete/ebnf/BUILD.bazel b/src/cloud/autocomplete/ebnf/BUILD.bazel index ee1023c5061..fcb58015ceb 100644 --- a/src/cloud/autocomplete/ebnf/BUILD.bazel +++ b/src/cloud/autocomplete/ebnf/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/autocomplete/ebnf/ebnf_parser.go b/src/cloud/autocomplete/ebnf/ebnf_parser.go index f287509b887..d5fbd4f88f9 100644 --- a/src/cloud/autocomplete/ebnf/ebnf_parser.go +++ b/src/cloud/autocomplete/ebnf/ebnf_parser.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package ebnf import ( diff --git a/src/cloud/autocomplete/ebnf/ebnf_parser_test.go b/src/cloud/autocomplete/ebnf/ebnf_parser_test.go index c3f5ec62bbd..5f0e4ef40ed 100644 --- a/src/cloud/autocomplete/ebnf/ebnf_parser_test.go +++ b/src/cloud/autocomplete/ebnf/ebnf_parser_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package ebnf_test import ( diff --git a/src/cloud/autocomplete/mock.go b/src/cloud/autocomplete/mock.go index d4bf48c71f9..a29e02581a4 100644 --- a/src/cloud/autocomplete/mock.go +++ b/src/cloud/autocomplete/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package autocomplete //go:generate mockgen -source=autocomplete.go -destination=mock/suggester_mock.gen.go Suggester diff --git a/src/cloud/autocomplete/mock/BUILD.bazel b/src/cloud/autocomplete/mock/BUILD.bazel index 87f6867940e..a37e4a1546f 100644 --- a/src/cloud/autocomplete/mock/BUILD.bazel +++ b/src/cloud/autocomplete/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/autocomplete/suggester.go b/src/cloud/autocomplete/suggester.go index f967526239f..e3c8fc433e4 100644 --- a/src/cloud/autocomplete/suggester.go +++ b/src/cloud/autocomplete/suggester.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package autocomplete import ( diff --git a/src/cloud/autocomplete/suggester_test.go b/src/cloud/autocomplete/suggester_test.go index adc3ce779ba..d903c546652 100644 --- a/src/cloud/autocomplete/suggester_test.go +++ b/src/cloud/autocomplete/suggester_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package autocomplete_test import ( diff --git a/src/cloud/cloudapipb/BUILD.bazel b/src/cloud/cloudapipb/BUILD.bazel index 145ff627fdf..886e34357f7 100644 --- a/src/cloud/cloudapipb/BUILD.bazel +++ b/src/cloud/cloudapipb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_go_proto_library", "pl_proto_library", "pl_py_grpc_library") diff --git a/src/cloud/cloudapipb/cloudapi.proto b/src/cloud/cloudapipb/cloudapi.proto index eebfedf85d7..e647a722b69 100644 --- a/src/cloud/cloudapipb/cloudapi.proto +++ b/src/cloud/cloudapipb/cloudapi.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.cloudapi; diff --git a/src/cloud/cloudapipb/mock.go b/src/cloud/cloudapipb/mock.go index e45a4bef726..85dd4adf326 100644 --- a/src/cloud/cloudapipb/mock.go +++ b/src/cloud/cloudapipb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cloudapipb //go:generate mockgen -source=cloudapi.pb.go -destination=mock/cloudapi_mock.gen.go ArtifactTrackerServer,VizierClusterInfoServer,VizierDeploymentKeyManagerServer,ScriptMgrServer,AutocompleteServiceServer,APIKeyManagerServer diff --git a/src/cloud/cloudapipb/mock/BUILD.bazel b/src/cloud/cloudapipb/mock/BUILD.bazel index 12eeefb7dda..6ab948f0cd1 100644 --- a/src/cloud/cloudapipb/mock/BUILD.bazel +++ b/src/cloud/cloudapipb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/dnsmgr/BUILD.bazel b/src/cloud/dnsmgr/BUILD.bazel index c63f37d1850..44d89f6a46f 100644 --- a/src/cloud/dnsmgr/BUILD.bazel +++ b/src/cloud/dnsmgr/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/dnsmgr/controller/BUILD.bazel b/src/cloud/dnsmgr/controller/BUILD.bazel index 44205edd568..a61938452f9 100644 --- a/src/cloud/dnsmgr/controller/BUILD.bazel +++ b/src/cloud/dnsmgr/controller/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/dnsmgr/controller/dns.go b/src/cloud/dnsmgr/controller/dns.go index 7e4de4c01cf..b13da5f5221 100644 --- a/src/cloud/dnsmgr/controller/dns.go +++ b/src/cloud/dnsmgr/controller/dns.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/dnsmgr/controller/mock.go b/src/cloud/dnsmgr/controller/mock.go index 4a255b54da1..ab741c25b53 100644 --- a/src/cloud/dnsmgr/controller/mock.go +++ b/src/cloud/dnsmgr/controller/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller //go:generate mockgen -source=dns.go -destination=mock/dns_mock.gen.go DNSService diff --git a/src/cloud/dnsmgr/controller/mock/BUILD.bazel b/src/cloud/dnsmgr/controller/mock/BUILD.bazel index 61aee6ad17e..37e91ef4f03 100644 --- a/src/cloud/dnsmgr/controller/mock/BUILD.bazel +++ b/src/cloud/dnsmgr/controller/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/dnsmgr/controller/server.go b/src/cloud/dnsmgr/controller/server.go index 784efe4a479..63ee96fe300 100644 --- a/src/cloud/dnsmgr/controller/server.go +++ b/src/cloud/dnsmgr/controller/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/dnsmgr/controller/server_test.go b/src/cloud/dnsmgr/controller/server_test.go index 3582b16a86a..4e8af1d5a0a 100644 --- a/src/cloud/dnsmgr/controller/server_test.go +++ b/src/cloud/dnsmgr/controller/server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/dnsmgr/dnsmgr_server.go b/src/cloud/dnsmgr/dnsmgr_server.go index 854dcb465cf..7d407cc5f4a 100644 --- a/src/cloud/dnsmgr/dnsmgr_server.go +++ b/src/cloud/dnsmgr/dnsmgr_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/dnsmgr/dnsmgrenv/BUILD.bazel b/src/cloud/dnsmgr/dnsmgrenv/BUILD.bazel index 1d2c7e68a2f..02ed470a06f 100644 --- a/src/cloud/dnsmgr/dnsmgrenv/BUILD.bazel +++ b/src/cloud/dnsmgr/dnsmgrenv/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/dnsmgr/dnsmgrenv/env.go b/src/cloud/dnsmgr/dnsmgrenv/env.go index d1c3ca43c61..5859429712a 100644 --- a/src/cloud/dnsmgr/dnsmgrenv/env.go +++ b/src/cloud/dnsmgr/dnsmgrenv/env.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package dnsmgrenv import ( diff --git a/src/cloud/dnsmgr/dnsmgrpb/BUILD.bazel b/src/cloud/dnsmgr/dnsmgrpb/BUILD.bazel index 05bdb0cecad..08730ae4f5a 100644 --- a/src/cloud/dnsmgr/dnsmgrpb/BUILD.bazel +++ b/src/cloud/dnsmgr/dnsmgrpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") diff --git a/src/cloud/dnsmgr/dnsmgrpb/mock.go b/src/cloud/dnsmgr/dnsmgrpb/mock.go index b05b497b1a6..26002140c32 100644 --- a/src/cloud/dnsmgr/dnsmgrpb/mock.go +++ b/src/cloud/dnsmgr/dnsmgrpb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package dnsmgr //go:generate mockgen -source=service.pb.go -destination=mock/dnsmgr_mock.gen.go DNSMgrServiceClient diff --git a/src/cloud/dnsmgr/dnsmgrpb/mock/BUILD.bazel b/src/cloud/dnsmgr/dnsmgrpb/mock/BUILD.bazel index bafdca73d80..b3a914456de 100644 --- a/src/cloud/dnsmgr/dnsmgrpb/mock/BUILD.bazel +++ b/src/cloud/dnsmgr/dnsmgrpb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/dnsmgr/dnsmgrpb/service.proto b/src/cloud/dnsmgr/dnsmgrpb/service.proto index 631ff6ed0d6..ebf2b88dcf4 100644 --- a/src/cloud/dnsmgr/dnsmgrpb/service.proto +++ b/src/cloud/dnsmgr/dnsmgrpb/service.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.services; diff --git a/src/cloud/dnsmgr/load_certs/BUILD.bazel b/src/cloud/dnsmgr/load_certs/BUILD.bazel index 35fe080cbb6..602757992a2 100644 --- a/src/cloud/dnsmgr/load_certs/BUILD.bazel +++ b/src/cloud/dnsmgr/load_certs/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") go_library( diff --git a/src/cloud/dnsmgr/load_certs/load_certs.go b/src/cloud/dnsmgr/load_certs/load_certs.go index 5e80e099a2f..54fdd03f8b5 100644 --- a/src/cloud/dnsmgr/load_certs/load_certs.go +++ b/src/cloud/dnsmgr/load_certs/load_certs.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main // This is a script to load certs into the database until we setup automated provisioning. diff --git a/src/cloud/dnsmgr/schema/BUILD.bazel b/src/cloud/dnsmgr/schema/BUILD.bazel index 63ca32d90b0..4f9dbd35c00 100644 --- a/src/cloud/dnsmgr/schema/BUILD.bazel +++ b/src/cloud/dnsmgr/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/dnsmgr/schema/schema.go b/src/cloud/dnsmgr/schema/schema.go index 64152067043..c10bf0fc673 100644 --- a/src/cloud/dnsmgr/schema/schema.go +++ b/src/cloud/dnsmgr/schema/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package schema //go:generate go-bindata -ignore=\.go -ignore=\.sh -ignore=\.bazel -pkg=schema -o=bindata.gen.go ./... diff --git a/src/cloud/dnsmgr/scripts/assemble_cert_yaml.py b/src/cloud/dnsmgr/scripts/assemble_cert_yaml.py index 5f858f79784..db72d121cd9 100644 --- a/src/cloud/dnsmgr/scripts/assemble_cert_yaml.py +++ b/src/cloud/dnsmgr/scripts/assemble_cert_yaml.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import argparse import yaml import os diff --git a/src/cloud/dnsmgr/scripts/convert_certs_to_yaml.sh b/src/cloud/dnsmgr/scripts/convert_certs_to_yaml.sh index c6d2820f814..7093dc6c0d1 100755 --- a/src/cloud/dnsmgr/scripts/convert_certs_to_yaml.sh +++ b/src/cloud/dnsmgr/scripts/convert_certs_to_yaml.sh @@ -1,4 +1,21 @@ #!/usr/bin/env bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Script that converts the certs generated by lego into yaml files. if [ $# -ne 2 ]; then echo "Expected 2 Arguments: CERTSDIR and OUTCERTS. Received $#." diff --git a/src/cloud/dnsmgr/scripts/create_cert_yamls.sh b/src/cloud/dnsmgr/scripts/create_cert_yamls.sh index 5c009987e9a..180866e4c91 100644 --- a/src/cloud/dnsmgr/scripts/create_cert_yamls.sh +++ b/src/cloud/dnsmgr/scripts/create_cert_yamls.sh @@ -1,4 +1,21 @@ #!/usr/bin/env bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Script to generate certs and place them into yaml files. workspace=$(bazel info workspace 2> /dev/null) curdirectory=${workspace}/src/cloud/dnsmgr/scripts diff --git a/src/cloud/dnsmgr/scripts/generate_certs.sh b/src/cloud/dnsmgr/scripts/generate_certs.sh index 81c2eb86af0..8347fa9b843 100755 --- a/src/cloud/dnsmgr/scripts/generate_certs.sh +++ b/src/cloud/dnsmgr/scripts/generate_certs.sh @@ -1,4 +1,21 @@ #!/usr/bin/env bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Script to generate certs. workspace=$(bazel info workspace 2> /dev/null) LEGO=${workspace}/lego diff --git a/src/cloud/dnsmgr/scripts/renew_certs.sh b/src/cloud/dnsmgr/scripts/renew_certs.sh index 230a6a312cc..a417fa923cd 100755 --- a/src/cloud/dnsmgr/scripts/renew_certs.sh +++ b/src/cloud/dnsmgr/scripts/renew_certs.sh @@ -1,4 +1,21 @@ #!/usr/bin/env bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -e workspace=$(bazel info workspace 2> /dev/null) SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" diff --git a/src/cloud/dnsmgr/scripts/renew_certs_for_domain.py b/src/cloud/dnsmgr/scripts/renew_certs_for_domain.py index e806a4af55f..0fac94eb82a 100644 --- a/src/cloud/dnsmgr/scripts/renew_certs_for_domain.py +++ b/src/cloud/dnsmgr/scripts/renew_certs_for_domain.py @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import argparse import os import shutil diff --git a/src/cloud/indexer/BUILD.bazel b/src/cloud/indexer/BUILD.bazel index dd34c3d478a..05b59bd2710 100644 --- a/src/cloud/indexer/BUILD.bazel +++ b/src/cloud/indexer/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/indexer/controllers/BUILD.bazel b/src/cloud/indexer/controllers/BUILD.bazel index 5dd29d5b7bb..48fc0b55605 100644 --- a/src/cloud/indexer/controllers/BUILD.bazel +++ b/src/cloud/indexer/controllers/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/indexer/controllers/indexer.go b/src/cloud/indexer/controllers/indexer.go index 3f60fde8cd5..175375ad316 100644 --- a/src/cloud/indexer/controllers/indexer.go +++ b/src/cloud/indexer/controllers/indexer.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/cloud/indexer/indexer_server.go b/src/cloud/indexer/indexer_server.go index a948d20829c..3798c51ce52 100644 --- a/src/cloud/indexer/indexer_server.go +++ b/src/cloud/indexer/indexer_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/indexer/md/BUILD.bazel b/src/cloud/indexer/md/BUILD.bazel index 7f643ec303f..9b2b3da043b 100644 --- a/src/cloud/indexer/md/BUILD.bazel +++ b/src/cloud/indexer/md/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/indexer/md/mapping.o.go b/src/cloud/indexer/md/mapping.o.go index d4cc7d8bf29..10a6db49336 100644 --- a/src/cloud/indexer/md/mapping.o.go +++ b/src/cloud/indexer/md/mapping.o.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package md import ( diff --git a/src/cloud/indexer/md/md.go b/src/cloud/indexer/md/md.go index 68774938986..4fccb708600 100644 --- a/src/cloud/indexer/md/md.go +++ b/src/cloud/indexer/md/md.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package md import ( diff --git a/src/cloud/indexer/md/md_test.go b/src/cloud/indexer/md/md_test.go index e62c460255c..6bbb4985ea7 100644 --- a/src/cloud/indexer/md/md_test.go +++ b/src/cloud/indexer/md/md_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package md_test import ( diff --git a/src/cloud/jobs/elastic_migration/BUILD.bazel b/src/cloud/jobs/elastic_migration/BUILD.bazel index c281684a303..6a661165cf8 100644 --- a/src/cloud/jobs/elastic_migration/BUILD.bazel +++ b/src/cloud/jobs/elastic_migration/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/jobs/elastic_migration/controller/BUILD.bazel b/src/cloud/jobs/elastic_migration/controller/BUILD.bazel index 9eff7c09d1a..ff25ce24373 100644 --- a/src/cloud/jobs/elastic_migration/controller/BUILD.bazel +++ b/src/cloud/jobs/elastic_migration/controller/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/jobs/elastic_migration/controller/index_manager.go b/src/cloud/jobs/elastic_migration/controller/index_manager.go index 19d822036f4..e0305fadc77 100644 --- a/src/cloud/jobs/elastic_migration/controller/index_manager.go +++ b/src/cloud/jobs/elastic_migration/controller/index_manager.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/jobs/elastic_migration/controller/index_manager_test.go b/src/cloud/jobs/elastic_migration/controller/index_manager_test.go index 4eb92bc02ff..3a013858cb9 100644 --- a/src/cloud/jobs/elastic_migration/controller/index_manager_test.go +++ b/src/cloud/jobs/elastic_migration/controller/index_manager_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/jobs/elastic_migration/job.go b/src/cloud/jobs/elastic_migration/job.go index b6e4438523a..0d2765ba537 100644 --- a/src/cloud/jobs/elastic_migration/job.go +++ b/src/cloud/jobs/elastic_migration/job.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/jobs/elastic_migration/schema/BUILD.bazel b/src/cloud/jobs/elastic_migration/schema/BUILD.bazel index 2f2f49bbe07..1e1c6e717fc 100644 --- a/src/cloud/jobs/elastic_migration/schema/BUILD.bazel +++ b/src/cloud/jobs/elastic_migration/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/jobs/elastic_migration/schema/schema.go b/src/cloud/jobs/elastic_migration/schema/schema.go index 64152067043..c10bf0fc673 100644 --- a/src/cloud/jobs/elastic_migration/schema/schema.go +++ b/src/cloud/jobs/elastic_migration/schema/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package schema //go:generate go-bindata -ignore=\.go -ignore=\.sh -ignore=\.bazel -pkg=schema -o=bindata.gen.go ./... diff --git a/src/cloud/profile/BUILD.bazel b/src/cloud/profile/BUILD.bazel index 6504fd9c247..9ce66d3a62a 100644 --- a/src/cloud/profile/BUILD.bazel +++ b/src/cloud/profile/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/profile/controller/BUILD.bazel b/src/cloud/profile/controller/BUILD.bazel index 1eba86038f1..7d07a6a6f9e 100644 --- a/src/cloud/profile/controller/BUILD.bazel +++ b/src/cloud/profile/controller/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/profile/controller/auth0_manager.go b/src/cloud/profile/controller/auth0_manager.go index c37bcfbf8af..57ca8b61f9b 100644 --- a/src/cloud/profile/controller/auth0_manager.go +++ b/src/cloud/profile/controller/auth0_manager.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/profile/controller/idmanager/BUILD.bazel b/src/cloud/profile/controller/idmanager/BUILD.bazel index 1f06fadb2ed..1bbb313d17d 100644 --- a/src/cloud/profile/controller/idmanager/BUILD.bazel +++ b/src/cloud/profile/controller/idmanager/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/profile/controller/idmanager/manager.go b/src/cloud/profile/controller/idmanager/manager.go index c793fc4edf4..1a7ced79c7e 100644 --- a/src/cloud/profile/controller/idmanager/manager.go +++ b/src/cloud/profile/controller/idmanager/manager.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package idmanager import "context" diff --git a/src/cloud/profile/controller/mock.go b/src/cloud/profile/controller/mock.go index db95f394bfa..133472c2b3a 100644 --- a/src/cloud/profile/controller/mock.go +++ b/src/cloud/profile/controller/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller //go:generate mockgen -source=server.go -destination=mock/datastore_mock.gen.go Datastore diff --git a/src/cloud/profile/controller/mock/BUILD.bazel b/src/cloud/profile/controller/mock/BUILD.bazel index 8b86741f453..6f13aae0ce9 100644 --- a/src/cloud/profile/controller/mock/BUILD.bazel +++ b/src/cloud/profile/controller/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/profile/controller/server.go b/src/cloud/profile/controller/server.go index 20cb140ce75..e2ad764187f 100644 --- a/src/cloud/profile/controller/server.go +++ b/src/cloud/profile/controller/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/profile/controller/server_test.go b/src/cloud/profile/controller/server_test.go index 46a512b5379..24c67d1998c 100644 --- a/src/cloud/profile/controller/server_test.go +++ b/src/cloud/profile/controller/server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/profile/datastore/BUILD.bazel b/src/cloud/profile/datastore/BUILD.bazel index 77ebbaeafa7..c8807bb2c59 100644 --- a/src/cloud/profile/datastore/BUILD.bazel +++ b/src/cloud/profile/datastore/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/profile/datastore/datastore.go b/src/cloud/profile/datastore/datastore.go index a3524f30720..4ba2a04e07a 100644 --- a/src/cloud/profile/datastore/datastore.go +++ b/src/cloud/profile/datastore/datastore.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package datastore import ( diff --git a/src/cloud/profile/datastore/datastore_test.go b/src/cloud/profile/datastore/datastore_test.go index bb15470550a..69394e4ea50 100644 --- a/src/cloud/profile/datastore/datastore_test.go +++ b/src/cloud/profile/datastore/datastore_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package datastore_test import ( diff --git a/src/cloud/profile/profile_server.go b/src/cloud/profile/profile_server.go index c485a18dd86..1a3734a9e98 100644 --- a/src/cloud/profile/profile_server.go +++ b/src/cloud/profile/profile_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/profile/profileenv/BUILD.bazel b/src/cloud/profile/profileenv/BUILD.bazel index 038dab37578..a8bb6dc1dc5 100644 --- a/src/cloud/profile/profileenv/BUILD.bazel +++ b/src/cloud/profile/profileenv/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/profile/profileenv/env.go b/src/cloud/profile/profileenv/env.go index d2e54831b84..40c1bb41117 100644 --- a/src/cloud/profile/profileenv/env.go +++ b/src/cloud/profile/profileenv/env.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package profileenv import ( diff --git a/src/cloud/profile/profilepb/BUILD.bazel b/src/cloud/profile/profilepb/BUILD.bazel index 7ac0a638f97..adb8ca17b39 100644 --- a/src/cloud/profile/profilepb/BUILD.bazel +++ b/src/cloud/profile/profilepb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") diff --git a/src/cloud/profile/profilepb/mock.go b/src/cloud/profile/profilepb/mock.go index 50b9fe4284f..b26c2dbaa9d 100644 --- a/src/cloud/profile/profilepb/mock.go +++ b/src/cloud/profile/profilepb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package profile //go:generate mockgen -source=service.pb.go -destination=mock/profile_mock.gen.go ProfileServiceClient diff --git a/src/cloud/profile/profilepb/mock/BUILD.bazel b/src/cloud/profile/profilepb/mock/BUILD.bazel index 7a187fbf660..a7c8a69632b 100644 --- a/src/cloud/profile/profilepb/mock/BUILD.bazel +++ b/src/cloud/profile/profilepb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/profile/profilepb/service.proto b/src/cloud/profile/profilepb/service.proto index beec3fbdb5f..647511aca0f 100644 --- a/src/cloud/profile/profilepb/service.proto +++ b/src/cloud/profile/profilepb/service.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.services; diff --git a/src/cloud/profile/schema/BUILD.bazel b/src/cloud/profile/schema/BUILD.bazel index 0b0410cc85b..5e6b8cda333 100644 --- a/src/cloud/profile/schema/BUILD.bazel +++ b/src/cloud/profile/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") filegroup( diff --git a/src/cloud/profile/schema/schema.go b/src/cloud/profile/schema/schema.go index 64152067043..c10bf0fc673 100644 --- a/src/cloud/profile/schema/schema.go +++ b/src/cloud/profile/schema/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package schema //go:generate go-bindata -ignore=\.go -ignore=\.sh -ignore=\.bazel -pkg=schema -o=bindata.gen.go ./... diff --git a/src/cloud/project_manager/BUILD.bazel b/src/cloud/project_manager/BUILD.bazel index e8b69eb8e76..babd81bbf7b 100644 --- a/src/cloud/project_manager/BUILD.bazel +++ b/src/cloud/project_manager/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/project_manager/controller/BUILD.bazel b/src/cloud/project_manager/controller/BUILD.bazel index 4c99bbc74d8..87d959fef20 100644 --- a/src/cloud/project_manager/controller/BUILD.bazel +++ b/src/cloud/project_manager/controller/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/project_manager/controller/server.go b/src/cloud/project_manager/controller/server.go index df1a5208f93..d62c3ceffb1 100644 --- a/src/cloud/project_manager/controller/server.go +++ b/src/cloud/project_manager/controller/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/cloud/project_manager/controller/server_test.go b/src/cloud/project_manager/controller/server_test.go index 5607730acd7..8be03be0e88 100644 --- a/src/cloud/project_manager/controller/server_test.go +++ b/src/cloud/project_manager/controller/server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/cloud/project_manager/datastore/BUILD.bazel b/src/cloud/project_manager/datastore/BUILD.bazel index fe062253b09..d16c093e479 100644 --- a/src/cloud/project_manager/datastore/BUILD.bazel +++ b/src/cloud/project_manager/datastore/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/project_manager/datastore/datastore.go b/src/cloud/project_manager/datastore/datastore.go index 766811fb21c..ee25c58df7e 100644 --- a/src/cloud/project_manager/datastore/datastore.go +++ b/src/cloud/project_manager/datastore/datastore.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package datastore import ( diff --git a/src/cloud/project_manager/datastore/datastore_test.go b/src/cloud/project_manager/datastore/datastore_test.go index cb7265b5650..c7ac9c9fb4b 100644 --- a/src/cloud/project_manager/datastore/datastore_test.go +++ b/src/cloud/project_manager/datastore/datastore_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package datastore_test import ( diff --git a/src/cloud/project_manager/project_manager_server.go b/src/cloud/project_manager/project_manager_server.go index 2a688b54308..5719fe46641 100644 --- a/src/cloud/project_manager/project_manager_server.go +++ b/src/cloud/project_manager/project_manager_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/project_manager/projectmanagerpb/BUILD.bazel b/src/cloud/project_manager/projectmanagerpb/BUILD.bazel index 1d7f68c5bd6..07dd1cdd9f9 100644 --- a/src/cloud/project_manager/projectmanagerpb/BUILD.bazel +++ b/src/cloud/project_manager/projectmanagerpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") diff --git a/src/cloud/project_manager/projectmanagerpb/mock.go b/src/cloud/project_manager/projectmanagerpb/mock.go index 297ad5f173e..ef960cb5482 100644 --- a/src/cloud/project_manager/projectmanagerpb/mock.go +++ b/src/cloud/project_manager/projectmanagerpb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package projectmanagerpb //go:generate mockgen -source=service.pb.go -destination=mock/service_mock.gen.go ProjectManagerServiceClient diff --git a/src/cloud/project_manager/projectmanagerpb/mock/BUILD.bazel b/src/cloud/project_manager/projectmanagerpb/mock/BUILD.bazel index ad0c8fab453..07f38541695 100644 --- a/src/cloud/project_manager/projectmanagerpb/mock/BUILD.bazel +++ b/src/cloud/project_manager/projectmanagerpb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/project_manager/projectmanagerpb/service.proto b/src/cloud/project_manager/projectmanagerpb/service.proto index 7eec500e55b..f755d736e37 100644 --- a/src/cloud/project_manager/projectmanagerpb/service.proto +++ b/src/cloud/project_manager/projectmanagerpb/service.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.services; diff --git a/src/cloud/project_manager/schema/BUILD.bazel b/src/cloud/project_manager/schema/BUILD.bazel index 44283c94668..3423d945ceb 100644 --- a/src/cloud/project_manager/schema/BUILD.bazel +++ b/src/cloud/project_manager/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") filegroup( diff --git a/src/cloud/project_manager/schema/schema.go b/src/cloud/project_manager/schema/schema.go index 64152067043..c10bf0fc673 100644 --- a/src/cloud/project_manager/schema/schema.go +++ b/src/cloud/project_manager/schema/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package schema //go:generate go-bindata -ignore=\.go -ignore=\.sh -ignore=\.bazel -pkg=schema -o=bindata.gen.go ./... diff --git a/src/cloud/proxy/BUILD.bazel b/src/cloud/proxy/BUILD.bazel index 84fe7cef3f9..0f5eebeeb25 100644 --- a/src/cloud/proxy/BUILD.bazel +++ b/src/cloud/proxy/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//container:image.bzl", "container_image") load("@io_bazel_rules_docker//container:layer.bzl", "container_layer") diff --git a/src/cloud/scriptmgr/BUILD.bazel b/src/cloud/scriptmgr/BUILD.bazel index 94eb5c9bfb3..87c1f58d242 100644 --- a/src/cloud/scriptmgr/BUILD.bazel +++ b/src/cloud/scriptmgr/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/scriptmgr/controller/BUILD.bazel b/src/cloud/scriptmgr/controller/BUILD.bazel index d458911de60..53bda276d5f 100644 --- a/src/cloud/scriptmgr/controller/BUILD.bazel +++ b/src/cloud/scriptmgr/controller/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/scriptmgr/controller/bundle.go b/src/cloud/scriptmgr/controller/bundle.go index 76e1db561f9..b8d205a90b7 100644 --- a/src/cloud/scriptmgr/controller/bundle.go +++ b/src/cloud/scriptmgr/controller/bundle.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/scriptmgr/controller/placement_compile.go b/src/cloud/scriptmgr/controller/placement_compile.go index ac2414dbc86..c6f38262e8b 100644 --- a/src/cloud/scriptmgr/controller/placement_compile.go +++ b/src/cloud/scriptmgr/controller/placement_compile.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/scriptmgr/controller/placement_compile_test.go b/src/cloud/scriptmgr/controller/placement_compile_test.go index da232c5a4a1..4c64c635377 100644 --- a/src/cloud/scriptmgr/controller/placement_compile_test.go +++ b/src/cloud/scriptmgr/controller/placement_compile_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/scriptmgr/controller/server.go b/src/cloud/scriptmgr/controller/server.go index 4d4c0f536e1..42366fd32c5 100644 --- a/src/cloud/scriptmgr/controller/server.go +++ b/src/cloud/scriptmgr/controller/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/scriptmgr/controller/server_test.go b/src/cloud/scriptmgr/controller/server_test.go index e412abc21f4..aa5f508c562 100644 --- a/src/cloud/scriptmgr/controller/server_test.go +++ b/src/cloud/scriptmgr/controller/server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/scriptmgr/scriptmgr_server.go b/src/cloud/scriptmgr/scriptmgr_server.go index 6237ebcdfae..3226386d5eb 100644 --- a/src/cloud/scriptmgr/scriptmgr_server.go +++ b/src/cloud/scriptmgr/scriptmgr_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/scriptmgr/scriptmgrpb/BUILD.bazel b/src/cloud/scriptmgr/scriptmgrpb/BUILD.bazel index aa31dd6b2cf..991b7bf80b8 100644 --- a/src/cloud/scriptmgr/scriptmgrpb/BUILD.bazel +++ b/src/cloud/scriptmgr/scriptmgrpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") diff --git a/src/cloud/scriptmgr/scriptmgrpb/mock.go b/src/cloud/scriptmgr/scriptmgrpb/mock.go index 1d827160b14..4444da809bd 100644 --- a/src/cloud/scriptmgr/scriptmgrpb/mock.go +++ b/src/cloud/scriptmgr/scriptmgrpb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package scriptmgrpb //go:generate mockgen -source=service.pb.go -destination=mock/scriptmgrpb_mock.gen.go ScriptMgrServiceClient diff --git a/src/cloud/scriptmgr/scriptmgrpb/mock/BUILD.bazel b/src/cloud/scriptmgr/scriptmgrpb/mock/BUILD.bazel index 9edc9d1e587..ba922b0281a 100644 --- a/src/cloud/scriptmgr/scriptmgrpb/mock/BUILD.bazel +++ b/src/cloud/scriptmgr/scriptmgrpb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/scriptmgr/scriptmgrpb/service.proto b/src/cloud/scriptmgr/scriptmgrpb/service.proto index 5030d0a2074..a4860742f19 100644 --- a/src/cloud/scriptmgr/scriptmgrpb/service.proto +++ b/src/cloud/scriptmgr/scriptmgrpb/service.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.services; diff --git a/src/cloud/shared/esutils/BUILD.bazel b/src/cloud/shared/esutils/BUILD.bazel index 5510944b1bf..e3b6c778e28 100644 --- a/src/cloud/shared/esutils/BUILD.bazel +++ b/src/cloud/shared/esutils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/shared/esutils/elastic.go b/src/cloud/shared/esutils/elastic.go index 449c26fd02e..836452043df 100644 --- a/src/cloud/shared/esutils/elastic.go +++ b/src/cloud/shared/esutils/elastic.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils import ( diff --git a/src/cloud/shared/esutils/elastic_test.go b/src/cloud/shared/esutils/elastic_test.go index d6f644c40ec..2370cea92f4 100644 --- a/src/cloud/shared/esutils/elastic_test.go +++ b/src/cloud/shared/esutils/elastic_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils_test import ( diff --git a/src/cloud/shared/esutils/errors.go b/src/cloud/shared/esutils/errors.go index e761b04d7a5..34a9c73a386 100644 --- a/src/cloud/shared/esutils/errors.go +++ b/src/cloud/shared/esutils/errors.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils import ( diff --git a/src/cloud/shared/esutils/ilm_policy.go b/src/cloud/shared/esutils/ilm_policy.go index f59602514e9..cffef591ebc 100644 --- a/src/cloud/shared/esutils/ilm_policy.go +++ b/src/cloud/shared/esutils/ilm_policy.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils import ( diff --git a/src/cloud/shared/esutils/ilm_policy_test.go b/src/cloud/shared/esutils/ilm_policy_test.go index d53796d229c..853dbbcad0c 100644 --- a/src/cloud/shared/esutils/ilm_policy_test.go +++ b/src/cloud/shared/esutils/ilm_policy_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils_test import ( diff --git a/src/cloud/shared/esutils/index.go b/src/cloud/shared/esutils/index.go index db309b8fb2d..2be6edfeaa3 100644 --- a/src/cloud/shared/esutils/index.go +++ b/src/cloud/shared/esutils/index.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils import ( diff --git a/src/cloud/shared/esutils/index_template.go b/src/cloud/shared/esutils/index_template.go index ea4785152fe..ec6af69250c 100644 --- a/src/cloud/shared/esutils/index_template.go +++ b/src/cloud/shared/esutils/index_template.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils import ( diff --git a/src/cloud/shared/esutils/index_template_test.go b/src/cloud/shared/esutils/index_template_test.go index 026fe903640..8988d569815 100644 --- a/src/cloud/shared/esutils/index_template_test.go +++ b/src/cloud/shared/esutils/index_template_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils_test import ( diff --git a/src/cloud/shared/esutils/index_test.go b/src/cloud/shared/esutils/index_test.go index e7abfce1b91..724d83e881c 100644 --- a/src/cloud/shared/esutils/index_test.go +++ b/src/cloud/shared/esutils/index_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils_test import ( diff --git a/src/cloud/shared/esutils/managed_index.go b/src/cloud/shared/esutils/managed_index.go index 69cdc791a9a..b9e0ec51450 100644 --- a/src/cloud/shared/esutils/managed_index.go +++ b/src/cloud/shared/esutils/managed_index.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils import ( diff --git a/src/cloud/shared/esutils/managed_index_test.go b/src/cloud/shared/esutils/managed_index_test.go index cbf3e92b009..45f57d05def 100644 --- a/src/cloud/shared/esutils/managed_index_test.go +++ b/src/cloud/shared/esutils/managed_index_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package esutils_test import ( diff --git a/src/cloud/shared/idprovider/BUILD.bazel b/src/cloud/shared/idprovider/BUILD.bazel index b43a207df37..2df18067cf9 100644 --- a/src/cloud/shared/idprovider/BUILD.bazel +++ b/src/cloud/shared/idprovider/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/shared/idprovider/client.go b/src/cloud/shared/idprovider/client.go index d30c334623e..dc152f10047 100644 --- a/src/cloud/shared/idprovider/client.go +++ b/src/cloud/shared/idprovider/client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package idprovider import ( diff --git a/src/cloud/shared/idprovider/client_test.go b/src/cloud/shared/idprovider/client_test.go index 7e4d5a016d9..696b2939fea 100644 --- a/src/cloud/shared/idprovider/client_test.go +++ b/src/cloud/shared/idprovider/client_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package idprovider import ( diff --git a/src/cloud/shared/idprovider/testutils/BUILD.bazel b/src/cloud/shared/idprovider/testutils/BUILD.bazel index 30d3259379f..ab7bc19c993 100644 --- a/src/cloud/shared/idprovider/testutils/BUILD.bazel +++ b/src/cloud/shared/idprovider/testutils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/shared/idprovider/testutils/kratostest.go b/src/cloud/shared/idprovider/testutils/kratostest.go index dcf1f85b01b..f0059486639 100644 --- a/src/cloud/shared/idprovider/testutils/kratostest.go +++ b/src/cloud/shared/idprovider/testutils/kratostest.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testutils import ( diff --git a/src/cloud/shared/idprovider/testutils/kratostest_test.go b/src/cloud/shared/idprovider/testutils/kratostest_test.go index ddebb24294a..5769e1b6362 100644 --- a/src/cloud/shared/idprovider/testutils/kratostest_test.go +++ b/src/cloud/shared/idprovider/testutils/kratostest_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testutils_test import ( diff --git a/src/cloud/shared/idprovider/testutils/schema/BUILD.bazel b/src/cloud/shared/idprovider/testutils/schema/BUILD.bazel index ec0b9603615..694073b525d 100644 --- a/src/cloud/shared/idprovider/testutils/schema/BUILD.bazel +++ b/src/cloud/shared/idprovider/testutils/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/shared/idprovider/testutils/schema/schema.go b/src/cloud/shared/idprovider/testutils/schema/schema.go index 64152067043..c10bf0fc673 100644 --- a/src/cloud/shared/idprovider/testutils/schema/schema.go +++ b/src/cloud/shared/idprovider/testutils/schema/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package schema //go:generate go-bindata -ignore=\.go -ignore=\.sh -ignore=\.bazel -pkg=schema -o=bindata.gen.go ./... diff --git a/src/cloud/shared/messages/BUILD.bazel b/src/cloud/shared/messages/BUILD.bazel index 35992ac58d7..5e9afe8f50a 100644 --- a/src/cloud/shared/messages/BUILD.bazel +++ b/src/cloud/shared/messages/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/shared/messages/messages.go b/src/cloud/shared/messages/messages.go index 3f5f1a9e156..3b296862351 100644 --- a/src/cloud/shared/messages/messages.go +++ b/src/cloud/shared/messages/messages.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package messages // This file contains the NATS channels used in Pixie Cloud. diff --git a/src/cloud/shared/messagespb/BUILD.bazel b/src/cloud/shared/messagespb/BUILD.bazel index a89cbb8316a..bff5510d1e8 100644 --- a/src/cloud/shared/messagespb/BUILD.bazel +++ b/src/cloud/shared/messagespb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/cloud/shared/messagespb/messages.proto b/src/cloud/shared/messagespb/messages.proto index 5408be20971..94b9d22f729 100644 --- a/src/cloud/shared/messagespb/messages.proto +++ b/src/cloud/shared/messagespb/messages.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.cloud.shared.messages; diff --git a/src/cloud/shared/pgmigrate/BUILD.bazel b/src/cloud/shared/pgmigrate/BUILD.bazel index 596221bbeb8..7f7df145427 100644 --- a/src/cloud/shared/pgmigrate/BUILD.bazel +++ b/src/cloud/shared/pgmigrate/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/shared/pgmigrate/pgmigrate.go b/src/cloud/shared/pgmigrate/pgmigrate.go index 9af7a33bc79..86d9350ea61 100644 --- a/src/cloud/shared/pgmigrate/pgmigrate.go +++ b/src/cloud/shared/pgmigrate/pgmigrate.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Package pgmigrate has utilities to help with postgres migrations. package pgmigrate diff --git a/src/cloud/shared/vzshard/BUILD.bazel b/src/cloud/shared/vzshard/BUILD.bazel index 541d1483972..ada7f828a5f 100644 --- a/src/cloud/shared/vzshard/BUILD.bazel +++ b/src/cloud/shared/vzshard/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/shared/vzshard/vzshard.go b/src/cloud/shared/vzshard/vzshard.go index 2c1e8156a15..83ceec06af8 100644 --- a/src/cloud/shared/vzshard/vzshard.go +++ b/src/cloud/shared/vzshard/vzshard.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vzshard import ( diff --git a/src/cloud/shared/vzshard/vzshard_test.go b/src/cloud/shared/vzshard/vzshard_test.go index cadf97ee872..50ffe4b3e04 100644 --- a/src/cloud/shared/vzshard/vzshard_test.go +++ b/src/cloud/shared/vzshard/vzshard_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vzshard_test import ( diff --git a/src/cloud/shared/vzutils/BUILD.bazel b/src/cloud/shared/vzutils/BUILD.bazel index f4c97a792b4..45e72ae04d0 100644 --- a/src/cloud/shared/vzutils/BUILD.bazel +++ b/src/cloud/shared/vzutils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/shared/vzutils/vzwatcher.go b/src/cloud/shared/vzutils/vzwatcher.go index 894e77c52b1..b3e8a144da3 100644 --- a/src/cloud/shared/vzutils/vzwatcher.go +++ b/src/cloud/shared/vzutils/vzwatcher.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vzutils import ( diff --git a/src/cloud/shared/vzutils/vzwatcher_test.go b/src/cloud/shared/vzutils/vzwatcher_test.go index 1ee5f537713..716df10a53a 100644 --- a/src/cloud/shared/vzutils/vzwatcher_test.go +++ b/src/cloud/shared/vzutils/vzwatcher_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vzutils_test import ( diff --git a/src/cloud/utils/stan_watcher/BUILD.bazel b/src/cloud/utils/stan_watcher/BUILD.bazel index 6a34700cd23..b95be8f5f5f 100644 --- a/src/cloud/utils/stan_watcher/BUILD.bazel +++ b/src/cloud/utils/stan_watcher/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/utils/stan_watcher/stan_watcher.go b/src/cloud/utils/stan_watcher/stan_watcher.go index a3438a4f1d6..9244eabe48a 100644 --- a/src/cloud/utils/stan_watcher/stan_watcher.go +++ b/src/cloud/utils/stan_watcher/stan_watcher.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/vzconn/BUILD.bazel b/src/cloud/vzconn/BUILD.bazel index 93787eb536d..86c000116f7 100644 --- a/src/cloud/vzconn/BUILD.bazel +++ b/src/cloud/vzconn/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/vzconn/bridge/BUILD.bazel b/src/cloud/vzconn/bridge/BUILD.bazel index 5fcd0089c0f..859df62cff7 100644 --- a/src/cloud/vzconn/bridge/BUILD.bazel +++ b/src/cloud/vzconn/bridge/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/vzconn/bridge/bridge.go b/src/cloud/vzconn/bridge/bridge.go index b2450f81898..929137efa76 100644 --- a/src/cloud/vzconn/bridge/bridge.go +++ b/src/cloud/vzconn/bridge/bridge.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Package bridge connects data between the vizier NATS domain and cloud nats domain by using a GRPC channel. Each Vizier // gets a dedicated subset of nats domain in the from v2c...* and c2v...*. // v2c = vizier to cloud messages, c2v = cloud to vizier messages. The shard ID is determined by the first byte diff --git a/src/cloud/vzconn/bridge/errors.go b/src/cloud/vzconn/bridge/errors.go index 015142ba146..e5d8e1c0365 100644 --- a/src/cloud/vzconn/bridge/errors.go +++ b/src/cloud/vzconn/bridge/errors.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package bridge import "errors" diff --git a/src/cloud/vzconn/bridge/grpc.go b/src/cloud/vzconn/bridge/grpc.go index d4afc38d73f..fbab86c0da6 100644 --- a/src/cloud/vzconn/bridge/grpc.go +++ b/src/cloud/vzconn/bridge/grpc.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package bridge import ( diff --git a/src/cloud/vzconn/bridge/grpc_test.go b/src/cloud/vzconn/bridge/grpc_test.go index 5027a0a4ec9..3d22ed7daa6 100644 --- a/src/cloud/vzconn/bridge/grpc_test.go +++ b/src/cloud/vzconn/bridge/grpc_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package bridge_test import ( diff --git a/src/cloud/vzconn/vzconn_server.go b/src/cloud/vzconn/vzconn_server.go index db318649067..d0829b3bf09 100644 --- a/src/cloud/vzconn/vzconn_server.go +++ b/src/cloud/vzconn/vzconn_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/vzconn/vzconnpb/BUILD.bazel b/src/cloud/vzconn/vzconnpb/BUILD.bazel index fd39896302f..5a1364d5900 100644 --- a/src/cloud/vzconn/vzconnpb/BUILD.bazel +++ b/src/cloud/vzconn/vzconnpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_go_proto_library", "pl_proto_library") diff --git a/src/cloud/vzconn/vzconnpb/mock.go b/src/cloud/vzconn/vzconnpb/mock.go index b012b1422b8..55c22773027 100644 --- a/src/cloud/vzconn/vzconnpb/mock.go +++ b/src/cloud/vzconn/vzconnpb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vzconnpb //go:generate mockgen -source=service.pb.go -destination=mock/service_mock.gen.go VZConnServiceServer,VZConnServiceClient,VZConnService_NATSBridgeServer,VZConnService_NATSBridgeClient diff --git a/src/cloud/vzconn/vzconnpb/mock/BUILD.bazel b/src/cloud/vzconn/vzconnpb/mock/BUILD.bazel index e0f29032355..072d71fc0dc 100644 --- a/src/cloud/vzconn/vzconnpb/mock/BUILD.bazel +++ b/src/cloud/vzconn/vzconnpb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/vzconn/vzconnpb/service.proto b/src/cloud/vzconn/vzconnpb/service.proto index 2fe5c95a4c6..f27e503ad37 100644 --- a/src/cloud/vzconn/vzconnpb/service.proto +++ b/src/cloud/vzconn/vzconnpb/service.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.services; diff --git a/src/cloud/vzmgr/BUILD.bazel b/src/cloud/vzmgr/BUILD.bazel index c1079ead669..bab70c0a0c5 100644 --- a/src/cloud/vzmgr/BUILD.bazel +++ b/src/cloud/vzmgr/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/cloud/vzmgr/controller/BUILD.bazel b/src/cloud/vzmgr/controller/BUILD.bazel index 45f4d9c53c1..ae41da40236 100644 --- a/src/cloud/vzmgr/controller/BUILD.bazel +++ b/src/cloud/vzmgr/controller/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/vzmgr/controller/metadata_reader.go b/src/cloud/vzmgr/controller/metadata_reader.go index 37bc69627ac..68726e820e1 100644 --- a/src/cloud/vzmgr/controller/metadata_reader.go +++ b/src/cloud/vzmgr/controller/metadata_reader.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/vzmgr/controller/metadata_reader_test.go b/src/cloud/vzmgr/controller/metadata_reader_test.go index d916db0a918..22594717b9a 100644 --- a/src/cloud/vzmgr/controller/metadata_reader_test.go +++ b/src/cloud/vzmgr/controller/metadata_reader_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/vzmgr/controller/mock.go b/src/cloud/vzmgr/controller/mock.go index e74879b3229..b0a89a1bd1b 100644 --- a/src/cloud/vzmgr/controller/mock.go +++ b/src/cloud/vzmgr/controller/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller //go:generate mockgen -source=server.go -destination=mock/updater_mock.gen.go VzUpdater diff --git a/src/cloud/vzmgr/controller/mock/BUILD.bazel b/src/cloud/vzmgr/controller/mock/BUILD.bazel index 4b9a54ade9d..5cd6e3291e2 100644 --- a/src/cloud/vzmgr/controller/mock/BUILD.bazel +++ b/src/cloud/vzmgr/controller/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/vzmgr/controller/server.go b/src/cloud/vzmgr/controller/server.go index b0c4430fd4d..cdac4afc5f4 100644 --- a/src/cloud/vzmgr/controller/server.go +++ b/src/cloud/vzmgr/controller/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/vzmgr/controller/server_test.go b/src/cloud/vzmgr/controller/server_test.go index 121cd5d027a..bf7fa741f98 100644 --- a/src/cloud/vzmgr/controller/server_test.go +++ b/src/cloud/vzmgr/controller/server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/vzmgr/controller/status_monitor.go b/src/cloud/vzmgr/controller/status_monitor.go index c70ce166a67..b45d8dbc69c 100644 --- a/src/cloud/vzmgr/controller/status_monitor.go +++ b/src/cloud/vzmgr/controller/status_monitor.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/vzmgr/controller/status_monitor_test.go b/src/cloud/vzmgr/controller/status_monitor_test.go index df67a195f54..56e5ab4087e 100644 --- a/src/cloud/vzmgr/controller/status_monitor_test.go +++ b/src/cloud/vzmgr/controller/status_monitor_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/vzmgr/controller/utils.go b/src/cloud/vzmgr/controller/utils.go index fc2b52e8209..304aa263b13 100644 --- a/src/cloud/vzmgr/controller/utils.go +++ b/src/cloud/vzmgr/controller/utils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/vzmgr/controller/utils_test.go b/src/cloud/vzmgr/controller/utils_test.go index e6b04ed273c..e9cb26e64e3 100644 --- a/src/cloud/vzmgr/controller/utils_test.go +++ b/src/cloud/vzmgr/controller/utils_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/vzmgr/controller/vizier_updater.go b/src/cloud/vzmgr/controller/vizier_updater.go index d919d97b51b..d26e55d58a6 100644 --- a/src/cloud/vzmgr/controller/vizier_updater.go +++ b/src/cloud/vzmgr/controller/vizier_updater.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/cloud/vzmgr/controller/vizier_updater_test.go b/src/cloud/vzmgr/controller/vizier_updater_test.go index e619971402e..b61a380778c 100644 --- a/src/cloud/vzmgr/controller/vizier_updater_test.go +++ b/src/cloud/vzmgr/controller/vizier_updater_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/cloud/vzmgr/deployment/BUILD.bazel b/src/cloud/vzmgr/deployment/BUILD.bazel index 4a936e782a7..783efe0b077 100644 --- a/src/cloud/vzmgr/deployment/BUILD.bazel +++ b/src/cloud/vzmgr/deployment/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/vzmgr/deployment/deployment.go b/src/cloud/vzmgr/deployment/deployment.go index 481b3239f53..9a8247a6cf7 100644 --- a/src/cloud/vzmgr/deployment/deployment.go +++ b/src/cloud/vzmgr/deployment/deployment.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package deployment import ( diff --git a/src/cloud/vzmgr/deployment/deployment_test.go b/src/cloud/vzmgr/deployment/deployment_test.go index 4cfe040bd13..4da53650f25 100644 --- a/src/cloud/vzmgr/deployment/deployment_test.go +++ b/src/cloud/vzmgr/deployment/deployment_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package deployment_test import ( diff --git a/src/cloud/vzmgr/deploymentkey/BUILD.bazel b/src/cloud/vzmgr/deploymentkey/BUILD.bazel index 4827fc609f7..a5c88f0b327 100644 --- a/src/cloud/vzmgr/deploymentkey/BUILD.bazel +++ b/src/cloud/vzmgr/deploymentkey/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/cloud/vzmgr/deploymentkey/deployment_keys.go b/src/cloud/vzmgr/deploymentkey/deployment_keys.go index 3f0aab484ae..7b33a1c2069 100644 --- a/src/cloud/vzmgr/deploymentkey/deployment_keys.go +++ b/src/cloud/vzmgr/deploymentkey/deployment_keys.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package deploymentkey import ( diff --git a/src/cloud/vzmgr/deploymentkey/deployment_keys_test.go b/src/cloud/vzmgr/deploymentkey/deployment_keys_test.go index 145ee193440..7d53e78dbdc 100644 --- a/src/cloud/vzmgr/deploymentkey/deployment_keys_test.go +++ b/src/cloud/vzmgr/deploymentkey/deployment_keys_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package deploymentkey import ( diff --git a/src/cloud/vzmgr/schema/BUILD.bazel b/src/cloud/vzmgr/schema/BUILD.bazel index ebb228ea7ed..2182f764389 100644 --- a/src/cloud/vzmgr/schema/BUILD.bazel +++ b/src/cloud/vzmgr/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") filegroup( diff --git a/src/cloud/vzmgr/schema/schema.go b/src/cloud/vzmgr/schema/schema.go index 64152067043..c10bf0fc673 100644 --- a/src/cloud/vzmgr/schema/schema.go +++ b/src/cloud/vzmgr/schema/schema.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package schema //go:generate go-bindata -ignore=\.go -ignore=\.sh -ignore=\.bazel -pkg=schema -o=bindata.gen.go ./... diff --git a/src/cloud/vzmgr/vzerrors/BUILD.bazel b/src/cloud/vzmgr/vzerrors/BUILD.bazel index 58f12321a79..69324109151 100644 --- a/src/cloud/vzmgr/vzerrors/BUILD.bazel +++ b/src/cloud/vzmgr/vzerrors/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/vzmgr/vzerrors/errors.go b/src/cloud/vzmgr/vzerrors/errors.go index 580d688c941..2935d30743a 100644 --- a/src/cloud/vzmgr/vzerrors/errors.go +++ b/src/cloud/vzmgr/vzerrors/errors.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vzerrors import ( diff --git a/src/cloud/vzmgr/vzmgr_server.go b/src/cloud/vzmgr/vzmgr_server.go index 8587d658c83..d97544f0242 100644 --- a/src/cloud/vzmgr/vzmgr_server.go +++ b/src/cloud/vzmgr/vzmgr_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/cloud/vzmgr/vzmgrpb/BUILD.bazel b/src/cloud/vzmgr/vzmgrpb/BUILD.bazel index afd70e3efae..18f9c63842d 100644 --- a/src/cloud/vzmgr/vzmgrpb/BUILD.bazel +++ b/src/cloud/vzmgr/vzmgrpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_go_proto_library", "pl_proto_library") diff --git a/src/cloud/vzmgr/vzmgrpb/mock.go b/src/cloud/vzmgr/vzmgrpb/mock.go index b827348353a..94bc16cc005 100644 --- a/src/cloud/vzmgr/vzmgrpb/mock.go +++ b/src/cloud/vzmgr/vzmgrpb/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vzmgrpb //go:generate mockgen -source=service.pb.go -destination=mock/vzmgr_mock.gen.go VZDeploymentKeyServiceClient,VZMgrServiceClient diff --git a/src/cloud/vzmgr/vzmgrpb/mock/BUILD.bazel b/src/cloud/vzmgr/vzmgrpb/mock/BUILD.bazel index f1c33884efa..55dd7894ade 100644 --- a/src/cloud/vzmgr/vzmgrpb/mock/BUILD.bazel +++ b/src/cloud/vzmgr/vzmgrpb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/cloud/vzmgr/vzmgrpb/service.proto b/src/cloud/vzmgr/vzmgrpb/service.proto index 9e4070b292d..ff325f7ef13 100644 --- a/src/cloud/vzmgr/vzmgrpb/service.proto +++ b/src/cloud/vzmgr/vzmgrpb/service.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.services.internal; diff --git a/src/common/BUILD.bazel b/src/common/BUILD.bazel index d9f5051675f..75b7afb959c 100644 --- a/src/common/BUILD.bazel +++ b/src/common/BUILD.bazel @@ -1 +1,17 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/base/BUILD.bazel b/src/common/base/BUILD.bazel index 36291181439..5a28db6c3e3 100644 --- a/src/common/base/BUILD.bazel +++ b/src/common/base/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library_internal", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/base/base.h b/src/common/base/base.h index 4cf254b3ceb..ed18cc8bab5 100644 --- a/src/common/base/base.h +++ b/src/common/base/base.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once /** * This file exports all the common libraries so we don't need to keep diff --git a/src/common/base/byte_utils.h b/src/common/base/byte_utils.h index 7bafe9191d8..c420fad7753 100644 --- a/src/common/base/byte_utils.h +++ b/src/common/base/byte_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/byte_utils_test.cc b/src/common/base/byte_utils_test.cc index 3847686c043..89edcb8286d 100644 --- a/src/common/base/byte_utils_test.cc +++ b/src/common/base/byte_utils_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/base/bytes_to_int_benchmark.cc b/src/common/base/bytes_to_int_benchmark.cc index 28bb5e9bb20..4a7f93b4cab 100644 --- a/src/common/base/bytes_to_int_benchmark.cc +++ b/src/common/base/bytes_to_int_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/common/base/base.h" diff --git a/src/common/base/defer.h b/src/common/base/defer.h index 0fa5720fa04..61e6153f431 100644 --- a/src/common/base/defer.h +++ b/src/common/base/defer.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/defer_test.cc b/src/common/base/defer_test.cc index 6f752e0c535..10893c28452 100644 --- a/src/common/base/defer_test.cc +++ b/src/common/base/defer_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/base/enum_utils.h b/src/common/base/enum_utils.h index e46e270c8c4..19ccd13f8bd 100644 --- a/src/common/base/enum_utils.h +++ b/src/common/base/enum_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/enum_utils_test.cc b/src/common/base/enum_utils_test.cc index 19be62d2b27..c383b2873aa 100644 --- a/src/common/base/enum_utils_test.cc +++ b/src/common/base/enum_utils_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/base/enum_utils.h" #include "src/common/testing/testing.h" diff --git a/src/common/base/env.cc b/src/common/base/env.cc index 399afd67f40..509b55d98cb 100644 --- a/src/common/base/env.cc +++ b/src/common/base/env.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/base/env.h" #include diff --git a/src/common/base/env.h b/src/common/base/env.h index 0e486ff4fc8..1b5f6e73bcd 100644 --- a/src/common/base/env.h +++ b/src/common/base/env.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Defines basic execution environment related stuff. #pragma once diff --git a/src/common/base/env_test.cc b/src/common/base/env_test.cc index b46851089a8..39b2196dfd5 100644 --- a/src/common/base/env_test.cc +++ b/src/common/base/env_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/base/error.h b/src/common/base/error.h index 8c886a2a4bb..cec7024941c 100644 --- a/src/common/base/error.h +++ b/src/common/base/error.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/error_strings.h b/src/common/base/error_strings.h index ce4dd7e27ac..95ccd912225 100644 --- a/src/common/base/error_strings.h +++ b/src/common/base/error_strings.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/error_test.cc b/src/common/base/error_test.cc index 63497e3caae..2293c7cf2b0 100644 --- a/src/common/base/error_test.cc +++ b/src/common/base/error_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/common/base/file.cc b/src/common/base/file.cc index daf01dcd260..c45d77aa3a7 100644 --- a/src/common/base/file.cc +++ b/src/common/base/file.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/base/file.h b/src/common/base/file.h index cf45a869672..90589291b15 100644 --- a/src/common/base/file.h +++ b/src/common/base/file.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/file_test.cc b/src/common/base/file_test.cc index fa6cd6e148f..c159fe6450a 100644 --- a/src/common/base/file_test.cc +++ b/src/common/base/file_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/base/hash_utils.h b/src/common/base/hash_utils.h index 24212b44baf..a0d93478aa4 100644 --- a/src/common/base/hash_utils.h +++ b/src/common/base/hash_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once namespace px { diff --git a/src/common/base/hash_utils_test.cc b/src/common/base/hash_utils_test.cc index db52483ab23..a733fe1f9d6 100644 --- a/src/common/base/hash_utils_test.cc +++ b/src/common/base/hash_utils_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/common/base/hash_utils.h" diff --git a/src/common/base/inet_utils.cc b/src/common/base/inet_utils.cc index 21051cfb29e..175d5c517a6 100644 --- a/src/common/base/inet_utils.cc +++ b/src/common/base/inet_utils.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/base/inet_utils.h" #include diff --git a/src/common/base/inet_utils.h b/src/common/base/inet_utils.h index 4317da9e5ba..119e1a3c738 100644 --- a/src/common/base/inet_utils.h +++ b/src/common/base/inet_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once // C++-style wrappers of C-style socket addresses. diff --git a/src/common/base/inet_utils_test.cc b/src/common/base/inet_utils_test.cc index 96eaf2d346f..9d16e5cd298 100644 --- a/src/common/base/inet_utils_test.cc +++ b/src/common/base/inet_utils_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/base/inet_utils.h" #include "src/common/testing/testing.h" diff --git a/src/common/base/logging.h b/src/common/base/logging.h index 5a4ae46b9a7..c30fa620f64 100644 --- a/src/common/base/logging.h +++ b/src/common/base/logging.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/common/base/macros.h" // NOLINT(build/include_order). // This header file should be used for all logging. diff --git a/src/common/base/logging_test.cc b/src/common/base/logging_test.cc index 4a8b38fc016..a8ab4d6f991 100644 --- a/src/common/base/logging_test.cc +++ b/src/common/base/logging_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/base/logging.h" #include "src/common/testing/testing.h" diff --git a/src/common/base/macros.h b/src/common/base/macros.h index 37ddf03394a..0d8b1e6bb07 100644 --- a/src/common/base/macros.h +++ b/src/common/base/macros.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // This file defines some commonly used macros in our code base. #pragma once diff --git a/src/common/base/magic_enum_test.cc b/src/common/base/magic_enum_test.cc index 978c89628f0..e2109dbe9a8 100644 --- a/src/common/base/magic_enum_test.cc +++ b/src/common/base/magic_enum_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/common/testing/testing.h" diff --git a/src/common/base/mixins.h b/src/common/base/mixins.h index a512a4a0053..0f98deaba55 100644 --- a/src/common/base/mixins.h +++ b/src/common/base/mixins.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once namespace px { diff --git a/src/common/base/status.cc b/src/common/base/status.cc index 19098855adb..9d7eae68684 100644 --- a/src/common/base/status.cc +++ b/src/common/base/status.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/base/status.h" #include diff --git a/src/common/base/status.h b/src/common/base/status.h index 492b6451890..e76ad1c9e66 100644 --- a/src/common/base/status.h +++ b/src/common/base/status.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/common/base/status_test.cc b/src/common/base/status_test.cc index 3d535d196bd..1b4d287587c 100644 --- a/src/common/base/status_test.cc +++ b/src/common/base/status_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/base/status.h" #include diff --git a/src/common/base/statusor.h b/src/common/base/statusor.h index fcfdd757cf4..046f45e0e88 100644 --- a/src/common/base/statusor.h +++ b/src/common/base/statusor.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/statusor_test.cc b/src/common/base/statusor_test.cc index 10f538bbdad..f12a15cd90d 100644 --- a/src/common/base/statusor_test.cc +++ b/src/common/base/statusor_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/common/base/statusor.h" diff --git a/src/common/base/statuspb/BUILD.bazel b/src/common/base/statuspb/BUILD.bazel index ab7405f5c37..5b5fa3e1c1a 100644 --- a/src/common/base/statuspb/BUILD.bazel +++ b/src/common/base/statuspb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/common/base/statuspb/status.proto b/src/common/base/statuspb/status.proto index a8d34fb8d0a..18ef5abaad8 100644 --- a/src/common/base/statuspb/status.proto +++ b/src/common/base/statuspb/status.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.statuspb; diff --git a/src/common/base/test_utils.h b/src/common/base/test_utils.h index c882180cef9..ef66dfebe73 100644 --- a/src/common/base/test_utils.h +++ b/src/common/base/test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/testproto/BUILD.bazel b/src/common/base/testproto/BUILD.bazel index a640a6cb1dc..eff4f5ad190 100644 --- a/src/common/base/testproto/BUILD.bazel +++ b/src/common/base/testproto/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/common/base/testproto/test.proto b/src/common/base/testproto/test.proto index ceafda250de..a8e1277acac 100644 --- a/src/common/base/testproto/test.proto +++ b/src/common/base/testproto/test.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Test proto for use in the Status proto tests. syntax = "proto3"; diff --git a/src/common/base/thread.h b/src/common/base/thread.h index 0d6e8d3da77..2311facfbd5 100644 --- a/src/common/base/thread.h +++ b/src/common/base/thread.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/time.h b/src/common/base/time.h index 5cad24f5b6a..b12ca18cb34 100644 --- a/src/common/base/time.h +++ b/src/common/base/time.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/time_test.cc b/src/common/base/time_test.cc index c51d00caa6e..e205c4c5542 100644 --- a/src/common/base/time_test.cc +++ b/src/common/base/time_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/common/base/time.h" diff --git a/src/common/base/types.h b/src/common/base/types.h index fa754a8de95..d4785c2ccf6 100644 --- a/src/common/base/types.h +++ b/src/common/base/types.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/types_test.cc b/src/common/base/types_test.cc index 9c1a358dc56..a976cfe0cc5 100644 --- a/src/common/base/types_test.cc +++ b/src/common/base/types_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/common/base/types.h" diff --git a/src/common/base/utils.h b/src/common/base/utils.h index 5eb3a4cb381..f39dbe48ac2 100644 --- a/src/common/base/utils.h +++ b/src/common/base/utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/base/utils_test.cc b/src/common/base/utils_test.cc index 2a9cadfa95e..7c66bb146a3 100644 --- a/src/common/base/utils_test.cc +++ b/src/common/base/utils_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/benchmark/BUILD.bazel b/src/common/benchmark/BUILD.bazel index e47841aa3d4..100df0b0f25 100644 --- a/src/common/benchmark/BUILD.bazel +++ b/src/common/benchmark/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_test_library") pl_cc_test_library( diff --git a/src/common/benchmark/benchmark.h b/src/common/benchmark/benchmark.h index 6f70f09beec..757b0009a97 100644 --- a/src/common/benchmark/benchmark.h +++ b/src/common/benchmark/benchmark.h @@ -1 +1,19 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once diff --git a/src/common/benchmark/benchmark_main.cc b/src/common/benchmark/benchmark_main.cc index 1d3dd26ba38..ad505c70c0a 100644 --- a/src/common/benchmark/benchmark_main.cc +++ b/src/common/benchmark/benchmark_main.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "benchmark/benchmark.h" #include "src/common/base/base.h" diff --git a/src/common/datagen/BUILD.bazel b/src/common/datagen/BUILD.bazel index 50bce0db30a..c8b91819511 100644 --- a/src/common/datagen/BUILD.bazel +++ b/src/common/datagen/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_test_library") pl_cc_test_library( diff --git a/src/common/datagen/datagen.h b/src/common/datagen/datagen.h index 89528979b5d..d33381a3a55 100644 --- a/src/common/datagen/datagen.h +++ b/src/common/datagen/datagen.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/event/BUILD.bazel b/src/common/event/BUILD.bazel index 39353aec57d..5eeed9ab9ec 100644 --- a/src/common/event/BUILD.bazel +++ b/src/common/event/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/event/api.h b/src/common/event/api.h index fb6c634c8c4..96754dcf48e 100644 --- a/src/common/event/api.h +++ b/src/common/event/api.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/event/api_impl.cc b/src/common/event/api_impl.cc index 26d8eb8a50a..4545aaf853a 100644 --- a/src/common/event/api_impl.cc +++ b/src/common/event/api_impl.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/event/api_impl.h" #include "src/common/event/libuv.h" diff --git a/src/common/event/api_impl.h b/src/common/event/api_impl.h index 2f2c6d43181..7b70e65fcbf 100644 --- a/src/common/event/api_impl.h +++ b/src/common/event/api_impl.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/event/deferred_delete.h b/src/common/event/deferred_delete.h index 2550412b670..40eb2957051 100644 --- a/src/common/event/deferred_delete.h +++ b/src/common/event/deferred_delete.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/event/dispatcher.h b/src/common/event/dispatcher.h index 422cf7c8efd..e2907eb0828 100644 --- a/src/common/event/dispatcher.h +++ b/src/common/event/dispatcher.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/event/event.h b/src/common/event/event.h index e40be11b2c8..eda5ad9d3d9 100644 --- a/src/common/event/event.h +++ b/src/common/event/event.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/common/event/api.h" // IWYU pragma: export diff --git a/src/common/event/libuv.cc b/src/common/event/libuv.cc index 4c5057f7592..33aa809339a 100644 --- a/src/common/event/libuv.cc +++ b/src/common/event/libuv.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/event/libuv.h" #include diff --git a/src/common/event/libuv.h b/src/common/event/libuv.h index ec6c190626f..ee62b69e416 100644 --- a/src/common/event/libuv.h +++ b/src/common/event/libuv.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/event/libuv_dispatcher_test.cc b/src/common/event/libuv_dispatcher_test.cc index 1ce6b3f2c6c..bd70e41cc8d 100644 --- a/src/common/event/libuv_dispatcher_test.cc +++ b/src/common/event/libuv_dispatcher_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include "src/common/base/base.h" diff --git a/src/common/event/nats.cc b/src/common/event/nats.cc index 05c878dac4c..d3d9a18581a 100644 --- a/src/common/event/nats.cc +++ b/src/common/event/nats.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/event/nats.h" #include diff --git a/src/common/event/nats.h b/src/common/event/nats.h index 3f1c860deb9..93cdf16a683 100644 --- a/src/common/event/nats.h +++ b/src/common/event/nats.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/event/real_time_system.cc b/src/common/event/real_time_system.cc index 3b627955680..3b3de15a7cc 100644 --- a/src/common/event/real_time_system.cc +++ b/src/common/event/real_time_system.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/event/real_time_system.h" #include diff --git a/src/common/event/real_time_system.h b/src/common/event/real_time_system.h index 4ee888016a3..8365c96b673 100644 --- a/src/common/event/real_time_system.h +++ b/src/common/event/real_time_system.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/event/task.h b/src/common/event/task.h index 79f31d6d2e4..fad13aa440a 100644 --- a/src/common/event/task.h +++ b/src/common/event/task.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/event/time_system.h b/src/common/event/time_system.h index 31e38958011..0b619cc705c 100644 --- a/src/common/event/time_system.h +++ b/src/common/event/time_system.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/event/timer.h b/src/common/event/timer.h index a900e32264d..351f712ad4d 100644 --- a/src/common/event/timer.h +++ b/src/common/event/timer.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/exec/BUILD.bazel b/src/common/exec/BUILD.bazel index c0bdbbb92a4..cbce347961d 100644 --- a/src/common/exec/BUILD.bazel +++ b/src/common/exec/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library_internal") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/exec/exec.cc b/src/common/exec/exec.cc index da758d18b7a..b75ae3521c2 100644 --- a/src/common/exec/exec.cc +++ b/src/common/exec/exec.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/exec/exec.h" #include diff --git a/src/common/exec/exec.h b/src/common/exec/exec.h index 08afed4ba19..43fd1aafdaa 100644 --- a/src/common/exec/exec.h +++ b/src/common/exec/exec.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/exec/subprocess.cc b/src/common/exec/subprocess.cc index 9ed8a0224f7..99c7973db71 100644 --- a/src/common/exec/subprocess.cc +++ b/src/common/exec/subprocess.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/exec/subprocess.h" #include diff --git a/src/common/exec/subprocess.h b/src/common/exec/subprocess.h index ead9323cc95..ec12768bc86 100644 --- a/src/common/exec/subprocess.h +++ b/src/common/exec/subprocess.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/fs/BUILD.bazel b/src/common/fs/BUILD.bazel index bd0b734fba9..3a54e93a1c0 100644 --- a/src/common/fs/BUILD.bazel +++ b/src/common/fs/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library_internal", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/fs/fs_wrapper.cc b/src/common/fs/fs_wrapper.cc index 1610e25108a..3fae0ed7e65 100644 --- a/src/common/fs/fs_wrapper.cc +++ b/src/common/fs/fs_wrapper.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #ifdef __linux__ #include diff --git a/src/common/fs/fs_wrapper.h b/src/common/fs/fs_wrapper.h index bff4cc8655a..424d2d35614 100644 --- a/src/common/fs/fs_wrapper.h +++ b/src/common/fs/fs_wrapper.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #ifdef __linux__ diff --git a/src/common/fs/fs_wrapper_test.cc b/src/common/fs/fs_wrapper_test.cc index 7e03288ef75..55b11235eae 100644 --- a/src/common/fs/fs_wrapper_test.cc +++ b/src/common/fs/fs_wrapper_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/common/fs/fs_wrapper.h" diff --git a/src/common/fs/inode_utils.cc b/src/common/fs/inode_utils.cc index 5d421618514..f5dd7d9b764 100644 --- a/src/common/fs/inode_utils.cc +++ b/src/common/fs/inode_utils.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/fs/inode_utils.h" namespace px { diff --git a/src/common/fs/inode_utils.h b/src/common/fs/inode_utils.h index a506376c9df..41e37353790 100644 --- a/src/common/fs/inode_utils.h +++ b/src/common/fs/inode_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/common/base/base.h" diff --git a/src/common/fs/inode_utils_test.cc b/src/common/fs/inode_utils_test.cc index 93a19df69fc..8225f9b90ad 100644 --- a/src/common/fs/inode_utils_test.cc +++ b/src/common/fs/inode_utils_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/common/fs/inode_utils.h" diff --git a/src/common/fs/temp_file.h b/src/common/fs/temp_file.h index 96eb7d2f185..d3040c9c2f6 100644 --- a/src/common/fs/temp_file.h +++ b/src/common/fs/temp_file.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/fs/temp_file_test.cc b/src/common/fs/temp_file_test.cc index 808b31f5cc6..bd3f7700e2a 100644 --- a/src/common/fs/temp_file_test.cc +++ b/src/common/fs/temp_file_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/grpcutils/BUILD.bazel b/src/common/grpcutils/BUILD.bazel index d5bf60c4684..d32ed5f6ecc 100644 --- a/src/common/grpcutils/BUILD.bazel +++ b/src/common/grpcutils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/grpcutils/logger.cc b/src/common/grpcutils/logger.cc index f78bcee2615..0651c1ff54d 100644 --- a/src/common/grpcutils/logger.cc +++ b/src/common/grpcutils/logger.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/grpcutils/logger.h b/src/common/grpcutils/logger.h index c63e3c4307f..4fa769e5d7e 100644 --- a/src/common/grpcutils/logger.h +++ b/src/common/grpcutils/logger.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/grpcutils/service_descriptor_database.cc b/src/common/grpcutils/service_descriptor_database.cc index 2a19588eaff..c6a9fe6dc27 100644 --- a/src/common/grpcutils/service_descriptor_database.cc +++ b/src/common/grpcutils/service_descriptor_database.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/grpcutils/service_descriptor_database.h" #include diff --git a/src/common/grpcutils/service_descriptor_database.h b/src/common/grpcutils/service_descriptor_database.h index 707ae9dc90e..394014038e1 100644 --- a/src/common/grpcutils/service_descriptor_database.h +++ b/src/common/grpcutils/service_descriptor_database.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/grpcutils/service_descriptor_database_test.cc b/src/common/grpcutils/service_descriptor_database_test.cc index b5dbfaee1fa..0642a981c7c 100644 --- a/src/common/grpcutils/service_descriptor_database_test.cc +++ b/src/common/grpcutils/service_descriptor_database_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/grpcutils/service_descriptor_database.h" #include diff --git a/src/common/grpcutils/utils.h b/src/common/grpcutils/utils.h index 07343298c20..7d0baf2d6bd 100644 --- a/src/common/grpcutils/utils.h +++ b/src/common/grpcutils/utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/grpcutils/utils_test.cc b/src/common/grpcutils/utils_test.cc index 43296b50f2a..8350396d034 100644 --- a/src/common/grpcutils/utils_test.cc +++ b/src/common/grpcutils/utils_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/grpcutils/utils.h" #include "src/common/testing/testing.h" diff --git a/src/common/json/BUILD.bazel b/src/common/json/BUILD.bazel index 0f56a1210a8..5d536e72438 100644 --- a/src/common/json/BUILD.bazel +++ b/src/common/json/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/json/json.h b/src/common/json/json.h index e55fe2e495c..af8aebec9d8 100644 --- a/src/common/json/json.h +++ b/src/common/json/json.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/json/json_test.cc b/src/common/json/json_test.cc index 22515e9b0c8..9a7184415dc 100644 --- a/src/common/json/json_test.cc +++ b/src/common/json/json_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/json/json.h" #include diff --git a/src/common/memory/BUILD.bazel b/src/common/memory/BUILD.bazel index 2c52201aebf..ead3d9b5a61 100644 --- a/src/common/memory/BUILD.bazel +++ b/src/common/memory/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library_internal", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/memory/memory.h b/src/common/memory/memory.h index 62b44a28472..9ce84922971 100644 --- a/src/common/memory/memory.h +++ b/src/common/memory/memory.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once /** * This file exports all the common libraries so we don't need to keep diff --git a/src/common/memory/object_pool.h b/src/common/memory/object_pool.h index a03dc981a27..ffeb97fbbd2 100644 --- a/src/common/memory/object_pool.h +++ b/src/common/memory/object_pool.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/common/memory/object_pool_test.cc b/src/common/memory/object_pool_test.cc index 4bc71e261d6..ff45a9d16d4 100644 --- a/src/common/memory/object_pool_test.cc +++ b/src/common/memory/object_pool_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/memory/object_pool.h" #include diff --git a/src/common/minitar/BUILD.bazel b/src/common/minitar/BUILD.bazel index b5f16a0d5ba..8ac2f8d7bcc 100644 --- a/src/common/minitar/BUILD.bazel +++ b/src/common/minitar/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@rules_cc//cc:defs.bzl", "cc_binary") load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") diff --git a/src/common/minitar/minitar.cc b/src/common/minitar/minitar.cc index d40b596f841..df7aea4cabf 100644 --- a/src/common/minitar/minitar.cc +++ b/src/common/minitar/minitar.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/minitar/minitar.h" #include diff --git a/src/common/minitar/minitar.h b/src/common/minitar/minitar.h index 9812bfc3c5b..91625bf76ea 100644 --- a/src/common/minitar/minitar.h +++ b/src/common/minitar/minitar.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/minitar/minitar_test.cc b/src/common/minitar/minitar_test.cc index b7a76e87da5..99c6dd92a3f 100644 --- a/src/common/minitar/minitar_test.cc +++ b/src/common/minitar/minitar_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/minitar/minitar_tool.c b/src/common/minitar/minitar_tool.c index abf81afb352..89572ed21a5 100644 --- a/src/common/minitar/minitar_tool.c +++ b/src/common/minitar/minitar_tool.c @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Copied from https://github.com/libarchive/libarchive/blob/master/examples/minitar/minitar.c /*- diff --git a/src/common/perf/BUILD.bazel b/src/common/perf/BUILD.bazel index 4f73b5d0c9e..a2c87380c41 100644 --- a/src/common/perf/BUILD.bazel +++ b/src/common/perf/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library_internal", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/perf/elapsed_timer.h b/src/common/perf/elapsed_timer.h index bf3d41393ba..cd6edd37174 100644 --- a/src/common/perf/elapsed_timer.h +++ b/src/common/perf/elapsed_timer.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/common/perf/perf.h b/src/common/perf/perf.h index 3c3c8af9b89..df6e85b3d04 100644 --- a/src/common/perf/perf.h +++ b/src/common/perf/perf.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once /** * This file exports all the common libraries so we don't need to keep diff --git a/src/common/perf/profiler.cc b/src/common/perf/profiler.cc index 25639996788..00d283a39d7 100644 --- a/src/common/perf/profiler.cc +++ b/src/common/perf/profiler.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/perf/profiler.h" #include diff --git a/src/common/perf/profiler.h b/src/common/perf/profiler.h index d58427ca3d0..b545f135d93 100644 --- a/src/common/perf/profiler.h +++ b/src/common/perf/profiler.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/perf/scoped_profiler.h b/src/common/perf/scoped_profiler.h index 89bcdd15798..d7863db787f 100644 --- a/src/common/perf/scoped_profiler.h +++ b/src/common/perf/scoped_profiler.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/perf/scoped_timer.h b/src/common/perf/scoped_timer.h index 3e79cccbb92..49c4e309bca 100644 --- a/src/common/perf/scoped_timer.h +++ b/src/common/perf/scoped_timer.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/perf/scoped_timer_test.cc b/src/common/perf/scoped_timer_test.cc index 7d09d7f2afa..36feb5dfa92 100644 --- a/src/common/perf/scoped_timer_test.cc +++ b/src/common/perf/scoped_timer_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/common/signal/BUILD.bazel b/src/common/signal/BUILD.bazel index dc223e92b5f..cc4ba93f42c 100644 --- a/src/common/signal/BUILD.bazel +++ b/src/common/signal/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/signal/fatal_handler.h b/src/common/signal/fatal_handler.h index 510a21ba23f..546d325431a 100644 --- a/src/common/signal/fatal_handler.h +++ b/src/common/signal/fatal_handler.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once namespace px { diff --git a/src/common/signal/signal.h b/src/common/signal/signal.h index 3702bed20a9..9b16c7ff7a3 100644 --- a/src/common/signal/signal.h +++ b/src/common/signal/signal.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once /** diff --git a/src/common/signal/signal_action.cc b/src/common/signal/signal_action.cc index a978c9a70de..0561692b21e 100644 --- a/src/common/signal/signal_action.cc +++ b/src/common/signal/signal_action.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/signal/signal_action.h" #include diff --git a/src/common/signal/signal_action.h b/src/common/signal/signal_action.h index dddd2307c2b..411518ada0a 100644 --- a/src/common/signal/signal_action.h +++ b/src/common/signal/signal_action.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/BUILD.bazel b/src/common/system/BUILD.bazel index f56913f1a87..3b9bc4cb71d 100644 --- a/src/common/system/BUILD.bazel +++ b/src/common/system/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/system/boot_clock.h b/src/common/system/boot_clock.h index 170df1220dc..443e801314a 100644 --- a/src/common/system/boot_clock.h +++ b/src/common/system/boot_clock.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/config.cc b/src/common/system/config.cc index e561d0e0c14..81b04ebaacf 100644 --- a/src/common/system/config.cc +++ b/src/common/system/config.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/system/config.h" #include diff --git a/src/common/system/config.h b/src/common/system/config.h index 6d7a0ab2989..277668868cd 100644 --- a/src/common/system/config.h +++ b/src/common/system/config.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/config_mock.h b/src/common/system/config_mock.h index a6208fe9e73..c5dcd10ca1a 100644 --- a/src/common/system/config_mock.h +++ b/src/common/system/config_mock.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/proc_parser.cc b/src/common/system/proc_parser.cc index 2649cf8875d..b43a9d22493 100644 --- a/src/common/system/proc_parser.cc +++ b/src/common/system/proc_parser.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/common/system/proc_parser.h b/src/common/system/proc_parser.h index 22688cd804d..5f333720a6b 100644 --- a/src/common/system/proc_parser.h +++ b/src/common/system/proc_parser.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/proc_parser_bug_test.cc b/src/common/system/proc_parser_bug_test.cc index a2a38405511..268d0b65a59 100644 --- a/src/common/system/proc_parser_bug_test.cc +++ b/src/common/system/proc_parser_bug_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/common/system/proc_parser_test.cc b/src/common/system/proc_parser_test.cc index 2b3a776ab79..aeddd0626ee 100644 --- a/src/common/system/proc_parser_test.cc +++ b/src/common/system/proc_parser_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/system/proc_parser.h" #include diff --git a/src/common/system/scoped_namespace.cc b/src/common/system/scoped_namespace.cc index bc2c64be0a2..0bd223ffa25 100644 --- a/src/common/system/scoped_namespace.cc +++ b/src/common/system/scoped_namespace.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/system/scoped_namespace.h" #include diff --git a/src/common/system/scoped_namespace.h b/src/common/system/scoped_namespace.h index 174dee1d76f..e8966a5ff05 100644 --- a/src/common/system/scoped_namespace.h +++ b/src/common/system/scoped_namespace.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/scoped_namespace_test.cc b/src/common/system/scoped_namespace_test.cc index 58150e978da..9aeff10c9e9 100644 --- a/src/common/system/scoped_namespace_test.cc +++ b/src/common/system/scoped_namespace_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/system/socket_info.cc b/src/common/system/socket_info.cc index d8a7cbef685..257d9fc8b0a 100644 --- a/src/common/system/socket_info.cc +++ b/src/common/system/socket_info.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/system/socket_info.h" #include diff --git a/src/common/system/socket_info.h b/src/common/system/socket_info.h index e7b4756a6e5..be74a1e1e84 100644 --- a/src/common/system/socket_info.h +++ b/src/common/system/socket_info.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/socket_info_namespace_test.cc b/src/common/system/socket_info_namespace_test.cc index bf397599b72..1e8ab63ede6 100644 --- a/src/common/system/socket_info_namespace_test.cc +++ b/src/common/system/socket_info_namespace_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/system/socket_info_test.cc b/src/common/system/socket_info_test.cc index e8ae0f834eb..1f833621b57 100644 --- a/src/common/system/socket_info_test.cc +++ b/src/common/system/socket_info_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/common/system/socket_info_tool.cc b/src/common/system/socket_info_tool.cc index 5d6fa5c6ddc..1e3a4f4faed 100644 --- a/src/common/system/socket_info_tool.cc +++ b/src/common/system/socket_info_tool.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/base/base.h" #include "src/common/base/inet_utils.h" #include "src/common/fs/fs_wrapper.h" diff --git a/src/common/system/system.h b/src/common/system/system.h index fa96f5511bb..3e7b6208d01 100644 --- a/src/common/system/system.h +++ b/src/common/system/system.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once /** diff --git a/src/common/system/system_info.cc b/src/common/system/system_info.cc index 67b7a2f198c..657a813e0ab 100644 --- a/src/common/system/system_info.cc +++ b/src/common/system/system_info.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/system/system_info.h" #include diff --git a/src/common/system/system_info.h b/src/common/system/system_info.h index 739db5c84f6..aaf5e3078c7 100644 --- a/src/common/system/system_info.h +++ b/src/common/system/system_info.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/tcp_socket.cc b/src/common/system/tcp_socket.cc index 7eaaf96379e..e3e8a61426e 100644 --- a/src/common/system/tcp_socket.cc +++ b/src/common/system/tcp_socket.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/system/tcp_socket.h" #include diff --git a/src/common/system/tcp_socket.h b/src/common/system/tcp_socket.h index f12a5b9f4a5..01d510da3c4 100644 --- a/src/common/system/tcp_socket.h +++ b/src/common/system/tcp_socket.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/tcp_socket_test.cc b/src/common/system/tcp_socket_test.cc index 0834d0a0e7e..99ff64bb153 100644 --- a/src/common/system/tcp_socket_test.cc +++ b/src/common/system/tcp_socket_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/common/system/udp_socket.cc b/src/common/system/udp_socket.cc index 7df89fd5566..39054bf19a5 100644 --- a/src/common/system/udp_socket.cc +++ b/src/common/system/udp_socket.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/system/udp_socket.h" #include diff --git a/src/common/system/udp_socket.h b/src/common/system/udp_socket.h index 75ba351106a..5765ba2c826 100644 --- a/src/common/system/udp_socket.h +++ b/src/common/system/udp_socket.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/udp_socket_test.cc b/src/common/system/udp_socket_test.cc index 57091d32cc5..cf6699f6885 100644 --- a/src/common/system/udp_socket_test.cc +++ b/src/common/system/udp_socket_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/common/system/uid.cc b/src/common/system/uid.cc index b4a8ad28147..5ba14b6bce2 100644 --- a/src/common/system/uid.cc +++ b/src/common/system/uid.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/system/uid.h" #include diff --git a/src/common/system/uid.h b/src/common/system/uid.h index f9f4e45901e..6b1637d451f 100644 --- a/src/common/system/uid.h +++ b/src/common/system/uid.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/system/uid_test.cc b/src/common/system/uid_test.cc index e48cf725114..885b913f402 100644 --- a/src/common/system/uid_test.cc +++ b/src/common/system/uid_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/testing/BUILD.bazel b/src/common/testing/BUILD.bazel index 79f145ffaea..ec3091fb16b 100644 --- a/src/common/testing/BUILD.bazel +++ b/src/common/testing/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/testing/event/BUILD.bazel b/src/common/testing/event/BUILD.bazel index bf1ac40dd7f..47af140e9d6 100644 --- a/src/common/testing/event/BUILD.bazel +++ b/src/common/testing/event/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/testing/event/simulated_time_system.cc b/src/common/testing/event/simulated_time_system.cc index 51674276d42..01f4567962b 100644 --- a/src/common/testing/event/simulated_time_system.cc +++ b/src/common/testing/event/simulated_time_system.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/common/testing/event/simulated_time_system.h b/src/common/testing/event/simulated_time_system.h index 998622ed250..37d1d4a607a 100644 --- a/src/common/testing/event/simulated_time_system.h +++ b/src/common/testing/event/simulated_time_system.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/testing/event/simulated_time_system_test.cc b/src/common/testing/event/simulated_time_system_test.cc index 6e38184e11e..23e72244fb4 100644 --- a/src/common/testing/event/simulated_time_system_test.cc +++ b/src/common/testing/event/simulated_time_system_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/testing/grpc_utils/BUILD.bazel b/src/common/testing/grpc_utils/BUILD.bazel index 05440bb5528..7e5cbe82be5 100644 --- a/src/common/testing/grpc_utils/BUILD.bazel +++ b/src/common/testing/grpc_utils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/testing/grpc_utils/grpc_utils.cc b/src/common/testing/grpc_utils/grpc_utils.cc index f5fd809574f..59adee90fc9 100644 --- a/src/common/testing/grpc_utils/grpc_utils.cc +++ b/src/common/testing/grpc_utils/grpc_utils.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/testing/grpc_utils/grpc_utils.h" namespace px { diff --git a/src/common/testing/grpc_utils/grpc_utils.h b/src/common/testing/grpc_utils/grpc_utils.h index fe908f86819..6e9f9fe9ea8 100644 --- a/src/common/testing/grpc_utils/grpc_utils.h +++ b/src/common/testing/grpc_utils/grpc_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/testing/line_diff.cc b/src/common/testing/line_diff.cc index bad1d36dc21..da25ef4798b 100644 --- a/src/common/testing/line_diff.cc +++ b/src/common/testing/line_diff.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/testing/line_diff.h" #include diff --git a/src/common/testing/line_diff.h b/src/common/testing/line_diff.h index 6d5032a51f1..b30f7b13698 100644 --- a/src/common/testing/line_diff.h +++ b/src/common/testing/line_diff.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/testing/line_diff_test.cc b/src/common/testing/line_diff_test.cc index 793c266e6cc..4c4e8797e66 100644 --- a/src/common/testing/line_diff_test.cc +++ b/src/common/testing/line_diff_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/testing/line_diff.h" #include // IWYU pragma: export diff --git a/src/common/testing/protobuf.h b/src/common/testing/protobuf.h index d7d7df20dd0..dfd6091a4e6 100644 --- a/src/common/testing/protobuf.h +++ b/src/common/testing/protobuf.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/testing/status.h b/src/common/testing/status.h index 1569fef4fc2..78b33f5a2d2 100644 --- a/src/common/testing/status.h +++ b/src/common/testing/status.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/testing/temp_dir.h b/src/common/testing/temp_dir.h index 9bab327392d..66d9a44bba9 100644 --- a/src/common/testing/temp_dir.h +++ b/src/common/testing/temp_dir.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/testing/test_environment.cc b/src/common/testing/test_environment.cc index 9db7cbb60f8..aa17642b29e 100644 --- a/src/common/testing/test_environment.cc +++ b/src/common/testing/test_environment.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/testing/test_environment.h" #include "src/common/base/base.h" diff --git a/src/common/testing/test_environment.h b/src/common/testing/test_environment.h index 3f84fb96644..f156a37900b 100644 --- a/src/common/testing/test_environment.h +++ b/src/common/testing/test_environment.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/testing/test_main.cc b/src/common/testing/test_main.cc index 32f4f043a19..1f9eaf54057 100644 --- a/src/common/testing/test_main.cc +++ b/src/common/testing/test_main.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/common/base/base.h" diff --git a/src/common/testing/test_utils/BUILD.bazel b/src/common/testing/test_utils/BUILD.bazel index 2004b20ee8c..30d9abc0c37 100644 --- a/src/common/testing/test_utils/BUILD.bazel +++ b/src/common/testing/test_utils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_image") load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") diff --git a/src/common/testing/test_utils/container_runner.cc b/src/common/testing/test_utils/container_runner.cc index 492a27cff68..302f6565aaf 100644 --- a/src/common/testing/test_utils/container_runner.cc +++ b/src/common/testing/test_utils/container_runner.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/testing/test_utils/container_runner.h" #include "src/common/exec/exec.h" diff --git a/src/common/testing/test_utils/container_runner.h b/src/common/testing/test_utils/container_runner.h index a627b67bf7b..4c3ac1dc5a2 100644 --- a/src/common/testing/test_utils/container_runner.h +++ b/src/common/testing/test_utils/container_runner.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/testing/test_utils/container_runner_test.cc b/src/common/testing/test_utils/container_runner_test.cc index ce684a9149e..59170620696 100644 --- a/src/common/testing/test_utils/container_runner_test.cc +++ b/src/common/testing/test_utils/container_runner_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/testing/test_utils/container_runner.h" #include "src/common/testing/test_utils/test_container.h" #include "src/common/testing/testing.h" diff --git a/src/common/testing/test_utils/test_container.h b/src/common/testing/test_utils/test_container.h index 6fc4b550538..2d0b6c74f78 100644 --- a/src/common/testing/test_utils/test_container.h +++ b/src/common/testing/test_utils/test_container.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/testing/testing.h b/src/common/testing/testing.h index a8e9227b3a1..0729acd57e4 100644 --- a/src/common/testing/testing.h +++ b/src/common/testing/testing.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once /** * This file exports all the common test libraries so that we diff --git a/src/common/uuid/BUILD.bazel b/src/common/uuid/BUILD.bazel index bfa55274c17..8fec9d03327 100644 --- a/src/common/uuid/BUILD.bazel +++ b/src/common/uuid/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/uuid/uuid.h b/src/common/uuid/uuid.h index a15553fb8d6..25e1c79e69d 100644 --- a/src/common/uuid/uuid.h +++ b/src/common/uuid/uuid.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once /** * This file exports all the common libraries so we don't need to keep diff --git a/src/common/uuid/uuid_benchmark.cc b/src/common/uuid/uuid_benchmark.cc index f06a7cfa3f6..4b9ca9d1024 100644 --- a/src/common/uuid/uuid_benchmark.cc +++ b/src/common/uuid/uuid_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/uuid/uuid_utils.h b/src/common/uuid/uuid_utils.h index 8f7674011fa..5f069acfe61 100644 --- a/src/common/uuid/uuid_utils.h +++ b/src/common/uuid/uuid_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/uuid/uuid_utils_test.cc b/src/common/uuid/uuid_utils_test.cc index 670379838cc..90e6b7685c4 100644 --- a/src/common/uuid/uuid_utils_test.cc +++ b/src/common/uuid/uuid_utils_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/uuid/uuid_utils.h" #include "src/common/testing/testing.h" diff --git a/src/common/zlib/BUILD.bazel b/src/common/zlib/BUILD.bazel index 41e8cd60421..482dd45bd32 100644 --- a/src/common/zlib/BUILD.bazel +++ b/src/common/zlib/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/common/zlib/zlib_wrapper.cc b/src/common/zlib/zlib_wrapper.cc index c06207b599c..54f66f13651 100644 --- a/src/common/zlib/zlib_wrapper.cc +++ b/src/common/zlib/zlib_wrapper.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/common/zlib/zlib_wrapper.h b/src/common/zlib/zlib_wrapper.h index 66fa2e3f14d..92a884fcab3 100644 --- a/src/common/zlib/zlib_wrapper.h +++ b/src/common/zlib/zlib_wrapper.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/common/zlib/zlib_wrapper_test.cc b/src/common/zlib/zlib_wrapper_test.cc index a5c9e403b80..815602f6dc5 100644 --- a/src/common/zlib/zlib_wrapper_test.cc +++ b/src/common/zlib/zlib_wrapper_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/common/zlib/zlib_wrapper.h" #include #include diff --git a/src/e2e_test/cli/BUILD.bazel b/src/e2e_test/cli/BUILD.bazel index 9c5dd233506..979172b4c96 100644 --- a/src/e2e_test/cli/BUILD.bazel +++ b/src/e2e_test/cli/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_test") go_test( diff --git a/src/e2e_test/cli/cli_e2e_test.go b/src/e2e_test/cli/cli_e2e_test.go index 8bd0398dc40..eb2246b179e 100644 --- a/src/e2e_test/cli/cli_e2e_test.go +++ b/src/e2e_test/cli/cli_e2e_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cli_e2e_test import ( diff --git a/src/e2e_test/px_cluster/BUILD.bazel b/src/e2e_test/px_cluster/BUILD.bazel index bd5922ee885..95976af50fb 100644 --- a/src/e2e_test/px_cluster/BUILD.bazel +++ b/src/e2e_test/px_cluster/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + sh_library( name = "common_library", srcs = glob(["*.sh"]), diff --git a/src/e2e_test/px_cluster/common.sh b/src/e2e_test/px_cluster/common.sh index 602fd8bbe9d..36de47e4c57 100755 --- a/src/e2e_test/px_cluster/common.sh +++ b/src/e2e_test/px_cluster/common.sh @@ -1,5 +1,21 @@ #!/bin/bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Deploy pixie. function px_deploy() { date diff --git a/src/e2e_test/px_cluster/test_minikube_versions.py b/src/e2e_test/px_cluster/test_minikube_versions.py index 250aa9a1b31..e270bd0e6ff 100755 --- a/src/e2e_test/px_cluster/test_minikube_versions.py +++ b/src/e2e_test/px_cluster/test_minikube_versions.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import os import argparse import platform diff --git a/src/e2e_test/px_cluster/test_px_on_gke.sh b/src/e2e_test/px_cluster/test_px_on_gke.sh index f2cfac30b00..68863fd706d 100755 --- a/src/e2e_test/px_cluster/test_px_on_gke.sh +++ b/src/e2e_test/px_cluster/test_px_on_gke.sh @@ -1,4 +1,21 @@ #!/bin/bash -eE + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # shellcheck disable=SC1090 # This script creates a cluster with the specified type of node, diff --git a/src/e2e_test/px_cluster/test_px_on_kind.sh b/src/e2e_test/px_cluster/test_px_on_kind.sh index b9520cdd09d..6dc8d45effd 100755 --- a/src/e2e_test/px_cluster/test_px_on_kind.sh +++ b/src/e2e_test/px_cluster/test_px_on_kind.sh @@ -1,4 +1,21 @@ #!/bin/bash -eE + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # shellcheck disable=SC1090 # This script creates a cluster on a Kind custer, diff --git a/src/e2e_test/px_cluster/test_px_on_minikube.sh b/src/e2e_test/px_cluster/test_px_on_minikube.sh index d7b4fef14a6..a470a979f3f 100755 --- a/src/e2e_test/px_cluster/test_px_on_minikube.sh +++ b/src/e2e_test/px_cluster/test_px_on_minikube.sh @@ -1,4 +1,21 @@ #!/bin/bash -eE + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # shellcheck disable=SC1090 # This script creates a cluster on a Minikube custer, diff --git a/src/e2e_test/vizier/exectime/BUILD.bazel b/src/e2e_test/vizier/exectime/BUILD.bazel index cd290b70cf2..a5314fe27ac 100644 --- a/src/e2e_test/vizier/exectime/BUILD.bazel +++ b/src/e2e_test/vizier/exectime/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") go_library( diff --git a/src/e2e_test/vizier/exectime/exectime_benchmark.go b/src/e2e_test/vizier/exectime/exectime_benchmark.go index 36ad7f0a027..0252f13abf3 100644 --- a/src/e2e_test/vizier/exectime/exectime_benchmark.go +++ b/src/e2e_test/vizier/exectime/exectime_benchmark.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/e2e_test/vizier/preset_queries_test/BUILD.bazel b/src/e2e_test/vizier/preset_queries_test/BUILD.bazel index 188024f3a3d..21b8c5400b1 100644 --- a/src/e2e_test/vizier/preset_queries_test/BUILD.bazel +++ b/src/e2e_test/vizier/preset_queries_test/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/e2e_test/vizier/preset_queries_test/preset_queries_test.cc b/src/e2e_test/vizier/preset_queries_test/preset_queries_test.cc index 3288840fce2..71606309455 100644 --- a/src/e2e_test/vizier/preset_queries_test/preset_queries_test.cc +++ b/src/e2e_test/vizier/preset_queries_test/preset_queries_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/e2e_test/vizier/preset_queries_test/preset_queries_test.sh b/src/e2e_test/vizier/preset_queries_test/preset_queries_test.sh index 704261437f2..dd9b32c6565 100755 --- a/src/e2e_test/vizier/preset_queries_test/preset_queries_test.sh +++ b/src/e2e_test/vizier/preset_queries_test/preset_queries_test.sh @@ -1,4 +1,21 @@ #!/bin/bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # --- begin runfiles.bash initialization --- # Copy-pasted from Bazel's Bash runfiles library (tools/bash/runfiles/runfiles.bash). set -euo pipefail diff --git a/src/pixie_cli/BUILD.bazel b/src/pixie_cli/BUILD.bazel index b676f7613ab..af2e597a02b 100644 --- a/src/pixie_cli/BUILD.bazel +++ b/src/pixie_cli/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/pixie_cli/install.sh b/src/pixie_cli/install.sh index c4f30bf11db..b26742c2bcc 100755 --- a/src/pixie_cli/install.sh +++ b/src/pixie_cli/install.sh @@ -1,4 +1,21 @@ #!/usr/bin/env bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ################################################################ # PIXIE Installer # This is inspired by the homebrew installer. diff --git a/src/pixie_cli/pkg/auth/BUILD.bazel b/src/pixie_cli/pkg/auth/BUILD.bazel index 7b996eda1b5..b452d3986d6 100644 --- a/src/pixie_cli/pkg/auth/BUILD.bazel +++ b/src/pixie_cli/pkg/auth/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/pixie_cli/pkg/auth/login.go b/src/pixie_cli/pkg/auth/login.go index 76db6e9dd8c..387996f0930 100644 --- a/src/pixie_cli/pkg/auth/login.go +++ b/src/pixie_cli/pkg/auth/login.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package auth import ( diff --git a/src/pixie_cli/pkg/cmd/BUILD.bazel b/src/pixie_cli/pkg/cmd/BUILD.bazel index 3afb7d50eac..d2fe4467f63 100644 --- a/src/pixie_cli/pkg/cmd/BUILD.bazel +++ b/src/pixie_cli/pkg/cmd/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/pixie_cli/pkg/cmd/api_key.go b/src/pixie_cli/pkg/cmd/api_key.go index ed6afbcd72b..d19a3936f11 100644 --- a/src/pixie_cli/pkg/cmd/api_key.go +++ b/src/pixie_cli/pkg/cmd/api_key.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/auth.go b/src/pixie_cli/pkg/cmd/auth.go index 520bcceef04..5a26e6e3f11 100644 --- a/src/pixie_cli/pkg/cmd/auth.go +++ b/src/pixie_cli/pkg/cmd/auth.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/certs.go b/src/pixie_cli/pkg/cmd/certs.go index 20478c16edf..1b08556a3c1 100644 --- a/src/pixie_cli/pkg/cmd/certs.go +++ b/src/pixie_cli/pkg/cmd/certs.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/collect_logs.go b/src/pixie_cli/pkg/cmd/collect_logs.go index c7f2dcf89b4..62f072371d9 100644 --- a/src/pixie_cli/pkg/cmd/collect_logs.go +++ b/src/pixie_cli/pkg/cmd/collect_logs.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/config.go b/src/pixie_cli/pkg/cmd/config.go index 9a2d22cba9e..05e4ca7670b 100644 --- a/src/pixie_cli/pkg/cmd/config.go +++ b/src/pixie_cli/pkg/cmd/config.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/create_bundle.go b/src/pixie_cli/pkg/cmd/create_bundle.go index d2cef0426c3..6cfcfc34780 100644 --- a/src/pixie_cli/pkg/cmd/create_bundle.go +++ b/src/pixie_cli/pkg/cmd/create_bundle.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/debug.go b/src/pixie_cli/pkg/cmd/debug.go index 6b0cb55c302..3aca4a3d244 100644 --- a/src/pixie_cli/pkg/cmd/debug.go +++ b/src/pixie_cli/pkg/cmd/debug.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/delete_pixie.go b/src/pixie_cli/pkg/cmd/delete_pixie.go index f85e03a96ab..9cceb8ba963 100644 --- a/src/pixie_cli/pkg/cmd/delete_pixie.go +++ b/src/pixie_cli/pkg/cmd/delete_pixie.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/demo.go b/src/pixie_cli/pkg/cmd/demo.go index f44b255e42d..45f250a6a5e 100644 --- a/src/pixie_cli/pkg/cmd/demo.go +++ b/src/pixie_cli/pkg/cmd/demo.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/deploy.go b/src/pixie_cli/pkg/cmd/deploy.go index 1d939f8da34..cd950346d1b 100644 --- a/src/pixie_cli/pkg/cmd/deploy.go +++ b/src/pixie_cli/pkg/cmd/deploy.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/deployment_key.go b/src/pixie_cli/pkg/cmd/deployment_key.go index ca1b5d8a50e..11d26b02c8a 100644 --- a/src/pixie_cli/pkg/cmd/deployment_key.go +++ b/src/pixie_cli/pkg/cmd/deployment_key.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/get.go b/src/pixie_cli/pkg/cmd/get.go index 656d6618e3c..30a00893459 100644 --- a/src/pixie_cli/pkg/cmd/get.go +++ b/src/pixie_cli/pkg/cmd/get.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/live.go b/src/pixie_cli/pkg/cmd/live.go index fc2baa9aacd..c49901171f9 100644 --- a/src/pixie_cli/pkg/cmd/live.go +++ b/src/pixie_cli/pkg/cmd/live.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/load_cluster_secrets.go b/src/pixie_cli/pkg/cmd/load_cluster_secrets.go index 6f29a12061c..65052333970 100644 --- a/src/pixie_cli/pkg/cmd/load_cluster_secrets.go +++ b/src/pixie_cli/pkg/cmd/load_cluster_secrets.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/proxy.go b/src/pixie_cli/pkg/cmd/proxy.go index 66f108d9a5d..c3259571040 100644 --- a/src/pixie_cli/pkg/cmd/proxy.go +++ b/src/pixie_cli/pkg/cmd/proxy.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/root.go b/src/pixie_cli/pkg/cmd/root.go index 24858c5a518..197a5edab76 100644 --- a/src/pixie_cli/pkg/cmd/root.go +++ b/src/pixie_cli/pkg/cmd/root.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/run.go b/src/pixie_cli/pkg/cmd/run.go index 18c11135345..6e3037093a9 100644 --- a/src/pixie_cli/pkg/cmd/run.go +++ b/src/pixie_cli/pkg/cmd/run.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/script_utils.go b/src/pixie_cli/pkg/cmd/script_utils.go index 9e0d99e0f64..23421e51fef 100644 --- a/src/pixie_cli/pkg/cmd/script_utils.go +++ b/src/pixie_cli/pkg/cmd/script_utils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/scripts.go b/src/pixie_cli/pkg/cmd/scripts.go index 30850feb051..91b0885a08b 100644 --- a/src/pixie_cli/pkg/cmd/scripts.go +++ b/src/pixie_cli/pkg/cmd/scripts.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/update.go b/src/pixie_cli/pkg/cmd/update.go index 1afc99e14ce..a018c0ba980 100644 --- a/src/pixie_cli/pkg/cmd/update.go +++ b/src/pixie_cli/pkg/cmd/update.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/cmd/version.go b/src/pixie_cli/pkg/cmd/version.go index fb8bcb7444a..e540629aec1 100644 --- a/src/pixie_cli/pkg/cmd/version.go +++ b/src/pixie_cli/pkg/cmd/version.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package cmd import ( diff --git a/src/pixie_cli/pkg/components/BUILD.bazel b/src/pixie_cli/pkg/components/BUILD.bazel index a49e0e15305..148169d3d31 100644 --- a/src/pixie_cli/pkg/components/BUILD.bazel +++ b/src/pixie_cli/pkg/components/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/pixie_cli/pkg/components/dragon.go b/src/pixie_cli/pkg/components/dragon.go index e87d5978e4f..51b0f195d1d 100644 --- a/src/pixie_cli/pkg/components/dragon.go +++ b/src/pixie_cli/pkg/components/dragon.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package components import ( diff --git a/src/pixie_cli/pkg/components/input_field.go b/src/pixie_cli/pkg/components/input_field.go index d01928bc714..57c851d202b 100644 --- a/src/pixie_cli/pkg/components/input_field.go +++ b/src/pixie_cli/pkg/components/input_field.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package components import ( diff --git a/src/pixie_cli/pkg/components/prompts.go b/src/pixie_cli/pkg/components/prompts.go index 7abe64a19c4..de3bc198f8d 100644 --- a/src/pixie_cli/pkg/components/prompts.go +++ b/src/pixie_cli/pkg/components/prompts.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package components import ( diff --git a/src/pixie_cli/pkg/components/spinner.go b/src/pixie_cli/pkg/components/spinner.go index a1a87a51dd5..94b91ed367f 100644 --- a/src/pixie_cli/pkg/components/spinner.go +++ b/src/pixie_cli/pkg/components/spinner.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package components import ( diff --git a/src/pixie_cli/pkg/components/status.go b/src/pixie_cli/pkg/components/status.go index 60b28fdb57c..ad08c1e3dab 100644 --- a/src/pixie_cli/pkg/components/status.go +++ b/src/pixie_cli/pkg/components/status.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package components import ( diff --git a/src/pixie_cli/pkg/components/table_renderer.go b/src/pixie_cli/pkg/components/table_renderer.go index c9582f0b93a..ccaea84238b 100644 --- a/src/pixie_cli/pkg/components/table_renderer.go +++ b/src/pixie_cli/pkg/components/table_renderer.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package components import ( diff --git a/src/pixie_cli/pkg/live/BUILD.bazel b/src/pixie_cli/pkg/live/BUILD.bazel index dfe43754125..e00fa0d95f1 100644 --- a/src/pixie_cli/pkg/live/BUILD.bazel +++ b/src/pixie_cli/pkg/live/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/pixie_cli/pkg/live/autocomplete.go b/src/pixie_cli/pkg/live/autocomplete.go index be43057974c..9e49870a1e3 100644 --- a/src/pixie_cli/pkg/live/autocomplete.go +++ b/src/pixie_cli/pkg/live/autocomplete.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package live import ( diff --git a/src/pixie_cli/pkg/live/details.go b/src/pixie_cli/pkg/live/details.go index 907e20d55d3..9ccaafc76b3 100644 --- a/src/pixie_cli/pkg/live/details.go +++ b/src/pixie_cli/pkg/live/details.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package live import "github.com/rivo/tview" diff --git a/src/pixie_cli/pkg/live/ebnf_parser.go b/src/pixie_cli/pkg/live/ebnf_parser.go index 724feeecf96..8737e4c9196 100644 --- a/src/pixie_cli/pkg/live/ebnf_parser.go +++ b/src/pixie_cli/pkg/live/ebnf_parser.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package live import ( diff --git a/src/pixie_cli/pkg/live/ebnf_parser_test.go b/src/pixie_cli/pkg/live/ebnf_parser_test.go index bece5691ac6..1928189fb42 100644 --- a/src/pixie_cli/pkg/live/ebnf_parser_test.go +++ b/src/pixie_cli/pkg/live/ebnf_parser_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package live_test import ( diff --git a/src/pixie_cli/pkg/live/help.go b/src/pixie_cli/pkg/live/help.go index e54960fad6c..7f669f4cdc2 100644 --- a/src/pixie_cli/pkg/live/help.go +++ b/src/pixie_cli/pkg/live/help.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package live import ( diff --git a/src/pixie_cli/pkg/live/live.go b/src/pixie_cli/pkg/live/live.go index 6143d209bd1..7067546f018 100644 --- a/src/pixie_cli/pkg/live/live.go +++ b/src/pixie_cli/pkg/live/live.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package live import ( diff --git a/src/pixie_cli/pkg/live/new_autocomplete.go b/src/pixie_cli/pkg/live/new_autocomplete.go index 5f920c870b0..60d48f5202c 100644 --- a/src/pixie_cli/pkg/live/new_autocomplete.go +++ b/src/pixie_cli/pkg/live/new_autocomplete.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package live import ( diff --git a/src/pixie_cli/pkg/live/utils.go b/src/pixie_cli/pkg/live/utils.go index 258ff6f5a38..1a67c3f8ec3 100644 --- a/src/pixie_cli/pkg/live/utils.go +++ b/src/pixie_cli/pkg/live/utils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package live import ( diff --git a/src/pixie_cli/pkg/pxanalytics/BUILD.bazel b/src/pixie_cli/pkg/pxanalytics/BUILD.bazel index 23b99cce390..8de56145ff5 100644 --- a/src/pixie_cli/pkg/pxanalytics/BUILD.bazel +++ b/src/pixie_cli/pkg/pxanalytics/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/pixie_cli/pkg/pxanalytics/analytics.go b/src/pixie_cli/pkg/pxanalytics/analytics.go index 1d9d579f0e2..dc7188d176c 100644 --- a/src/pixie_cli/pkg/pxanalytics/analytics.go +++ b/src/pixie_cli/pkg/pxanalytics/analytics.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pxanalytics import ( diff --git a/src/pixie_cli/pkg/pxconfig/BUILD.bazel b/src/pixie_cli/pkg/pxconfig/BUILD.bazel index 62475a5e525..c6cfb7b56a5 100644 --- a/src/pixie_cli/pkg/pxconfig/BUILD.bazel +++ b/src/pixie_cli/pkg/pxconfig/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/pixie_cli/pkg/pxconfig/config.go b/src/pixie_cli/pkg/pxconfig/config.go index 86799c19261..3876bdcc4d1 100644 --- a/src/pixie_cli/pkg/pxconfig/config.go +++ b/src/pixie_cli/pkg/pxconfig/config.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pxconfig import ( diff --git a/src/pixie_cli/pkg/script/BUILD.bazel b/src/pixie_cli/pkg/script/BUILD.bazel index c8cb8142b2d..aad93c30d23 100644 --- a/src/pixie_cli/pkg/script/BUILD.bazel +++ b/src/pixie_cli/pkg/script/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/pixie_cli/pkg/script/bundle.go b/src/pixie_cli/pkg/script/bundle.go index 2f530861574..96b21a86c8a 100644 --- a/src/pixie_cli/pkg/script/bundle.go +++ b/src/pixie_cli/pkg/script/bundle.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package script type pixieScript struct { diff --git a/src/pixie_cli/pkg/script/bundle_manager.go b/src/pixie_cli/pkg/script/bundle_manager.go index 343685ca8b9..34a574856c4 100644 --- a/src/pixie_cli/pkg/script/bundle_manager.go +++ b/src/pixie_cli/pkg/script/bundle_manager.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package script import ( diff --git a/src/pixie_cli/pkg/script/bundle_writer.go b/src/pixie_cli/pkg/script/bundle_writer.go index 4cb0c9be15d..ba9b3ec48fe 100644 --- a/src/pixie_cli/pkg/script/bundle_writer.go +++ b/src/pixie_cli/pkg/script/bundle_writer.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package script import ( diff --git a/src/pixie_cli/pkg/script/err.go b/src/pixie_cli/pkg/script/err.go index c924beff05f..8b11cb73a58 100644 --- a/src/pixie_cli/pkg/script/err.go +++ b/src/pixie_cli/pkg/script/err.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package script import "errors" diff --git a/src/pixie_cli/pkg/script/flagset.go b/src/pixie_cli/pkg/script/flagset.go index 605959d7c08..29361c52acb 100644 --- a/src/pixie_cli/pkg/script/flagset.go +++ b/src/pixie_cli/pkg/script/flagset.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package script import ( diff --git a/src/pixie_cli/pkg/script/flagset_test.go b/src/pixie_cli/pkg/script/flagset_test.go index 8717609849a..245a92eb446 100644 --- a/src/pixie_cli/pkg/script/flagset_test.go +++ b/src/pixie_cli/pkg/script/flagset_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package script_test import ( diff --git a/src/pixie_cli/pkg/script/script.go b/src/pixie_cli/pkg/script/script.go index 5538c99cfa7..244cf8736e4 100644 --- a/src/pixie_cli/pkg/script/script.go +++ b/src/pixie_cli/pkg/script/script.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package script import ( diff --git a/src/pixie_cli/pkg/script/well_known.go b/src/pixie_cli/pkg/script/well_known.go index c5425677e14..333006b34eb 100644 --- a/src/pixie_cli/pkg/script/well_known.go +++ b/src/pixie_cli/pkg/script/well_known.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package script // This file has a list of well known scripts, that can be referenced diff --git a/src/pixie_cli/pkg/sentryhook/BUILD.bazel b/src/pixie_cli/pkg/sentryhook/BUILD.bazel index 09210410758..7dd9e4e50a3 100644 --- a/src/pixie_cli/pkg/sentryhook/BUILD.bazel +++ b/src/pixie_cli/pkg/sentryhook/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/pixie_cli/pkg/sentryhook/hook.go b/src/pixie_cli/pkg/sentryhook/hook.go index 9983852bb45..5a2eb527c8c 100644 --- a/src/pixie_cli/pkg/sentryhook/hook.go +++ b/src/pixie_cli/pkg/sentryhook/hook.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package sentryhook import ( diff --git a/src/pixie_cli/pkg/update/BUILD.bazel b/src/pixie_cli/pkg/update/BUILD.bazel index 6e96904f217..8e0bfb84931 100644 --- a/src/pixie_cli/pkg/update/BUILD.bazel +++ b/src/pixie_cli/pkg/update/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/pixie_cli/pkg/update/cli.go b/src/pixie_cli/pkg/update/cli.go index 5f788413df0..32f2dd7c45f 100644 --- a/src/pixie_cli/pkg/update/cli.go +++ b/src/pixie_cli/pkg/update/cli.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package update import ( diff --git a/src/pixie_cli/pkg/utils/BUILD.bazel b/src/pixie_cli/pkg/utils/BUILD.bazel index 9a935ddab2e..e29e4c72e45 100644 --- a/src/pixie_cli/pkg/utils/BUILD.bazel +++ b/src/pixie_cli/pkg/utils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/pixie_cli/pkg/utils/cancel.go b/src/pixie_cli/pkg/utils/cancel.go index 3e0b44721ef..5be11da0488 100644 --- a/src/pixie_cli/pkg/utils/cancel.go +++ b/src/pixie_cli/pkg/utils/cancel.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/pixie_cli/pkg/utils/checker.go b/src/pixie_cli/pkg/utils/checker.go index c106b03c626..8d5ecbcc98f 100644 --- a/src/pixie_cli/pkg/utils/checker.go +++ b/src/pixie_cli/pkg/utils/checker.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/pixie_cli/pkg/utils/checker_test.go b/src/pixie_cli/pkg/utils/checker_test.go index 6990bf90375..34b9d52674c 100644 --- a/src/pixie_cli/pkg/utils/checker_test.go +++ b/src/pixie_cli/pkg/utils/checker_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils_test import ( diff --git a/src/pixie_cli/pkg/utils/checks.go b/src/pixie_cli/pkg/utils/checks.go index ff78fe6272b..90268b3c287 100644 --- a/src/pixie_cli/pkg/utils/checks.go +++ b/src/pixie_cli/pkg/utils/checks.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/pixie_cli/pkg/utils/cli_out.go b/src/pixie_cli/pkg/utils/cli_out.go index f2a691ad807..d710e0a4a48 100644 --- a/src/pixie_cli/pkg/utils/cli_out.go +++ b/src/pixie_cli/pkg/utils/cli_out.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/pixie_cli/pkg/utils/cloud.go b/src/pixie_cli/pkg/utils/cloud.go index 96b778a5624..48df16a6e78 100644 --- a/src/pixie_cli/pkg/utils/cloud.go +++ b/src/pixie_cli/pkg/utils/cloud.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/pixie_cli/pkg/utils/cmd.go b/src/pixie_cli/pkg/utils/cmd.go index 14185ac8cb2..3f956bd1042 100644 --- a/src/pixie_cli/pkg/utils/cmd.go +++ b/src/pixie_cli/pkg/utils/cmd.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/pixie_cli/pkg/utils/job_runner.go b/src/pixie_cli/pkg/utils/job_runner.go index 49d835235be..29f7ca42d54 100644 --- a/src/pixie_cli/pkg/utils/job_runner.go +++ b/src/pixie_cli/pkg/utils/job_runner.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/pixie_cli/pkg/vizier/BUILD.bazel b/src/pixie_cli/pkg/vizier/BUILD.bazel index 9a2350a0163..3eb0b5c81ca 100644 --- a/src/pixie_cli/pkg/vizier/BUILD.bazel +++ b/src/pixie_cli/pkg/vizier/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/pixie_cli/pkg/vizier/client.go b/src/pixie_cli/pkg/vizier/client.go index 8f2f3fc3dfb..fb273395720 100644 --- a/src/pixie_cli/pkg/vizier/client.go +++ b/src/pixie_cli/pkg/vizier/client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizier import ( diff --git a/src/pixie_cli/pkg/vizier/connector.go b/src/pixie_cli/pkg/vizier/connector.go index 422578d9c25..c82f7132029 100644 --- a/src/pixie_cli/pkg/vizier/connector.go +++ b/src/pixie_cli/pkg/vizier/connector.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizier import ( diff --git a/src/pixie_cli/pkg/vizier/data_formatter.go b/src/pixie_cli/pkg/vizier/data_formatter.go index b170013ad20..58884c2c088 100644 --- a/src/pixie_cli/pkg/vizier/data_formatter.go +++ b/src/pixie_cli/pkg/vizier/data_formatter.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizier import ( diff --git a/src/pixie_cli/pkg/vizier/data_formatter_test.go b/src/pixie_cli/pkg/vizier/data_formatter_test.go index e44f629d1ca..a76d8299290 100644 --- a/src/pixie_cli/pkg/vizier/data_formatter_test.go +++ b/src/pixie_cli/pkg/vizier/data_formatter_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizier_test import ( diff --git a/src/pixie_cli/pkg/vizier/errors.go b/src/pixie_cli/pkg/vizier/errors.go index 0dfb6590232..b993b3e51b0 100644 --- a/src/pixie_cli/pkg/vizier/errors.go +++ b/src/pixie_cli/pkg/vizier/errors.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizier import ( diff --git a/src/pixie_cli/pkg/vizier/lister.go b/src/pixie_cli/pkg/vizier/lister.go index 5c90bc28ee3..c1688be2436 100644 --- a/src/pixie_cli/pkg/vizier/lister.go +++ b/src/pixie_cli/pkg/vizier/lister.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizier import ( diff --git a/src/pixie_cli/pkg/vizier/script.go b/src/pixie_cli/pkg/vizier/script.go index 34632199565..fd58522a7ef 100644 --- a/src/pixie_cli/pkg/vizier/script.go +++ b/src/pixie_cli/pkg/vizier/script.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizier import ( diff --git a/src/pixie_cli/pkg/vizier/stream_adapter.go b/src/pixie_cli/pkg/vizier/stream_adapter.go index f5f060cba2d..f0cb43928b4 100644 --- a/src/pixie_cli/pkg/vizier/stream_adapter.go +++ b/src/pixie_cli/pkg/vizier/stream_adapter.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizier import ( diff --git a/src/pixie_cli/pkg/vizier/utils.go b/src/pixie_cli/pkg/vizier/utils.go index 6c3ca06bfcc..da7771dd523 100644 --- a/src/pixie_cli/pkg/vizier/utils.go +++ b/src/pixie_cli/pkg/vizier/utils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizier import ( diff --git a/src/pixie_cli/px.go b/src/pixie_cli/px.go index 7bcb1c7aa61..7aec0451a6c 100644 --- a/src/pixie_cli/px.go +++ b/src/pixie_cli/px.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main // This is the Pixie Admin CLI. diff --git a/src/plugins/grafana/grafana-plugin/jest.config.js b/src/plugins/grafana/grafana-plugin/jest.config.js index 9d4406b5fc3..1bd162c0978 100644 --- a/src/plugins/grafana/grafana-plugin/jest.config.js +++ b/src/plugins/grafana/grafana-plugin/jest.config.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // This file is needed because it is used by vscode and other tools that // call `jest` directly. However, unless you are doing anything special // do not edit this file. diff --git a/src/plugins/grafana/grafana-plugin/pkg/BUILD.bazel b/src/plugins/grafana/grafana-plugin/pkg/BUILD.bazel index 2cd51f74b35..794e0b106c4 100644 --- a/src/plugins/grafana/grafana-plugin/pkg/BUILD.bazel +++ b/src/plugins/grafana/grafana-plugin/pkg/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") package(default_visibility = ["//src/plugins/grafana:__subpackages__"]) diff --git a/src/plugins/grafana/grafana-plugin/pkg/grafana_table_mux.go b/src/plugins/grafana/grafana-plugin/pkg/grafana_table_mux.go index b6a3ac088b0..fea02501af7 100644 --- a/src/plugins/grafana/grafana-plugin/pkg/grafana_table_mux.go +++ b/src/plugins/grafana/grafana-plugin/pkg/grafana_table_mux.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/plugins/grafana/grafana-plugin/pkg/grafana_table_mux_test.go b/src/plugins/grafana/grafana-plugin/pkg/grafana_table_mux_test.go index 1fa66a64e99..4d7030f1689 100644 --- a/src/plugins/grafana/grafana-plugin/pkg/grafana_table_mux_test.go +++ b/src/plugins/grafana/grafana-plugin/pkg/grafana_table_mux_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/plugins/grafana/grafana-plugin/pkg/main.go b/src/plugins/grafana/grafana-plugin/pkg/main.go index be7bb8798ae..237194602b7 100644 --- a/src/plugins/grafana/grafana-plugin/pkg/main.go +++ b/src/plugins/grafana/grafana-plugin/pkg/main.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/plugins/grafana/grafana-plugin/pkg/sample-plugin.go b/src/plugins/grafana/grafana-plugin/pkg/sample-plugin.go index 6bbb7c513fd..e36d9dbdbe4 100644 --- a/src/plugins/grafana/grafana-plugin/pkg/sample-plugin.go +++ b/src/plugins/grafana/grafana-plugin/pkg/sample-plugin.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/plugins/grafana/grafana-plugin/src/ConfigEditor.tsx b/src/plugins/grafana/grafana-plugin/src/ConfigEditor.tsx index 50c8f5a51f7..4e0fde41036 100644 --- a/src/plugins/grafana/grafana-plugin/src/ConfigEditor.tsx +++ b/src/plugins/grafana/grafana-plugin/src/ConfigEditor.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import React, { ChangeEvent, PureComponent } from 'react'; import { LegacyForms } from '@grafana/ui'; import { DataSourcePluginOptionsEditorProps } from '@grafana/data'; diff --git a/src/plugins/grafana/grafana-plugin/src/QueryEditor.tsx b/src/plugins/grafana/grafana-plugin/src/QueryEditor.tsx index 51623b49b80..a244198eda6 100644 --- a/src/plugins/grafana/grafana-plugin/src/QueryEditor.tsx +++ b/src/plugins/grafana/grafana-plugin/src/QueryEditor.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import defaults from 'lodash/defaults'; import React, { ChangeEvent, PureComponent } from 'react'; diff --git a/src/plugins/grafana/grafana-plugin/src/datasource.ts b/src/plugins/grafana/grafana-plugin/src/datasource.ts index 41a8cfc67b6..410392bc3db 100644 --- a/src/plugins/grafana/grafana-plugin/src/datasource.ts +++ b/src/plugins/grafana/grafana-plugin/src/datasource.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { DataSourceInstanceSettings } from '@grafana/data'; import { DataSourceWithBackend } from '@grafana/runtime'; import { MyDataSourceOptions, MyQuery } from './types'; diff --git a/src/plugins/grafana/grafana-plugin/src/module.ts b/src/plugins/grafana/grafana-plugin/src/module.ts index bc778606409..a3b571ce7d9 100644 --- a/src/plugins/grafana/grafana-plugin/src/module.ts +++ b/src/plugins/grafana/grafana-plugin/src/module.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { DataSourcePlugin } from '@grafana/data'; import { DataSource } from './datasource'; import { ConfigEditor } from './ConfigEditor'; diff --git a/src/plugins/grafana/grafana-plugin/src/types.ts b/src/plugins/grafana/grafana-plugin/src/types.ts index 254229520ce..c762131c798 100644 --- a/src/plugins/grafana/grafana-plugin/src/types.ts +++ b/src/plugins/grafana/grafana-plugin/src/types.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { DataQuery, DataSourceJsonData } from '@grafana/data'; export interface MyQuery extends DataQuery { diff --git a/src/pxl_scripts/cors_http_server.py b/src/pxl_scripts/cors_http_server.py index 6c0db7355de..1bc48ec9dae 100644 --- a/src/pxl_scripts/cors_http_server.py +++ b/src/pxl_scripts/cors_http_server.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + from http.server import HTTPServer, SimpleHTTPRequestHandler, test import sys diff --git a/src/pxl_scripts/px/agent_status/agent_status.pxl b/src/pxl_scripts/px/agent_status/agent_status.pxl index 1f0798b5dd3..c211335ef2f 100644 --- a/src/pxl_scripts/px/agent_status/agent_status.pxl +++ b/src/pxl_scripts/px/agent_status/agent_status.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px px.display(px.GetAgentStatus()) diff --git a/src/pxl_scripts/px/cluster/cluster.pxl b/src/pxl_scripts/px/cluster/cluster.pxl index 980ca23fd55..84edb6adbfb 100644 --- a/src/pxl_scripts/px/cluster/cluster.pxl +++ b/src/pxl_scripts/px/cluster/cluster.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Cluster Overview This view lists the namespaces and the nodes that are available on the current cluster. diff --git a/src/pxl_scripts/px/cql_data/data.pxl b/src/pxl_scripts/px/cql_data/data.pxl index 95717628ddb..d663d6a5926 100644 --- a/src/pxl_scripts/px/cql_data/data.pxl +++ b/src/pxl_scripts/px/cql_data/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' CQL Data Tracer This script traces all CQL (Cassandra) data on the cluster. diff --git a/src/pxl_scripts/px/cql_stats/cql_stats.pxl b/src/pxl_scripts/px/cql_stats/cql_stats.pxl index 71b35a549ae..7357dfe4e06 100644 --- a/src/pxl_scripts/px/cql_stats/cql_stats.pxl +++ b/src/pxl_scripts/px/cql_stats/cql_stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' CQL Pod LET metrics This live view calculates the latency, error rate, and throughput diff --git a/src/pxl_scripts/px/demo_script/data.pxl b/src/pxl_scripts/px/demo_script/data.pxl index 1965a896eaf..53e772db9b1 100644 --- a/src/pxl_scripts/px/demo_script/data.pxl +++ b/src/pxl_scripts/px/demo_script/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' HTTP Data Tracer Demo Script This script traces all HTTP/HTTP2 data on the cluster, diff --git a/src/pxl_scripts/px/dns_data/data.pxl b/src/pxl_scripts/px/dns_data/data.pxl index 542f07a37cd..565a2a16666 100644 --- a/src/pxl_scripts/px/dns_data/data.pxl +++ b/src/pxl_scripts/px/dns_data/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' DNS Traffic Tracer This script traces all DNS traffic on the cluster for a specified amount of time. diff --git a/src/pxl_scripts/px/dns_flow_graph/dns_flow_graph.pxl b/src/pxl_scripts/px/dns_flow_graph/dns_flow_graph.pxl index 50eeb0410c6..f760702cfcc 100644 --- a/src/pxl_scripts/px/dns_flow_graph/dns_flow_graph.pxl +++ b/src/pxl_scripts/px/dns_flow_graph/dns_flow_graph.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' DNS Overview Map Shows summary DNS requests in the cluster, with some latency information. ''' diff --git a/src/pxl_scripts/px/dns_query_summary/dns_query_summary.pxl b/src/pxl_scripts/px/dns_query_summary/dns_query_summary.pxl index 7842e32d0b1..67429bba3e8 100644 --- a/src/pxl_scripts/px/dns_query_summary/dns_query_summary.pxl +++ b/src/pxl_scripts/px/dns_query_summary/dns_query_summary.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' DNS Overview Map Shows DNS requests made by pods, clustered by name prefix. ''' diff --git a/src/pxl_scripts/px/funcs/funcs.pxl b/src/pxl_scripts/px/funcs/funcs.pxl index 6bf2329e46e..c1458a927c0 100644 --- a/src/pxl_scripts/px/funcs/funcs.pxl +++ b/src/pxl_scripts/px/funcs/funcs.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px diff --git a/src/pxl_scripts/px/http_data/data.pxl b/src/pxl_scripts/px/http_data/data.pxl index 01f1a1e50b1..6b5f72e6f88 100644 --- a/src/pxl_scripts/px/http_data/data.pxl +++ b/src/pxl_scripts/px/http_data/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' HTTP Data Tracer This script traces all HTTP/HTTP2 data on the cluster. diff --git a/src/pxl_scripts/px/http_data_filtered/data.pxl b/src/pxl_scripts/px/http_data_filtered/data.pxl index 9917968c0f1..28abb86543e 100644 --- a/src/pxl_scripts/px/http_data_filtered/data.pxl +++ b/src/pxl_scripts/px/http_data_filtered/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' HTTP Data Tracer This script traces all HTTP/HTTP2 data on the cluster for a specified amount of time. diff --git a/src/pxl_scripts/px/http_post_requests/data.pxl b/src/pxl_scripts/px/http_post_requests/data.pxl index a24be3c1a22..a5d9a8331ec 100644 --- a/src/pxl_scripts/px/http_post_requests/data.pxl +++ b/src/pxl_scripts/px/http_post_requests/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' HTTP Data Tracer This script traces all HTTP/HTTP2 data on the cluster for a specified amount of time. diff --git a/src/pxl_scripts/px/http_request_stats/stats.pxl b/src/pxl_scripts/px/http_request_stats/stats.pxl index 91061c5b938..d58abc2e588 100644 --- a/src/pxl_scripts/px/http_request_stats/stats.pxl +++ b/src/pxl_scripts/px/http_request_stats/stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px t1 = px.DataFrame(table='http_events', start_time='-30s') diff --git a/src/pxl_scripts/px/jvm_data/stats.pxl b/src/pxl_scripts/px/jvm_data/stats.pxl index d1b7a9bc4f0..e69df572a60 100644 --- a/src/pxl_scripts/px/jvm_data/stats.pxl +++ b/src/pxl_scripts/px/jvm_data/stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px bytes_per_mb = 1024 * 1024 diff --git a/src/pxl_scripts/px/jvm_stats/jvm_stats.pxl b/src/pxl_scripts/px/jvm_stats/jvm_stats.pxl index ba80023dae9..2e7da732e88 100644 --- a/src/pxl_scripts/px/jvm_stats/jvm_stats.pxl +++ b/src/pxl_scripts/px/jvm_stats/jvm_stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' jvm per Pod and filtered by Node. This live view summarizes the CPU percentage and network bytes diff --git a/src/pxl_scripts/px/largest_http_request/data.pxl b/src/pxl_scripts/px/largest_http_request/data.pxl index 9d463817333..d4fde08e886 100644 --- a/src/pxl_scripts/px/largest_http_request/data.pxl +++ b/src/pxl_scripts/px/largest_http_request/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px ############################################################### diff --git a/src/pxl_scripts/px/most_http_data/data.pxl b/src/pxl_scripts/px/most_http_data/data.pxl index b14663700d9..d6c416d7725 100644 --- a/src/pxl_scripts/px/most_http_data/data.pxl +++ b/src/pxl_scripts/px/most_http_data/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px ############################################################### diff --git a/src/pxl_scripts/px/mysql_data/mysql_data.pxl b/src/pxl_scripts/px/mysql_data/mysql_data.pxl index 4478e10a703..dc1f9bb16c7 100644 --- a/src/pxl_scripts/px/mysql_data/mysql_data.pxl +++ b/src/pxl_scripts/px/mysql_data/mysql_data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' MySQL Data Tracer Shows the most recent MySQL messages in the cluster. diff --git a/src/pxl_scripts/px/mysql_flow_graph/mysql_flow_graph.pxl b/src/pxl_scripts/px/mysql_flow_graph/mysql_flow_graph.pxl index 64c83ab01c7..7f2fbaa1745 100644 --- a/src/pxl_scripts/px/mysql_flow_graph/mysql_flow_graph.pxl +++ b/src/pxl_scripts/px/mysql_flow_graph/mysql_flow_graph.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' MySQL Overview Map Shows a graph of MySQL requests in the cluster, with some latency information. diff --git a/src/pxl_scripts/px/mysql_stats/mysql_stats.pxl b/src/pxl_scripts/px/mysql_stats/mysql_stats.pxl index dc75aae8436..d301a17fb70 100644 --- a/src/pxl_scripts/px/mysql_stats/mysql_stats.pxl +++ b/src/pxl_scripts/px/mysql_stats/mysql_stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' MySQL Pod LET metrics This live view calculates the latency, error rate, and throughput diff --git a/src/pxl_scripts/px/namespace/namespace.pxl b/src/pxl_scripts/px/namespace/namespace.pxl index 4855a95e8a8..a3df40d75f7 100644 --- a/src/pxl_scripts/px/namespace/namespace.pxl +++ b/src/pxl_scripts/px/namespace/namespace.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Namespace Overview This view gives a top-level summary of the pods and services in a given namespace, diff --git a/src/pxl_scripts/px/namespaces/namespaces.pxl b/src/pxl_scripts/px/namespaces/namespaces.pxl index 0ac3a8df8ce..3ad93ffc8d6 100644 --- a/src/pxl_scripts/px/namespaces/namespaces.pxl +++ b/src/pxl_scripts/px/namespaces/namespaces.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Namespaces Overview This view lists the namespaces on the current cluster and their pod and service counts. diff --git a/src/pxl_scripts/px/net_flow_graph/net_flow_graph.pxl b/src/pxl_scripts/px/net_flow_graph/net_flow_graph.pxl index b42a525face..e3247699778 100644 --- a/src/pxl_scripts/px/net_flow_graph/net_flow_graph.pxl +++ b/src/pxl_scripts/px/net_flow_graph/net_flow_graph.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px diff --git a/src/pxl_scripts/px/network_stats/stats.pxl b/src/pxl_scripts/px/network_stats/stats.pxl index 384841ba2ab..20438829b43 100644 --- a/src/pxl_scripts/px/network_stats/stats.pxl +++ b/src/pxl_scripts/px/network_stats/stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px t1 = px.DataFrame(table='network_stats', select=['time_', 'pod_id', 'rx_bytes', diff --git a/src/pxl_scripts/px/node/node.pxl b/src/pxl_scripts/px/node/node.pxl index de6fc1f6b91..f3193bf6836 100644 --- a/src/pxl_scripts/px/node/node.pxl +++ b/src/pxl_scripts/px/node/node.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Node Overview This view summarizes the process and network stats for a given input node in a cluster. diff --git a/src/pxl_scripts/px/nodes/nodes.pxl b/src/pxl_scripts/px/nodes/nodes.pxl index 3d0ad48c9a0..363d2d43501 100644 --- a/src/pxl_scripts/px/nodes/nodes.pxl +++ b/src/pxl_scripts/px/nodes/nodes.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Nodes Overview This view summarizes the process and network stats for each node in a cluster. diff --git a/src/pxl_scripts/px/perf_flamegraph/flamegraph.pxl b/src/pxl_scripts/px/perf_flamegraph/flamegraph.pxl index d9e8990d506..8367f3afbd5 100644 --- a/src/pxl_scripts/px/perf_flamegraph/flamegraph.pxl +++ b/src/pxl_scripts/px/perf_flamegraph/flamegraph.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + '''CPU Flamegraph Performance profile visualization. diff --git a/src/pxl_scripts/px/pgsql_data/pgsql_data.pxl b/src/pxl_scripts/px/pgsql_data/pgsql_data.pxl index 316ba813ed0..4b243bf3a42 100644 --- a/src/pxl_scripts/px/pgsql_data/pgsql_data.pxl +++ b/src/pxl_scripts/px/pgsql_data/pgsql_data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' PostgreSQL Data Tracer Shows the most recent PostgreSQL messages in the cluster. diff --git a/src/pxl_scripts/px/pgsql_flow_graph/pgsql_flow_graph.pxl b/src/pxl_scripts/px/pgsql_flow_graph/pgsql_flow_graph.pxl index 984d44ebd96..00c764ac795 100644 --- a/src/pxl_scripts/px/pgsql_flow_graph/pgsql_flow_graph.pxl +++ b/src/pxl_scripts/px/pgsql_flow_graph/pgsql_flow_graph.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' PostgreSQL Overview Map Shows a graph of PostgreSQL requests in the cluster, with some latency information. diff --git a/src/pxl_scripts/px/pgsql_stats/pgsql_stats.pxl b/src/pxl_scripts/px/pgsql_stats/pgsql_stats.pxl index 38203b36783..d61ed9169bc 100644 --- a/src/pxl_scripts/px/pgsql_stats/pgsql_stats.pxl +++ b/src/pxl_scripts/px/pgsql_stats/pgsql_stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' PostgreSQL Pod LET metrics This live view calculates the latency, error rate, and throughput diff --git a/src/pxl_scripts/px/pid_memory_usage/usage.pxl b/src/pxl_scripts/px/pid_memory_usage/usage.pxl index 16ab90c7246..43ece71709c 100644 --- a/src/pxl_scripts/px/pid_memory_usage/usage.pxl +++ b/src/pxl_scripts/px/pid_memory_usage/usage.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px # diff --git a/src/pxl_scripts/px/pixie_quality_metrics/pixie_quality_metrics.pxl b/src/pxl_scripts/px/pixie_quality_metrics/pixie_quality_metrics.pxl index 645fd0725f8..9a6ea44abdf 100644 --- a/src/pxl_scripts/px/pixie_quality_metrics/pixie_quality_metrics.pxl +++ b/src/pxl_scripts/px/pixie_quality_metrics/pixie_quality_metrics.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px ns_per_ms = 1000 * 1000 diff --git a/src/pxl_scripts/px/pod/pod.pxl b/src/pxl_scripts/px/pod/pod.pxl index 2505629d875..bfe27fad6c0 100644 --- a/src/pxl_scripts/px/pod/pod.pxl +++ b/src/pxl_scripts/px/pod/pod.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + '''Pod Overview Overview of a specific Pod monitored by Pixie with its high level application metrics diff --git a/src/pxl_scripts/px/pod_edge_stats/pod_edge_stats.pxl b/src/pxl_scripts/px/pod_edge_stats/pod_edge_stats.pxl index dec05a195d0..43392312cec 100644 --- a/src/pxl_scripts/px/pod_edge_stats/pod_edge_stats.pxl +++ b/src/pxl_scripts/px/pod_edge_stats/pod_edge_stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Pod Edge LET stats This live view calculates LET between a requesting and responding pod. diff --git a/src/pxl_scripts/px/pod_lifetime_resource/resource.pxl b/src/pxl_scripts/px/pod_lifetime_resource/resource.pxl index 5ad09322f7c..447eaa8a125 100644 --- a/src/pxl_scripts/px/pod_lifetime_resource/resource.pxl +++ b/src/pxl_scripts/px/pod_lifetime_resource/resource.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px # diff --git a/src/pxl_scripts/px/pod_memory_usage/pod.pxl b/src/pxl_scripts/px/pod_memory_usage/pod.pxl index bfb47d8fe30..9b3b7da8059 100644 --- a/src/pxl_scripts/px/pod_memory_usage/pod.pxl +++ b/src/pxl_scripts/px/pod_memory_usage/pod.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px ############################################################### diff --git a/src/pxl_scripts/px/pods/pods.pxl b/src/pxl_scripts/px/pods/pods.pxl index 3172dac2533..535d065d253 100644 --- a/src/pxl_scripts/px/pods/pods.pxl +++ b/src/pxl_scripts/px/pods/pods.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + '''Pods Overview List of Pods monitored by Pixie in a given Namespace with their high level application metrics diff --git a/src/pxl_scripts/px/redis_data/redis_data.pxl b/src/pxl_scripts/px/redis_data/redis_data.pxl index e6e4b5296f1..32dbb6c54eb 100644 --- a/src/pxl_scripts/px/redis_data/redis_data.pxl +++ b/src/pxl_scripts/px/redis_data/redis_data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Redis Data Tracer Shows the most recent Redis messages in the cluster. diff --git a/src/pxl_scripts/px/redis_flow_graph/redis_flow_graph.pxl b/src/pxl_scripts/px/redis_flow_graph/redis_flow_graph.pxl index 58b9d2c222b..0a357089393 100644 --- a/src/pxl_scripts/px/redis_flow_graph/redis_flow_graph.pxl +++ b/src/pxl_scripts/px/redis_flow_graph/redis_flow_graph.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Redis Overview Map Shows a graph of Redis requests in the cluster, with some latency information. diff --git a/src/pxl_scripts/px/redis_stats/redis_stats.pxl b/src/pxl_scripts/px/redis_stats/redis_stats.pxl index dcbc732085f..db785db088d 100644 --- a/src/pxl_scripts/px/redis_stats/redis_stats.pxl +++ b/src/pxl_scripts/px/redis_stats/redis_stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Redis Pod LET metrics This live view calculates the latency, error rate, and throughput diff --git a/src/pxl_scripts/px/schemas/schemas.pxl b/src/pxl_scripts/px/schemas/schemas.pxl index ebd0632b642..58008d01330 100644 --- a/src/pxl_scripts/px/schemas/schemas.pxl +++ b/src/pxl_scripts/px/schemas/schemas.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px diff --git a/src/pxl_scripts/px/service/service.pxl b/src/pxl_scripts/px/service/service.pxl index ece2ab23a55..f9980270479 100644 --- a/src/pxl_scripts/px/service/service.pxl +++ b/src/pxl_scripts/px/service/service.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Service Overview This script gets an overview of an individual service, summarizing its request statistics. diff --git a/src/pxl_scripts/px/service_edge_stats/service_edge_stats.pxl b/src/pxl_scripts/px/service_edge_stats/service_edge_stats.pxl index 224aca6a408..1182dfe1ea1 100644 --- a/src/pxl_scripts/px/service_edge_stats/service_edge_stats.pxl +++ b/src/pxl_scripts/px/service_edge_stats/service_edge_stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Service Edge LET stats This live view calculates LET between two Services. diff --git a/src/pxl_scripts/px/service_memory_usage/usage.pxl b/src/pxl_scripts/px/service_memory_usage/usage.pxl index af7e154ee4c..ed5e46a0ae9 100644 --- a/src/pxl_scripts/px/service_memory_usage/usage.pxl +++ b/src/pxl_scripts/px/service_memory_usage/usage.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px ############################################################### diff --git a/src/pxl_scripts/px/service_stats/service_stats.pxl b/src/pxl_scripts/px/service_stats/service_stats.pxl index c105d1f0f62..0fab993709d 100644 --- a/src/pxl_scripts/px/service_stats/service_stats.pxl +++ b/src/pxl_scripts/px/service_stats/service_stats.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Service stats LET and local svc map This live view calculates the latency, error rate, and throughput diff --git a/src/pxl_scripts/px/services/services.pxl b/src/pxl_scripts/px/services/services.pxl index 7bfd48f6e5c..150cc16e211 100644 --- a/src/pxl_scripts/px/services/services.pxl +++ b/src/pxl_scripts/px/services/services.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Services Overview This script gets an overview all of the services in `namespace`. diff --git a/src/pxl_scripts/px/slow_http_requests/slow_http_requests.pxl b/src/pxl_scripts/px/slow_http_requests/slow_http_requests.pxl index b77dea11f69..fae3a1a7052 100644 --- a/src/pxl_scripts/px/slow_http_requests/slow_http_requests.pxl +++ b/src/pxl_scripts/px/slow_http_requests/slow_http_requests.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px # Flag to filter out requests that come from an unresolvable IP. diff --git a/src/pxl_scripts/px/tcp_drops/data.pxl b/src/pxl_scripts/px/tcp_drops/data.pxl index 90f5be20cc4..7d1db635b6f 100644 --- a/src/pxl_scripts/px/tcp_drops/data.pxl +++ b/src/pxl_scripts/px/tcp_drops/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import pxtraceimport px # Adapted from https://github.com/iovisor/bpftrace/blob/master/tools/tcpdrop.bt diff --git a/src/pxl_scripts/px/tcp_retransmits/data.pxl b/src/pxl_scripts/px/tcp_retransmits/data.pxl index 16a1f074a50..04501c2d9e1 100644 --- a/src/pxl_scripts/px/tcp_retransmits/data.pxl +++ b/src/pxl_scripts/px/tcp_retransmits/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import pxtraceimport px # Adapted from https://github.com/iovisor/bpftrace/blob/master/tools/tcpretrans.bt diff --git a/src/pxl_scripts/px/tracepoint_status/tracepoint_status.pxl b/src/pxl_scripts/px/tracepoint_status/tracepoint_status.pxl index e851ee230b5..e0ee4dafdd7 100644 --- a/src/pxl_scripts/px/tracepoint_status/tracepoint_status.pxl +++ b/src/pxl_scripts/px/tracepoint_status/tracepoint_status.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px diff --git a/src/pxl_scripts/px/upids/upids.pxl b/src/pxl_scripts/px/upids/upids.pxl index 5fa6371fac7..b8fff50b1e2 100644 --- a/src/pxl_scripts/px/upids/upids.pxl +++ b/src/pxl_scripts/px/upids/upids.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import px diff --git a/src/pxl_scripts/pxbeta/service_endpoint/service_endpoint.pxl b/src/pxl_scripts/pxbeta/service_endpoint/service_endpoint.pxl index 50e6acfcaae..f212e6c1995 100644 --- a/src/pxl_scripts/pxbeta/service_endpoint/service_endpoint.pxl +++ b/src/pxl_scripts/pxbeta/service_endpoint/service_endpoint.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Endpoint Overview This script gets an overview of an individual endpoint on an individual service, summarizing its request statistics. diff --git a/src/pxl_scripts/pxbeta/service_endpoints/service_endpoints.pxl b/src/pxl_scripts/pxbeta/service_endpoints/service_endpoints.pxl index 0c50ddeba76..faa1e86bfcb 100644 --- a/src/pxl_scripts/pxbeta/service_endpoints/service_endpoints.pxl +++ b/src/pxl_scripts/pxbeta/service_endpoints/service_endpoints.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' Endpoints Overview This script gets an overview of all the endpoints in `service`. diff --git a/src/pxl_scripts/sotw/dns_external_fqdn_list/data.pxl b/src/pxl_scripts/sotw/dns_external_fqdn_list/data.pxl index 4cef94ef7ea..a00d00388ca 100644 --- a/src/pxl_scripts/sotw/dns_external_fqdn_list/data.pxl +++ b/src/pxl_scripts/sotw/dns_external_fqdn_list/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' DNS Traffic FQDN List Lists external, fully qualified domain names (FQDNs) from all DNS traffic on the cluster for a specified amount of time. ''' diff --git a/src/pxl_scripts/sotw/dns_queries_filtered/data.pxl b/src/pxl_scripts/sotw/dns_queries_filtered/data.pxl index 1ac263181b8..79f2eb1e943 100644 --- a/src/pxl_scripts/sotw/dns_queries_filtered/data.pxl +++ b/src/pxl_scripts/sotw/dns_queries_filtered/data.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + ''' DNS Queries filtered by query name. Lists all DNS queries filtered by a specific query name. ''' diff --git a/src/pxl_scripts/update_readme.py b/src/pxl_scripts/update_readme.py index f489ad535d1..20006e4a049 100755 --- a/src/pxl_scripts/update_readme.py +++ b/src/pxl_scripts/update_readme.py @@ -1,5 +1,21 @@ #!/usr/bin/env python3 +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import argparse import glob import os diff --git a/src/pxl_scripts/watch.sh b/src/pxl_scripts/watch.sh index 78ede1760d8..2f5d8461ebb 100755 --- a/src/pxl_scripts/watch.sh +++ b/src/pxl_scripts/watch.sh @@ -1,5 +1,21 @@ #!/usr/bin/env bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -e shell_join() { diff --git a/src/shared/artifacts/versionspb/BUILD.bazel b/src/shared/artifacts/versionspb/BUILD.bazel index 717bd8bb226..ad27a0e64b3 100644 --- a/src/shared/artifacts/versionspb/BUILD.bazel +++ b/src/shared/artifacts/versionspb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_go_proto_library", "pl_proto_library") diff --git a/src/shared/artifacts/versionspb/utils/BUILD.bazel b/src/shared/artifacts/versionspb/utils/BUILD.bazel index b4d534f5f25..aab6514128d 100644 --- a/src/shared/artifacts/versionspb/utils/BUILD.bazel +++ b/src/shared/artifacts/versionspb/utils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/shared/artifacts/versionspb/utils/utils.go b/src/shared/artifacts/versionspb/utils/utils.go index b88636e8085..3fd1b0d7a94 100644 --- a/src/shared/artifacts/versionspb/utils/utils.go +++ b/src/shared/artifacts/versionspb/utils/utils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/shared/artifacts/versionspb/versions.proto b/src/shared/artifacts/versionspb/versions.proto index ca5b93a31c3..9615715182f 100644 --- a/src/shared/artifacts/versionspb/versions.proto +++ b/src/shared/artifacts/versionspb/versions.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.versions; diff --git a/src/shared/bloomfilter/BUILD.bazel b/src/shared/bloomfilter/BUILD.bazel index 0c2738e5bd6..dfe27972754 100644 --- a/src/shared/bloomfilter/BUILD.bazel +++ b/src/shared/bloomfilter/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/shared/bloomfilter/bloomfilter.cc b/src/shared/bloomfilter/bloomfilter.cc index 9ba2fce0f78..3ad23e82c6d 100644 --- a/src/shared/bloomfilter/bloomfilter.cc +++ b/src/shared/bloomfilter/bloomfilter.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/bloomfilter/bloomfilter.h b/src/shared/bloomfilter/bloomfilter.h index 4b930137086..42d1b8da58a 100644 --- a/src/shared/bloomfilter/bloomfilter.h +++ b/src/shared/bloomfilter/bloomfilter.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/bloomfilter/bloomfilter_benchmark.cc b/src/shared/bloomfilter/bloomfilter_benchmark.cc index 32f53aeb748..27c5a780b9c 100644 --- a/src/shared/bloomfilter/bloomfilter_benchmark.cc +++ b/src/shared/bloomfilter/bloomfilter_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/shared/bloomfilter/bloomfilter_test.cc b/src/shared/bloomfilter/bloomfilter_test.cc index 2508c9ed5f3..8ed5019a778 100644 --- a/src/shared/bloomfilter/bloomfilter_test.cc +++ b/src/shared/bloomfilter/bloomfilter_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/shared/bloomfilter/bloomfilter.h" diff --git a/src/shared/bloomfilterpb/BUILD.bazel b/src/shared/bloomfilterpb/BUILD.bazel index 5724822ffaf..af75fafa600 100644 --- a/src/shared/bloomfilterpb/BUILD.bazel +++ b/src/shared/bloomfilterpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/shared/bloomfilterpb/bloomfilter.proto b/src/shared/bloomfilterpb/bloomfilter.proto index 4013dc1f147..146e40023fc 100644 --- a/src/shared/bloomfilterpb/bloomfilter.proto +++ b/src/shared/bloomfilterpb/bloomfilter.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.shared.bloomfilterpb; diff --git a/src/shared/cvmsgspb/BUILD.bazel b/src/shared/cvmsgspb/BUILD.bazel index 81bf92ecac1..a329402a013 100644 --- a/src/shared/cvmsgspb/BUILD.bazel +++ b/src/shared/cvmsgspb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/shared/cvmsgspb/cvmsgs.proto b/src/shared/cvmsgspb/cvmsgs.proto index 86fc9ac8109..5ab0e63e372 100644 --- a/src/shared/cvmsgspb/cvmsgs.proto +++ b/src/shared/cvmsgspb/cvmsgs.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // // This file has the message based interface between cloud // and viziers. diff --git a/src/shared/goversion/BUILD.bazel b/src/shared/goversion/BUILD.bazel index 3501a16a537..999603cdd81 100644 --- a/src/shared/goversion/BUILD.bazel +++ b/src/shared/goversion/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/shared/goversion/version.go b/src/shared/goversion/version.go index cd28fe45c80..075d5979759 100644 --- a/src/shared/goversion/version.go +++ b/src/shared/goversion/version.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package version import ( diff --git a/src/shared/k8s/BUILD.bazel b/src/shared/k8s/BUILD.bazel index 27b87c0daca..010ca4d97f4 100644 --- a/src/shared/k8s/BUILD.bazel +++ b/src/shared/k8s/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/k8s/metadatapb/BUILD.bazel b/src/shared/k8s/metadatapb/BUILD.bazel index ecbfd0cb865..89a9543521a 100644 --- a/src/shared/k8s/metadatapb/BUILD.bazel +++ b/src/shared/k8s/metadatapb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") # gazelle:ignore diff --git a/src/shared/k8s/metadatapb/metadata.proto b/src/shared/k8s/metadatapb/metadata.proto index 6932ecc8b27..3f1ab7e4332 100644 --- a/src/shared/k8s/metadatapb/metadata.proto +++ b/src/shared/k8s/metadatapb/metadata.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.shared.k8s.metadatapb; diff --git a/src/shared/k8s/metadatapb/test_proto.h b/src/shared/k8s/metadatapb/test_proto.h index 095bf3a28f0..11fc2d98721 100644 --- a/src/shared/k8s/metadatapb/test_proto.h +++ b/src/shared/k8s/metadatapb/test_proto.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/k8s/proto_utils.go b/src/shared/k8s/proto_utils.go index 1362cadd5d3..8cfeab36043 100644 --- a/src/shared/k8s/proto_utils.go +++ b/src/shared/k8s/proto_utils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s import ( diff --git a/src/shared/k8s/proto_utils_test.go b/src/shared/k8s/proto_utils_test.go index d7f72e4a8d2..456009a2c84 100644 --- a/src/shared/k8s/proto_utils_test.go +++ b/src/shared/k8s/proto_utils_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s_test import ( diff --git a/src/shared/k8s/upid.go b/src/shared/k8s/upid.go index 925543f5b81..44990e9ece8 100644 --- a/src/shared/k8s/upid.go +++ b/src/shared/k8s/upid.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s import ( diff --git a/src/shared/k8s/upid_test.go b/src/shared/k8s/upid_test.go index 046048862f8..46015f7c016 100644 --- a/src/shared/k8s/upid_test.go +++ b/src/shared/k8s/upid_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s_test import ( diff --git a/src/shared/metadata/BUILD.bazel b/src/shared/metadata/BUILD.bazel index 96d49966308..0822a46dbe8 100644 --- a/src/shared/metadata/BUILD.bazel +++ b/src/shared/metadata/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test", "pl_cc_test_library") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/shared/metadata/cgroup_metadata_reader.cc b/src/shared/metadata/cgroup_metadata_reader.cc index 758442e578c..9f89682bf42 100644 --- a/src/shared/metadata/cgroup_metadata_reader.cc +++ b/src/shared/metadata/cgroup_metadata_reader.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/metadata/cgroup_metadata_reader.h b/src/shared/metadata/cgroup_metadata_reader.h index f633889c287..c3fba991e91 100644 --- a/src/shared/metadata/cgroup_metadata_reader.h +++ b/src/shared/metadata/cgroup_metadata_reader.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/metadata/cgroup_metadata_reader_mock.h b/src/shared/metadata/cgroup_metadata_reader_mock.h index 03a19f17e61..eb5296f7cda 100644 --- a/src/shared/metadata/cgroup_metadata_reader_mock.h +++ b/src/shared/metadata/cgroup_metadata_reader_mock.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/shared/metadata/cgroup_metadata_reader_test.cc b/src/shared/metadata/cgroup_metadata_reader_test.cc index b973d26a5c1..fd2d4230ae3 100644 --- a/src/shared/metadata/cgroup_metadata_reader_test.cc +++ b/src/shared/metadata/cgroup_metadata_reader_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/shared/metadata/k8s_objects.cc b/src/shared/metadata/k8s_objects.cc index 8fb037e34e7..87be1752371 100644 --- a/src/shared/metadata/k8s_objects.cc +++ b/src/shared/metadata/k8s_objects.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/shared/metadata/k8s_objects.h b/src/shared/metadata/k8s_objects.h index 0a7ad682538..c282ba14f80 100644 --- a/src/shared/metadata/k8s_objects.h +++ b/src/shared/metadata/k8s_objects.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/metadata/k8s_objects_test.cc b/src/shared/metadata/k8s_objects_test.cc index 3c6deb50c5e..ce17bc6c209 100644 --- a/src/shared/metadata/k8s_objects_test.cc +++ b/src/shared/metadata/k8s_objects_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/shared/metadata/metadata.h b/src/shared/metadata/metadata.h index 75036aad13e..627e2cd4dc8 100644 --- a/src/shared/metadata/metadata.h +++ b/src/shared/metadata/metadata.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/metadata/metadata_filter.cc b/src/shared/metadata/metadata_filter.cc index aa58941aad2..2a04e36ae97 100644 --- a/src/shared/metadata/metadata_filter.cc +++ b/src/shared/metadata/metadata_filter.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/shared/metadata/metadata_filter.h b/src/shared/metadata/metadata_filter.h index 133de422475..06460048707 100644 --- a/src/shared/metadata/metadata_filter.h +++ b/src/shared/metadata/metadata_filter.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/metadata/metadata_filter_test.cc b/src/shared/metadata/metadata_filter_test.cc index 0ce2d55da19..eebd74ea2ea 100644 --- a/src/shared/metadata/metadata_filter_test.cc +++ b/src/shared/metadata/metadata_filter_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/shared/metadata/metadata_state.cc b/src/shared/metadata/metadata_state.cc index f9bff1529c8..e1032ca1d12 100644 --- a/src/shared/metadata/metadata_state.cc +++ b/src/shared/metadata/metadata_state.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/metadata/metadata_state.h b/src/shared/metadata/metadata_state.h index 818c8ad036e..dd7a98277b2 100644 --- a/src/shared/metadata/metadata_state.h +++ b/src/shared/metadata/metadata_state.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/metadata/metadata_state_test.cc b/src/shared/metadata/metadata_state_test.cc index f2d680ce786..6b313938fbf 100644 --- a/src/shared/metadata/metadata_state_test.cc +++ b/src/shared/metadata/metadata_state_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/metadata/pids.cc b/src/shared/metadata/pids.cc index 11433d26441..189f6725c3e 100644 --- a/src/shared/metadata/pids.cc +++ b/src/shared/metadata/pids.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/shared/metadata/pids.h" namespace px { diff --git a/src/shared/metadata/pids.h b/src/shared/metadata/pids.h index 63676389ce9..e166096bcc5 100644 --- a/src/shared/metadata/pids.h +++ b/src/shared/metadata/pids.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/metadata/pids_test.cc b/src/shared/metadata/pids_test.cc index 00874e1f508..25a446ca7c4 100644 --- a/src/shared/metadata/pids_test.cc +++ b/src/shared/metadata/pids_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/metadata/state_manager.cc b/src/shared/metadata/state_manager.cc index 105d884a97d..fd8841f4516 100644 --- a/src/shared/metadata/state_manager.cc +++ b/src/shared/metadata/state_manager.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/metadata/state_manager.h b/src/shared/metadata/state_manager.h index 2c06e666344..0f44cc90b64 100644 --- a/src/shared/metadata/state_manager.h +++ b/src/shared/metadata/state_manager.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/metadata/state_manager_test.cc b/src/shared/metadata/state_manager_test.cc index c665f86020f..e9e746b9b10 100644 --- a/src/shared/metadata/state_manager_test.cc +++ b/src/shared/metadata/state_manager_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/metadata/test_utils.h b/src/shared/metadata/test_utils.h index 4485c8d0f78..53db454dc7b 100644 --- a/src/shared/metadata/test_utils.h +++ b/src/shared/metadata/test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/metadatapb/BUILD.bazel b/src/shared/metadatapb/BUILD.bazel index e710550ac5f..768171f598a 100644 --- a/src/shared/metadatapb/BUILD.bazel +++ b/src/shared/metadatapb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/shared/metadatapb/metadata.proto b/src/shared/metadatapb/metadata.proto index 2dbd7a93e72..a1f39f72775 100644 --- a/src/shared/metadatapb/metadata.proto +++ b/src/shared/metadatapb/metadata.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.shared.metadatapb; diff --git a/src/shared/schema/BUILD.bazel b/src/shared/schema/BUILD.bazel index 48da8c0e31a..cd332887d56 100644 --- a/src/shared/schema/BUILD.bazel +++ b/src/shared/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/shared/schema/utils.cc b/src/shared/schema/utils.cc index 988197908fa..ecedb44e993 100644 --- a/src/shared/schema/utils.cc +++ b/src/shared/schema/utils.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/shared/schema/utils.h" diff --git a/src/shared/schema/utils.h b/src/shared/schema/utils.h index b311e156e93..32d9ee364dc 100644 --- a/src/shared/schema/utils.h +++ b/src/shared/schema/utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/shared/schema/utils_test.cc b/src/shared/schema/utils_test.cc index 0d052a3db6a..35ae31d4d83 100644 --- a/src/shared/schema/utils_test.cc +++ b/src/shared/schema/utils_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/shared/schema/utils.h" diff --git a/src/shared/scriptspb/BUILD.bazel b/src/shared/scriptspb/BUILD.bazel index 5f97519860b..4ba1be1706c 100644 --- a/src/shared/scriptspb/BUILD.bazel +++ b/src/shared/scriptspb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/shared/scriptspb/scripts.proto b/src/shared/scriptspb/scripts.proto index 152b36f6ce1..0ad8fdd2756 100644 --- a/src/shared/scriptspb/scripts.proto +++ b/src/shared/scriptspb/scripts.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.shared.scriptspb; diff --git a/src/shared/services/BUILD.bazel b/src/shared/services/BUILD.bazel index ed38c2f05ce..448c08acb6a 100644 --- a/src/shared/services/BUILD.bazel +++ b/src/shared/services/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/shared/services/authcontext/BUILD.bazel b/src/shared/services/authcontext/BUILD.bazel index bd15aecf908..58f7b6be58c 100644 --- a/src/shared/services/authcontext/BUILD.bazel +++ b/src/shared/services/authcontext/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/services/authcontext/context.go b/src/shared/services/authcontext/context.go index 6ba7a198f82..28b4cd5b3c4 100644 --- a/src/shared/services/authcontext/context.go +++ b/src/shared/services/authcontext/context.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package authcontext import ( diff --git a/src/shared/services/authcontext/context_test.go b/src/shared/services/authcontext/context_test.go index bfcaeeae7b7..7b64f9c359f 100644 --- a/src/shared/services/authcontext/context_test.go +++ b/src/shared/services/authcontext/context_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package authcontext_test import ( diff --git a/src/shared/services/cors.go b/src/shared/services/cors.go index 84e11b3aa4a..24a571038d6 100644 --- a/src/shared/services/cors.go +++ b/src/shared/services/cors.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package services import ( diff --git a/src/shared/services/election/BUILD.bazel b/src/shared/services/election/BUILD.bazel index 3d507fb8482..06d8ae40f73 100644 --- a/src/shared/services/election/BUILD.bazel +++ b/src/shared/services/election/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/shared/services/election/election.go b/src/shared/services/election/election.go index 48b8c57c95e..abca007ad3a 100644 --- a/src/shared/services/election/election.go +++ b/src/shared/services/election/election.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* Adapted from https://github.com/kubernetes/client-go/blob/master/examples/leader-election/main.go */ diff --git a/src/shared/services/env/BUILD.bazel b/src/shared/services/env/BUILD.bazel index a138edd42b4..309eb6f046d 100644 --- a/src/shared/services/env/BUILD.bazel +++ b/src/shared/services/env/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/services/env/env.go b/src/shared/services/env/env.go index dd86e9bc964..e91cf3d7019 100644 --- a/src/shared/services/env/env.go +++ b/src/shared/services/env/env.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package env import ( diff --git a/src/shared/services/env/env_test.go b/src/shared/services/env/env_test.go index 6fc6d1bf311..adf23c3266d 100644 --- a/src/shared/services/env/env_test.go +++ b/src/shared/services/env/env_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package env_test import ( diff --git a/src/shared/services/errors.go b/src/shared/services/errors.go index 20759c05a95..824e3fa43ae 100644 --- a/src/shared/services/errors.go +++ b/src/shared/services/errors.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package services import ( diff --git a/src/shared/services/events/BUILD.bazel b/src/shared/services/events/BUILD.bazel index e18574a1a0d..939182c634b 100644 --- a/src/shared/services/events/BUILD.bazel +++ b/src/shared/services/events/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/shared/services/events/events.go b/src/shared/services/events/events.go index b576a9caf61..3cf4fc5f465 100644 --- a/src/shared/services/events/events.go +++ b/src/shared/services/events/events.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package events // This file tracks all the events the backend produces to diff --git a/src/shared/services/events/track.go b/src/shared/services/events/track.go index b721ec6660c..86498c37bd2 100644 --- a/src/shared/services/events/track.go +++ b/src/shared/services/events/track.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package events // This package provides a small wrapper around segment to provide initialization and a dummy diff --git a/src/shared/services/handler/BUILD.bazel b/src/shared/services/handler/BUILD.bazel index ce387f465af..47ab12e2870 100644 --- a/src/shared/services/handler/BUILD.bazel +++ b/src/shared/services/handler/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/services/handler/handler.go b/src/shared/services/handler/handler.go index 18d708f8118..c1ea356cc06 100644 --- a/src/shared/services/handler/handler.go +++ b/src/shared/services/handler/handler.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package handler import ( diff --git a/src/shared/services/handler/handler_test.go b/src/shared/services/handler/handler_test.go index 7131102d66c..0351e627ff2 100644 --- a/src/shared/services/handler/handler_test.go +++ b/src/shared/services/handler/handler_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package handler_test import ( diff --git a/src/shared/services/healthz/BUILD.bazel b/src/shared/services/healthz/BUILD.bazel index 2c4f14bf1b2..e8c3564101a 100644 --- a/src/shared/services/healthz/BUILD.bazel +++ b/src/shared/services/healthz/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/services/healthz/healthz.go b/src/shared/services/healthz/healthz.go index fb2b0323b00..5b8ac940c2e 100644 --- a/src/shared/services/healthz/healthz.go +++ b/src/shared/services/healthz/healthz.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /** package healthz defines health checkers and interfaces. By default it will install the ping checker at the /ping endpoint and diff --git a/src/shared/services/healthz/healthz_test.go b/src/shared/services/healthz/healthz_test.go index a764b8a44e6..6d1bf50a3af 100644 --- a/src/shared/services/healthz/healthz_test.go +++ b/src/shared/services/healthz/healthz_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package healthz_test import ( diff --git a/src/shared/services/httpmiddleware/BUILD.bazel b/src/shared/services/httpmiddleware/BUILD.bazel index 454ef9983b2..b79361607bb 100644 --- a/src/shared/services/httpmiddleware/BUILD.bazel +++ b/src/shared/services/httpmiddleware/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/services/httpmiddleware/middleware.go b/src/shared/services/httpmiddleware/middleware.go index e0b4cc7879b..470cadfdfb0 100644 --- a/src/shared/services/httpmiddleware/middleware.go +++ b/src/shared/services/httpmiddleware/middleware.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Package httpmiddleware has services middleware utilities that we use across our services. package httpmiddleware diff --git a/src/shared/services/httpmiddleware/middleware_test.go b/src/shared/services/httpmiddleware/middleware_test.go index a40650d1ae6..c793acb4432 100644 --- a/src/shared/services/httpmiddleware/middleware_test.go +++ b/src/shared/services/httpmiddleware/middleware_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package httpmiddleware_test import ( diff --git a/src/shared/services/jwtpb/BUILD.bazel b/src/shared/services/jwtpb/BUILD.bazel index fc2349aba9f..3bedc3d2df3 100644 --- a/src/shared/services/jwtpb/BUILD.bazel +++ b/src/shared/services/jwtpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") diff --git a/src/shared/services/jwtpb/jwt.proto b/src/shared/services/jwtpb/jwt.proto index 377a18130a9..4f885512ee0 100644 --- a/src/shared/services/jwtpb/jwt.proto +++ b/src/shared/services/jwtpb/jwt.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.common; diff --git a/src/shared/services/logging.go b/src/shared/services/logging.go index c44ccc4c211..6db80f60db2 100644 --- a/src/shared/services/logging.go +++ b/src/shared/services/logging.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package services import ( diff --git a/src/shared/services/msgbus/BUILD.bazel b/src/shared/services/msgbus/BUILD.bazel index 1a9373851db..2d6cdcda961 100644 --- a/src/shared/services/msgbus/BUILD.bazel +++ b/src/shared/services/msgbus/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/services/msgbus/nats.go b/src/shared/services/msgbus/nats.go index 2b917400cb4..8cdbddc54ba 100644 --- a/src/shared/services/msgbus/nats.go +++ b/src/shared/services/msgbus/nats.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package msgbus import ( diff --git a/src/shared/services/msgbus/nats_test.go b/src/shared/services/msgbus/nats_test.go index a2629a4b10d..4d7f5891db2 100644 --- a/src/shared/services/msgbus/nats_test.go +++ b/src/shared/services/msgbus/nats_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package msgbus_test import ( diff --git a/src/shared/services/msgbus/stan.go b/src/shared/services/msgbus/stan.go index 1f9aa14ba02..3e6ee0d9522 100644 --- a/src/shared/services/msgbus/stan.go +++ b/src/shared/services/msgbus/stan.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package msgbus import ( diff --git a/src/shared/services/msgbus/stan_test.go b/src/shared/services/msgbus/stan_test.go index 0d7372cc435..d618190348c 100644 --- a/src/shared/services/msgbus/stan_test.go +++ b/src/shared/services/msgbus/stan_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package msgbus_test import ( diff --git a/src/shared/services/pg/BUILD.bazel b/src/shared/services/pg/BUILD.bazel index 3057abdde7c..4489d28a292 100644 --- a/src/shared/services/pg/BUILD.bazel +++ b/src/shared/services/pg/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/services/pg/pg.go b/src/shared/services/pg/pg.go index 31f53429149..3133c8c5158 100644 --- a/src/shared/services/pg/pg.go +++ b/src/shared/services/pg/pg.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pg import ( diff --git a/src/shared/services/pg/pg_test.go b/src/shared/services/pg/pg_test.go index 525f4eaf80d..52e40028c43 100644 --- a/src/shared/services/pg/pg_test.go +++ b/src/shared/services/pg/pg_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pg import ( diff --git a/src/shared/services/pgtest/BUILD.bazel b/src/shared/services/pgtest/BUILD.bazel index f0d7d71dbb0..aa80a147a39 100644 --- a/src/shared/services/pgtest/BUILD.bazel +++ b/src/shared/services/pgtest/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/services/pgtest/pgtest.go b/src/shared/services/pgtest/pgtest.go index 7d01c3d5b7f..38aa3cf9675 100644 --- a/src/shared/services/pgtest/pgtest.go +++ b/src/shared/services/pgtest/pgtest.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pgtest import ( diff --git a/src/shared/services/pgtest/pgtest_test.go b/src/shared/services/pgtest/pgtest_test.go index 3a42ebe2215..7022b8cda43 100644 --- a/src/shared/services/pgtest/pgtest_test.go +++ b/src/shared/services/pgtest/pgtest_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pgtest_test import ( diff --git a/src/shared/services/sentry.go b/src/shared/services/sentry.go index 294b485b3b0..1dd42027c96 100644 --- a/src/shared/services/sentry.go +++ b/src/shared/services/sentry.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package services import ( diff --git a/src/shared/services/sentryhook/BUILD.bazel b/src/shared/services/sentryhook/BUILD.bazel index 443dfcfd369..32870c666e7 100644 --- a/src/shared/services/sentryhook/BUILD.bazel +++ b/src/shared/services/sentryhook/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/shared/services/sentryhook/hook.go b/src/shared/services/sentryhook/hook.go index 9983852bb45..5a2eb527c8c 100644 --- a/src/shared/services/sentryhook/hook.go +++ b/src/shared/services/sentryhook/hook.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package sentryhook import ( diff --git a/src/shared/services/server/BUILD.bazel b/src/shared/services/server/BUILD.bazel index 7870d82bd2a..27ef3f84d39 100644 --- a/src/shared/services/server/BUILD.bazel +++ b/src/shared/services/server/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/services/server/grpc_server.go b/src/shared/services/server/grpc_server.go index 88a247d67ae..38ca6cbd437 100644 --- a/src/shared/services/server/grpc_server.go +++ b/src/shared/services/server/grpc_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package server import ( diff --git a/src/shared/services/server/grpc_server_test.go b/src/shared/services/server/grpc_server_test.go index 7694b16d049..cc632afdd21 100644 --- a/src/shared/services/server/grpc_server_test.go +++ b/src/shared/services/server/grpc_server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package server_test import ( diff --git a/src/shared/services/server/server.go b/src/shared/services/server/server.go index 382999bf2f6..3cf5a96e4a1 100644 --- a/src/shared/services/server/server.go +++ b/src/shared/services/server/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package server import ( diff --git a/src/shared/services/service_flags.go b/src/shared/services/service_flags.go index 1b7074789d1..276f080e2d5 100644 --- a/src/shared/services/service_flags.go +++ b/src/shared/services/service_flags.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package services import ( diff --git a/src/shared/services/testproto/BUILD.bazel b/src/shared/services/testproto/BUILD.bazel index 324feaea275..ee91d05117a 100644 --- a/src/shared/services/testproto/BUILD.bazel +++ b/src/shared/services/testproto/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") diff --git a/src/shared/services/testproto/ping.proto b/src/shared/services/testproto/ping.proto index 3f973d459c0..5ba52466591 100644 --- a/src/shared/services/testproto/ping.proto +++ b/src/shared/services/testproto/ping.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.common; diff --git a/src/shared/services/tls.go b/src/shared/services/tls.go index 64d649083e0..3714ed1cd5d 100644 --- a/src/shared/services/tls.go +++ b/src/shared/services/tls.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package services import ( diff --git a/src/shared/services/utils/BUILD.bazel b/src/shared/services/utils/BUILD.bazel index 7234bed93ad..fa5e8bb6d36 100644 --- a/src/shared/services/utils/BUILD.bazel +++ b/src/shared/services/utils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/shared/services/utils/claims.go b/src/shared/services/utils/claims.go index 523f2635fdd..f60b0dd5876 100644 --- a/src/shared/services/utils/claims.go +++ b/src/shared/services/utils/claims.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/shared/services/utils/claims_test.go b/src/shared/services/utils/claims_test.go index 17faca4d5dd..1bdda71102b 100644 --- a/src/shared/services/utils/claims_test.go +++ b/src/shared/services/utils/claims_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils_test import ( diff --git a/src/shared/tracepoint_translation/BUILD.bazel b/src/shared/tracepoint_translation/BUILD.bazel index 4e2a089e3c5..66c392589d3 100644 --- a/src/shared/tracepoint_translation/BUILD.bazel +++ b/src/shared/tracepoint_translation/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/shared/tracepoint_translation/translation.cc b/src/shared/tracepoint_translation/translation.cc index 6681de9d7bc..f92a874b01c 100644 --- a/src/shared/tracepoint_translation/translation.cc +++ b/src/shared/tracepoint_translation/translation.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/shared/tracepoint_translation/translation.h" namespace px { diff --git a/src/shared/tracepoint_translation/translation.h b/src/shared/tracepoint_translation/translation.h index e17850c83ed..35d7290a6ec 100644 --- a/src/shared/tracepoint_translation/translation.h +++ b/src/shared/tracepoint_translation/translation.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/planner/dynamic_tracing/ir/logicalpb/logical.pb.h" diff --git a/src/shared/tracepoint_translation/translation_test.cc b/src/shared/tracepoint_translation/translation_test.cc index 2f2a4c6d8db..6b52f9f7f88 100644 --- a/src/shared/tracepoint_translation/translation_test.cc +++ b/src/shared/tracepoint_translation/translation_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/types/BUILD.bazel b/src/shared/types/BUILD.bazel index fa26adcc1e0..6c682ad2415 100644 --- a/src/shared/types/BUILD.bazel +++ b/src/shared/types/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/shared/types/arrow_adapter.cc b/src/shared/types/arrow_adapter.cc index 59cae00ccee..f034a5252ef 100644 --- a/src/shared/types/arrow_adapter.cc +++ b/src/shared/types/arrow_adapter.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/shared/types/arrow_adapter.h b/src/shared/types/arrow_adapter.h index c7645972d16..b70e4d90f65 100644 --- a/src/shared/types/arrow_adapter.h +++ b/src/shared/types/arrow_adapter.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/types/arrow_adapter_test.cc b/src/shared/types/arrow_adapter_test.cc index 5220adbd4cf..a0d06275bf1 100644 --- a/src/shared/types/arrow_adapter_test.cc +++ b/src/shared/types/arrow_adapter_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/shared/types/arrow_adapter.h" diff --git a/src/shared/types/column_wrapper.h b/src/shared/types/column_wrapper.h index 724b2842b59..a2cf9a51172 100644 --- a/src/shared/types/column_wrapper.h +++ b/src/shared/types/column_wrapper.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/types/column_wrapper_test.cc b/src/shared/types/column_wrapper_test.cc index cf748ecb7bf..b35308b54b2 100644 --- a/src/shared/types/column_wrapper_test.cc +++ b/src/shared/types/column_wrapper_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/types/gotypes/BUILD.bazel b/src/shared/types/gotypes/BUILD.bazel index 2fd9ddb4212..926283206d3 100644 --- a/src/shared/types/gotypes/BUILD.bazel +++ b/src/shared/types/gotypes/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/shared/types/gotypes/types.go b/src/shared/types/gotypes/types.go index 9fddd97b9aa..cbe49e729dd 100644 --- a/src/shared/types/gotypes/types.go +++ b/src/shared/types/gotypes/types.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package gotypes import ( diff --git a/src/shared/types/gotypes/types_test.go b/src/shared/types/gotypes/types_test.go index f5e85124480..9a572b15f50 100644 --- a/src/shared/types/gotypes/types_test.go +++ b/src/shared/types/gotypes/types_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package gotypes import ( diff --git a/src/shared/types/hash_utils.h b/src/shared/types/hash_utils.h index 4d40bd45667..09d9407aff5 100644 --- a/src/shared/types/hash_utils.h +++ b/src/shared/types/hash_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/types/hash_utils_test.cc b/src/shared/types/hash_utils_test.cc index 9d9c5c6640a..33bb7bccc8d 100644 --- a/src/shared/types/hash_utils_test.cc +++ b/src/shared/types/hash_utils_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/shared/types/hash_utils.h" diff --git a/src/shared/types/type_utils.h b/src/shared/types/type_utils.h index 431eb569ae7..6966a58856f 100644 --- a/src/shared/types/type_utils.h +++ b/src/shared/types/type_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "third_party/arrow/cpp/src/arrow/type.h" diff --git a/src/shared/types/types.h b/src/shared/types/types.h index bc1fab17ab4..4bba1b6f48d 100644 --- a/src/shared/types/types.h +++ b/src/shared/types/types.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/shared/types/types_test.cc b/src/shared/types/types_test.cc index 93c318905a7..5c1928ca459 100644 --- a/src/shared/types/types_test.cc +++ b/src/shared/types/types_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/shared/types/type_utils.h" diff --git a/src/shared/types/typespb/BUILD.bazel b/src/shared/types/typespb/BUILD.bazel index 7edda372b73..7d27b9a35cd 100644 --- a/src/shared/types/typespb/BUILD.bazel +++ b/src/shared/types/typespb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library", "pl_py_proto_library") diff --git a/src/shared/types/typespb/types.proto b/src/shared/types/typespb/types.proto index 6f6fa134d6e..7089674c56d 100644 --- a/src/shared/types/typespb/types.proto +++ b/src/shared/types/typespb/types.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.types; diff --git a/src/shared/types/typespb/wrapper/BUILD.bazel b/src/shared/types/typespb/wrapper/BUILD.bazel index 89218bdc1d8..e60cab69cef 100644 --- a/src/shared/types/typespb/wrapper/BUILD.bazel +++ b/src/shared/types/typespb/wrapper/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") pl_cc_library( diff --git a/src/shared/types/typespb/wrapper/types_pb_wrapper.h b/src/shared/types/typespb/wrapper/types_pb_wrapper.h index a11d4c811a2..b00b0cefdda 100644 --- a/src/shared/types/typespb/wrapper/types_pb_wrapper.h +++ b/src/shared/types/typespb/wrapper/types_pb_wrapper.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/types/typespb/wrapper/types_pb_wrapper_test.cc b/src/shared/types/typespb/wrapper/types_pb_wrapper_test.cc index f696261bb13..554567372af 100644 --- a/src/shared/types/typespb/wrapper/types_pb_wrapper_test.cc +++ b/src/shared/types/typespb/wrapper/types_pb_wrapper_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/shared/types/typespb/wrapper/types_pb_wrapper.h" diff --git a/src/shared/types/wrapper_benchmark.cc b/src/shared/types/wrapper_benchmark.cc index 07742c8045e..843c14ed778 100644 --- a/src/shared/types/wrapper_benchmark.cc +++ b/src/shared/types/wrapper_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/shared/upid/BUILD.bazel b/src/shared/upid/BUILD.bazel index 15e9597279f..35608042067 100644 --- a/src/shared/upid/BUILD.bazel +++ b/src/shared/upid/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/shared/upid/upid.h b/src/shared/upid/upid.h index ce307ea0a26..623afe216bd 100644 --- a/src/shared/upid/upid.h +++ b/src/shared/upid/upid.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/upid/upid_benchmark.cc b/src/shared/upid/upid_benchmark.cc index d28163fe01e..6ec7d0a16fb 100644 --- a/src/shared/upid/upid_benchmark.cc +++ b/src/shared/upid/upid_benchmark.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/upid/upid_test.cc b/src/shared/upid/upid_test.cc index 558625f8e18..78e0a482d25 100644 --- a/src/shared/upid/upid_test.cc +++ b/src/shared/upid/upid_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/shared/version/BUILD.bazel b/src/shared/version/BUILD.bazel index c9c42001842..f8582738c01 100644 --- a/src/shared/version/BUILD.bazel +++ b/src/shared/version/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/shared/version/version.cc b/src/shared/version/version.cc index e8e0cc9a84a..ab040158e8d 100644 --- a/src/shared/version/version.cc +++ b/src/shared/version/version.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/shared/version/version.h b/src/shared/version/version.h index 0681b32278b..8359995208b 100644 --- a/src/shared/version/version.h +++ b/src/shared/version/version.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/shared/version/version_linkstamp.cc b/src/shared/version/version_linkstamp.cc index 085254b636f..aa319559b46 100644 --- a/src/shared/version/version_linkstamp.cc +++ b/src/shared/version/version_linkstamp.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include extern const char* kBuildSCMStatus; diff --git a/src/shared/vispb/BUILD.bazel b/src/shared/vispb/BUILD.bazel index 661c834ff74..d11451106ec 100644 --- a/src/shared/vispb/BUILD.bazel +++ b/src/shared/vispb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:grpc_web.bzl", "pl_grpc_web_library") # gazelle:ignore diff --git a/src/shared/vispb/vis.proto b/src/shared/vispb/vis.proto index 06a9fb7b68d..facc28756d0 100644 --- a/src/shared/vispb/vis.proto +++ b/src/shared/vispb/vis.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.vispb; diff --git a/src/stirling/proto/stirling.proto b/src/stirling/proto/stirling.proto index 62853a14ed1..19545cb574a 100644 --- a/src/stirling/proto/stirling.proto +++ b/src/stirling/proto/stirling.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.stirling.stirlingpb; diff --git a/src/stirling/proto/table_enums/cql_events.proto b/src/stirling/proto/table_enums/cql_events.proto index 6255a9335e7..68cca0e6cb1 100644 --- a/src/stirling/proto/table_enums/cql_events.proto +++ b/src/stirling/proto/table_enums/cql_events.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.stirling.tableenums.cqlpb; diff --git a/src/stirling/proto/table_enums/mysql_events.proto b/src/stirling/proto/table_enums/mysql_events.proto index e29a6722ec7..6dc52a5a7c3 100644 --- a/src/stirling/proto/table_enums/mysql_events.proto +++ b/src/stirling/proto/table_enums/mysql_events.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.stirling.tableenums.mysqlpb; diff --git a/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/logicalpb/logical.proto b/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/logicalpb/logical.proto index 163430ce452..678a0240fa4 100644 --- a/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/logicalpb/logical.proto +++ b/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/logicalpb/logical.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.stirling.dynamic_tracing.ir.logical; diff --git a/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/physicalpb/physical.proto b/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/physicalpb/physical.proto index 2fda87aaff9..effffffe8e3 100644 --- a/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/physicalpb/physical.proto +++ b/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/physicalpb/physical.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.stirling.dynamic_tracing.ir.physical; diff --git a/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/sharedpb/shared.proto b/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/sharedpb/shared.proto index a762b947cf2..ec5203a4eef 100644 --- a/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/sharedpb/shared.proto +++ b/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/ir/sharedpb/shared.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.stirling.dynamic_tracing.ir.shared; diff --git a/src/stirling/source_connectors/socket_tracer/proto/sock_event.proto b/src/stirling/source_connectors/socket_tracer/proto/sock_event.proto index 3e9a6c84c37..a1e369f6d20 100644 --- a/src/stirling/source_connectors/socket_tracer/proto/sock_event.proto +++ b/src/stirling/source_connectors/socket_tracer/proto/sock_event.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.stirling.sockeventpb; diff --git a/src/stirling/source_connectors/socket_tracer/protocols/http2/testing/proto/greet.proto b/src/stirling/source_connectors/socket_tracer/protocols/http2/testing/proto/greet.proto index 9bec9f8958b..b8bd167bc31 100644 --- a/src/stirling/source_connectors/socket_tracer/protocols/http2/testing/proto/greet.proto +++ b/src/stirling/source_connectors/socket_tracer/protocols/http2/testing/proto/greet.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.stirling.protocols.http2.testing; diff --git a/src/stirling/testing/demo_apps/go_grpc_tls_pl/server/greetpb/service.proto b/src/stirling/testing/demo_apps/go_grpc_tls_pl/server/greetpb/service.proto index 2747bc3d43e..909e333d950 100644 --- a/src/stirling/testing/demo_apps/go_grpc_tls_pl/server/greetpb/service.proto +++ b/src/stirling/testing/demo_apps/go_grpc_tls_pl/server/greetpb/service.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.go_grpc_tls_pl.server; diff --git a/src/stirling/testing/demo_apps/hipster_shop/proto/demo.proto b/src/stirling/testing/demo_apps/hipster_shop/proto/demo.proto index 7a30e17de39..6f46b61a13a 100644 --- a/src/stirling/testing/demo_apps/hipster_shop/proto/demo.proto +++ b/src/stirling/testing/demo_apps/hipster_shop/proto/demo.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Copied from https://github.com/GoogleCloudPlatform/microservices-demo/blob/master/pb/demo.proto. // Used for prototyping Stirling's gRPC reflection. diff --git a/src/stirling/testing/tcpdrop.bpftrace.pxl b/src/stirling/testing/tcpdrop.bpftrace.pxl index ab880deb9dc..29464173048 100644 --- a/src/stirling/testing/tcpdrop.bpftrace.pxl +++ b/src/stirling/testing/tcpdrop.bpftrace.pxl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import pxtrace # Adapted from https://github.com/iovisor/bpftrace/blob/master/tools/tcpdrop.bt diff --git a/src/table_store/BUILD.bazel b/src/table_store/BUILD.bazel index 61839951862..11a5d823d18 100644 --- a/src/table_store/BUILD.bazel +++ b/src/table_store/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test_library") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/table_store/schema/BUILD.bazel b/src/table_store/schema/BUILD.bazel index 02de5261ba1..13daa5e2925 100644 --- a/src/table_store/schema/BUILD.bazel +++ b/src/table_store/schema/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/table_store/schema/relation.cc b/src/table_store/schema/relation.cc index 876f7d86b91..d2dd526540f 100644 --- a/src/table_store/schema/relation.cc +++ b/src/table_store/schema/relation.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/table_store/schema/relation.h b/src/table_store/schema/relation.h index 6c0466349b6..e212970bc89 100644 --- a/src/table_store/schema/relation.h +++ b/src/table_store/schema/relation.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/table_store/schema/relation_test.cc b/src/table_store/schema/relation_test.cc index 0f8d227e608..09ee5c9a3bb 100644 --- a/src/table_store/schema/relation_test.cc +++ b/src/table_store/schema/relation_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/common/testing/testing.h" diff --git a/src/table_store/schema/row_batch.cc b/src/table_store/schema/row_batch.cc index df77b0c68ec..405f5c6b763 100644 --- a/src/table_store/schema/row_batch.cc +++ b/src/table_store/schema/row_batch.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/table_store/schema/row_batch.h b/src/table_store/schema/row_batch.h index 6d79c49aa0a..6474cfe63ce 100644 --- a/src/table_store/schema/row_batch.h +++ b/src/table_store/schema/row_batch.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/table_store/schema/row_batch_test.cc b/src/table_store/schema/row_batch_test.cc index 2686654f8b2..8599b85e83f 100644 --- a/src/table_store/schema/row_batch_test.cc +++ b/src/table_store/schema/row_batch_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/table_store/schema/row_descriptor.h b/src/table_store/schema/row_descriptor.h index eb0107345bc..622468e883c 100644 --- a/src/table_store/schema/row_descriptor.h +++ b/src/table_store/schema/row_descriptor.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/table_store/schema/schema.cc b/src/table_store/schema/schema.cc index 8a476c9508d..2bf69f801bf 100644 --- a/src/table_store/schema/schema.cc +++ b/src/table_store/schema/schema.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/table_store/schema/schema.h b/src/table_store/schema/schema.h index 3a5f8e480c4..e8c90d07d16 100644 --- a/src/table_store/schema/schema.h +++ b/src/table_store/schema/schema.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/table_store/schema/schema_test.cc b/src/table_store/schema/schema_test.cc index 1aa257a72c5..6741be5d3f9 100644 --- a/src/table_store/schema/schema_test.cc +++ b/src/table_store/schema/schema_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/table_store/schema/schema.h" diff --git a/src/table_store/schemapb/BUILD.bazel b/src/table_store/schemapb/BUILD.bazel index 8a62acba996..eb6959dd08b 100644 --- a/src/table_store/schemapb/BUILD.bazel +++ b/src/table_store/schemapb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/table_store/schemapb/schema.proto b/src/table_store/schemapb/schema.proto index 43e0cd000c7..165264c3a7b 100644 --- a/src/table_store/schemapb/schema.proto +++ b/src/table_store/schemapb/schema.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.table_store.schemapb; diff --git a/src/table_store/schemapb/types/BUILD.bazel b/src/table_store/schemapb/types/BUILD.bazel index b9a7a624c25..0f7f1614e44 100644 --- a/src/table_store/schemapb/types/BUILD.bazel +++ b/src/table_store/schemapb/types/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/table_store/schemapb/types/string_data.go b/src/table_store/schemapb/types/string_data.go index 2d75bee1990..c3919141fed 100644 --- a/src/table_store/schemapb/types/string_data.go +++ b/src/table_store/schemapb/types/string_data.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package types import ( diff --git a/src/table_store/table/BUILD.bazel b/src/table_store/table/BUILD.bazel index 205bb5a51ea..15a6db7f945 100644 --- a/src/table_store/table/BUILD.bazel +++ b/src/table_store/table/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test") package(default_visibility = ["//src:__subpackages__"]) diff --git a/src/table_store/table/table.cc b/src/table_store/table/table.cc index 04123e5ad72..0e9b69be6a3 100644 --- a/src/table_store/table/table.cc +++ b/src/table_store/table/table.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/table_store/table/table.h b/src/table_store/table/table.h index 8bc91de0736..b5c2cbf781b 100644 --- a/src/table_store/table/table.h +++ b/src/table_store/table/table.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/table_store/table/table_store.cc b/src/table_store/table/table_store.cc index 738cb74da03..bfed12420b0 100644 --- a/src/table_store/table/table_store.cc +++ b/src/table_store/table/table_store.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/table_store/table/table_store.h b/src/table_store/table/table_store.h index 86ca57d9aa9..61e4ad0f4c0 100644 --- a/src/table_store/table/table_store.h +++ b/src/table_store/table/table_store.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/table_store/table/table_store_test.cc b/src/table_store/table/table_store_test.cc index 14039825fa6..03e24073052 100644 --- a/src/table_store/table/table_store_test.cc +++ b/src/table_store/table/table_store_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/table_store/table/table_test.cc b/src/table_store/table/table_test.cc index b3168a26e12..028a0a3a3a3 100644 --- a/src/table_store/table/table_test.cc +++ b/src/table_store/table/table_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/table_store/table/tablets_group.cc b/src/table_store/table/tablets_group.cc index 35a84ffc360..7a9c0f80f90 100644 --- a/src/table_store/table/tablets_group.cc +++ b/src/table_store/table/tablets_group.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/table_store/table/tablets_group.h" namespace px { diff --git a/src/table_store/table/tablets_group.h b/src/table_store/table/tablets_group.h index 7c3004b49e9..37a08c740e7 100644 --- a/src/table_store/table/tablets_group.h +++ b/src/table_store/table/tablets_group.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/table_store/table/tablets_group_test.cc b/src/table_store/table/tablets_group_test.cc index f0c039fb751..04cda464bb9 100644 --- a/src/table_store/table/tablets_group_test.cc +++ b/src/table_store/table/tablets_group_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/table_store/table_store.h b/src/table_store/table_store.h index e82446c5cc3..f87dfa30f25 100644 --- a/src/table_store/table_store.h +++ b/src/table_store/table_store.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/table_store/schema/relation.h" // IWYU pragma: export diff --git a/src/table_store/test_utils.h b/src/table_store/test_utils.h index af612f69e4e..84485561245 100644 --- a/src/table_store/test_utils.h +++ b/src/table_store/test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/ui/BUILD.bazel b/src/ui/BUILD.bazel index fe7d8d3e203..146bd2f62bc 100644 --- a/src/ui/BUILD.bazel +++ b/src/ui/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load( "//bazel:ui.bzl", "pl_deps_licenses", diff --git a/src/ui/jest.config.js b/src/ui/jest.config.js index 2d60808484e..7b364ddda89 100644 --- a/src/ui/jest.config.js +++ b/src/ui/jest.config.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + module.exports = { globals: { window: true, diff --git a/src/ui/packages/pixie-api-react/jest.config.js b/src/ui/packages/pixie-api-react/jest.config.js index 7068a428b44..b7cdfc4aa9b 100644 --- a/src/ui/packages/pixie-api-react/jest.config.js +++ b/src/ui/packages/pixie-api-react/jest.config.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + module.exports = { rootDir: '.', globals: { diff --git a/src/ui/packages/pixie-api-react/rollup.config.js b/src/ui/packages/pixie-api-react/rollup.config.js index 883ae2e2781..9660f748fa7 100644 --- a/src/ui/packages/pixie-api-react/rollup.config.js +++ b/src/ui/packages/pixie-api-react/rollup.config.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import commonjs from '@rollup/plugin-commonjs'; import peerDepsExternal from 'rollup-plugin-peer-deps-external'; import resolve from '@rollup/plugin-node-resolve'; diff --git a/src/ui/packages/pixie-api-react/src/api-context.test.tsx b/src/ui/packages/pixie-api-react/src/api-context.test.tsx index 40e42d99be2..a5350eb5fea 100644 --- a/src/ui/packages/pixie-api-react/src/api-context.test.tsx +++ b/src/ui/packages/pixie-api-react/src/api-context.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { screen, render } from '@testing-library/react'; // noinspection ES6PreferShortImport diff --git a/src/ui/packages/pixie-api-react/src/api-context.tsx b/src/ui/packages/pixie-api-react/src/api-context.tsx index 3c5e3840498..be6408ff10b 100644 --- a/src/ui/packages/pixie-api-react/src/api-context.tsx +++ b/src/ui/packages/pixie-api-react/src/api-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { ApolloProvider } from '@apollo/client/react'; import { PixieAPIClientAbstract, PixieAPIClient, PixieAPIClientOptions } from '@pixie-labs/api'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/index.ts b/src/ui/packages/pixie-api-react/src/hooks/index.ts index c32ee94a654..e6f076640c9 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/index.ts +++ b/src/ui/packages/pixie-api-react/src/hooks/index.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export * from './use-api-keys'; export * from './use-autocomplete'; export * from './use-autocomplete-field'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-api-keys.test.tsx b/src/ui/packages/pixie-api-react/src/hooks/use-api-keys.test.tsx index 677390042db..bacbe542854 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-api-keys.test.tsx +++ b/src/ui/packages/pixie-api-react/src/hooks/use-api-keys.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { API_KEY_QUERIES } from '@pixie-labs/api'; import { ApolloError } from '@apollo/client'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-api-keys.ts b/src/ui/packages/pixie-api-react/src/hooks/use-api-keys.ts index 3d7b5c9da35..05ea9dc8131 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-api-keys.ts +++ b/src/ui/packages/pixie-api-react/src/hooks/use-api-keys.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { useQuery, useMutation } from '@apollo/client/react'; import { API_KEY_QUERIES, GQLAPIKey } from '@pixie-labs/api'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete-field.test.tsx b/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete-field.test.tsx index 416bb26b594..4111db48c18 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete-field.test.tsx +++ b/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete-field.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { AUTOCOMPLETE_QUERIES, GQLAutocompleteEntityKind, GQLAutocompleteSuggestion } from '@pixie-labs/api'; import { ApolloError } from '@apollo/client'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete-field.ts b/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete-field.ts index f62b54da37e..47a7698c2d3 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete-field.ts +++ b/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete-field.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { AUTOCOMPLETE_QUERIES, GQLAutocompleteEntityKind, diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete.test.tsx b/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete.test.tsx index a23e3156964..d2f49ce1118 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete.test.tsx +++ b/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { AUTOCOMPLETE_QUERIES, diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete.ts b/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete.ts index 233b158d3db..a8fcd7b8b95 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete.ts +++ b/src/ui/packages/pixie-api-react/src/hooks/use-autocomplete.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { AUTOCOMPLETE_QUERIES, diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-cluster-control-plane-pods.test.tsx b/src/ui/packages/pixie-api-react/src/hooks/use-cluster-control-plane-pods.test.tsx index 513960edba7..668919382db 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-cluster-control-plane-pods.test.tsx +++ b/src/ui/packages/pixie-api-react/src/hooks/use-cluster-control-plane-pods.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { CLUSTER_QUERIES } from '@pixie-labs/api'; import { ApolloError } from '@apollo/client'; import { itPassesBasicHookTests } from '../testing/hook-testing-boilerplate'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-cluster-control-plane-pods.ts b/src/ui/packages/pixie-api-react/src/hooks/use-cluster-control-plane-pods.ts index 4e1206dc75c..d4726dd3282 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-cluster-control-plane-pods.ts +++ b/src/ui/packages/pixie-api-react/src/hooks/use-cluster-control-plane-pods.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { useQuery } from '@apollo/client/react'; import { CLUSTER_QUERIES, GQLClusterInfo } from '@pixie-labs/api'; // noinspection ES6PreferShortImport diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-deployment-keys.test.tsx b/src/ui/packages/pixie-api-react/src/hooks/use-deployment-keys.test.tsx index c389c9beb57..ac5b8f0439d 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-deployment-keys.test.tsx +++ b/src/ui/packages/pixie-api-react/src/hooks/use-deployment-keys.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { DEPLOYMENT_KEY_QUERIES } from '@pixie-labs/api'; import { ApolloError } from '@apollo/client'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-deployment-keys.ts b/src/ui/packages/pixie-api-react/src/hooks/use-deployment-keys.ts index 4085a48290c..38467471efb 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-deployment-keys.ts +++ b/src/ui/packages/pixie-api-react/src/hooks/use-deployment-keys.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { useQuery, useMutation } from '@apollo/client/react'; import { DEPLOYMENT_KEY_QUERIES, GQLDeploymentKey } from '@pixie-labs/api'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-is-authenticated.test.tsx b/src/ui/packages/pixie-api-react/src/hooks/use-is-authenticated.test.tsx index d48e513cb6e..662ca207116 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-is-authenticated.test.tsx +++ b/src/ui/packages/pixie-api-react/src/hooks/use-is-authenticated.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { render, RenderResult, act } from '@testing-library/react'; import fetch from 'cross-fetch'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-is-authenticated.ts b/src/ui/packages/pixie-api-react/src/hooks/use-is-authenticated.ts index b5b887d69b2..3c71e35d20f 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-is-authenticated.ts +++ b/src/ui/packages/pixie-api-react/src/hooks/use-is-authenticated.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { PixieAPIContext } from 'api-context'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-list-clusters.test.tsx b/src/ui/packages/pixie-api-react/src/hooks/use-list-clusters.test.tsx index e99624dc77f..81b77f94b07 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-list-clusters.test.tsx +++ b/src/ui/packages/pixie-api-react/src/hooks/use-list-clusters.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { CLUSTER_QUERIES } from '@pixie-labs/api'; import { ApolloError } from '@apollo/client'; import { itPassesBasicHookTests } from '../testing/hook-testing-boilerplate'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-list-clusters.ts b/src/ui/packages/pixie-api-react/src/hooks/use-list-clusters.ts index aa43057515a..46b1f0e37aa 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-list-clusters.ts +++ b/src/ui/packages/pixie-api-react/src/hooks/use-list-clusters.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { useQuery } from '@apollo/client/react'; import { CLUSTER_QUERIES, GQLClusterInfo } from '@pixie-labs/api'; // noinspection ES6PreferShortImport diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-setting.test.tsx b/src/ui/packages/pixie-api-react/src/hooks/use-setting.test.tsx index 2ccd5b3085d..c695ea7801b 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-setting.test.tsx +++ b/src/ui/packages/pixie-api-react/src/hooks/use-setting.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { MockedProvider } from '@apollo/client/testing'; import { act, render, RenderResult } from '@testing-library/react'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-setting.ts b/src/ui/packages/pixie-api-react/src/hooks/use-setting.ts index d971cb99cd7..13d1ff5e2a5 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-setting.ts +++ b/src/ui/packages/pixie-api-react/src/hooks/use-setting.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { UserSettings, DEFAULT_USER_SETTINGS, USER_QUERIES } from '@pixie-labs/api'; import { useMutation, useQuery } from '@apollo/client/react'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-user-info.test.tsx b/src/ui/packages/pixie-api-react/src/hooks/use-user-info.test.tsx index aac7e5cffbe..9a701fcf6e8 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-user-info.test.tsx +++ b/src/ui/packages/pixie-api-react/src/hooks/use-user-info.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { USER_QUERIES } from '@pixie-labs/api'; import { MockedProvider } from '@apollo/client/testing'; diff --git a/src/ui/packages/pixie-api-react/src/hooks/use-user-info.ts b/src/ui/packages/pixie-api-react/src/hooks/use-user-info.ts index b38238cde9f..55b457d9802 100644 --- a/src/ui/packages/pixie-api-react/src/hooks/use-user-info.ts +++ b/src/ui/packages/pixie-api-react/src/hooks/use-user-info.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { useQuery } from '@apollo/client/react'; import { USER_QUERIES, GQLUserInfo } from '@pixie-labs/api'; import { ImmutablePixieQueryResult } from '../utils/types'; diff --git a/src/ui/packages/pixie-api-react/src/index.ts b/src/ui/packages/pixie-api-react/src/index.ts index 0aad30c8006..5e7cdc96423 100644 --- a/src/ui/packages/pixie-api-react/src/index.ts +++ b/src/ui/packages/pixie-api-react/src/index.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export { PixieAPIContext, PixieAPIContextProvider, PixieAPIContextProviderProps } from './api-context'; export * from './hooks'; diff --git a/src/ui/packages/pixie-api-react/src/testing/hook-testing-boilerplate.tsx b/src/ui/packages/pixie-api-react/src/testing/hook-testing-boilerplate.tsx index e2c7ba956ca..5c2a86e3117 100644 --- a/src/ui/packages/pixie-api-react/src/testing/hook-testing-boilerplate.tsx +++ b/src/ui/packages/pixie-api-react/src/testing/hook-testing-boilerplate.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { MockedResponse, MockedProvider } from '@apollo/client/testing'; import { diff --git a/src/ui/packages/pixie-api-react/src/testing/index.ts b/src/ui/packages/pixie-api-react/src/testing/index.ts index 6a14397ef13..0cdebfc91ab 100644 --- a/src/ui/packages/pixie-api-react/src/testing/index.ts +++ b/src/ui/packages/pixie-api-react/src/testing/index.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export * from './mocks/api-context.mock'; export * from './utils'; export * from './hook-testing-boilerplate'; diff --git a/src/ui/packages/pixie-api-react/src/testing/jest-test-setup.js b/src/ui/packages/pixie-api-react/src/testing/jest-test-setup.js index a7f18f04520..99fd236adbb 100644 --- a/src/ui/packages/pixie-api-react/src/testing/jest-test-setup.js +++ b/src/ui/packages/pixie-api-react/src/testing/jest-test-setup.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Setup mock object for local storage. const localStorageMock = (() => { let store = {}; diff --git a/src/ui/packages/pixie-api-react/src/testing/mocks/api-context.mock.tsx b/src/ui/packages/pixie-api-react/src/testing/mocks/api-context.mock.tsx index 7b865bc7aa5..2501d52fce5 100644 --- a/src/ui/packages/pixie-api-react/src/testing/mocks/api-context.mock.tsx +++ b/src/ui/packages/pixie-api-react/src/testing/mocks/api-context.mock.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { MockPixieAPIClient } from '@pixie-labs/api'; import { PixieAPIContext, PixieAPIContextProviderProps } from 'api-context'; diff --git a/src/ui/packages/pixie-api-react/src/testing/utils.ts b/src/ui/packages/pixie-api-react/src/testing/utils.ts index 60752b1f98a..78b7da54f79 100644 --- a/src/ui/packages/pixie-api-react/src/testing/utils.ts +++ b/src/ui/packages/pixie-api-react/src/testing/utils.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { act } from '@testing-library/react'; export const waitNoAct = async (t = 0): Promise => new Promise((resolve) => { diff --git a/src/ui/packages/pixie-api-react/src/utils/types.ts b/src/ui/packages/pixie-api-react/src/utils/types.ts index b9eaf851b84..88597cdfdff 100644 --- a/src/ui/packages/pixie-api-react/src/utils/types.ts +++ b/src/ui/packages/pixie-api-react/src/utils/types.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { ApolloError } from '@apollo/client'; diff --git a/src/ui/packages/pixie-api/jest.config.js b/src/ui/packages/pixie-api/jest.config.js index 0ad7fa3d004..b119e0645e7 100644 --- a/src/ui/packages/pixie-api/jest.config.js +++ b/src/ui/packages/pixie-api/jest.config.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + module.exports = { globals: { window: true, diff --git a/src/ui/packages/pixie-api/rollup.config.js b/src/ui/packages/pixie-api/rollup.config.js index 9c884f6de58..ace6d72c133 100644 --- a/src/ui/packages/pixie-api/rollup.config.js +++ b/src/ui/packages/pixie-api/rollup.config.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import commonjs from '@rollup/plugin-commonjs'; import peerDepsExternal from 'rollup-plugin-peer-deps-external'; import resolve from '@rollup/plugin-node-resolve'; diff --git a/src/ui/packages/pixie-api/src/api.test.ts b/src/ui/packages/pixie-api/src/api.test.ts index 058c40d9c2a..0e00910b227 100644 --- a/src/ui/packages/pixie-api/src/api.test.ts +++ b/src/ui/packages/pixie-api/src/api.test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import fetch from 'cross-fetch'; import { PixieAPIClient } from './api'; import { CloudClient } from './cloud-gql-client'; diff --git a/src/ui/packages/pixie-api/src/api.ts b/src/ui/packages/pixie-api/src/api.ts index 4f86303c01d..21b40b738c2 100644 --- a/src/ui/packages/pixie-api/src/api.ts +++ b/src/ui/packages/pixie-api/src/api.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* eslint-disable max-classes-per-file */ import { Observable, from } from 'rxjs'; diff --git a/src/ui/packages/pixie-api/src/cloud-gql-client.test.ts b/src/ui/packages/pixie-api/src/cloud-gql-client.test.ts index 91593a46e28..434d85d88d7 100644 --- a/src/ui/packages/pixie-api/src/cloud-gql-client.test.ts +++ b/src/ui/packages/pixie-api/src/cloud-gql-client.test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { ApolloQueryResult } from '@apollo/client/core'; import { CloudClient } from './cloud-gql-client'; import { mockApolloClient, Invocation } from './testing'; diff --git a/src/ui/packages/pixie-api/src/cloud-gql-client.ts b/src/ui/packages/pixie-api/src/cloud-gql-client.ts index 9431cb6ebe7..2bd4ed55e66 100644 --- a/src/ui/packages/pixie-api/src/cloud-gql-client.ts +++ b/src/ui/packages/pixie-api/src/cloud-gql-client.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { ApolloClient, InMemoryCache, diff --git a/src/ui/packages/pixie-api/src/gql-queries.ts b/src/ui/packages/pixie-api/src/gql-queries.ts index 5f8b259f7c7..83087db9c6e 100644 --- a/src/ui/packages/pixie-api/src/gql-queries.ts +++ b/src/ui/packages/pixie-api/src/gql-queries.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import gql from 'graphql-tag'; // noinspection ES6PreferShortImport diff --git a/src/ui/packages/pixie-api/src/index.ts b/src/ui/packages/pixie-api/src/index.ts index f4380562f91..fb3b9d4f02c 100644 --- a/src/ui/packages/pixie-api/src/index.ts +++ b/src/ui/packages/pixie-api/src/index.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export { PixieAPIClient, PixieAPIClientAbstract, ClusterConfig, } from './api'; diff --git a/src/ui/packages/pixie-api/src/testing/boilerplate.ts b/src/ui/packages/pixie-api/src/testing/boilerplate.ts index fc3b3cdc424..812cb141846 100644 --- a/src/ui/packages/pixie-api/src/testing/boilerplate.ts +++ b/src/ui/packages/pixie-api/src/testing/boilerplate.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import type { ApolloClient } from '@apollo/client/core'; import * as apolloDependency from '@apollo/client/core'; diff --git a/src/ui/packages/pixie-api/src/testing/index.ts b/src/ui/packages/pixie-api/src/testing/index.ts index 4392501165a..435b753a8ec 100644 --- a/src/ui/packages/pixie-api/src/testing/index.ts +++ b/src/ui/packages/pixie-api/src/testing/index.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export * from './mocks/api.mock'; export * from './boilerplate'; export * from './utils'; diff --git a/src/ui/packages/pixie-api/src/testing/mocks/api.mock.ts b/src/ui/packages/pixie-api/src/testing/mocks/api.mock.ts index 3649dd84171..252792982ca 100644 --- a/src/ui/packages/pixie-api/src/testing/mocks/api.mock.ts +++ b/src/ui/packages/pixie-api/src/testing/mocks/api.mock.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // TODO(nick): This file needs implementation to make gRPC testing possible. // For the moment, ignoring most lint and inspection rules. diff --git a/src/ui/packages/pixie-api/src/testing/utils.ts b/src/ui/packages/pixie-api/src/testing/utils.ts index f4c132263fb..9a96100ea3f 100644 --- a/src/ui/packages/pixie-api/src/testing/utils.ts +++ b/src/ui/packages/pixie-api/src/testing/utils.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // This type finds the names of each method on a class, as well as the parameters of those methods. export type Invocation = { [Key in keyof Class]: Class[Key] extends (...args: infer Params) => any diff --git a/src/ui/packages/pixie-api/src/types/client-options.d.ts b/src/ui/packages/pixie-api/src/types/client-options.d.ts index 6f762ed9d19..f7bb2d5c880 100644 --- a/src/ui/packages/pixie-api/src/types/client-options.d.ts +++ b/src/ui/packages/pixie-api/src/types/client-options.d.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /** * Options object to pass as the `options` argument to @link{PixieAPIClient#create}. * Default behavior is to connect to Pixie Cloud. diff --git a/src/ui/packages/pixie-api/src/types/schema.d.ts b/src/ui/packages/pixie-api/src/types/schema.d.ts index 825b70b3db6..b9adf14fdd1 100644 --- a/src/ui/packages/pixie-api/src/types/schema.d.ts +++ b/src/ui/packages/pixie-api/src/types/schema.d.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* tslint:disable */ /* eslint-disable */ import { GraphQLResolveInfo } from 'graphql'; diff --git a/src/ui/packages/pixie-api/src/user-settings.ts b/src/ui/packages/pixie-api/src/user-settings.ts index 74f46c1848b..17702716d18 100644 --- a/src/ui/packages/pixie-api/src/user-settings.ts +++ b/src/ui/packages/pixie-api/src/user-settings.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export interface UserSettings { tourSeen: boolean; } diff --git a/src/ui/packages/pixie-api/src/utils/pxl.ts b/src/ui/packages/pixie-api/src/utils/pxl.ts index 5edee6fa13c..ba44b9e4ac5 100644 --- a/src/ui/packages/pixie-api/src/utils/pxl.ts +++ b/src/ui/packages/pixie-api/src/utils/pxl.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // If the pxl script contains any of the following strings, it contains a mutation. const pxlMutations = [ 'from pxtrace', diff --git a/src/ui/packages/pixie-api/src/vizier-grpc-client.ts b/src/ui/packages/pixie-api/src/vizier-grpc-client.ts index 2a063bc9f15..19cbf8ce40d 100644 --- a/src/ui/packages/pixie-api/src/vizier-grpc-client.ts +++ b/src/ui/packages/pixie-api/src/vizier-grpc-client.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { Observable, throwError } from 'rxjs'; import { catchError, timeout } from 'rxjs/operators'; import { VizierQueryError } from './vizier'; diff --git a/src/ui/packages/pixie-api/src/vizier.ts b/src/ui/packages/pixie-api/src/vizier.ts index fcee7a58f2b..95047e8dc82 100644 --- a/src/ui/packages/pixie-api/src/vizier.ts +++ b/src/ui/packages/pixie-api/src/vizier.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { Status } from './types/generated/vizierapi_pb'; export type VizierQueryErrorType = 'script' | 'vis' | 'execution' | 'server'; diff --git a/src/ui/packages/pixie-components/.storybook/main.js b/src/ui/packages/pixie-components/.storybook/main.js index d5c49afdacf..e2341b6525c 100644 --- a/src/ui/packages/pixie-components/.storybook/main.js +++ b/src/ui/packages/pixie-components/.storybook/main.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + const path = require('path'); module.exports = { diff --git a/src/ui/packages/pixie-components/.storybook/manager.js b/src/ui/packages/pixie-components/.storybook/manager.js index fb5ace7c581..55d5f43a520 100644 --- a/src/ui/packages/pixie-components/.storybook/manager.js +++ b/src/ui/packages/pixie-components/.storybook/manager.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { addons } from '@storybook/addons'; import { themes } from '@storybook/theming'; diff --git a/src/ui/packages/pixie-components/.storybook/mui-theme-decorator.tsx b/src/ui/packages/pixie-components/.storybook/mui-theme-decorator.tsx index 1d86a5535ab..213be069cf3 100644 --- a/src/ui/packages/pixie-components/.storybook/mui-theme-decorator.tsx +++ b/src/ui/packages/pixie-components/.storybook/mui-theme-decorator.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { DARK_THEME } from 'mui-theme'; diff --git a/src/ui/packages/pixie-components/.storybook/preview.js b/src/ui/packages/pixie-components/.storybook/preview.js index 8d19d501a10..0d3eddd87a7 100644 --- a/src/ui/packages/pixie-components/.storybook/preview.js +++ b/src/ui/packages/pixie-components/.storybook/preview.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { addDecorator } from '@storybook/react'; import { themes } from '@storybook/theming'; import withTheme from './mui-theme-decorator'; diff --git a/src/ui/packages/pixie-components/jest.config.js b/src/ui/packages/pixie-components/jest.config.js index 47a14601f3c..493ad5c3fac 100644 --- a/src/ui/packages/pixie-components/jest.config.js +++ b/src/ui/packages/pixie-components/jest.config.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + module.exports = { globals: { window: true, diff --git a/src/ui/packages/pixie-components/rollup.config.js b/src/ui/packages/pixie-components/rollup.config.js index 383268700c3..be4c73a4e8e 100644 --- a/src/ui/packages/pixie-components/rollup.config.js +++ b/src/ui/packages/pixie-components/rollup.config.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import commonjs from '@rollup/plugin-commonjs'; import peerDepsExternal from 'rollup-plugin-peer-deps-external'; import postcss from 'rollup-plugin-postcss'; diff --git a/src/ui/packages/pixie-components/src/components/auth/auth-box.stories.tsx b/src/ui/packages/pixie-components/src/components/auth/auth-box.stories.tsx index 380d7a91b95..69ee52629bb 100644 --- a/src/ui/packages/pixie-components/src/components/auth/auth-box.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/auth-box.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { FrameElement } from 'utils/frame-utils'; diff --git a/src/ui/packages/pixie-components/src/components/auth/auth-box.tsx b/src/ui/packages/pixie-components/src/components/auth/auth-box.tsx index 0f69739ff1d..e6417dec5a9 100644 --- a/src/ui/packages/pixie-components/src/components/auth/auth-box.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/auth-box.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // This is the primary auth box, which has either the login or signin variant. import * as React from 'react'; import { diff --git a/src/ui/packages/pixie-components/src/components/auth/auth-error.tsx b/src/ui/packages/pixie-components/src/components/auth/auth-error.tsx index cba5ab774cb..ef244e269fc 100644 --- a/src/ui/packages/pixie-components/src/components/auth/auth-error.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/auth-error.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; export const AuthErrorSvg = (props) => ( diff --git a/src/ui/packages/pixie-components/src/components/auth/footer.stories.tsx b/src/ui/packages/pixie-components/src/components/auth/footer.stories.tsx index ffa35b63242..b58018af620 100644 --- a/src/ui/packages/pixie-components/src/components/auth/footer.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/footer.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { FrameElement } from 'utils/frame-utils'; diff --git a/src/ui/packages/pixie-components/src/components/auth/footer.tsx b/src/ui/packages/pixie-components/src/components/auth/footer.tsx index 2f9120b5aa8..3916dfabdd4 100644 --- a/src/ui/packages/pixie-components/src/components/auth/footer.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/footer.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { createStyles, diff --git a/src/ui/packages/pixie-components/src/components/auth/message.stories.tsx b/src/ui/packages/pixie-components/src/components/auth/message.stories.tsx index bfe7a208640..48b03063cf4 100644 --- a/src/ui/packages/pixie-components/src/components/auth/message.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/message.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { FrameElement } from 'utils/frame-utils'; diff --git a/src/ui/packages/pixie-components/src/components/auth/message.tsx b/src/ui/packages/pixie-components/src/components/auth/message.tsx index 91e785b12b0..ff68365b4e7 100644 --- a/src/ui/packages/pixie-components/src/components/auth/message.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/message.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { createStyles, diff --git a/src/ui/packages/pixie-components/src/components/auth/pixienaut-balloon.tsx b/src/ui/packages/pixie-components/src/components/auth/pixienaut-balloon.tsx index 4d7f4fc1127..d57666c3cb6 100644 --- a/src/ui/packages/pixie-components/src/components/auth/pixienaut-balloon.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/pixienaut-balloon.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; export const PixienautBalloonSvg = (props) => ( diff --git a/src/ui/packages/pixie-components/src/components/auth/pixienaut-box.tsx b/src/ui/packages/pixie-components/src/components/auth/pixienaut-box.tsx index dbc157f338e..918e5838e21 100644 --- a/src/ui/packages/pixie-components/src/components/auth/pixienaut-box.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/pixienaut-box.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { createStyles, diff --git a/src/ui/packages/pixie-components/src/components/auth/pixienaut-octopus.tsx b/src/ui/packages/pixie-components/src/components/auth/pixienaut-octopus.tsx index 2f10f522d5b..49382b92006 100644 --- a/src/ui/packages/pixie-components/src/components/auth/pixienaut-octopus.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/pixienaut-octopus.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import React from 'react'; export const PixienautOctopusSvg = (props) => ( diff --git a/src/ui/packages/pixie-components/src/components/auth/pixienaut-toilet.tsx b/src/ui/packages/pixie-components/src/components/auth/pixienaut-toilet.tsx index fa3715f20a8..ee81780ecf5 100644 --- a/src/ui/packages/pixie-components/src/components/auth/pixienaut-toilet.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/pixienaut-toilet.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import React from 'react'; export const PixienautToiletSvg = (props) => ( diff --git a/src/ui/packages/pixie-components/src/components/auth/signup-marcom.stories.tsx b/src/ui/packages/pixie-components/src/components/auth/signup-marcom.stories.tsx index ac15a0d5b62..3ea78f540c1 100644 --- a/src/ui/packages/pixie-components/src/components/auth/signup-marcom.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/signup-marcom.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { FrameElement } from 'utils/frame-utils'; diff --git a/src/ui/packages/pixie-components/src/components/auth/signup-marcom.tsx b/src/ui/packages/pixie-components/src/components/auth/signup-marcom.tsx index 47afdfcddef..4612082dbd9 100644 --- a/src/ui/packages/pixie-components/src/components/auth/signup-marcom.tsx +++ b/src/ui/packages/pixie-components/src/components/auth/signup-marcom.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { Grid, diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete-context.ts b/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete-context.ts index 9e75c383e1a..57624f6e274 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete-context.ts +++ b/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete-context.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; export interface AutocompleteContextProps { diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete.stories.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete.stories.tsx index 0ff3631012c..2704ff9e217 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import Axios from 'axios'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete.tsx index a7854c0fe7b..c80f94bb037 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/autocomplete.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete-input.test.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete-input.test.tsx index d755e463193..e821f9d81ba 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete-input.test.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete-input.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { shallow } from 'enzyme'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete-input.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete-input.tsx index 2aedbcc120d..1f6840cac69 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete-input.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete-input.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete.stories.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete.stories.tsx index 535796277b0..e046acde043 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { CommandAutocompleteInput } from './command-autocomplete-input'; import { CommandAutocomplete } from './command-autocomplete'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete.tsx index f307d7b1218..398f58ec6e5 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/command-autocomplete.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/completions.test.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/completions.test.tsx index f4e9a70189d..eef406517b6 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/completions.test.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/completions.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { shallow } from 'enzyme'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/completions.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/completions.tsx index 96dedf40b2e..81000972def 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/completions.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/completions.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/form.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/form.tsx index 62b96748a88..db57017382e 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/form.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/form.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { createStyles, makeStyles, Theme } from '@material-ui/core/styles'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/input.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/input.tsx index 408aa5f552c..ff285af9b5b 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/input.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/input.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/key.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/key.tsx index 4b995aa29b0..aabc2ce0c27 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/key.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/key.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export type Key = | 'TAB' | 'ENTER' diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/use-autocomplete.test.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/use-autocomplete.test.tsx index b1cc7e29438..8d676afc188 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/use-autocomplete.test.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/use-autocomplete.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { act, renderHook } from '@testing-library/react-hooks'; import { CompletionItems } from './completions'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/use-autocomplete.tsx b/src/ui/packages/pixie-components/src/components/autocomplete/use-autocomplete.tsx index f16c254d656..34e5da4b24e 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/use-autocomplete.tsx +++ b/src/ui/packages/pixie-components/src/components/autocomplete/use-autocomplete.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { CompletionItem, CompletionItems } from './completions'; diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/utils.test.ts b/src/ui/packages/pixie-components/src/components/autocomplete/utils.test.ts index 7e1a530db00..0a1089fc3c3 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/utils.test.ts +++ b/src/ui/packages/pixie-components/src/components/autocomplete/utils.test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as utils from './utils'; describe('GetDisplayStringFromTabStops', () => { diff --git a/src/ui/packages/pixie-components/src/components/autocomplete/utils.ts b/src/ui/packages/pixie-components/src/components/autocomplete/utils.ts index 560c8c5134b..2b092e7ab3b 100644 --- a/src/ui/packages/pixie-components/src/components/autocomplete/utils.ts +++ b/src/ui/packages/pixie-components/src/components/autocomplete/utils.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { CompletionId, CompletionItem, diff --git a/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.stories.tsx b/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.stories.tsx index 464e77e953c..f69c32ae035 100644 --- a/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { StatusCell } from 'components/status/status'; diff --git a/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.test.tsx b/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.test.tsx index 199f500bc32..6be3145f59f 100644 --- a/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.test.tsx +++ b/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { render } from 'enzyme'; import { MuiThemeProvider } from '@material-ui/core'; diff --git a/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.tsx b/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.tsx index ee86f626c9c..16d8bfaf782 100644 --- a/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.tsx +++ b/src/ui/packages/pixie-components/src/components/breadcrumbs/breadcrumbs.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { createStyles, diff --git a/src/ui/packages/pixie-components/src/components/code-editor/code-editor.stories.tsx b/src/ui/packages/pixie-components/src/components/code-editor/code-editor.stories.tsx index 6e68ffd57e5..fa149e87fda 100644 --- a/src/ui/packages/pixie-components/src/components/code-editor/code-editor.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/code-editor/code-editor.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { CodeEditor } from './code-editor'; diff --git a/src/ui/packages/pixie-components/src/components/code-editor/code-editor.tsx b/src/ui/packages/pixie-components/src/components/code-editor/code-editor.tsx index 1428e1c5825..d07466cabc2 100644 --- a/src/ui/packages/pixie-components/src/components/code-editor/code-editor.tsx +++ b/src/ui/packages/pixie-components/src/components/code-editor/code-editor.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/code-renderer/code-renderer.tsx b/src/ui/packages/pixie-components/src/components/code-renderer/code-renderer.tsx index 029e4d08bb2..4f7770341ab 100644 --- a/src/ui/packages/pixie-components/src/components/code-renderer/code-renderer.tsx +++ b/src/ui/packages/pixie-components/src/components/code-renderer/code-renderer.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import Highlight, { defaultProps } from 'prism-react-renderer'; import * as React from 'react'; import { CopyIcon } from 'components/icons/copy'; diff --git a/src/ui/packages/pixie-components/src/components/data-table/data-table.stories.tsx b/src/ui/packages/pixie-components/src/components/data-table/data-table.stories.tsx index 5ad261ee86f..61d9ab8a39a 100644 --- a/src/ui/packages/pixie-components/src/components/data-table/data-table.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/data-table/data-table.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { ColumnProps, DataTable } from './data-table'; diff --git a/src/ui/packages/pixie-components/src/components/data-table/data-table.tsx b/src/ui/packages/pixie-components/src/components/data-table/data-table.tsx index 31f0d863d48..cbc33750f73 100644 --- a/src/ui/packages/pixie-components/src/components/data-table/data-table.tsx +++ b/src/ui/packages/pixie-components/src/components/data-table/data-table.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; import * as React from 'react'; import { DraggableCore } from 'react-draggable'; diff --git a/src/ui/packages/pixie-components/src/components/data-table/table-resizer.test.ts b/src/ui/packages/pixie-components/src/components/data-table/table-resizer.test.ts index adad3a1b68e..696e8cea31c 100644 --- a/src/ui/packages/pixie-components/src/components/data-table/table-resizer.test.ts +++ b/src/ui/packages/pixie-components/src/components/data-table/table-resizer.test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { MAX_COL_PX_WIDTH, MIN_COL_PX_WIDTH, diff --git a/src/ui/packages/pixie-components/src/components/data-table/table-resizer.ts b/src/ui/packages/pixie-components/src/components/data-table/table-resizer.ts index 0c962d16d9e..0dde60fdfcd 100644 --- a/src/ui/packages/pixie-components/src/components/data-table/table-resizer.ts +++ b/src/ui/packages/pixie-components/src/components/data-table/table-resizer.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { clamp, rescaleSum, smallest, sumColumn, } from 'utils/math'; diff --git a/src/ui/packages/pixie-components/src/components/drawer/drawer.stories.tsx b/src/ui/packages/pixie-components/src/components/drawer/drawer.stories.tsx index 8816b33e75b..34debb92987 100644 --- a/src/ui/packages/pixie-components/src/components/drawer/drawer.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/drawer/drawer.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import Button from '@material-ui/core/Button'; diff --git a/src/ui/packages/pixie-components/src/components/drawer/drawer.test.tsx b/src/ui/packages/pixie-components/src/components/drawer/drawer.test.tsx index f3bf977b5f0..80b5095c68b 100644 --- a/src/ui/packages/pixie-components/src/components/drawer/drawer.test.tsx +++ b/src/ui/packages/pixie-components/src/components/drawer/drawer.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { render } from 'enzyme'; import { createMuiTheme, MuiThemeProvider } from '@material-ui/core'; diff --git a/src/ui/packages/pixie-components/src/components/drawer/drawer.tsx b/src/ui/packages/pixie-components/src/components/drawer/drawer.tsx index 1ae0be61685..5ef4e065b0d 100644 --- a/src/ui/packages/pixie-components/src/components/drawer/drawer.tsx +++ b/src/ui/packages/pixie-components/src/components/drawer/drawer.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import Drawer from '@material-ui/core/Drawer'; import { createStyles, WithStyles, withStyles } from '@material-ui/core/styles'; diff --git a/src/ui/packages/pixie-components/src/components/drawer/resizable-drawer.stories.tsx b/src/ui/packages/pixie-components/src/components/drawer/resizable-drawer.stories.tsx index 9cc88b65e85..a023ba727b1 100644 --- a/src/ui/packages/pixie-components/src/components/drawer/resizable-drawer.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/drawer/resizable-drawer.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import Button from '@material-ui/core/Button'; diff --git a/src/ui/packages/pixie-components/src/components/drawer/resizable-drawer.tsx b/src/ui/packages/pixie-components/src/components/drawer/resizable-drawer.tsx index aabef026e94..157c6c9a5fe 100644 --- a/src/ui/packages/pixie-components/src/components/drawer/resizable-drawer.tsx +++ b/src/ui/packages/pixie-components/src/components/drawer/resizable-drawer.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { DraggableCore } from 'react-draggable'; import { diff --git a/src/ui/packages/pixie-components/src/components/form/form.stories.tsx b/src/ui/packages/pixie-components/src/components/form/form.stories.tsx index b7984fb16dd..b7cc375611e 100644 --- a/src/ui/packages/pixie-components/src/components/form/form.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/form/form.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { FrameElement } from 'utils/frame-utils'; diff --git a/src/ui/packages/pixie-components/src/components/form/form.tsx b/src/ui/packages/pixie-components/src/components/form/form.tsx index 13e8c352953..6f3ae843064 100644 --- a/src/ui/packages/pixie-components/src/components/form/form.tsx +++ b/src/ui/packages/pixie-components/src/components/form/form.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // This component renders a form from a JSON object. Useful for Username and Password Authentication. import * as React from 'react'; import { diff --git a/src/ui/packages/pixie-components/src/components/icons/cluster.tsx b/src/ui/packages/pixie-components/src/components/icons/cluster.tsx index 5465284c618..0797d54d399 100644 --- a/src/ui/packages/pixie-components/src/components/icons/cluster.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/cluster.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/code.tsx b/src/ui/packages/pixie-components/src/components/icons/code.tsx index 3b4d7dab351..8d07130ed99 100644 --- a/src/ui/packages/pixie-components/src/components/icons/code.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/code.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/copy.tsx b/src/ui/packages/pixie-components/src/components/icons/copy.tsx index b31bf2eb49a..ddcd595da13 100644 --- a/src/ui/packages/pixie-components/src/components/icons/copy.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/copy.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/docs.tsx b/src/ui/packages/pixie-components/src/components/icons/docs.tsx index 9910e79acf3..763ccbc2a35 100644 --- a/src/ui/packages/pixie-components/src/components/icons/docs.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/docs.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/edit.tsx b/src/ui/packages/pixie-components/src/components/icons/edit.tsx index 7e0cc7b23f1..a8fe8860ee2 100644 --- a/src/ui/packages/pixie-components/src/components/icons/edit.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/edit.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/expanded.tsx b/src/ui/packages/pixie-components/src/components/icons/expanded.tsx index a9b4c0f7905..e1d5ed98c4e 100644 --- a/src/ui/packages/pixie-components/src/components/icons/expanded.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/expanded.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/google.tsx b/src/ui/packages/pixie-components/src/components/icons/google.tsx index 2731449bb37..cf9d0594100 100644 --- a/src/ui/packages/pixie-components/src/components/icons/google.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/google.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/logout.tsx b/src/ui/packages/pixie-components/src/components/icons/logout.tsx index a88651a531a..b5723b630ee 100644 --- a/src/ui/packages/pixie-components/src/components/icons/logout.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/logout.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/magic.tsx b/src/ui/packages/pixie-components/src/components/icons/magic.tsx index 170706ffd4e..3ad9fa5e260 100644 --- a/src/ui/packages/pixie-components/src/components/icons/magic.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/magic.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/namespace.tsx b/src/ui/packages/pixie-components/src/components/icons/namespace.tsx index 21bfa72b091..b868242e50b 100644 --- a/src/ui/packages/pixie-components/src/components/icons/namespace.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/namespace.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/pixie-command-hint.tsx b/src/ui/packages/pixie-components/src/components/icons/pixie-command-hint.tsx index 0ef1590e87d..f3afeba4086 100644 --- a/src/ui/packages/pixie-components/src/components/icons/pixie-command-hint.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/pixie-command-hint.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* eslint-disable max-len */ import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/icons/pixie-command.tsx b/src/ui/packages/pixie-components/src/components/icons/pixie-command.tsx index 5d27ec6459e..41851a47007 100644 --- a/src/ui/packages/pixie-components/src/components/icons/pixie-command.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/pixie-command.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/pixie-logo.tsx b/src/ui/packages/pixie-components/src/components/icons/pixie-logo.tsx index b9d5e84ead2..ceacdc99ad3 100644 --- a/src/ui/packages/pixie-components/src/components/icons/pixie-logo.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/pixie-logo.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/play.tsx b/src/ui/packages/pixie-components/src/components/icons/play.tsx index f117b4429d1..891dbf88efb 100644 --- a/src/ui/packages/pixie-components/src/components/icons/play.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/play.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/pod.tsx b/src/ui/packages/pixie-components/src/components/icons/pod.tsx index 2aa7e612fbb..7f1350a2791 100644 --- a/src/ui/packages/pixie-components/src/components/icons/pod.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/pod.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/service.tsx b/src/ui/packages/pixie-components/src/components/icons/service.tsx index 8a1cd69b866..3115eb7f21f 100644 --- a/src/ui/packages/pixie-components/src/components/icons/service.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/service.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/settings.tsx b/src/ui/packages/pixie-components/src/components/icons/settings.tsx index a4f36545f46..bafa0a6015d 100644 --- a/src/ui/packages/pixie-components/src/components/icons/settings.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/settings.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/stop.tsx b/src/ui/packages/pixie-components/src/components/icons/stop.tsx index 419a577bd96..adefaf7ed6a 100644 --- a/src/ui/packages/pixie-components/src/components/icons/stop.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/stop.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/icons/unexpanded.tsx b/src/ui/packages/pixie-components/src/components/icons/unexpanded.tsx index 686c388810e..536c9a9b1b1 100644 --- a/src/ui/packages/pixie-components/src/components/icons/unexpanded.tsx +++ b/src/ui/packages/pixie-components/src/components/icons/unexpanded.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; diff --git a/src/ui/packages/pixie-components/src/components/lazy-panel/lazy-panel.test.tsx b/src/ui/packages/pixie-components/src/components/lazy-panel/lazy-panel.test.tsx index 0d923028d82..bab4689f088 100644 --- a/src/ui/packages/pixie-components/src/components/lazy-panel/lazy-panel.test.tsx +++ b/src/ui/packages/pixie-components/src/components/lazy-panel/lazy-panel.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { shallow } from 'enzyme'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/lazy-panel/lazy-panel.tsx b/src/ui/packages/pixie-components/src/components/lazy-panel/lazy-panel.tsx index 5577f057842..e1e4ff079b8 100644 --- a/src/ui/packages/pixie-components/src/components/lazy-panel/lazy-panel.tsx +++ b/src/ui/packages/pixie-components/src/components/lazy-panel/lazy-panel.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/logos/cpp.tsx b/src/ui/packages/pixie-components/src/components/logos/cpp.tsx index 220c2254a02..6f8446879fc 100644 --- a/src/ui/packages/pixie-components/src/components/logos/cpp.tsx +++ b/src/ui/packages/pixie-components/src/components/logos/cpp.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; export const CPPIcon = (props) => ( diff --git a/src/ui/packages/pixie-components/src/components/logos/golang.tsx b/src/ui/packages/pixie-components/src/components/logos/golang.tsx index 7382d1425cd..10930ad06be 100644 --- a/src/ui/packages/pixie-components/src/components/logos/golang.tsx +++ b/src/ui/packages/pixie-components/src/components/logos/golang.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; export const GolangIcon = (props) => ( diff --git a/src/ui/packages/pixie-components/src/components/logos/heart.tsx b/src/ui/packages/pixie-components/src/components/logos/heart.tsx index 903636f0c4a..c20d753e1d4 100644 --- a/src/ui/packages/pixie-components/src/components/logos/heart.tsx +++ b/src/ui/packages/pixie-components/src/components/logos/heart.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; export const HeartIcon = (props) => ( diff --git a/src/ui/packages/pixie-components/src/components/logos/rust.tsx b/src/ui/packages/pixie-components/src/components/logos/rust.tsx index 7376e10a208..f5f18f14989 100644 --- a/src/ui/packages/pixie-components/src/components/logos/rust.tsx +++ b/src/ui/packages/pixie-components/src/components/logos/rust.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; export const RustIcon = (props) => ( diff --git a/src/ui/packages/pixie-components/src/components/modal/modal.tsx b/src/ui/packages/pixie-components/src/components/modal/modal.tsx index 3f9a83905ab..a492de9734b 100644 --- a/src/ui/packages/pixie-components/src/components/modal/modal.tsx +++ b/src/ui/packages/pixie-components/src/components/modal/modal.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; import * as React from 'react'; diff --git a/src/ui/packages/pixie-components/src/components/profile/profile.tsx b/src/ui/packages/pixie-components/src/components/profile/profile.tsx index 531d68fc37d..6fa33cc0bb6 100644 --- a/src/ui/packages/pixie-components/src/components/profile/profile.tsx +++ b/src/ui/packages/pixie-components/src/components/profile/profile.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import BaseAvatar from '@material-ui/core/Avatar'; diff --git a/src/ui/packages/pixie-components/src/components/quantiles-box-whisker/quantiles-box-whisker.stories.tsx b/src/ui/packages/pixie-components/src/components/quantiles-box-whisker/quantiles-box-whisker.stories.tsx index cae85f4125d..b16f3e11e32 100644 --- a/src/ui/packages/pixie-components/src/components/quantiles-box-whisker/quantiles-box-whisker.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/quantiles-box-whisker/quantiles-box-whisker.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { useTheme } from '@material-ui/core/styles'; diff --git a/src/ui/packages/pixie-components/src/components/quantiles-box-whisker/quantiles-box-whisker.tsx b/src/ui/packages/pixie-components/src/components/quantiles-box-whisker/quantiles-box-whisker.tsx index a39885c48c6..d771602ab2c 100644 --- a/src/ui/packages/pixie-components/src/components/quantiles-box-whisker/quantiles-box-whisker.tsx +++ b/src/ui/packages/pixie-components/src/components/quantiles-box-whisker/quantiles-box-whisker.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { Vega } from 'react-vega'; import { VisualizationSpec } from 'vega-embed'; diff --git a/src/ui/packages/pixie-components/src/components/snackbar/snackbar.stories.tsx b/src/ui/packages/pixie-components/src/components/snackbar/snackbar.stories.tsx index 2d2a3a3fc62..e1373e96b65 100644 --- a/src/ui/packages/pixie-components/src/components/snackbar/snackbar.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/snackbar/snackbar.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import Button from '@material-ui/core/Button'; diff --git a/src/ui/packages/pixie-components/src/components/snackbar/snackbar.tsx b/src/ui/packages/pixie-components/src/components/snackbar/snackbar.tsx index 0023df58fc8..dbc03e62b94 100644 --- a/src/ui/packages/pixie-components/src/components/snackbar/snackbar.tsx +++ b/src/ui/packages/pixie-components/src/components/snackbar/snackbar.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { createStyles, makeStyles, Theme } from '@material-ui/core'; diff --git a/src/ui/packages/pixie-components/src/components/spinner/spinner.stories.tsx b/src/ui/packages/pixie-components/src/components/spinner/spinner.stories.tsx index ea83658f17d..500c98c405b 100644 --- a/src/ui/packages/pixie-components/src/components/spinner/spinner.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/spinner/spinner.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { Spinner } from './spinner'; diff --git a/src/ui/packages/pixie-components/src/components/spinner/spinner.tsx b/src/ui/packages/pixie-components/src/components/spinner/spinner.tsx index 51f5305f602..a636ce33987 100644 --- a/src/ui/packages/pixie-components/src/components/spinner/spinner.tsx +++ b/src/ui/packages/pixie-components/src/components/spinner/spinner.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { CircularProgress } from '@material-ui/core'; diff --git a/src/ui/packages/pixie-components/src/components/split-pane/split-pane.stories.tsx b/src/ui/packages/pixie-components/src/components/split-pane/split-pane.stories.tsx index e4c1e9e74fc..222375cb243 100644 --- a/src/ui/packages/pixie-components/src/components/split-pane/split-pane.stories.tsx +++ b/src/ui/packages/pixie-components/src/components/split-pane/split-pane.stories.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { SplitContainer, SplitPane } from './split-pane'; diff --git a/src/ui/packages/pixie-components/src/components/split-pane/split-pane.tsx b/src/ui/packages/pixie-components/src/components/split-pane/split-pane.tsx index 57cd337d929..d435c874e43 100644 --- a/src/ui/packages/pixie-components/src/components/split-pane/split-pane.tsx +++ b/src/ui/packages/pixie-components/src/components/split-pane/split-pane.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; import * as React from 'react'; import Split from 'react-split'; diff --git a/src/ui/packages/pixie-components/src/components/status/status.tsx b/src/ui/packages/pixie-components/src/components/status/status.tsx index c7c00d78f43..1e5a348a482 100644 --- a/src/ui/packages/pixie-components/src/components/status/status.tsx +++ b/src/ui/packages/pixie-components/src/components/status/status.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import UnknownIcon from '@material-ui/icons/Brightness1'; import HealthyIcon from '@material-ui/icons/CheckCircle'; import UnhealthyIcon from '@material-ui/icons/Error'; diff --git a/src/ui/packages/pixie-components/src/components/version-info/version-info.test.tsx b/src/ui/packages/pixie-components/src/components/version-info/version-info.test.tsx index ed802047a47..58962ae8fb5 100644 --- a/src/ui/packages/pixie-components/src/components/version-info/version-info.test.tsx +++ b/src/ui/packages/pixie-components/src/components/version-info/version-info.test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { render } from 'enzyme'; import { VersionInfo } from './version-info'; diff --git a/src/ui/packages/pixie-components/src/components/version-info/version-info.tsx b/src/ui/packages/pixie-components/src/components/version-info/version-info.tsx index 1051cf157d3..9a3a35e40d1 100644 --- a/src/ui/packages/pixie-components/src/components/version-info/version-info.tsx +++ b/src/ui/packages/pixie-components/src/components/version-info/version-info.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { createStyles, diff --git a/src/ui/packages/pixie-components/src/index.tsx b/src/ui/packages/pixie-components/src/index.tsx index 181db8fb07c..c1c8ac6a19b 100644 --- a/src/ui/packages/pixie-components/src/index.tsx +++ b/src/ui/packages/pixie-components/src/index.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export { AuthBox } from './components/auth/auth-box'; export { Form, FormProps, FormField, FormStructure, PixienautForm, PixienautFormProps, diff --git a/src/ui/packages/pixie-components/src/mui-theme.tsx b/src/ui/packages/pixie-components/src/mui-theme.tsx index 3c22a7e08fa..04ae0039564 100644 --- a/src/ui/packages/pixie-components/src/mui-theme.tsx +++ b/src/ui/packages/pixie-components/src/mui-theme.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { createMuiTheme, Theme } from '@material-ui/core/styles'; declare module '@material-ui/core/styles/createPalette' { diff --git a/src/ui/packages/pixie-components/src/testing/enzyme-setup.ts b/src/ui/packages/pixie-components/src/testing/enzyme-setup.ts index 85420f23fde..65cbf50ca56 100644 --- a/src/ui/packages/pixie-components/src/testing/enzyme-setup.ts +++ b/src/ui/packages/pixie-components/src/testing/enzyme-setup.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* eslint-disable @typescript-eslint/no-var-requires */ const enzyme = require('enzyme'); const Adapter = require('enzyme-adapter-react-16'); diff --git a/src/ui/packages/pixie-components/src/testing/jest-test-setup.js b/src/ui/packages/pixie-components/src/testing/jest-test-setup.js index 551de50ce44..023867e73eb 100644 --- a/src/ui/packages/pixie-components/src/testing/jest-test-setup.js +++ b/src/ui/packages/pixie-components/src/testing/jest-test-setup.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Setup mock object for local storage. const localStorageMock = (() => { let store = {}; diff --git a/src/ui/packages/pixie-components/src/utils/autosizer.tsx b/src/ui/packages/pixie-components/src/utils/autosizer.tsx index 440357c883b..487dd066532 100644 --- a/src/ui/packages/pixie-components/src/utils/autosizer.tsx +++ b/src/ui/packages/pixie-components/src/utils/autosizer.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { AutoSizer } from 'react-virtualized'; diff --git a/src/ui/packages/pixie-components/src/utils/bbox.tsx b/src/ui/packages/pixie-components/src/utils/bbox.tsx index 4f44302cd66..09fdc29203d 100644 --- a/src/ui/packages/pixie-components/src/utils/bbox.tsx +++ b/src/ui/packages/pixie-components/src/utils/bbox.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Determines if elem is fully visible inside parent. If not, this can be used with // .scrollIntoView() to make elem visible. // NOTE: this only checks the vertical position of the elements. diff --git a/src/ui/packages/pixie-components/src/utils/build-class.test.ts b/src/ui/packages/pixie-components/src/utils/build-class.test.ts index d1ff19bfd9c..dcddf02ed5f 100644 --- a/src/ui/packages/pixie-components/src/utils/build-class.test.ts +++ b/src/ui/packages/pixie-components/src/utils/build-class.test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from 'utils/build-class'; describe('className builder', () => { diff --git a/src/ui/packages/pixie-components/src/utils/build-class.ts b/src/ui/packages/pixie-components/src/utils/build-class.ts index 233b73ee7f2..6caccdecece 100644 --- a/src/ui/packages/pixie-components/src/utils/build-class.ts +++ b/src/ui/packages/pixie-components/src/utils/build-class.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /** * Utility function to create a valid CSS className from a potentially sparse list of classes. * Typical uses might look like these: diff --git a/src/ui/packages/pixie-components/src/utils/frame-utils.tsx b/src/ui/packages/pixie-components/src/utils/frame-utils.tsx index 45c1180bb5a..3dce2e2d490 100644 --- a/src/ui/packages/pixie-components/src/utils/frame-utils.tsx +++ b/src/ui/packages/pixie-components/src/utils/frame-utils.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { diff --git a/src/ui/packages/pixie-components/src/utils/math.ts b/src/ui/packages/pixie-components/src/utils/math.ts index 14d10bd1df7..a95d6966feb 100644 --- a/src/ui/packages/pixie-components/src/utils/math.ts +++ b/src/ui/packages/pixie-components/src/utils/math.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /** Sign-agnostic minimum (closest value to zero) */ export function smallest(first: number, ...others: number[]) { let found: number = null; diff --git a/src/ui/packages/pixie-components/src/utils/use-is-mounted.ts b/src/ui/packages/pixie-components/src/utils/use-is-mounted.ts index a46e5730037..19328e11cc0 100644 --- a/src/ui/packages/pixie-components/src/utils/use-is-mounted.ts +++ b/src/ui/packages/pixie-components/src/utils/use-is-mounted.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; const useIsMounted: () => React.MutableRefObject = () => { diff --git a/src/ui/packages/samples/api/src/demonstrate.ts b/src/ui/packages/samples/api/src/demonstrate.ts index a0a961c62cf..ba918707e17 100644 --- a/src/ui/packages/samples/api/src/demonstrate.ts +++ b/src/ui/packages/samples/api/src/demonstrate.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import type { GQLAutocompleteActionType } from '@pixie-labs/api'; import { GQLAutocompleteEntityKind, PixieAPIClient } from '@pixie-labs/api'; import chalk from 'chalk'; diff --git a/src/ui/packages/samples/api/src/index.ts b/src/ui/packages/samples/api/src/index.ts index bcd9c5dfeae..ca82c3a61ca 100644 --- a/src/ui/packages/samples/api/src/index.ts +++ b/src/ui/packages/samples/api/src/index.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { PixieAPIClient } from '@pixie-labs/api'; import chalk from 'chalk'; import demonstrateWith from './demonstrate'; diff --git a/src/ui/src/app.tsx b/src/ui/src/app.tsx index 323d86af944..b840292d2e9 100644 --- a/src/ui/src/app.tsx +++ b/src/ui/src/app.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import './wdyr'; import { DARK_THEME, SnackbarProvider, VersionInfo } from '@pixie-labs/components'; diff --git a/src/ui/src/common/cluster-context.tsx b/src/ui/src/common/cluster-context.tsx index 962f4c12b4b..43b8e62d888 100644 --- a/src/ui/src/common/cluster-context.tsx +++ b/src/ui/src/common/cluster-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; export interface ClusterContextProps { diff --git a/src/ui/src/common/cookie-banner.tsx b/src/ui/src/common/cookie-banner.tsx index fc27f194a05..1613475511e 100644 --- a/src/ui/src/common/cookie-banner.tsx +++ b/src/ui/src/common/cookie-banner.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { createStyles, makeStyles, Theme, } from '@material-ui/core/styles'; diff --git a/src/ui/src/common/errors-test.tsx b/src/ui/src/common/errors-test.tsx index 0b77614fdfb..8acb4507405 100644 --- a/src/ui/src/common/errors-test.tsx +++ b/src/ui/src/common/errors-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { shallow } from 'enzyme'; import * as React from 'react'; diff --git a/src/ui/src/common/errors.tsx b/src/ui/src/common/errors.tsx index 4707cc67343..237ebd62619 100644 --- a/src/ui/src/common/errors.tsx +++ b/src/ui/src/common/errors.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import Link from '@material-ui/core/Link'; diff --git a/src/ui/src/common/storage.tsx b/src/ui/src/common/storage.tsx index 0ae09eafb7f..393cc186d01 100644 --- a/src/ui/src/common/storage.tsx +++ b/src/ui/src/common/storage.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; export const LIVE_VIEW_DATA_DRAWER_OPENED_KEY = 'px-live-data-drawer-opened'; diff --git a/src/ui/src/common/user-context.tsx b/src/ui/src/common/user-context.tsx index 0e26d703790..b6fee4294c6 100644 --- a/src/ui/src/common/user-context.tsx +++ b/src/ui/src/common/user-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; export interface User { diff --git a/src/ui/src/common/vizier-grpc-client-context.tsx b/src/ui/src/common/vizier-grpc-client-context.tsx index f0259e9e322..c60bdc6dd1a 100644 --- a/src/ui/src/common/vizier-grpc-client-context.tsx +++ b/src/ui/src/common/vizier-grpc-client-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { operation } from 'retry'; import { isDev } from 'utils/env'; diff --git a/src/ui/src/containers/App/cluster-info.ts b/src/ui/src/containers/App/cluster-info.ts index 8102d975a37..48fc8b0186b 100644 --- a/src/ui/src/containers/App/cluster-info.ts +++ b/src/ui/src/containers/App/cluster-info.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { GQLClusterStatus as ClusterStatus, GQLClusterInfo as Cluster } from '@pixie-labs/api'; // Selects based on cluster status and tiebreaks by cluster name. diff --git a/src/ui/src/containers/App/deploy-instructions.tsx b/src/ui/src/containers/App/deploy-instructions.tsx index 4870a435689..2456032a466 100644 --- a/src/ui/src/containers/App/deploy-instructions.tsx +++ b/src/ui/src/containers/App/deploy-instructions.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { CodeRenderer, Spinner } from '@pixie-labs/components'; import ProfileMenu from 'containers/profile-menu/profile-menu'; import * as logoImage from 'images/pixie-logo.svg'; diff --git a/src/ui/src/containers/App/live-tour.tsx b/src/ui/src/containers/App/live-tour.tsx index fcdda4e93e6..d576ea8880e 100644 --- a/src/ui/src/containers/App/live-tour.tsx +++ b/src/ui/src/containers/App/live-tour.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { PropsWithChildren } from 'react'; import { createStyles, makeStyles, Theme } from '@material-ui/core/styles'; diff --git a/src/ui/src/containers/App/nav-bars.tsx b/src/ui/src/containers/App/nav-bars.tsx index c339b047bdf..15786999e4c 100644 --- a/src/ui/src/containers/App/nav-bars.tsx +++ b/src/ui/src/containers/App/nav-bars.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { createStyles, WithStyles, withStyles, Theme, diff --git a/src/ui/src/containers/App/route-not-found.tsx b/src/ui/src/containers/App/route-not-found.tsx index 2974c8527ea..ab8c1224be8 100644 --- a/src/ui/src/containers/App/route-not-found.tsx +++ b/src/ui/src/containers/App/route-not-found.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { useLocation } from 'react-router'; import { PixienautBox } from '@pixie-labs/components'; diff --git a/src/ui/src/containers/App/scripts-context.tsx b/src/ui/src/containers/App/scripts-context.tsx index 0e87b4b87e1..cea4ee623bc 100644 --- a/src/ui/src/containers/App/scripts-context.tsx +++ b/src/ui/src/containers/App/scripts-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { GetPxScripts, Script } from 'utils/script-bundle'; import { useUserInfo } from '@pixie-labs/api-react'; diff --git a/src/ui/src/containers/App/sidebar.tsx b/src/ui/src/containers/App/sidebar.tsx index edcf3054127..be7200e3474 100644 --- a/src/ui/src/containers/App/sidebar.tsx +++ b/src/ui/src/containers/App/sidebar.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import AnnounceKit from 'announcekit-react'; import * as React from 'react'; diff --git a/src/ui/src/containers/App/vizier-test.tsx b/src/ui/src/containers/App/vizier-test.tsx index bb5c4c49089..ebdefd39880 100644 --- a/src/ui/src/containers/App/vizier-test.tsx +++ b/src/ui/src/containers/App/vizier-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { GQLClusterInfo as Cluster, GQLClusterStatus as ClusterStatus } from '@pixie-labs/api'; import { selectCluster } from './cluster-info'; diff --git a/src/ui/src/containers/App/vizier.tsx b/src/ui/src/containers/App/vizier.tsx index e992501bb7f..84637c735c9 100644 --- a/src/ui/src/containers/App/vizier.tsx +++ b/src/ui/src/containers/App/vizier.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { ClusterContext } from 'common/cluster-context'; import UserContext from 'common/user-context'; import * as storage from 'common/storage'; diff --git a/src/ui/src/containers/admin/admin-overview.tsx b/src/ui/src/containers/admin/admin-overview.tsx index 4ff642429c5..195f2aa9184 100644 --- a/src/ui/src/containers/admin/admin-overview.tsx +++ b/src/ui/src/containers/admin/admin-overview.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { diff --git a/src/ui/src/containers/admin/api-keys-test.ts b/src/ui/src/containers/admin/api-keys-test.ts index f77dde24b76..58db8bff8ee 100644 --- a/src/ui/src/containers/admin/api-keys-test.ts +++ b/src/ui/src/containers/admin/api-keys-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { formatAPIKey } from './api-keys'; describe('formatApiKey', () => { diff --git a/src/ui/src/containers/admin/api-keys.tsx b/src/ui/src/containers/admin/api-keys.tsx index fec0ad6e5ed..826ca3c0f3e 100644 --- a/src/ui/src/containers/admin/api-keys.tsx +++ b/src/ui/src/containers/admin/api-keys.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import Table from '@material-ui/core/Table'; import IconButton from '@material-ui/core/IconButton'; import Input from '@material-ui/core/Input'; diff --git a/src/ui/src/containers/admin/cluster-details-test.ts b/src/ui/src/containers/admin/cluster-details-test.ts index fdc63702531..dde4073b3a8 100644 --- a/src/ui/src/containers/admin/cluster-details-test.ts +++ b/src/ui/src/containers/admin/cluster-details-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* eslint-disable @typescript-eslint/camelcase */ import { formatAgent } from './cluster-details'; diff --git a/src/ui/src/containers/admin/cluster-details.tsx b/src/ui/src/containers/admin/cluster-details.tsx index f56895e348b..c29f9aca4d0 100644 --- a/src/ui/src/containers/admin/cluster-details.tsx +++ b/src/ui/src/containers/admin/cluster-details.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import ClientContext, { VizierGRPCClientProvider } from 'common/vizier-grpc-client-context'; diff --git a/src/ui/src/containers/admin/clusters-list-test.ts b/src/ui/src/containers/admin/clusters-list-test.ts index 6b0a32e479e..ae9f207a372 100644 --- a/src/ui/src/containers/admin/clusters-list-test.ts +++ b/src/ui/src/containers/admin/clusters-list-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { formatClusters } from './clusters-list'; describe('formatClusters', () => { diff --git a/src/ui/src/containers/admin/clusters-list.tsx b/src/ui/src/containers/admin/clusters-list.tsx index ae1d4618547..5028309d4bd 100644 --- a/src/ui/src/containers/admin/clusters-list.tsx +++ b/src/ui/src/containers/admin/clusters-list.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { StatusCell, StatusGroup } from '@pixie-labs/components'; import { Theme, withStyles } from '@material-ui/core/styles'; import Button from '@material-ui/core/Button'; diff --git a/src/ui/src/containers/admin/deployment-keys-test.ts b/src/ui/src/containers/admin/deployment-keys-test.ts index add61133a24..5b9fec7de0c 100644 --- a/src/ui/src/containers/admin/deployment-keys-test.ts +++ b/src/ui/src/containers/admin/deployment-keys-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { formatDeploymentKey } from './deployment-keys'; describe('formatDeploymentKey', () => { diff --git a/src/ui/src/containers/admin/deployment-keys.tsx b/src/ui/src/containers/admin/deployment-keys.tsx index 8dac44c9b84..d11f9fdc1e4 100644 --- a/src/ui/src/containers/admin/deployment-keys.tsx +++ b/src/ui/src/containers/admin/deployment-keys.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import Table from '@material-ui/core/Table'; import IconButton from '@material-ui/core/IconButton'; import Input from '@material-ui/core/Input'; diff --git a/src/ui/src/containers/admin/key-list.tsx b/src/ui/src/containers/admin/key-list.tsx index 9fbce6a9ab6..f1b93f51d0c 100644 --- a/src/ui/src/containers/admin/key-list.tsx +++ b/src/ui/src/containers/admin/key-list.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { createStyles, makeStyles, Theme, withStyles, } from '@material-ui/core/styles'; diff --git a/src/ui/src/containers/admin/utils.tsx b/src/ui/src/containers/admin/utils.tsx index c91b7ba8dcd..1bbecf9278b 100644 --- a/src/ui/src/containers/admin/utils.tsx +++ b/src/ui/src/containers/admin/utils.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { StatusGroup } from '@pixie-labs/components'; import { createStyles, makeStyles, Theme, withStyles, diff --git a/src/ui/src/containers/command-input/autocomplete-parser-test.tsx b/src/ui/src/containers/command-input/autocomplete-parser-test.tsx index 10798cf05ff..398219849d0 100644 --- a/src/ui/src/containers/command-input/autocomplete-parser-test.tsx +++ b/src/ui/src/containers/command-input/autocomplete-parser-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as AutocompleteParser from './autocomplete-parser'; describe('AutocompleteParser test', () => { diff --git a/src/ui/src/containers/command-input/autocomplete-parser.tsx b/src/ui/src/containers/command-input/autocomplete-parser.tsx index fb1c4ccdbb7..f8f35463193 100644 --- a/src/ui/src/containers/command-input/autocomplete-parser.tsx +++ b/src/ui/src/containers/command-input/autocomplete-parser.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + interface TabStop { Index: number; Label?: string; diff --git a/src/ui/src/containers/command-input/autocomplete-utils.ts b/src/ui/src/containers/command-input/autocomplete-utils.ts index 393d5a79874..f3d73442488 100644 --- a/src/ui/src/containers/command-input/autocomplete-utils.ts +++ b/src/ui/src/containers/command-input/autocomplete-utils.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { StatusGroup } from '@pixie-labs/components'; import { GQLAutocompleteEntityKind } from '@pixie-labs/api'; diff --git a/src/ui/src/containers/command-input/command-input.tsx b/src/ui/src/containers/command-input/command-input.tsx index 6ea8ed64655..4b5b392a924 100644 --- a/src/ui/src/containers/command-input/command-input.tsx +++ b/src/ui/src/containers/command-input/command-input.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { CommandAutocomplete, TabStop, PixieCommandIcon, PixieCommandHint, diff --git a/src/ui/src/containers/constants.ts b/src/ui/src/containers/constants.ts index 60942850b5e..c073f9bf88d 100644 --- a/src/ui/src/containers/constants.ts +++ b/src/ui/src/containers/constants.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + declare global { type OAuthProvider = 'hydra' | 'auth0'; interface Window { diff --git a/src/ui/src/containers/data-drawer/data-drawer-toggle.tsx b/src/ui/src/containers/data-drawer/data-drawer-toggle.tsx index 69c65decd4e..1441fb6de95 100644 --- a/src/ui/src/containers/data-drawer/data-drawer-toggle.tsx +++ b/src/ui/src/containers/data-drawer/data-drawer-toggle.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import DownIcon from '@material-ui/icons/KeyboardArrowDown'; import UpIcon from '@material-ui/icons/KeyboardArrowUp'; import { PixieLogo } from '@pixie-labs/components'; diff --git a/src/ui/src/containers/data-drawer/data-drawer.tsx b/src/ui/src/containers/data-drawer/data-drawer.tsx index a0ec3ca885d..be6d5da81a4 100644 --- a/src/ui/src/containers/data-drawer/data-drawer.tsx +++ b/src/ui/src/containers/data-drawer/data-drawer.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { LazyPanel, ResizableDrawer, Spinner } from '@pixie-labs/components'; import { DataDrawerContext } from 'context/data-drawer-context'; import { LayoutContext } from 'context/layout-context'; diff --git a/src/ui/src/containers/data-drawer/execution-stats.tsx b/src/ui/src/containers/data-drawer/execution-stats.tsx index ef5ba8640e0..67ad60ba5f7 100644 --- a/src/ui/src/containers/data-drawer/execution-stats.tsx +++ b/src/ui/src/containers/data-drawer/execution-stats.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { ResultsContext } from 'context/results-context'; import * as numeral from 'numeral'; import * as React from 'react'; diff --git a/src/ui/src/containers/editor/editor.tsx b/src/ui/src/containers/editor/editor.tsx index 39b94607563..5ce7ec50f36 100644 --- a/src/ui/src/containers/editor/editor.tsx +++ b/src/ui/src/containers/editor/editor.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { CodeEditor, LazyPanel, ResizableDrawer } from '@pixie-labs/components'; diff --git a/src/ui/src/containers/format-data/format-data-test.tsx b/src/ui/src/containers/format-data/format-data-test.tsx index 9654edb6474..1712df3e93a 100644 --- a/src/ui/src/containers/format-data/format-data-test.tsx +++ b/src/ui/src/containers/format-data/format-data-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { getClasses } from '@material-ui/core/test-utils'; import { mount } from 'enzyme'; import * as React from 'react'; diff --git a/src/ui/src/containers/format-data/format-data.tsx b/src/ui/src/containers/format-data/format-data.tsx index a6cc0c7e0a5..cff28f4ff9a 100644 --- a/src/ui/src/containers/format-data/format-data.tsx +++ b/src/ui/src/containers/format-data/format-data.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { createStyles, diff --git a/src/ui/src/containers/legend/legend-data.tsx b/src/ui/src/containers/legend/legend-data.tsx index 6a6298acc58..6c642648fcf 100644 --- a/src/ui/src/containers/legend/legend-data.tsx +++ b/src/ui/src/containers/legend/legend-data.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { COLOR_SCALE } from 'containers/live/convert-to-vega-spec'; import * as _ from 'lodash'; import { View } from 'vega-typings'; diff --git a/src/ui/src/containers/legend/legend.tsx b/src/ui/src/containers/legend/legend.tsx index dc755f620fc..cf18e48c8d1 100644 --- a/src/ui/src/containers/legend/legend.tsx +++ b/src/ui/src/containers/legend/legend.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as _ from 'lodash'; import * as React from 'react'; import { CSSProperties } from 'react'; diff --git a/src/ui/src/containers/live-widgets/context/time-series-context.tsx b/src/ui/src/containers/live-widgets/context/time-series-context.tsx index e76f8592733..0ab8cee9d67 100644 --- a/src/ui/src/containers/live-widgets/context/time-series-context.tsx +++ b/src/ui/src/containers/live-widgets/context/time-series-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; type Domain = [number, number]; diff --git a/src/ui/src/containers/live-widgets/graph/graph-utils.ts b/src/ui/src/containers/live-widgets/graph/graph-utils.ts index d11dbb8f44e..f6eb1572a1b 100644 --- a/src/ui/src/containers/live-widgets/graph/graph-utils.ts +++ b/src/ui/src/containers/live-widgets/graph/graph-utils.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { Options } from 'vis-network/standalone'; import { Theme } from '@material-ui/core/styles'; diff --git a/src/ui/src/containers/live-widgets/graph/graph.tsx b/src/ui/src/containers/live-widgets/graph/graph.tsx index 0d56d76e8a7..4d535854bef 100644 --- a/src/ui/src/containers/live-widgets/graph/graph.tsx +++ b/src/ui/src/containers/live-widgets/graph/graph.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { WidgetDisplay } from 'containers/live/vis'; import { data as visData, diff --git a/src/ui/src/containers/live-widgets/graph/request-graph-parser.ts b/src/ui/src/containers/live-widgets/graph/request-graph-parser.ts index 4309a5e6d46..b5b632a1f3b 100644 --- a/src/ui/src/containers/live-widgets/graph/request-graph-parser.ts +++ b/src/ui/src/containers/live-widgets/graph/request-graph-parser.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { data as visData } from 'vis-network/standalone'; import { SemanticType } from 'types/generated/vizierapi_pb'; import { getNamespaceFromEntityName, semTypeToShapeConfig } from './graph-utils'; diff --git a/src/ui/src/containers/live-widgets/graph/request-graph.tsx b/src/ui/src/containers/live-widgets/graph/request-graph.tsx index 94cbcab1635..bf1b0b598b5 100644 --- a/src/ui/src/containers/live-widgets/graph/request-graph.tsx +++ b/src/ui/src/containers/live-widgets/graph/request-graph.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { WidgetDisplay } from 'containers/live/vis'; diff --git a/src/ui/src/containers/live-widgets/table/query-result-viewer.tsx b/src/ui/src/containers/live-widgets/table/query-result-viewer.tsx index e5d751283c0..c9217bda38a 100644 --- a/src/ui/src/containers/live-widgets/table/query-result-viewer.tsx +++ b/src/ui/src/containers/live-widgets/table/query-result-viewer.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { ClusterContext } from 'common/cluster-context'; import { VizierTable as Table } from '@pixie-labs/api'; import * as React from 'react'; diff --git a/src/ui/src/containers/live-widgets/utils/index.tsx b/src/ui/src/containers/live-widgets/utils/index.tsx index aeab9eba98a..97f084fff60 100644 --- a/src/ui/src/containers/live-widgets/utils/index.tsx +++ b/src/ui/src/containers/live-widgets/utils/index.tsx @@ -1,2 +1,20 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export * from './script-reference'; export * from './status-indicator'; diff --git a/src/ui/src/containers/live-widgets/utils/live-view-params-test.ts b/src/ui/src/containers/live-widgets/utils/live-view-params-test.ts index e2aa5132798..2c10fa2826d 100644 --- a/src/ui/src/containers/live-widgets/utils/live-view-params-test.ts +++ b/src/ui/src/containers/live-widgets/utils/live-view-params-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { SemanticType } from 'types/generated/vizierapi_pb'; import { entityPageForScriptId, getLiveViewTitle, LiveViewPage, matchLiveViewEntity, diff --git a/src/ui/src/containers/live-widgets/utils/live-view-params.ts b/src/ui/src/containers/live-widgets/utils/live-view-params.ts index fe023e3f1eb..e9a0b564450 100644 --- a/src/ui/src/containers/live-widgets/utils/live-view-params.ts +++ b/src/ui/src/containers/live-widgets/utils/live-view-params.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as QueryString from 'query-string'; import { matchPath } from 'react-router'; diff --git a/src/ui/src/containers/live-widgets/utils/script-reference.tsx b/src/ui/src/containers/live-widgets/utils/script-reference.tsx index 6855a66e385..792cb64c43e 100644 --- a/src/ui/src/containers/live-widgets/utils/script-reference.tsx +++ b/src/ui/src/containers/live-widgets/utils/script-reference.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { Link } from 'react-router-dom'; import { diff --git a/src/ui/src/containers/live-widgets/utils/status-indicator.tsx b/src/ui/src/containers/live-widgets/utils/status-indicator.tsx index ea2e6808ec5..c463b8d289c 100644 --- a/src/ui/src/containers/live-widgets/utils/status-indicator.tsx +++ b/src/ui/src/containers/live-widgets/utils/status-indicator.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // STATUS_TYPES contains types that should be displayed as a status indicator. import * as React from 'react'; import Tooltip from '@material-ui/core/Tooltip'; diff --git a/src/ui/src/containers/live-widgets/vega/timeseries-axis-test.ts b/src/ui/src/containers/live-widgets/vega/timeseries-axis-test.ts index 2db96b532be..eac35fc7197 100644 --- a/src/ui/src/containers/live-widgets/vega/timeseries-axis-test.ts +++ b/src/ui/src/containers/live-widgets/vega/timeseries-axis-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { formatTime, prepareLabels } from './timeseries-axis'; // Verify that time formatter works properly. diff --git a/src/ui/src/containers/live-widgets/vega/timeseries-axis.ts b/src/ui/src/containers/live-widgets/vega/timeseries-axis.ts index d714ad4d010..0c8aee6dad4 100644 --- a/src/ui/src/containers/live-widgets/vega/timeseries-axis.ts +++ b/src/ui/src/containers/live-widgets/vega/timeseries-axis.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as vega from 'vega'; import { timeFormat } from 'd3-time-format'; import { scale, tickValues } from 'vega-scale'; diff --git a/src/ui/src/containers/live-widgets/vega/vega.tsx b/src/ui/src/containers/live-widgets/vega/vega.tsx index 675a7a4ae53..ad405d8edfe 100644 --- a/src/ui/src/containers/live-widgets/vega/vega.tsx +++ b/src/ui/src/containers/live-widgets/vega/vega.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* eslint-disable no-underscore-dangle */ import Legend, { LegendInteractState } from 'containers/legend/legend'; import { diff --git a/src/ui/src/containers/live/breadcrumbs-test.tsx b/src/ui/src/containers/live/breadcrumbs-test.tsx index b3537ccff87..50070248733 100644 --- a/src/ui/src/containers/live/breadcrumbs-test.tsx +++ b/src/ui/src/containers/live/breadcrumbs-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { render } from 'enzyme'; import * as React from 'react'; import { MockLiveContextProvider } from 'testing/mocks/live-context-mock'; diff --git a/src/ui/src/containers/live/breadcrumbs.tsx b/src/ui/src/containers/live/breadcrumbs.tsx index 8398545cb2f..cc87857cbdc 100644 --- a/src/ui/src/containers/live/breadcrumbs.tsx +++ b/src/ui/src/containers/live/breadcrumbs.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { diff --git a/src/ui/src/containers/live/canvas.tsx b/src/ui/src/containers/live/canvas.tsx index 68a564793dd..fbb42c0924d 100644 --- a/src/ui/src/containers/live/canvas.tsx +++ b/src/ui/src/containers/live/canvas.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import 'react-grid-layout/css/styles.css'; import 'react-resizable/css/styles.css'; diff --git a/src/ui/src/containers/live/context-test.tsx b/src/ui/src/containers/live/context-test.tsx index b1f058e7d84..eaa48b65e84 100644 --- a/src/ui/src/containers/live/context-test.tsx +++ b/src/ui/src/containers/live/context-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { LayoutContext } from 'context/layout-context'; import { DataDrawerContext } from 'context/data-drawer-context'; diff --git a/src/ui/src/containers/live/context.tsx b/src/ui/src/containers/live/context.tsx index 67973681e98..0c12e299083 100644 --- a/src/ui/src/containers/live/context.tsx +++ b/src/ui/src/containers/live/context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { DataDrawerContextProvider } from 'context/data-drawer-context'; diff --git a/src/ui/src/containers/live/convert-to-vega-spec-test.ts b/src/ui/src/containers/live/convert-to-vega-spec-test.ts index 0ada18a1741..f7462a724cb 100644 --- a/src/ui/src/containers/live/convert-to-vega-spec-test.ts +++ b/src/ui/src/containers/live/convert-to-vega-spec-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { DARK_THEME } from '@pixie-labs/components'; import { Relation, SemanticType } from 'types/generated/vizierapi_pb'; import { Spec } from 'vega'; diff --git a/src/ui/src/containers/live/convert-to-vega-spec.ts b/src/ui/src/containers/live/convert-to-vega-spec.ts index ab606a085e3..0a35a245b3c 100644 --- a/src/ui/src/containers/live/convert-to-vega-spec.ts +++ b/src/ui/src/containers/live/convert-to-vega-spec.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* eslint-disable @typescript-eslint/no-use-before-define */ /* eslint-disable no-param-reassign */ import { Theme } from '@material-ui/core/styles'; diff --git a/src/ui/src/containers/live/execute-button.tsx b/src/ui/src/containers/live/execute-button.tsx index 5ece578fe0e..2168ca45072 100644 --- a/src/ui/src/containers/live/execute-button.tsx +++ b/src/ui/src/containers/live/execute-button.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import ClientContext from 'common/vizier-grpc-client-context'; import { PlayIcon, StopIcon } from '@pixie-labs/components'; import * as React from 'react'; diff --git a/src/ui/src/containers/live/layout-test.ts b/src/ui/src/containers/live/layout-test.ts index 6d12fb8632b..c5af9a916ac 100644 --- a/src/ui/src/containers/live/layout-test.ts +++ b/src/ui/src/containers/live/layout-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { addLayout, toLayout } from './layout'; import { TABLE_DISPLAY_TYPE, Vis } from './vis'; diff --git a/src/ui/src/containers/live/layout.ts b/src/ui/src/containers/live/layout.ts index 3d071145d1f..b9b8b5ac89b 100644 --- a/src/ui/src/containers/live/layout.ts +++ b/src/ui/src/containers/live/layout.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { Vis, Widget, widgetTableName } from './vis'; export interface ChartPosition { diff --git a/src/ui/src/containers/live/mutation-modal.tsx b/src/ui/src/containers/live/mutation-modal.tsx index 248cd9cbe3b..53b0e2f8b35 100644 --- a/src/ui/src/containers/live/mutation-modal.tsx +++ b/src/ui/src/containers/live/mutation-modal.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import Card from '@material-ui/core/Card'; import Modal from '@material-ui/core/Modal'; diff --git a/src/ui/src/containers/live/script-loader.tsx b/src/ui/src/containers/live/script-loader.tsx index 3810b2e811f..cfada9d81a6 100644 --- a/src/ui/src/containers/live/script-loader.tsx +++ b/src/ui/src/containers/live/script-loader.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { SCRATCH_SCRIPT, ScriptsContext } from 'containers/App/scripts-context'; import * as React from 'react'; import urlParams from 'utils/url-params'; diff --git a/src/ui/src/containers/live/shortcuts-test.tsx b/src/ui/src/containers/live/shortcuts-test.tsx index 4e9e2372597..9eda5ffe09f 100644 --- a/src/ui/src/containers/live/shortcuts-test.tsx +++ b/src/ui/src/containers/live/shortcuts-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { mount } from 'enzyme'; import { Modal } from '@material-ui/core'; diff --git a/src/ui/src/containers/live/shortcuts.tsx b/src/ui/src/containers/live/shortcuts.tsx index f04e5260e30..1bde0576290 100644 --- a/src/ui/src/containers/live/shortcuts.tsx +++ b/src/ui/src/containers/live/shortcuts.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { configure, GlobalHotKeys } from 'react-hotkeys'; import { isMac } from 'utils/detect-os'; diff --git a/src/ui/src/containers/live/title.tsx b/src/ui/src/containers/live/title.tsx index 80ac28cfbcf..898c2e7d4c8 100644 --- a/src/ui/src/containers/live/title.tsx +++ b/src/ui/src/containers/live/title.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass } from '@pixie-labs/components'; import * as React from 'react'; diff --git a/src/ui/src/containers/live/vis-test.tsx b/src/ui/src/containers/live/vis-test.tsx index f27bc379bf1..d07d0a9bf93 100644 --- a/src/ui/src/containers/live/vis-test.tsx +++ b/src/ui/src/containers/live/vis-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { getQueryFuncs, validateVis, TABLE_DISPLAY_TYPE, Vis, } from './vis'; diff --git a/src/ui/src/containers/live/vis.tsx b/src/ui/src/containers/live/vis.tsx index 06c092de6b4..e1d7a851687 100644 --- a/src/ui/src/containers/live/vis.tsx +++ b/src/ui/src/containers/live/vis.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { VizierQueryError, VizierQueryArg, VizierQueryFunc, GRPCStatusCode, } from '@pixie-labs/api'; diff --git a/src/ui/src/containers/profile-menu/profile-menu.tsx b/src/ui/src/containers/profile-menu/profile-menu.tsx index 0f432bdee5e..f7b735464ed 100644 --- a/src/ui/src/containers/profile-menu/profile-menu.tsx +++ b/src/ui/src/containers/profile-menu/profile-menu.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { DocsIcon, LogoutIcon, SettingsIcon, Avatar, ProfileMenuWrapper, diff --git a/src/ui/src/containers/vizier-data-table/column-display-info.ts b/src/ui/src/containers/vizier-data-table/column-display-info.ts index c4563282175..82ea4a995c7 100644 --- a/src/ui/src/containers/vizier-data-table/column-display-info.ts +++ b/src/ui/src/containers/vizier-data-table/column-display-info.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { SelectedPercentile } from '@pixie-labs/components'; import { DataType, Relation, SemanticType } from 'types/generated/vizierapi_pb'; diff --git a/src/ui/src/containers/vizier-data-table/index.tsx b/src/ui/src/containers/vizier-data-table/index.tsx index b12a042f40b..56fb88045ea 100644 --- a/src/ui/src/containers/vizier-data-table/index.tsx +++ b/src/ui/src/containers/vizier-data-table/index.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { VizierDataTable } from './vizier-data-table'; export default VizierDataTable; diff --git a/src/ui/src/containers/vizier-data-table/parsers-test.ts b/src/ui/src/containers/vizier-data-table/parsers-test.ts index 1d38267736e..fd6063df49e 100644 --- a/src/ui/src/containers/vizier-data-table/parsers-test.ts +++ b/src/ui/src/containers/vizier-data-table/parsers-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { SemanticType } from 'types/generated/vizierapi_pb'; import { parseRows } from './parsers'; diff --git a/src/ui/src/containers/vizier-data-table/parsers.ts b/src/ui/src/containers/vizier-data-table/parsers.ts index 2daef79f0e2..495e3eebcca 100644 --- a/src/ui/src/containers/vizier-data-table/parsers.ts +++ b/src/ui/src/containers/vizier-data-table/parsers.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { SemanticType } from 'types/generated/vizierapi_pb'; export interface Quantile { diff --git a/src/ui/src/containers/vizier-data-table/renderers-test.tsx b/src/ui/src/containers/vizier-data-table/renderers-test.tsx index 308b9100133..1f0d343d262 100644 --- a/src/ui/src/containers/vizier-data-table/renderers-test.tsx +++ b/src/ui/src/containers/vizier-data-table/renderers-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { getMaxQuantile } from './renderers'; describe('getMaxQuantile', () => { diff --git a/src/ui/src/containers/vizier-data-table/renderers.tsx b/src/ui/src/containers/vizier-data-table/renderers.tsx index 84f524038f9..ea1f53f7c2e 100644 --- a/src/ui/src/containers/vizier-data-table/renderers.tsx +++ b/src/ui/src/containers/vizier-data-table/renderers.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { AlertData, diff --git a/src/ui/src/containers/vizier-data-table/sort-funcs-test.ts b/src/ui/src/containers/vizier-data-table/sort-funcs-test.ts index 979289022d0..0124c23c0b6 100644 --- a/src/ui/src/containers/vizier-data-table/sort-funcs-test.ts +++ b/src/ui/src/containers/vizier-data-table/sort-funcs-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { fieldSortFunc } from './sort-funcs'; describe('fieldSortFunc', () => { diff --git a/src/ui/src/containers/vizier-data-table/sort-funcs.ts b/src/ui/src/containers/vizier-data-table/sort-funcs.ts index cf6b4807721..4e35661b354 100644 --- a/src/ui/src/containers/vizier-data-table/sort-funcs.ts +++ b/src/ui/src/containers/vizier-data-table/sort-funcs.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { SortDirection, SortDirectionType } from 'react-virtualized'; import { getDataSortFunc } from 'utils/format-data'; import { SemanticType } from 'types/generated/vizierapi_pb'; diff --git a/src/ui/src/containers/vizier-data-table/vizier-data-table.tsx b/src/ui/src/containers/vizier-data-table/vizier-data-table.tsx index 5b985ec357b..06ef0679cbb 100644 --- a/src/ui/src/containers/vizier-data-table/vizier-data-table.tsx +++ b/src/ui/src/containers/vizier-data-table/vizier-data-table.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { VizierTable as Table } from '@pixie-labs/api'; import { CellAlignment, ColumnProps, DataTable, SortState, diff --git a/src/ui/src/context/common.tsx b/src/ui/src/context/common.tsx index 40dff254d3d..ee2b9a8f8bf 100644 --- a/src/ui/src/context/common.tsx +++ b/src/ui/src/context/common.tsx @@ -1 +1,19 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export type SetStateFunc = React.Dispatch>; diff --git a/src/ui/src/context/data-drawer-context.tsx b/src/ui/src/context/data-drawer-context.tsx index bdb80db6506..35598476ca4 100644 --- a/src/ui/src/context/data-drawer-context.tsx +++ b/src/ui/src/context/data-drawer-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { LayoutContext } from './layout-context'; diff --git a/src/ui/src/context/layout-context.tsx b/src/ui/src/context/layout-context.tsx index 54d07fb7824..79dcb4c633b 100644 --- a/src/ui/src/context/layout-context.tsx +++ b/src/ui/src/context/layout-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as storage from 'common/storage'; import * as React from 'react'; diff --git a/src/ui/src/context/results-context.tsx b/src/ui/src/context/results-context.tsx index f39d1cfeaf6..1560b46964f 100644 --- a/src/ui/src/context/results-context.tsx +++ b/src/ui/src/context/results-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { VizierTable as Table } from '@pixie-labs/api'; import * as React from 'react'; import { QueryExecutionStats, MutationInfo } from 'types/generated/vizierapi_pb'; diff --git a/src/ui/src/context/script-context.tsx b/src/ui/src/context/script-context.tsx index 858de3b33fe..f03ffb4a192 100644 --- a/src/ui/src/context/script-context.tsx +++ b/src/ui/src/context/script-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { ClusterContext } from 'common/cluster-context'; import { Script } from 'utils/script-bundle'; import { ScriptsContext } from 'containers/App/scripts-context'; diff --git a/src/ui/src/context/shortcuts-context.tsx b/src/ui/src/context/shortcuts-context.tsx index 037665fdec7..2c40ba35fbe 100644 --- a/src/ui/src/context/shortcuts-context.tsx +++ b/src/ui/src/context/shortcuts-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + type Action = string; export type Handlers = { diff --git a/src/ui/src/context/sidebar-context.tsx b/src/ui/src/context/sidebar-context.tsx index 6abcf6069ae..ada8851f80a 100644 --- a/src/ui/src/context/sidebar-context.tsx +++ b/src/ui/src/context/sidebar-context.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import React from 'react'; export interface SidebarContextProps { diff --git a/src/ui/src/flags.js b/src/ui/src/flags.js index 7419f270f17..017f87d5d7f 100644 --- a/src/ui/src/flags.js +++ b/src/ui/src/flags.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* global __CONFIG_OAUTH_PROVIDER__, __CONFIG_AUTH_CLIENT_ID__, __CONFIG_AUTH_URI__, __CONFIG_DOMAIN_NAME__, __CONFIG_LD_CLIENT_ID__, __SEGMENT_UI_WRITE_KEY__, __ANALYTICS_ENABLED__, diff --git a/src/ui/src/index.d.ts b/src/ui/src/index.d.ts index 0623b46bbb3..1ab476227ec 100644 --- a/src/ui/src/index.d.ts +++ b/src/ui/src/index.d.ts @@ -1,2 +1,20 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Let Typescript know that "png" images can be imported as a module. declare module '*.png' diff --git a/src/ui/src/pages/admin/admin.tsx b/src/ui/src/pages/admin/admin.tsx index 396df482f34..06c9ffc4f02 100644 --- a/src/ui/src/pages/admin/admin.tsx +++ b/src/ui/src/pages/admin/admin.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { scrollbarStyles } from '@pixie-labs/components'; import { withStyles, diff --git a/src/ui/src/pages/auth/auth.tsx b/src/ui/src/pages/auth/auth.tsx index 6d649b94cd8..63f3e3424ba 100644 --- a/src/ui/src/pages/auth/auth.tsx +++ b/src/ui/src/pages/auth/auth.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // This file has the auth pages that we exposes to the users to login, signup // and related error pages. import * as React from 'react'; diff --git a/src/ui/src/pages/auth/auth0-oauth-provider.ts b/src/ui/src/pages/auth/auth0-oauth-provider.ts index 0c428bd3805..c9ade81731a 100644 --- a/src/ui/src/pages/auth/auth0-oauth-provider.ts +++ b/src/ui/src/pages/auth/auth0-oauth-provider.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import auth0 from 'auth0-js'; import { AUTH_CLIENT_ID, AUTH_URI, diff --git a/src/ui/src/pages/auth/base.tsx b/src/ui/src/pages/auth/base.tsx index b60dde35d35..4cba8dbcb8e 100644 --- a/src/ui/src/pages/auth/base.tsx +++ b/src/ui/src/pages/auth/base.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // This contains the base template all auth pages. We really only allow inserting the // middle part of the page which has either a dialog, or marcom information. import * as React from 'react'; diff --git a/src/ui/src/pages/auth/callback.tsx b/src/ui/src/pages/auth/callback.tsx index f0b92eae92d..c950bb23ccc 100644 --- a/src/ui/src/pages/auth/callback.tsx +++ b/src/ui/src/pages/auth/callback.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import * as QueryString from 'query-string'; import Axios, { AxiosError } from 'axios'; diff --git a/src/ui/src/pages/auth/cli-auth-complete.tsx b/src/ui/src/pages/auth/cli-auth-complete.tsx index 9a96d56634f..6d9eb8a32c6 100644 --- a/src/ui/src/pages/auth/cli-auth-complete.tsx +++ b/src/ui/src/pages/auth/cli-auth-complete.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { Grid } from '@material-ui/core'; import * as QueryString from 'query-string'; diff --git a/src/ui/src/pages/auth/hydra-oauth-provider.ts b/src/ui/src/pages/auth/hydra-oauth-provider.ts index 01cef09cc9e..cc04f8501ab 100644 --- a/src/ui/src/pages/auth/hydra-oauth-provider.ts +++ b/src/ui/src/pages/auth/hydra-oauth-provider.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { AUTH_URI, AUTH_CLIENT_ID, } from 'containers/constants'; diff --git a/src/ui/src/pages/auth/login.tsx b/src/ui/src/pages/auth/login.tsx index 470459aed61..3ef28e1a679 100644 --- a/src/ui/src/pages/auth/login.tsx +++ b/src/ui/src/pages/auth/login.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { AuthBox } from '@pixie-labs/components'; import { BasePage } from './base'; diff --git a/src/ui/src/pages/auth/logout.tsx b/src/ui/src/pages/auth/logout.tsx index 83c47571a56..de564756404 100644 --- a/src/ui/src/pages/auth/logout.tsx +++ b/src/ui/src/pages/auth/logout.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import Axios from 'axios'; import * as RedirectUtils from 'utils/redirect-utils'; diff --git a/src/ui/src/pages/auth/oauth-provider.ts b/src/ui/src/pages/auth/oauth-provider.ts index 102a88fc2d5..fbbff76d5ae 100644 --- a/src/ui/src/pages/auth/oauth-provider.ts +++ b/src/ui/src/pages/auth/oauth-provider.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export type Token = string; // OAuthProviderClient is the interface for OAuth providers such as Auth0 and ORY/Hydra. export abstract class OAuthProviderClient { diff --git a/src/ui/src/pages/auth/signup.tsx b/src/ui/src/pages/auth/signup.tsx index 29e41171113..71985a0387e 100644 --- a/src/ui/src/pages/auth/signup.tsx +++ b/src/ui/src/pages/auth/signup.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { createStyles, Theme, WithStyles, withStyles, } from '@material-ui/core'; diff --git a/src/ui/src/pages/auth/utils.ts b/src/ui/src/pages/auth/utils.ts index b6ccf0e8ce0..d22b83a6500 100644 --- a/src/ui/src/pages/auth/utils.ts +++ b/src/ui/src/pages/auth/utils.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as QueryString from 'query-string'; import { OAUTH_PROVIDER } from 'containers/constants'; import { HydraClient } from './hydra-oauth-provider'; diff --git a/src/ui/src/pages/credits/credits.tsx b/src/ui/src/pages/credits/credits.tsx index 1a0ae297f76..0c9b5f61460 100644 --- a/src/ui/src/pages/credits/credits.tsx +++ b/src/ui/src/pages/credits/credits.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { buildClass, scrollbarStyles } from '@pixie-labs/components'; import { StyleRulesCallback, Theme, withStyles } from '@material-ui/core/styles'; diff --git a/src/ui/src/pages/live/live.tsx b/src/ui/src/pages/live/live.tsx index 49acbcdce4e..7574894e543 100644 --- a/src/ui/src/pages/live/live.tsx +++ b/src/ui/src/pages/live/live.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { GQLClusterStatus as ClusterStatus } from '@pixie-labs/api'; import { scrollbarStyles, EditIcon } from '@pixie-labs/components'; import VizierGRPCClientContext from 'common/vizier-grpc-client-context'; diff --git a/src/ui/src/testing/enzyme-setup.ts b/src/ui/src/testing/enzyme-setup.ts index e73cae259f6..e506c7d278c 100644 --- a/src/ui/src/testing/enzyme-setup.ts +++ b/src/ui/src/testing/enzyme-setup.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* eslint-disable @typescript-eslint/no-var-requires */ const enzyme = require('enzyme'); const Adapter = require('enzyme-adapter-react-16'); diff --git a/src/ui/src/testing/file-mock.js b/src/ui/src/testing/file-mock.js index 86059f36292..3a49c42928a 100644 --- a/src/ui/src/testing/file-mock.js +++ b/src/ui/src/testing/file-mock.js @@ -1 +1,19 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + module.exports = 'test-file-stub'; diff --git a/src/ui/src/testing/jest-test-setup.js b/src/ui/src/testing/jest-test-setup.js index e4be48e3d51..76442b80ce3 100644 --- a/src/ui/src/testing/jest-test-setup.js +++ b/src/ui/src/testing/jest-test-setup.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Setup mock object for local storage. const localStorageMock = (() => { let store = {}; diff --git a/src/ui/src/testing/mocks/live-context-mock.tsx b/src/ui/src/testing/mocks/live-context-mock.tsx index f28dc9576d6..9e0e52f4383 100644 --- a/src/ui/src/testing/mocks/live-context-mock.tsx +++ b/src/ui/src/testing/mocks/live-context-mock.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as React from 'react'; import { PropsWithChildren } from 'react'; import { Theme, ThemeProvider } from '@material-ui/core/styles'; diff --git a/src/ui/src/types/dagre-d3.d.ts b/src/ui/src/types/dagre-d3.d.ts index 535fee0e6a0..c7206b6032b 100644 --- a/src/ui/src/types/dagre-d3.d.ts +++ b/src/ui/src/types/dagre-d3.d.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // dagre-d3.d.ts // Copied from existing type definition @types/dagre-d3, with some modification // https://github.com/dagrejs/dagre-d3/issues/339 diff --git a/src/ui/src/types/svg.d.ts b/src/ui/src/types/svg.d.ts index 63199ce7eeb..594a0202f0e 100644 --- a/src/ui/src/types/svg.d.ts +++ b/src/ui/src/types/svg.d.ts @@ -1 +1,19 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + declare module '*.svg' diff --git a/src/ui/src/utils/analytics.ts b/src/ui/src/utils/analytics.ts index bbb52643e29..6552c4050ca 100644 --- a/src/ui/src/utils/analytics.ts +++ b/src/ui/src/utils/analytics.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /// import { ANALYTICS_ENABLED, SEGMENT_UI_WRITE_KEY } from 'containers/constants'; diff --git a/src/ui/src/utils/args-utils-test.ts b/src/ui/src/utils/args-utils-test.ts index 41ad080b26a..d38f312213e 100644 --- a/src/ui/src/utils/args-utils-test.ts +++ b/src/ui/src/utils/args-utils-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { argsEquals, argsForVis, getArgTypesForVis } from 'utils/args-utils'; describe('argsEquals', () => { diff --git a/src/ui/src/utils/args-utils.ts b/src/ui/src/utils/args-utils.ts index 74db7145b9f..41df443e238 100644 --- a/src/ui/src/utils/args-utils.ts +++ b/src/ui/src/utils/args-utils.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { VizierQueryError } from '@pixie-labs/api'; import { Variable, Vis } from 'containers/live/vis'; diff --git a/src/ui/src/utils/check-exhaustive.ts b/src/ui/src/utils/check-exhaustive.ts index 34c308b877c..52fe5a5d3ea 100644 --- a/src/ui/src/utils/check-exhaustive.ts +++ b/src/ui/src/utils/check-exhaustive.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /** * Use in the default of a switch/case block to prove that all values * have been considered. Fails to compile if any were forgotten at compile diff --git a/src/ui/src/utils/debounce-test.ts b/src/ui/src/utils/debounce-test.ts index 8b2db1a0b3e..9b2d291785a 100644 --- a/src/ui/src/utils/debounce-test.ts +++ b/src/ui/src/utils/debounce-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { debounce } from './debounce'; describe('debounce test', () => { diff --git a/src/ui/src/utils/debounce.ts b/src/ui/src/utils/debounce.ts index fba0280fd75..285dccb04c8 100644 --- a/src/ui/src/utils/debounce.ts +++ b/src/ui/src/utils/debounce.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export function debounce(func: (...args: Array<{}>) => void, wait: number) { let timeout; let context; diff --git a/src/ui/src/utils/detect-os.ts b/src/ui/src/utils/detect-os.ts index 154ece8ae74..0b3f45ad773 100644 --- a/src/ui/src/utils/detect-os.ts +++ b/src/ui/src/utils/detect-os.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export function isMac(): boolean { return window.navigator.platform.toLowerCase().indexOf('mac') >= 0; } diff --git a/src/ui/src/utils/env.tsx b/src/ui/src/utils/env.tsx index 30fae8ba85a..e13b63f6a0f 100644 --- a/src/ui/src/utils/env.tsx +++ b/src/ui/src/utils/env.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { DOMAIN_NAME, SEGMENT_UI_WRITE_KEY } from 'containers/constants'; import { format } from 'date-fns'; diff --git a/src/ui/src/utils/fetch-timeout-test.ts b/src/ui/src/utils/fetch-timeout-test.ts index dd5b18a09d8..0e9017b83b1 100644 --- a/src/ui/src/utils/fetch-timeout-test.ts +++ b/src/ui/src/utils/fetch-timeout-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import fetch from 'cross-fetch'; import fetchWithTimeout from './fetch-timeout'; diff --git a/src/ui/src/utils/fetch-timeout.ts b/src/ui/src/utils/fetch-timeout.ts index cdd681ef68c..77100f85cb5 100644 --- a/src/ui/src/utils/fetch-timeout.ts +++ b/src/ui/src/utils/fetch-timeout.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import fetch from 'cross-fetch'; export default function fetchWithTimeout(ms: number): typeof fetch { diff --git a/src/ui/src/utils/format-data-test.ts b/src/ui/src/utils/format-data-test.ts index 68806a77bed..476662e04d0 100644 --- a/src/ui/src/utils/format-data-test.ts +++ b/src/ui/src/utils/format-data-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { DataType, SemanticType, UInt128 } from 'types/generated/vizierapi_pb'; import * as FormatData from './format-data'; diff --git a/src/ui/src/utils/format-data.ts b/src/ui/src/utils/format-data.ts index ff61206fb51..c04659d5313 100644 --- a/src/ui/src/utils/format-data.ts +++ b/src/ui/src/utils/format-data.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as numeral from 'numeral'; import { DataType, SemanticType, UInt128 } from 'types/generated/vizierapi_pb'; diff --git a/src/ui/src/utils/metric-thresholds.ts b/src/ui/src/utils/metric-thresholds.ts index bd74af08622..d905e38d97c 100644 --- a/src/ui/src/utils/metric-thresholds.ts +++ b/src/ui/src/utils/metric-thresholds.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { Theme } from '@material-ui/core/styles'; const LATENCY_HIGH_THRESHOLD = 300; diff --git a/src/ui/src/utils/noop.ts b/src/ui/src/utils/noop.ts index 9d68894d28c..27683330758 100644 --- a/src/ui/src/utils/noop.ts +++ b/src/ui/src/utils/noop.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + const noop = () => { // noop }; diff --git a/src/ui/src/utils/parse-compiler-errors-test.ts b/src/ui/src/utils/parse-compiler-errors-test.ts index b4d755f8383..4b25cc8bb9f 100644 --- a/src/ui/src/utils/parse-compiler-errors-test.ts +++ b/src/ui/src/utils/parse-compiler-errors-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { CompilerError, ErrorDetails, Status } from 'types/generated/vizierapi_pb'; import { ParseCompilerErrors } from './parse-compiler-errors'; diff --git a/src/ui/src/utils/parse-compiler-errors.ts b/src/ui/src/utils/parse-compiler-errors.ts index 021cedff9c3..0aee4f2a080 100644 --- a/src/ui/src/utils/parse-compiler-errors.ts +++ b/src/ui/src/utils/parse-compiler-errors.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { Status } from 'types/generated/vizierapi_pb'; interface CompilerError { diff --git a/src/ui/src/utils/pl-history.ts b/src/ui/src/utils/pl-history.ts index 71202690a84..6fe5ac8f675 100644 --- a/src/ui/src/utils/pl-history.ts +++ b/src/ui/src/utils/pl-history.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { createBrowserHistory } from 'history'; import analytics from 'utils/analytics'; diff --git a/src/ui/src/utils/pluralize-test.ts b/src/ui/src/utils/pluralize-test.ts index 0d973b81d96..668e3850779 100644 --- a/src/ui/src/utils/pluralize-test.ts +++ b/src/ui/src/utils/pluralize-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { pluralize } from './pluralize'; describe('pluralize test', () => { diff --git a/src/ui/src/utils/pluralize.ts b/src/ui/src/utils/pluralize.ts index 3da930c5ef3..15b00d4c1bb 100644 --- a/src/ui/src/utils/pluralize.ts +++ b/src/ui/src/utils/pluralize.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export function pluralize(singular: string, count: number, plural = `${singular}s`): string { return Math.abs(count) === 1 ? singular : plural; } diff --git a/src/ui/src/utils/print-vgspec-cli.ts b/src/ui/src/utils/print-vgspec-cli.ts index 9372fe785ef..aa4058f807f 100644 --- a/src/ui/src/utils/print-vgspec-cli.ts +++ b/src/ui/src/utils/print-vgspec-cli.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + /* eslint-disable no-console */ import { DARK_THEME } from '@pixie-labs/components'; import { Data } from 'vega'; diff --git a/src/ui/src/utils/redirect-utils-test.tsx b/src/ui/src/utils/redirect-utils-test.tsx index 27a71b34aef..3336fc2a623 100644 --- a/src/ui/src/utils/redirect-utils-test.tsx +++ b/src/ui/src/utils/redirect-utils-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as RedirectUtils from './redirect-utils'; jest.mock('containers/constants', () => ({ DOMAIN_NAME: 'dev.withpixie.dev' })); diff --git a/src/ui/src/utils/redirect-utils.tsx b/src/ui/src/utils/redirect-utils.tsx index 1b327403f52..02d8f8b5197 100644 --- a/src/ui/src/utils/redirect-utils.tsx +++ b/src/ui/src/utils/redirect-utils.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { DOMAIN_NAME } from 'containers/constants'; interface StringMap { diff --git a/src/ui/src/utils/resize.ts b/src/ui/src/utils/resize.ts index 6499e108a4c..b0289c72334 100644 --- a/src/ui/src/utils/resize.ts +++ b/src/ui/src/utils/resize.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export const resizeEvent = new Event('resize'); let called = false; diff --git a/src/ui/src/utils/result-data-utils-test.tsx b/src/ui/src/utils/result-data-utils-test.tsx index ed02ff3de07..51ef8a848b3 100644 --- a/src/ui/src/utils/result-data-utils-test.tsx +++ b/src/ui/src/utils/result-data-utils-test.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { Column, Float64Column, Int64Column, Relation, RowBatchData, Time64NSColumn, } from 'types/generated/vizierapi_pb'; diff --git a/src/ui/src/utils/result-data-utils.tsx b/src/ui/src/utils/result-data-utils.tsx index 66c4df16a47..24e34640a18 100644 --- a/src/ui/src/utils/result-data-utils.tsx +++ b/src/ui/src/utils/result-data-utils.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as _ from 'lodash'; import { Column, Relation, RowBatchData, diff --git a/src/ui/src/utils/script-bundle.tsx b/src/ui/src/utils/script-bundle.tsx index 3b4658f6115..251055893aa 100644 --- a/src/ui/src/utils/script-bundle.tsx +++ b/src/ui/src/utils/script-bundle.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import Axios from 'axios'; import { isStaging } from 'utils/env'; import * as QueryString from 'query-string'; diff --git a/src/ui/src/utils/testing.tsx b/src/ui/src/utils/testing.tsx index 5d3456b5444..763f1cb18f4 100644 --- a/src/ui/src/utils/testing.tsx +++ b/src/ui/src/utils/testing.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { shallow } from 'enzyme'; import { act } from 'react-dom/test-utils'; diff --git a/src/ui/src/utils/time.tsx b/src/ui/src/utils/time.tsx index 5cc5539a52a..dbe6390169f 100644 --- a/src/ui/src/utils/time.tsx +++ b/src/ui/src/utils/time.tsx @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + export function nanoToMilliSeconds(t: number): number { return Math.floor(t / 1000000); } diff --git a/src/ui/src/utils/url-params-test.ts b/src/ui/src/utils/url-params-test.ts index 03e66dce8aa..11aacb13ca3 100644 --- a/src/ui/src/utils/url-params-test.ts +++ b/src/ui/src/utils/url-params-test.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import { take } from 'rxjs/operators'; import { URLParams, Window } from './url-params'; diff --git a/src/ui/src/utils/url-params.ts b/src/ui/src/utils/url-params.ts index 27b86a94372..701deacc505 100644 --- a/src/ui/src/utils/url-params.ts +++ b/src/ui/src/utils/url-params.ts @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import * as QueryString from 'query-string'; import { BehaviorSubject, Observable } from 'rxjs'; import { argsEquals, Arguments } from 'utils/args-utils'; diff --git a/src/ui/src/wdyr.js b/src/ui/src/wdyr.js index 3cc3d83d0d8..4d71142f53f 100644 --- a/src/ui/src/wdyr.js +++ b/src/ui/src/wdyr.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + import React from 'react'; if (process.env.NODE_ENV === 'development') { diff --git a/src/ui/tools/licenses/npm_license_extractor.py b/src/ui/tools/licenses/npm_license_extractor.py index fc57d053a1f..4ca2c56bb22 100644 --- a/src/ui/tools/licenses/npm_license_extractor.py +++ b/src/ui/tools/licenses/npm_license_extractor.py @@ -1,4 +1,21 @@ #!/usr/bin/python3 + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Parses the output of npm license-checker into the license format we use to generate our OSS # license notice page. import argparse diff --git a/src/ui/webpack-utils.js b/src/ui/webpack-utils.js index ba2cce36df7..007ed1fd452 100644 --- a/src/ui/webpack-utils.js +++ b/src/ui/webpack-utils.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + const archiver = require('archiver'); const fs = require('fs'); const { dirname } = require('path'); diff --git a/src/ui/webpack.config.js b/src/ui/webpack.config.js index f7d0f48ecf8..d3af72d0e11 100644 --- a/src/ui/webpack.config.js +++ b/src/ui/webpack.config.js @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + const { resolve, join } = require('path'); const { execSync } = require('child_process'); diff --git a/src/utils/BUILD.bazel b/src/utils/BUILD.bazel index 286c71b067c..f9ab6ed8dfe 100644 --- a/src/utils/BUILD.bazel +++ b/src/utils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/utils/artifacts/artifact_db_updater/BUILD.bazel b/src/utils/artifacts/artifact_db_updater/BUILD.bazel index 1cc992007d4..768daddd7ad 100644 --- a/src/utils/artifacts/artifact_db_updater/BUILD.bazel +++ b/src/utils/artifacts/artifact_db_updater/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:image.bzl", "container_image") load("@io_bazel_rules_docker//container:layer.bzl", "container_layer") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/utils/artifacts/artifact_db_updater/main.go b/src/utils/artifacts/artifact_db_updater/main.go index df775edc16c..d9fe6816032 100644 --- a/src/utils/artifacts/artifact_db_updater/main.go +++ b/src/utils/artifacts/artifact_db_updater/main.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/utils/artifacts/versions_gen/BUILD.bazel b/src/utils/artifacts/versions_gen/BUILD.bazel index 22ac410590d..316e3e2d728 100644 --- a/src/utils/artifacts/versions_gen/BUILD.bazel +++ b/src/utils/artifacts/versions_gen/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") go_library( diff --git a/src/utils/artifacts/versions_gen/main.go b/src/utils/artifacts/versions_gen/main.go index 0d09ac5d576..6d765985a55 100644 --- a/src/utils/artifacts/versions_gen/main.go +++ b/src/utils/artifacts/versions_gen/main.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/utils/cert_provisioner/BUILD.bazel b/src/utils/cert_provisioner/BUILD.bazel index abe4438caa0..d75ddd2692b 100644 --- a/src/utils/cert_provisioner/BUILD.bazel +++ b/src/utils/cert_provisioner/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/utils/cert_provisioner/main.go b/src/utils/cert_provisioner/main.go index cf02cb4b7e6..d672c934219 100644 --- a/src/utils/cert_provisioner/main.go +++ b/src/utils/cert_provisioner/main.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/utils/clutils.go b/src/utils/clutils.go index 1d97aefd7b0..4b4aa2fcda3 100644 --- a/src/utils/clutils.go +++ b/src/utils/clutils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils // Utils to interact with the command line. diff --git a/src/utils/dev_dns_updater/BUILD.bazel b/src/utils/dev_dns_updater/BUILD.bazel index ff33d610898..1d23938f6f1 100644 --- a/src/utils/dev_dns_updater/BUILD.bazel +++ b/src/utils/dev_dns_updater/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") go_library( diff --git a/src/utils/dev_dns_updater/dev_dns_updater.go b/src/utils/dev_dns_updater/dev_dns_updater.go index c732d929fd2..d47686df223 100644 --- a/src/utils/dev_dns_updater/dev_dns_updater.go +++ b/src/utils/dev_dns_updater/dev_dns_updater.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/utils/erroraccumulator.go b/src/utils/erroraccumulator.go index 1e75aefe976..352fcfde07f 100644 --- a/src/utils/erroraccumulator.go +++ b/src/utils/erroraccumulator.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/utils/genutils.go b/src/utils/genutils.go index 30fddcd5bfc..3934eba52e3 100644 --- a/src/utils/genutils.go +++ b/src/utils/genutils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils // A general set of utils that are useful throughout the project diff --git a/src/utils/namesgenerator/BUILD.bazel b/src/utils/namesgenerator/BUILD.bazel index 1d5ea973f1c..58c106f422c 100644 --- a/src/utils/namesgenerator/BUILD.bazel +++ b/src/utils/namesgenerator/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/utils/namesgenerator/namesgenerator.go b/src/utils/namesgenerator/namesgenerator.go index 4fb4dc1edad..bed970384e7 100644 --- a/src/utils/namesgenerator/namesgenerator.go +++ b/src/utils/namesgenerator/namesgenerator.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + // Package namesgenerator generates random names. // This is borrowed entirely from docker, but copied here to prevent pulling in all of docker. // License: Apache 2.0. diff --git a/src/utils/namesgenerator/namesgenerator_test.go b/src/utils/namesgenerator/namesgenerator_test.go index e220673344a..166e3fcfcdd 100644 --- a/src/utils/namesgenerator/namesgenerator_test.go +++ b/src/utils/namesgenerator/namesgenerator_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package namesgenerator import ( diff --git a/src/utils/pbutils/BUILD.bazel b/src/utils/pbutils/BUILD.bazel index cd5f3e830ac..443727b2268 100644 --- a/src/utils/pbutils/BUILD.bazel +++ b/src/utils/pbutils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/utils/pixie_updater/BUILD.bazel b/src/utils/pixie_updater/BUILD.bazel index 3f16788d7ca..37c3e391bef 100644 --- a/src/utils/pixie_updater/BUILD.bazel +++ b/src/utils/pixie_updater/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/utils/pixie_updater/main.go b/src/utils/pixie_updater/main.go index 2f0d73e4a68..52242f4108d 100644 --- a/src/utils/pixie_updater/main.go +++ b/src/utils/pixie_updater/main.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/utils/shared/artifacts/BUILD.bazel b/src/utils/shared/artifacts/BUILD.bazel index c88db1a481d..2c45cceff77 100644 --- a/src/utils/shared/artifacts/BUILD.bazel +++ b/src/utils/shared/artifacts/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/utils/shared/artifacts/yamls.go b/src/utils/shared/artifacts/yamls.go index a596773b236..8c1bd9e69ad 100644 --- a/src/utils/shared/artifacts/yamls.go +++ b/src/utils/shared/artifacts/yamls.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package artifacts import ( diff --git a/src/utils/shared/certs/BUILD.bazel b/src/utils/shared/certs/BUILD.bazel index 075105208f4..ea60f11bf8f 100644 --- a/src/utils/shared/certs/BUILD.bazel +++ b/src/utils/shared/certs/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/utils/shared/certs/certs.go b/src/utils/shared/certs/certs.go index 724165c6848..969c35582bc 100644 --- a/src/utils/shared/certs/certs.go +++ b/src/utils/shared/certs/certs.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package certs import ( diff --git a/src/utils/shared/k8s/BUILD.bazel b/src/utils/shared/k8s/BUILD.bazel index 886717c9e37..a23c5ca785e 100644 --- a/src/utils/shared/k8s/BUILD.bazel +++ b/src/utils/shared/k8s/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/utils/shared/k8s/apply.go b/src/utils/shared/k8s/apply.go index d66fb401864..b5fb36f71a0 100644 --- a/src/utils/shared/k8s/apply.go +++ b/src/utils/shared/k8s/apply.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s import ( diff --git a/src/utils/shared/k8s/auth.go b/src/utils/shared/k8s/auth.go index 76765fa0c03..6a134683461 100644 --- a/src/utils/shared/k8s/auth.go +++ b/src/utils/shared/k8s/auth.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s import ( diff --git a/src/utils/shared/k8s/delete.go b/src/utils/shared/k8s/delete.go index e1cd54a9a39..1a150ceb40a 100644 --- a/src/utils/shared/k8s/delete.go +++ b/src/utils/shared/k8s/delete.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s import ( diff --git a/src/utils/shared/k8s/logs.go b/src/utils/shared/k8s/logs.go index 97c0799eb00..1a516c973ea 100644 --- a/src/utils/shared/k8s/logs.go +++ b/src/utils/shared/k8s/logs.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s import ( diff --git a/src/utils/shared/k8s/proxy.go b/src/utils/shared/k8s/proxy.go index aa0e8d5c7d5..48e54e1bc0a 100644 --- a/src/utils/shared/k8s/proxy.go +++ b/src/utils/shared/k8s/proxy.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s import ( diff --git a/src/utils/shared/k8s/secrets.go b/src/utils/shared/k8s/secrets.go index 538d2615749..d64a0b4135f 100644 --- a/src/utils/shared/k8s/secrets.go +++ b/src/utils/shared/k8s/secrets.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s import ( diff --git a/src/utils/shared/k8s/watcher.go b/src/utils/shared/k8s/watcher.go index 9613861b24f..188a43adb0c 100644 --- a/src/utils/shared/k8s/watcher.go +++ b/src/utils/shared/k8s/watcher.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8s import ( diff --git a/src/utils/shared/tar/BUILD.bazel b/src/utils/shared/tar/BUILD.bazel index dc33b1dc551..e0df2909ca2 100644 --- a/src/utils/shared/tar/BUILD.bazel +++ b/src/utils/shared/tar/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/utils/shared/tar/tar.go b/src/utils/shared/tar/tar.go index 92e94666161..f5a87d0b149 100644 --- a/src/utils/shared/tar/tar.go +++ b/src/utils/shared/tar/tar.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package tar import ( diff --git a/src/utils/shared/yamls/BUILD.bazel b/src/utils/shared/yamls/BUILD.bazel index 4c59b9697d0..d9291abd85e 100644 --- a/src/utils/shared/yamls/BUILD.bazel +++ b/src/utils/shared/yamls/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/utils/shared/yamls/extract.go b/src/utils/shared/yamls/extract.go index 44783268651..0a0c001cdc6 100644 --- a/src/utils/shared/yamls/extract.go +++ b/src/utils/shared/yamls/extract.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package yamls import ( diff --git a/src/utils/shared/yamls/templates.go b/src/utils/shared/yamls/templates.go index 39753072b4d..7a195461b3b 100644 --- a/src/utils/shared/yamls/templates.go +++ b/src/utils/shared/yamls/templates.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package yamls import ( diff --git a/src/utils/template_generator/BUILD.bazel b/src/utils/template_generator/BUILD.bazel index d774f98ca4a..03899d0b15f 100644 --- a/src/utils/template_generator/BUILD.bazel +++ b/src/utils/template_generator/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") go_library( diff --git a/src/utils/template_generator/main.go b/src/utils/template_generator/main.go index 090300ade8b..c97bf4bd036 100644 --- a/src/utils/template_generator/main.go +++ b/src/utils/template_generator/main.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/utils/template_generator/vizier_yamls/BUILD.bazel b/src/utils/template_generator/vizier_yamls/BUILD.bazel index db9a0c51020..9d9d5609aae 100644 --- a/src/utils/template_generator/vizier_yamls/BUILD.bazel +++ b/src/utils/template_generator/vizier_yamls/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/utils/template_generator/vizier_yamls/vizier_yamls.go b/src/utils/template_generator/vizier_yamls/vizier_yamls.go index 614e7b81a60..13da7a206d3 100644 --- a/src/utils/template_generator/vizier_yamls/vizier_yamls.go +++ b/src/utils/template_generator/vizier_yamls/vizier_yamls.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizieryamls import ( diff --git a/src/utils/testingutils/BUILD.bazel b/src/utils/testingutils/BUILD.bazel index e1e0dca3544..9160e9af7e2 100644 --- a/src/utils/testingutils/BUILD.bazel +++ b/src/utils/testingutils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/utils/testingutils/elastic.go b/src/utils/testingutils/elastic.go index 7b8d5db8806..e96a03c9f79 100644 --- a/src/utils/testingutils/elastic.go +++ b/src/utils/testingutils/elastic.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testingutils import ( diff --git a/src/utils/testingutils/etcd.go b/src/utils/testingutils/etcd.go index e93554b34a2..005d3c54f1b 100644 --- a/src/utils/testingutils/etcd.go +++ b/src/utils/testingutils/etcd.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testingutils import ( diff --git a/src/utils/testingutils/gcs.go b/src/utils/testingutils/gcs.go index 6aecba8f64c..fef19ad4df8 100644 --- a/src/utils/testingutils/gcs.go +++ b/src/utils/testingutils/gcs.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testingutils import ( diff --git a/src/utils/testingutils/jwt.go b/src/utils/testingutils/jwt.go index 08f782dd9dc..49f94419cd0 100644 --- a/src/utils/testingutils/jwt.go +++ b/src/utils/testingutils/jwt.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testingutils import ( diff --git a/src/utils/testingutils/mock_context.go b/src/utils/testingutils/mock_context.go index 378af7f5315..4eb913920f4 100644 --- a/src/utils/testingutils/mock_context.go +++ b/src/utils/testingutils/mock_context.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testingutils import ( diff --git a/src/utils/testingutils/nats.go b/src/utils/testingutils/nats.go index 3000dc3b757..e9474b2a508 100644 --- a/src/utils/testingutils/nats.go +++ b/src/utils/testingutils/nats.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testingutils import ( diff --git a/src/utils/testingutils/stan.go b/src/utils/testingutils/stan.go index a95d1eeff30..729cb390a17 100644 --- a/src/utils/testingutils/stan.go +++ b/src/utils/testingutils/stan.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testingutils import ( diff --git a/src/utils/uuid.go b/src/utils/uuid.go index b167e003aa5..b13e4c75cb4 100644 --- a/src/utils/uuid.go +++ b/src/utils/uuid.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils import ( diff --git a/src/utils/uuid_test.go b/src/utils/uuid_test.go index a2065c00141..e1e8d52767d 100644 --- a/src/utils/uuid_test.go +++ b/src/utils/uuid_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package utils_test import ( diff --git a/src/vizier/funcs/BUILD.bazel b/src/vizier/funcs/BUILD.bazel index 7b88ecaeedb..e46114d62e7 100644 --- a/src/vizier/funcs/BUILD.bazel +++ b/src/vizier/funcs/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library") package(default_visibility = ["//src/vizier:__subpackages__"]) diff --git a/src/vizier/funcs/context/BUILD.bazel b/src/vizier/funcs/context/BUILD.bazel index dbfda0d3232..dfc070fdbd1 100644 --- a/src/vizier/funcs/context/BUILD.bazel +++ b/src/vizier/funcs/context/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") package(default_visibility = ["//src/vizier:__subpackages__"]) diff --git a/src/vizier/funcs/context/vizier_context.h b/src/vizier/funcs/context/vizier_context.h index 15ed37271a7..d8d8ce6a6cd 100644 --- a/src/vizier/funcs/context/vizier_context.h +++ b/src/vizier/funcs/context/vizier_context.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/funcs/export.cc b/src/vizier/funcs/export.cc index 7ec55b16372..6d6bfe033a9 100644 --- a/src/vizier/funcs/export.cc +++ b/src/vizier/funcs/export.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/vizier/funcs/funcs.cc b/src/vizier/funcs/funcs.cc index 18195f36d89..315e305a8fc 100644 --- a/src/vizier/funcs/funcs.cc +++ b/src/vizier/funcs/funcs.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/funcs/funcs.h" #include "src/carnot/funcs/funcs.h" #include "src/vizier/funcs/internal/internal_impl.h" diff --git a/src/vizier/funcs/funcs.h b/src/vizier/funcs/funcs.h index 7f0e53afd54..7a051558a7a 100644 --- a/src/vizier/funcs/funcs.h +++ b/src/vizier/funcs/funcs.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/udf/registry.h" diff --git a/src/vizier/funcs/go/BUILD.bazel b/src/vizier/funcs/go/BUILD.bazel index 207958a6ba8..a7e1a5933a0 100644 --- a/src/vizier/funcs/go/BUILD.bazel +++ b/src/vizier/funcs/go/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") load("//bazel:pl_build_system.bzl", "pl_bindata") diff --git a/src/vizier/funcs/internal/BUILD.bazel b/src/vizier/funcs/internal/BUILD.bazel index de73b062d0d..07bd7cef077 100644 --- a/src/vizier/funcs/internal/BUILD.bazel +++ b/src/vizier/funcs/internal/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") package(default_visibility = ["//src/vizier/funcs:__subpackages__"]) diff --git a/src/vizier/funcs/internal/debug.h b/src/vizier/funcs/internal/debug.h index 76349657b3f..c2bef06ef38 100644 --- a/src/vizier/funcs/internal/debug.h +++ b/src/vizier/funcs/internal/debug.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/funcs/internal/internal_impl.cc b/src/vizier/funcs/internal/internal_impl.cc index b3d02f69e41..d9af3b0e9df 100644 --- a/src/vizier/funcs/internal/internal_impl.cc +++ b/src/vizier/funcs/internal/internal_impl.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/funcs/internal/internal_impl.h" #include "src/vizier/funcs/internal/debug.h" #include "src/vizier/funcs/internal/stack_trace.h" diff --git a/src/vizier/funcs/internal/internal_impl.h b/src/vizier/funcs/internal/internal_impl.h index 0976016ef26..f86b20eddf6 100644 --- a/src/vizier/funcs/internal/internal_impl.h +++ b/src/vizier/funcs/internal/internal_impl.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/udf/registry.h" diff --git a/src/vizier/funcs/internal/stack_trace.h b/src/vizier/funcs/internal/stack_trace.h index 775eac1041d..a93875b569a 100644 --- a/src/vizier/funcs/internal/stack_trace.h +++ b/src/vizier/funcs/internal/stack_trace.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/funcs/md_udtfs/BUILD.bazel b/src/vizier/funcs/md_udtfs/BUILD.bazel index 38dd2034887..ca19fee114e 100644 --- a/src/vizier/funcs/md_udtfs/BUILD.bazel +++ b/src/vizier/funcs/md_udtfs/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library") package(default_visibility = ["//src/vizier:__subpackages__"]) diff --git a/src/vizier/funcs/md_udtfs/md_udtfs.cc b/src/vizier/funcs/md_udtfs/md_udtfs.cc index 884ce86e90c..994f1a08989 100644 --- a/src/vizier/funcs/md_udtfs/md_udtfs.cc +++ b/src/vizier/funcs/md_udtfs/md_udtfs.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/funcs/md_udtfs/md_udtfs.h" #include "src/carnot/udf/udf.h" diff --git a/src/vizier/funcs/md_udtfs/md_udtfs.h b/src/vizier/funcs/md_udtfs/md_udtfs.h index a897f5ce9f3..de3cfd4f097 100644 --- a/src/vizier/funcs/md_udtfs/md_udtfs.h +++ b/src/vizier/funcs/md_udtfs/md_udtfs.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include "src/carnot/udf/registry.h" diff --git a/src/vizier/funcs/md_udtfs/md_udtfs_impl.h b/src/vizier/funcs/md_udtfs/md_udtfs_impl.h index 06f3924332c..19499954628 100644 --- a/src/vizier/funcs/md_udtfs/md_udtfs_impl.h +++ b/src/vizier/funcs/md_udtfs/md_udtfs_impl.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/messages/messagespb/BUILD.bazel b/src/vizier/messages/messagespb/BUILD.bazel index 7aace812ac8..75f01277f59 100644 --- a/src/vizier/messages/messagespb/BUILD.bazel +++ b/src/vizier/messages/messagespb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/vizier/messages/messagespb/messages.proto b/src/vizier/messages/messagespb/messages.proto index 4286e42bb1b..a8271ef6a38 100644 --- a/src/vizier/messages/messagespb/messages.proto +++ b/src/vizier/messages/messagespb/messages.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.vizier.messages; diff --git a/src/vizier/services/agent/kelvin/BUILD.bazel b/src/vizier/services/agent/kelvin/BUILD.bazel index 6b67a08337a..83cb7214899 100644 --- a/src/vizier/services/agent/kelvin/BUILD.bazel +++ b/src/vizier/services/agent/kelvin/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//cc:image.bzl", "cc_image") load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library") diff --git a/src/vizier/services/agent/kelvin/kelvin_main.cc b/src/vizier/services/agent/kelvin/kelvin_main.cc index 227b0526c2b..35bd51f14e9 100644 --- a/src/vizier/services/agent/kelvin/kelvin_main.cc +++ b/src/vizier/services/agent/kelvin/kelvin_main.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/vizier/services/agent/kelvin/kelvin_manager.cc b/src/vizier/services/agent/kelvin/kelvin_manager.cc index 1496fe58d0e..50d51e8b191 100644 --- a/src/vizier/services/agent/kelvin/kelvin_manager.cc +++ b/src/vizier/services/agent/kelvin/kelvin_manager.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/services/agent/kelvin/kelvin_manager.h" #include "src/vizier/services/agent/manager/exec.h" diff --git a/src/vizier/services/agent/kelvin/kelvin_manager.h b/src/vizier/services/agent/kelvin/kelvin_manager.h index 18f44cfc78f..f6a15442d26 100644 --- a/src/vizier/services/agent/kelvin/kelvin_manager.h +++ b/src/vizier/services/agent/kelvin/kelvin_manager.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/manager/BUILD.bazel b/src/vizier/services/agent/manager/BUILD.bazel index 417633f0e5b..63284a59e71 100644 --- a/src/vizier/services/agent/manager/BUILD.bazel +++ b/src/vizier/services/agent/manager/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:pl_build_system.bzl", "pl_cc_library", "pl_cc_test", "pl_cc_test_library") package(default_visibility = ["//src/vizier:__subpackages__"]) diff --git a/src/vizier/services/agent/manager/chan_cache.cc b/src/vizier/services/agent/manager/chan_cache.cc index f6f775608ad..955da0d49d3 100644 --- a/src/vizier/services/agent/manager/chan_cache.cc +++ b/src/vizier/services/agent/manager/chan_cache.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/services/agent/manager/chan_cache.h" #include diff --git a/src/vizier/services/agent/manager/chan_cache.h b/src/vizier/services/agent/manager/chan_cache.h index 387de69669e..00106a2e2f4 100644 --- a/src/vizier/services/agent/manager/chan_cache.h +++ b/src/vizier/services/agent/manager/chan_cache.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/manager/chan_cache_test.cc b/src/vizier/services/agent/manager/chan_cache_test.cc index a2444021364..4409fb78d62 100644 --- a/src/vizier/services/agent/manager/chan_cache_test.cc +++ b/src/vizier/services/agent/manager/chan_cache_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/vizier/services/agent/manager/config_manager.cc b/src/vizier/services/agent/manager/config_manager.cc index 4f0920ca270..9e12cd5b0a6 100644 --- a/src/vizier/services/agent/manager/config_manager.cc +++ b/src/vizier/services/agent/manager/config_manager.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/services/agent/manager/config_manager.h" #include "src/common/base/base.h" diff --git a/src/vizier/services/agent/manager/config_manager.h b/src/vizier/services/agent/manager/config_manager.h index c449c3d8e7c..d1b740d89f8 100644 --- a/src/vizier/services/agent/manager/config_manager.h +++ b/src/vizier/services/agent/manager/config_manager.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/manager/exec.cc b/src/vizier/services/agent/manager/exec.cc index fa7b2fd5ffa..b3491fd8fd3 100644 --- a/src/vizier/services/agent/manager/exec.cc +++ b/src/vizier/services/agent/manager/exec.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/services/agent/manager/exec.h" #include diff --git a/src/vizier/services/agent/manager/exec.h b/src/vizier/services/agent/manager/exec.h index 4d5df55ab70..318b698ea39 100644 --- a/src/vizier/services/agent/manager/exec.h +++ b/src/vizier/services/agent/manager/exec.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/manager/heartbeat.cc b/src/vizier/services/agent/manager/heartbeat.cc index 4335eaf2998..9cad2240437 100644 --- a/src/vizier/services/agent/manager/heartbeat.cc +++ b/src/vizier/services/agent/manager/heartbeat.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/services/agent/manager/heartbeat.h" #include diff --git a/src/vizier/services/agent/manager/heartbeat.h b/src/vizier/services/agent/manager/heartbeat.h index 783581686ae..4ac47f38359 100644 --- a/src/vizier/services/agent/manager/heartbeat.h +++ b/src/vizier/services/agent/manager/heartbeat.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/manager/heartbeat_test.cc b/src/vizier/services/agent/manager/heartbeat_test.cc index 4c58d425536..c19b86d2942 100644 --- a/src/vizier/services/agent/manager/heartbeat_test.cc +++ b/src/vizier/services/agent/manager/heartbeat_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/vizier/services/agent/manager/k8s_update.cc b/src/vizier/services/agent/manager/k8s_update.cc index 41d102872ec..c937940505b 100644 --- a/src/vizier/services/agent/manager/k8s_update.cc +++ b/src/vizier/services/agent/manager/k8s_update.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/services/agent/manager/k8s_update.h" #include diff --git a/src/vizier/services/agent/manager/k8s_update.h b/src/vizier/services/agent/manager/k8s_update.h index 1667a7d1835..92dd1552580 100644 --- a/src/vizier/services/agent/manager/k8s_update.h +++ b/src/vizier/services/agent/manager/k8s_update.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/manager/k8s_update_test.cc b/src/vizier/services/agent/manager/k8s_update_test.cc index cf2cb0e34c8..9a1676f8cb3 100644 --- a/src/vizier/services/agent/manager/k8s_update_test.cc +++ b/src/vizier/services/agent/manager/k8s_update_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/vizier/services/agent/manager/manager.cc b/src/vizier/services/agent/manager/manager.cc index 5cca7357288..5c31b998421 100644 --- a/src/vizier/services/agent/manager/manager.cc +++ b/src/vizier/services/agent/manager/manager.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/services/agent/manager/manager.h" #include diff --git a/src/vizier/services/agent/manager/manager.h b/src/vizier/services/agent/manager/manager.h index 319505e186d..6544bb884a7 100644 --- a/src/vizier/services/agent/manager/manager.h +++ b/src/vizier/services/agent/manager/manager.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/manager/registration.cc b/src/vizier/services/agent/manager/registration.cc index 8de2b618d78..95a1d1d8acf 100644 --- a/src/vizier/services/agent/manager/registration.cc +++ b/src/vizier/services/agent/manager/registration.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/vizier/services/agent/manager/registration.h b/src/vizier/services/agent/manager/registration.h index 76b585b893a..64eed60207f 100644 --- a/src/vizier/services/agent/manager/registration.h +++ b/src/vizier/services/agent/manager/registration.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/manager/registration_test.cc b/src/vizier/services/agent/manager/registration_test.cc index 65afde81ba6..ffc7a38815b 100644 --- a/src/vizier/services/agent/manager/registration_test.cc +++ b/src/vizier/services/agent/manager/registration_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/vizier/services/agent/manager/relation_info_manager.cc b/src/vizier/services/agent/manager/relation_info_manager.cc index aeba620cd81..cc104a2f951 100644 --- a/src/vizier/services/agent/manager/relation_info_manager.cc +++ b/src/vizier/services/agent/manager/relation_info_manager.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/vizier/services/agent/manager/relation_info_manager.h" diff --git a/src/vizier/services/agent/manager/relation_info_manager.h b/src/vizier/services/agent/manager/relation_info_manager.h index f56eec4349b..10c05039328 100644 --- a/src/vizier/services/agent/manager/relation_info_manager.h +++ b/src/vizier/services/agent/manager/relation_info_manager.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include #include diff --git a/src/vizier/services/agent/manager/relation_info_manager_test.cc b/src/vizier/services/agent/manager/relation_info_manager_test.cc index d6bb9b8169b..a3ccdb1aa66 100644 --- a/src/vizier/services/agent/manager/relation_info_manager_test.cc +++ b/src/vizier/services/agent/manager/relation_info_manager_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/vizier/services/agent/manager/ssl.cc b/src/vizier/services/agent/manager/ssl.cc index 75879a0a59a..f4fa2edd15f 100644 --- a/src/vizier/services/agent/manager/ssl.cc +++ b/src/vizier/services/agent/manager/ssl.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/services/agent/manager/ssl.h" #include "src/common/base/base.h" diff --git a/src/vizier/services/agent/manager/ssl.h b/src/vizier/services/agent/manager/ssl.h index 91aa8665f10..c2c09f4336d 100644 --- a/src/vizier/services/agent/manager/ssl.h +++ b/src/vizier/services/agent/manager/ssl.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/manager/test_utils.h b/src/vizier/services/agent/manager/test_utils.h index 648cec2975c..a391618eaa1 100644 --- a/src/vizier/services/agent/manager/test_utils.h +++ b/src/vizier/services/agent/manager/test_utils.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/pem/BUILD.bazel b/src/vizier/services/agent/pem/BUILD.bazel index 5e63dc7c2a0..72a17d471e1 100644 --- a/src/vizier/services/agent/pem/BUILD.bazel +++ b/src/vizier/services/agent/pem/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//cc:image.bzl", "cc_image") load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("//bazel:pl_build_system.bzl", "pl_cc_binary", "pl_cc_library", "pl_cc_test") diff --git a/src/vizier/services/agent/pem/pem_main.cc b/src/vizier/services/agent/pem/pem_main.cc index 1d781e3959a..ea932b2d2b2 100644 --- a/src/vizier/services/agent/pem/pem_main.cc +++ b/src/vizier/services/agent/pem/pem_main.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include "src/vizier/services/agent/pem/pem_manager.h" diff --git a/src/vizier/services/agent/pem/pem_manager.cc b/src/vizier/services/agent/pem/pem_manager.cc index 87fe6b7eb26..5d0d6421ca9 100644 --- a/src/vizier/services/agent/pem/pem_manager.cc +++ b/src/vizier/services/agent/pem/pem_manager.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include "src/vizier/services/agent/pem/pem_manager.h" #include "src/vizier/services/agent/manager/exec.h" diff --git a/src/vizier/services/agent/pem/pem_manager.h b/src/vizier/services/agent/pem/pem_manager.h index ec46e79dfa3..6b25f9ca3d7 100644 --- a/src/vizier/services/agent/pem/pem_manager.h +++ b/src/vizier/services/agent/pem/pem_manager.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/pem/tracepoint_manager.cc b/src/vizier/services/agent/pem/tracepoint_manager.cc index 2ed028512ca..0f6ee7263e4 100644 --- a/src/vizier/services/agent/pem/tracepoint_manager.cc +++ b/src/vizier/services/agent/pem/tracepoint_manager.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include diff --git a/src/vizier/services/agent/pem/tracepoint_manager.h b/src/vizier/services/agent/pem/tracepoint_manager.h index 7fe0e5f4b60..1790bd81e1f 100644 --- a/src/vizier/services/agent/pem/tracepoint_manager.h +++ b/src/vizier/services/agent/pem/tracepoint_manager.h @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #pragma once #include diff --git a/src/vizier/services/agent/pem/tracepoint_manager_test.cc b/src/vizier/services/agent/pem/tracepoint_manager_test.cc index dd0b7fa3c57..bab9ab29cfb 100644 --- a/src/vizier/services/agent/pem/tracepoint_manager_test.cc +++ b/src/vizier/services/agent/pem/tracepoint_manager_test.cc @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include #include #include diff --git a/src/vizier/services/certmgr/BUILD.bazel b/src/vizier/services/certmgr/BUILD.bazel index f4fd86b8ac4..7f380172a69 100644 --- a/src/vizier/services/certmgr/BUILD.bazel +++ b/src/vizier/services/certmgr/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/vizier/services/certmgr/certmgr_server.go b/src/vizier/services/certmgr/certmgr_server.go index 39746852ac4..17978c1a2a6 100644 --- a/src/vizier/services/certmgr/certmgr_server.go +++ b/src/vizier/services/certmgr/certmgr_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/vizier/services/certmgr/certmgrenv/BUILD.bazel b/src/vizier/services/certmgr/certmgrenv/BUILD.bazel index 7cd8d7af6e7..2f1eaa088ab 100644 --- a/src/vizier/services/certmgr/certmgrenv/BUILD.bazel +++ b/src/vizier/services/certmgr/certmgrenv/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/services/certmgr/certmgrenv/env.go b/src/vizier/services/certmgr/certmgrenv/env.go index 0483c084e57..be326ce18f0 100644 --- a/src/vizier/services/certmgr/certmgrenv/env.go +++ b/src/vizier/services/certmgr/certmgrenv/env.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package certmgrenv import "px.dev/pixie/src/shared/services/env" diff --git a/src/vizier/services/certmgr/certmgrpb/BUILD.bazel b/src/vizier/services/certmgr/certmgrpb/BUILD.bazel index c26cf80f25c..420fd4ed086 100644 --- a/src/vizier/services/certmgr/certmgrpb/BUILD.bazel +++ b/src/vizier/services/certmgr/certmgrpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") diff --git a/src/vizier/services/certmgr/certmgrpb/service.proto b/src/vizier/services/certmgr/certmgrpb/service.proto index 3ef9ad90b06..7caf073660a 100644 --- a/src/vizier/services/certmgr/certmgrpb/service.proto +++ b/src/vizier/services/certmgr/certmgrpb/service.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.services; diff --git a/src/vizier/services/certmgr/controller/BUILD.bazel b/src/vizier/services/certmgr/controller/BUILD.bazel index 43289ced914..23147414e7b 100644 --- a/src/vizier/services/certmgr/controller/BUILD.bazel +++ b/src/vizier/services/certmgr/controller/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/services/certmgr/controller/k8s_api.go b/src/vizier/services/certmgr/controller/k8s_api.go index 69f7d7eff6c..a2edef118ed 100644 --- a/src/vizier/services/certmgr/controller/k8s_api.go +++ b/src/vizier/services/certmgr/controller/k8s_api.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/vizier/services/certmgr/controller/mock.go b/src/vizier/services/certmgr/controller/mock.go index 11087927162..aeecf100594 100644 --- a/src/vizier/services/certmgr/controller/mock.go +++ b/src/vizier/services/certmgr/controller/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller //go:generate mockgen -source=server.go -destination=mock/mock_k8s_api.gen.go K8sAPI diff --git a/src/vizier/services/certmgr/controller/mock/BUILD.bazel b/src/vizier/services/certmgr/controller/mock/BUILD.bazel index ae5400b7c05..93226a5b112 100644 --- a/src/vizier/services/certmgr/controller/mock/BUILD.bazel +++ b/src/vizier/services/certmgr/controller/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/services/certmgr/controller/server.go b/src/vizier/services/certmgr/controller/server.go index f1d09203a61..a5fcc58003f 100644 --- a/src/vizier/services/certmgr/controller/server.go +++ b/src/vizier/services/certmgr/controller/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller import ( diff --git a/src/vizier/services/certmgr/controller/server_test.go b/src/vizier/services/certmgr/controller/server_test.go index 976edcc7ce0..b001ae0cabb 100644 --- a/src/vizier/services/certmgr/controller/server_test.go +++ b/src/vizier/services/certmgr/controller/server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controller_test import ( diff --git a/src/vizier/services/cloud_connector/BUILD.bazel b/src/vizier/services/cloud_connector/BUILD.bazel index 894e9ff0b99..9995ebec38b 100644 --- a/src/vizier/services/cloud_connector/BUILD.bazel +++ b/src/vizier/services/cloud_connector/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/vizier/services/cloud_connector/bridge/BUILD.bazel b/src/vizier/services/cloud_connector/bridge/BUILD.bazel index 2d7afe8e27d..81b0fb8b801 100644 --- a/src/vizier/services/cloud_connector/bridge/BUILD.bazel +++ b/src/vizier/services/cloud_connector/bridge/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/services/cloud_connector/bridge/server.go b/src/vizier/services/cloud_connector/bridge/server.go index 9c46703e241..70df9f991e1 100644 --- a/src/vizier/services/cloud_connector/bridge/server.go +++ b/src/vizier/services/cloud_connector/bridge/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package bridge import ( diff --git a/src/vizier/services/cloud_connector/bridge/server_test.go b/src/vizier/services/cloud_connector/bridge/server_test.go index 0cf59010d3a..3407507234e 100644 --- a/src/vizier/services/cloud_connector/bridge/server_test.go +++ b/src/vizier/services/cloud_connector/bridge/server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package bridge_test import ( diff --git a/src/vizier/services/cloud_connector/bridge/vzconn_client.go b/src/vizier/services/cloud_connector/bridge/vzconn_client.go index 49f1bd0ad27..a3f3b3f7919 100644 --- a/src/vizier/services/cloud_connector/bridge/vzconn_client.go +++ b/src/vizier/services/cloud_connector/bridge/vzconn_client.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package bridge import ( diff --git a/src/vizier/services/cloud_connector/bridge/vzinfo.go b/src/vizier/services/cloud_connector/bridge/vzinfo.go index 786023ed6a3..569c126f9b3 100644 --- a/src/vizier/services/cloud_connector/bridge/vzinfo.go +++ b/src/vizier/services/cloud_connector/bridge/vzinfo.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package bridge import ( diff --git a/src/vizier/services/cloud_connector/cloud_connector_server.go b/src/vizier/services/cloud_connector/cloud_connector_server.go index 840fd1f2722..7ccc8b033a3 100644 --- a/src/vizier/services/cloud_connector/cloud_connector_server.go +++ b/src/vizier/services/cloud_connector/cloud_connector_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/vizier/services/cloud_connector/vizhealth/BUILD.bazel b/src/vizier/services/cloud_connector/vizhealth/BUILD.bazel index 66ec071ad9d..a12e7eebf5b 100644 --- a/src/vizier/services/cloud_connector/vizhealth/BUILD.bazel +++ b/src/vizier/services/cloud_connector/vizhealth/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/services/cloud_connector/vizhealth/checker.go b/src/vizier/services/cloud_connector/vizhealth/checker.go index 96d22ff7e7d..dc94feedb58 100644 --- a/src/vizier/services/cloud_connector/vizhealth/checker.go +++ b/src/vizier/services/cloud_connector/vizhealth/checker.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package vizhealth import ( diff --git a/src/vizier/services/metadata/BUILD.bazel b/src/vizier/services/metadata/BUILD.bazel index 23d35047dbb..f88fdee60b8 100644 --- a/src/vizier/services/metadata/BUILD.bazel +++ b/src/vizier/services/metadata/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/vizier/services/metadata/controllers/BUILD.bazel b/src/vizier/services/metadata/controllers/BUILD.bazel index 73f1f009966..1cc3ac54924 100644 --- a/src/vizier/services/metadata/controllers/BUILD.bazel +++ b/src/vizier/services/metadata/controllers/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/services/metadata/controllers/agent/BUILD.bazel b/src/vizier/services/metadata/controllers/agent/BUILD.bazel index 5b71d1d4632..fd721cc5b2a 100644 --- a/src/vizier/services/metadata/controllers/agent/BUILD.bazel +++ b/src/vizier/services/metadata/controllers/agent/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/services/metadata/controllers/agent/agent.go b/src/vizier/services/metadata/controllers/agent/agent.go index d8873ab3050..fa16024a852 100644 --- a/src/vizier/services/metadata/controllers/agent/agent.go +++ b/src/vizier/services/metadata/controllers/agent/agent.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package agent import ( diff --git a/src/vizier/services/metadata/controllers/agent/agent_store.go b/src/vizier/services/metadata/controllers/agent/agent_store.go index a7d7caf65e9..79a79c8d029 100644 --- a/src/vizier/services/metadata/controllers/agent/agent_store.go +++ b/src/vizier/services/metadata/controllers/agent/agent_store.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package agent import ( diff --git a/src/vizier/services/metadata/controllers/agent/agent_test.go b/src/vizier/services/metadata/controllers/agent/agent_test.go index ae9edc47587..2183f6cb682 100644 --- a/src/vizier/services/metadata/controllers/agent/agent_test.go +++ b/src/vizier/services/metadata/controllers/agent/agent_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package agent_test import ( diff --git a/src/vizier/services/metadata/controllers/agent/mock.go b/src/vizier/services/metadata/controllers/agent/mock.go index a12050cf07e..e708e540d18 100644 --- a/src/vizier/services/metadata/controllers/agent/mock.go +++ b/src/vizier/services/metadata/controllers/agent/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package agent //go:generate mockgen -source=agent.go -destination=mock/mock_agent.gen.go Manager diff --git a/src/vizier/services/metadata/controllers/agent/mock/BUILD.bazel b/src/vizier/services/metadata/controllers/agent/mock/BUILD.bazel index f34e3c173e6..93ac2f3a967 100644 --- a/src/vizier/services/metadata/controllers/agent/mock/BUILD.bazel +++ b/src/vizier/services/metadata/controllers/agent/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/services/metadata/controllers/agent_topic_listener.go b/src/vizier/services/metadata/controllers/agent_topic_listener.go index f8e549b3cd8..70a7d140c96 100644 --- a/src/vizier/services/metadata/controllers/agent_topic_listener.go +++ b/src/vizier/services/metadata/controllers/agent_topic_listener.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/metadata/controllers/agent_topic_listener_test.go b/src/vizier/services/metadata/controllers/agent_topic_listener_test.go index a5efe254419..27aa370518f 100644 --- a/src/vizier/services/metadata/controllers/agent_topic_listener_test.go +++ b/src/vizier/services/metadata/controllers/agent_topic_listener_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/vizier/services/metadata/controllers/etcd_mgr.go b/src/vizier/services/metadata/controllers/etcd_mgr.go index 5c6368b6acf..246dff61e16 100644 --- a/src/vizier/services/metadata/controllers/etcd_mgr.go +++ b/src/vizier/services/metadata/controllers/etcd_mgr.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/metadata/controllers/k8smeta/BUILD.bazel b/src/vizier/services/metadata/controllers/k8smeta/BUILD.bazel index 96f964b3830..5d2bd3eaa51 100644 --- a/src/vizier/services/metadata/controllers/k8smeta/BUILD.bazel +++ b/src/vizier/services/metadata/controllers/k8smeta/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_controller.go b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_controller.go index 8f93098590c..768b5caef3f 100644 --- a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_controller.go +++ b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_controller.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8smeta import ( diff --git a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_handler.go b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_handler.go index c72658a7fa2..2131bc7f0f2 100644 --- a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_handler.go +++ b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_handler.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8smeta import ( diff --git a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_handler_test.go b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_handler_test.go index 540a0745eb1..9b70486755e 100644 --- a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_handler_test.go +++ b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_handler_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8smeta_test import ( diff --git a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_store.go b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_store.go index 073247c4a9c..4c0a0cf2ec5 100644 --- a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_store.go +++ b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_store.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8smeta import ( diff --git a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_store_test.go b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_store_test.go index f4c80235b19..3cc424fca87 100644 --- a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_store_test.go +++ b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_store_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8smeta import ( diff --git a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_utils.go b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_utils.go index 49b6b2787a0..41c59f9a48f 100644 --- a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_utils.go +++ b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_utils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8smeta //go:generate genny -in=k8s_metadata_utils.tmpl -out k8s_metadata_utils.gen.go gen "ReplacedResource=Pod,Service,Namespace,Endpoints,Node" diff --git a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_utils_test.go b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_utils_test.go index 539ff9135ca..eb21c742e50 100644 --- a/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_utils_test.go +++ b/src/vizier/services/metadata/controllers/k8smeta/k8s_metadata_utils_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8smeta import ( diff --git a/src/vizier/services/metadata/controllers/k8smeta/metadata_topic_listener.go b/src/vizier/services/metadata/controllers/k8smeta/metadata_topic_listener.go index 9aae6d5ce09..e0eba4354fd 100644 --- a/src/vizier/services/metadata/controllers/k8smeta/metadata_topic_listener.go +++ b/src/vizier/services/metadata/controllers/k8smeta/metadata_topic_listener.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8smeta import ( diff --git a/src/vizier/services/metadata/controllers/k8smeta/metadata_topic_listener_test.go b/src/vizier/services/metadata/controllers/k8smeta/metadata_topic_listener_test.go index 3e084500ca5..703107a3c14 100644 --- a/src/vizier/services/metadata/controllers/k8smeta/metadata_topic_listener_test.go +++ b/src/vizier/services/metadata/controllers/k8smeta/metadata_topic_listener_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package k8smeta import ( diff --git a/src/vizier/services/metadata/controllers/message_bus.go b/src/vizier/services/metadata/controllers/message_bus.go index e074032a6c7..5266412a352 100644 --- a/src/vizier/services/metadata/controllers/message_bus.go +++ b/src/vizier/services/metadata/controllers/message_bus.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/metadata/controllers/server.go b/src/vizier/services/metadata/controllers/server.go index 3b66b803f80..6a867029c5a 100644 --- a/src/vizier/services/metadata/controllers/server.go +++ b/src/vizier/services/metadata/controllers/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/metadata/controllers/server_test.go b/src/vizier/services/metadata/controllers/server_test.go index 515365a7521..ee5265e0f7e 100644 --- a/src/vizier/services/metadata/controllers/server_test.go +++ b/src/vizier/services/metadata/controllers/server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/vizier/services/metadata/controllers/testutils/BUILD.bazel b/src/vizier/services/metadata/controllers/testutils/BUILD.bazel index c864e6a870f..e115087c077 100644 --- a/src/vizier/services/metadata/controllers/testutils/BUILD.bazel +++ b/src/vizier/services/metadata/controllers/testutils/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/services/metadata/controllers/testutils/test_proto.go b/src/vizier/services/metadata/controllers/testutils/test_proto.go index 502bace1917..676397a60db 100644 --- a/src/vizier/services/metadata/controllers/testutils/test_proto.go +++ b/src/vizier/services/metadata/controllers/testutils/test_proto.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package testutils // This file contains the protobufs used in vizier/services/metadata/controllers tests. diff --git a/src/vizier/services/metadata/controllers/tracepoint/BUILD.bazel b/src/vizier/services/metadata/controllers/tracepoint/BUILD.bazel index 0e01ddd062f..e97f25cd511 100644 --- a/src/vizier/services/metadata/controllers/tracepoint/BUILD.bazel +++ b/src/vizier/services/metadata/controllers/tracepoint/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/services/metadata/controllers/tracepoint/mock.go b/src/vizier/services/metadata/controllers/tracepoint/mock.go index 1b6b13e1be4..66a58595895 100644 --- a/src/vizier/services/metadata/controllers/tracepoint/mock.go +++ b/src/vizier/services/metadata/controllers/tracepoint/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package tracepoint //go:generate mockgen -source=tracepoint.go -destination=mock/mock_tracepoint.gen.go Store diff --git a/src/vizier/services/metadata/controllers/tracepoint/mock/BUILD.bazel b/src/vizier/services/metadata/controllers/tracepoint/mock/BUILD.bazel index e806211b743..312c11f8b94 100644 --- a/src/vizier/services/metadata/controllers/tracepoint/mock/BUILD.bazel +++ b/src/vizier/services/metadata/controllers/tracepoint/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/services/metadata/controllers/tracepoint/tracepoint.go b/src/vizier/services/metadata/controllers/tracepoint/tracepoint.go index 04bd2fcaab7..e14a3c7b15e 100644 --- a/src/vizier/services/metadata/controllers/tracepoint/tracepoint.go +++ b/src/vizier/services/metadata/controllers/tracepoint/tracepoint.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package tracepoint import ( diff --git a/src/vizier/services/metadata/controllers/tracepoint/tracepoint_store.go b/src/vizier/services/metadata/controllers/tracepoint/tracepoint_store.go index aa85e446bed..c618775f3ea 100644 --- a/src/vizier/services/metadata/controllers/tracepoint/tracepoint_store.go +++ b/src/vizier/services/metadata/controllers/tracepoint/tracepoint_store.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package tracepoint import ( diff --git a/src/vizier/services/metadata/controllers/tracepoint/tracepoint_store_test.go b/src/vizier/services/metadata/controllers/tracepoint/tracepoint_store_test.go index 44699ba5ecc..04b5ad64c23 100644 --- a/src/vizier/services/metadata/controllers/tracepoint/tracepoint_store_test.go +++ b/src/vizier/services/metadata/controllers/tracepoint/tracepoint_store_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package tracepoint import ( diff --git a/src/vizier/services/metadata/controllers/tracepoint/tracepoint_test.go b/src/vizier/services/metadata/controllers/tracepoint/tracepoint_test.go index 13eb08a15d1..08ca0193276 100644 --- a/src/vizier/services/metadata/controllers/tracepoint/tracepoint_test.go +++ b/src/vizier/services/metadata/controllers/tracepoint/tracepoint_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package tracepoint_test import ( diff --git a/src/vizier/services/metadata/metadata_server.go b/src/vizier/services/metadata/metadata_server.go index ca2b9c1cdc0..3ae29f5d3ea 100644 --- a/src/vizier/services/metadata/metadata_server.go +++ b/src/vizier/services/metadata/metadata_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/vizier/services/metadata/metadataenv/BUILD.bazel b/src/vizier/services/metadata/metadataenv/BUILD.bazel index 4e4f14eb8b0..af6034aeb4b 100644 --- a/src/vizier/services/metadata/metadataenv/BUILD.bazel +++ b/src/vizier/services/metadata/metadataenv/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/services/metadata/metadataenv/env.go b/src/vizier/services/metadata/metadataenv/env.go index eb743850e05..725989d5183 100644 --- a/src/vizier/services/metadata/metadataenv/env.go +++ b/src/vizier/services/metadata/metadataenv/env.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package metadataenv import "px.dev/pixie/src/shared/services/env" diff --git a/src/vizier/services/metadata/metadatapb/BUILD.bazel b/src/vizier/services/metadata/metadatapb/BUILD.bazel index 7b26ce4e651..fe1ac427fd7 100644 --- a/src/vizier/services/metadata/metadatapb/BUILD.bazel +++ b/src/vizier/services/metadata/metadatapb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/vizier/services/metadata/metadatapb/mock/BUILD.bazel b/src/vizier/services/metadata/metadatapb/mock/BUILD.bazel index 62b8f0f23b4..e6643a3b164 100644 --- a/src/vizier/services/metadata/metadatapb/mock/BUILD.bazel +++ b/src/vizier/services/metadata/metadatapb/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/services/metadata/metadatapb/service.proto b/src/vizier/services/metadata/metadatapb/service.proto index 365b6331959..b4a86ffcbde 100644 --- a/src/vizier/services/metadata/metadatapb/service.proto +++ b/src/vizier/services/metadata/metadatapb/service.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.vizier.services.metadata; diff --git a/src/vizier/services/metadata/storepb/BUILD.bazel b/src/vizier/services/metadata/storepb/BUILD.bazel index 681e02e9220..3269658d52f 100644 --- a/src/vizier/services/metadata/storepb/BUILD.bazel +++ b/src/vizier/services/metadata/storepb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/vizier/services/metadata/storepb/store.proto b/src/vizier/services/metadata/storepb/store.proto index 879327f3e9e..880fe465da3 100644 --- a/src/vizier/services/metadata/storepb/store.proto +++ b/src/vizier/services/metadata/storepb/store.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.vizier.services.metadata; diff --git a/src/vizier/services/query_broker/BUILD.bazel b/src/vizier/services/query_broker/BUILD.bazel index b528b161767..40553161f81 100644 --- a/src/vizier/services/query_broker/BUILD.bazel +++ b/src/vizier/services/query_broker/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//cc:image.bzl", "cc_image") load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/vizier/services/query_broker/controllers/BUILD.bazel b/src/vizier/services/query_broker/controllers/BUILD.bazel index 1e4e9c8ac01..74145f7a8f4 100644 --- a/src/vizier/services/query_broker/controllers/BUILD.bazel +++ b/src/vizier/services/query_broker/controllers/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/services/query_broker/controllers/errors.go b/src/vizier/services/query_broker/controllers/errors.go index 52e7be08243..c07c4eb4f1c 100644 --- a/src/vizier/services/query_broker/controllers/errors.go +++ b/src/vizier/services/query_broker/controllers/errors.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import "errors" diff --git a/src/vizier/services/query_broker/controllers/launch_query.go b/src/vizier/services/query_broker/controllers/launch_query.go index 0b2d5733a36..f04ece8cb32 100644 --- a/src/vizier/services/query_broker/controllers/launch_query.go +++ b/src/vizier/services/query_broker/controllers/launch_query.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/query_broker/controllers/launch_query_test.go b/src/vizier/services/query_broker/controllers/launch_query_test.go index 7e911396e91..b53fac33cf4 100644 --- a/src/vizier/services/query_broker/controllers/launch_query_test.go +++ b/src/vizier/services/query_broker/controllers/launch_query_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/vizier/services/query_broker/controllers/mock.go b/src/vizier/services/query_broker/controllers/mock.go index b9f59e97eb8..97712d8c488 100644 --- a/src/vizier/services/query_broker/controllers/mock.go +++ b/src/vizier/services/query_broker/controllers/mock.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers //go:generate mockgen -source=server.go -destination=mock/mock_controllers.gen.go Planner diff --git a/src/vizier/services/query_broker/controllers/mock/BUILD.bazel b/src/vizier/services/query_broker/controllers/mock/BUILD.bazel index 41af28b9c6b..9bf51733d27 100644 --- a/src/vizier/services/query_broker/controllers/mock/BUILD.bazel +++ b/src/vizier/services/query_broker/controllers/mock/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/services/query_broker/controllers/mutation_executor.go b/src/vizier/services/query_broker/controllers/mutation_executor.go index 893ebb47d60..4b257f4deab 100644 --- a/src/vizier/services/query_broker/controllers/mutation_executor.go +++ b/src/vizier/services/query_broker/controllers/mutation_executor.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/query_broker/controllers/mutation_executor_test.go b/src/vizier/services/query_broker/controllers/mutation_executor_test.go index 07dba750710..d9f346a151d 100644 --- a/src/vizier/services/query_broker/controllers/mutation_executor_test.go +++ b/src/vizier/services/query_broker/controllers/mutation_executor_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/vizier/services/query_broker/controllers/proto_utils.go b/src/vizier/services/query_broker/controllers/proto_utils.go index e1efa85cbac..0d62c446af8 100644 --- a/src/vizier/services/query_broker/controllers/proto_utils.go +++ b/src/vizier/services/query_broker/controllers/proto_utils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/query_broker/controllers/proto_utils_test.go b/src/vizier/services/query_broker/controllers/proto_utils_test.go index e96d9d53c33..9454b98661f 100644 --- a/src/vizier/services/query_broker/controllers/proto_utils_test.go +++ b/src/vizier/services/query_broker/controllers/proto_utils_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/vizier/services/query_broker/controllers/query_flags.go b/src/vizier/services/query_broker/controllers/query_flags.go index be7bd7f1736..83ff0c17bb4 100644 --- a/src/vizier/services/query_broker/controllers/query_flags.go +++ b/src/vizier/services/query_broker/controllers/query_flags.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/query_broker/controllers/query_flags_test.go b/src/vizier/services/query_broker/controllers/query_flags_test.go index 24c3c03d048..dfd8a586906 100644 --- a/src/vizier/services/query_broker/controllers/query_flags_test.go +++ b/src/vizier/services/query_broker/controllers/query_flags_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/vizier/services/query_broker/controllers/query_plan_debug.go b/src/vizier/services/query_broker/controllers/query_plan_debug.go index 1fd9d5ff2b9..3824f868163 100644 --- a/src/vizier/services/query_broker/controllers/query_plan_debug.go +++ b/src/vizier/services/query_broker/controllers/query_plan_debug.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/query_broker/controllers/query_result_forwarder.go b/src/vizier/services/query_broker/controllers/query_result_forwarder.go index 6d43de4588e..bc34219a0a2 100644 --- a/src/vizier/services/query_broker/controllers/query_result_forwarder.go +++ b/src/vizier/services/query_broker/controllers/query_result_forwarder.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/query_broker/controllers/query_result_forwarder_test.go b/src/vizier/services/query_broker/controllers/query_result_forwarder_test.go index c2d5efe6ec9..45960109da8 100644 --- a/src/vizier/services/query_broker/controllers/query_result_forwarder_test.go +++ b/src/vizier/services/query_broker/controllers/query_result_forwarder_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/vizier/services/query_broker/controllers/server.go b/src/vizier/services/query_broker/controllers/server.go index e0c284dd2c1..274b73c38bd 100644 --- a/src/vizier/services/query_broker/controllers/server.go +++ b/src/vizier/services/query_broker/controllers/server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers import ( diff --git a/src/vizier/services/query_broker/controllers/server_test.go b/src/vizier/services/query_broker/controllers/server_test.go index 0f085f97737..4d90228c07a 100644 --- a/src/vizier/services/query_broker/controllers/server_test.go +++ b/src/vizier/services/query_broker/controllers/server_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package controllers_test import ( diff --git a/src/vizier/services/query_broker/ptproxy/BUILD.bazel b/src/vizier/services/query_broker/ptproxy/BUILD.bazel index 09319fce216..5b7907fbdfd 100644 --- a/src/vizier/services/query_broker/ptproxy/BUILD.bazel +++ b/src/vizier/services/query_broker/ptproxy/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/services/query_broker/ptproxy/pt_proxy.go b/src/vizier/services/query_broker/ptproxy/pt_proxy.go index ebf9dd3361b..0a0347d4498 100644 --- a/src/vizier/services/query_broker/ptproxy/pt_proxy.go +++ b/src/vizier/services/query_broker/ptproxy/pt_proxy.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package ptproxy import ( diff --git a/src/vizier/services/query_broker/ptproxy/pt_proxy_test.go b/src/vizier/services/query_broker/ptproxy/pt_proxy_test.go index a21778de63e..17f931e729a 100644 --- a/src/vizier/services/query_broker/ptproxy/pt_proxy_test.go +++ b/src/vizier/services/query_broker/ptproxy/pt_proxy_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package ptproxy_test import ( diff --git a/src/vizier/services/query_broker/query_broker_server.go b/src/vizier/services/query_broker/query_broker_server.go index f55480e0701..f8e6b71d894 100644 --- a/src/vizier/services/query_broker/query_broker_server.go +++ b/src/vizier/services/query_broker/query_broker_server.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/vizier/services/query_broker/querybrokerenv/BUILD.bazel b/src/vizier/services/query_broker/querybrokerenv/BUILD.bazel index 84a7349dc65..8df7d10e207 100644 --- a/src/vizier/services/query_broker/querybrokerenv/BUILD.bazel +++ b/src/vizier/services/query_broker/querybrokerenv/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/services/query_broker/querybrokerenv/env.go b/src/vizier/services/query_broker/querybrokerenv/env.go index 3bafe58ed6a..dae840a332d 100644 --- a/src/vizier/services/query_broker/querybrokerenv/env.go +++ b/src/vizier/services/query_broker/querybrokerenv/env.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package querybrokerenv import "px.dev/pixie/src/shared/services/env" diff --git a/src/vizier/services/query_broker/querybrokerpb/BUILD.bazel b/src/vizier/services/query_broker/querybrokerpb/BUILD.bazel index d99ae97a501..0f5e503c0c3 100644 --- a/src/vizier/services/query_broker/querybrokerpb/BUILD.bazel +++ b/src/vizier/services/query_broker/querybrokerpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/vizier/services/query_broker/querybrokerpb/service.proto b/src/vizier/services/query_broker/querybrokerpb/service.proto index 2a1bb79a601..a30657226c2 100644 --- a/src/vizier/services/query_broker/querybrokerpb/service.proto +++ b/src/vizier/services/query_broker/querybrokerpb/service.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.vizier.services.query_broker.querybrokerpb; diff --git a/src/vizier/services/query_broker/tracker/BUILD.bazel b/src/vizier/services/query_broker/tracker/BUILD.bazel index 2ae7b4d095e..0fce21f8e63 100644 --- a/src/vizier/services/query_broker/tracker/BUILD.bazel +++ b/src/vizier/services/query_broker/tracker/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/services/query_broker/tracker/agents.go b/src/vizier/services/query_broker/tracker/agents.go index 9815a2ed1ed..f1609616e9b 100644 --- a/src/vizier/services/query_broker/tracker/agents.go +++ b/src/vizier/services/query_broker/tracker/agents.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package tracker import ( diff --git a/src/vizier/services/query_broker/tracker/agents_info.go b/src/vizier/services/query_broker/tracker/agents_info.go index 00cb79a5299..bd0aac506ac 100644 --- a/src/vizier/services/query_broker/tracker/agents_info.go +++ b/src/vizier/services/query_broker/tracker/agents_info.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package tracker import ( diff --git a/src/vizier/services/query_broker/tracker/agents_info_test.go b/src/vizier/services/query_broker/tracker/agents_info_test.go index 3004c740f72..f680cf04455 100644 --- a/src/vizier/services/query_broker/tracker/agents_info_test.go +++ b/src/vizier/services/query_broker/tracker/agents_info_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package tracker_test import ( diff --git a/src/vizier/services/query_broker/tracker/agents_test.go b/src/vizier/services/query_broker/tracker/agents_test.go index 93c13c86bf4..d97ce64e32c 100644 --- a/src/vizier/services/query_broker/tracker/agents_test.go +++ b/src/vizier/services/query_broker/tracker/agents_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package tracker_test import ( diff --git a/src/vizier/services/shared/agentpb/BUILD.bazel b/src/vizier/services/shared/agentpb/BUILD.bazel index fdfbf70f3bf..4961efdd5d0 100644 --- a/src/vizier/services/shared/agentpb/BUILD.bazel +++ b/src/vizier/services/shared/agentpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # gazelle:ignore load("//bazel:proto_compile.bzl", "pl_cc_proto_library", "pl_go_proto_library", "pl_proto_library") diff --git a/src/vizier/services/shared/agentpb/agent.proto b/src/vizier/services/shared/agentpb/agent.proto index 8bdcb91bf09..a03218622a1 100644 --- a/src/vizier/services/shared/agentpb/agent.proto +++ b/src/vizier/services/shared/agentpb/agent.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.vizier.services.shared.agent; diff --git a/src/vizier/utils/datastore/BUILD.bazel b/src/vizier/utils/datastore/BUILD.bazel index 6536c94323f..c65d649002e 100644 --- a/src/vizier/utils/datastore/BUILD.bazel +++ b/src/vizier/utils/datastore/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/utils/datastore/badgerdb/BUILD.bazel b/src/vizier/utils/datastore/badgerdb/BUILD.bazel index 24e040cd2a6..1d28f398561 100644 --- a/src/vizier/utils/datastore/badgerdb/BUILD.bazel +++ b/src/vizier/utils/datastore/badgerdb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/utils/datastore/badgerdb/badgerdb.go b/src/vizier/utils/datastore/badgerdb/badgerdb.go index e3238a035aa..e1b64f6dcb4 100644 --- a/src/vizier/utils/datastore/badgerdb/badgerdb.go +++ b/src/vizier/utils/datastore/badgerdb/badgerdb.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package badgerdb import ( diff --git a/src/vizier/utils/datastore/buntdb/BUILD.bazel b/src/vizier/utils/datastore/buntdb/BUILD.bazel index a1ed5dbcb19..69bc30f06ad 100644 --- a/src/vizier/utils/datastore/buntdb/BUILD.bazel +++ b/src/vizier/utils/datastore/buntdb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/utils/datastore/buntdb/buntdb.go b/src/vizier/utils/datastore/buntdb/buntdb.go index fdd00361df1..843c255e302 100644 --- a/src/vizier/utils/datastore/buntdb/buntdb.go +++ b/src/vizier/utils/datastore/buntdb/buntdb.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package buntdb import ( diff --git a/src/vizier/utils/datastore/datastore.go b/src/vizier/utils/datastore/datastore.go index 0c64fe945b6..cd12b65041d 100644 --- a/src/vizier/utils/datastore/datastore.go +++ b/src/vizier/utils/datastore/datastore.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package datastore import "time" diff --git a/src/vizier/utils/datastore/datastore_test.go b/src/vizier/utils/datastore/datastore_test.go index 440525b65a8..368bc738bc3 100644 --- a/src/vizier/utils/datastore/datastore_test.go +++ b/src/vizier/utils/datastore/datastore_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package datastore import ( diff --git a/src/vizier/utils/datastore/etcd/BUILD.bazel b/src/vizier/utils/datastore/etcd/BUILD.bazel index 8259c4708d5..33f57014559 100644 --- a/src/vizier/utils/datastore/etcd/BUILD.bazel +++ b/src/vizier/utils/datastore/etcd/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/utils/datastore/etcd/etcd.go b/src/vizier/utils/datastore/etcd/etcd.go index 1804f26afe2..fd6c7d2b029 100644 --- a/src/vizier/utils/datastore/etcd/etcd.go +++ b/src/vizier/utils/datastore/etcd/etcd.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package etcd import ( diff --git a/src/vizier/utils/datastore/etcd/etcd_utils.go b/src/vizier/utils/datastore/etcd/etcd_utils.go index cc28c51800b..80a38294cc6 100644 --- a/src/vizier/utils/datastore/etcd/etcd_utils.go +++ b/src/vizier/utils/datastore/etcd/etcd_utils.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package etcd import ( diff --git a/src/vizier/utils/datastore/etcd/etcd_utils_test.go b/src/vizier/utils/datastore/etcd/etcd_utils_test.go index b029c64f0b5..df31417ef26 100644 --- a/src/vizier/utils/datastore/etcd/etcd_utils_test.go +++ b/src/vizier/utils/datastore/etcd/etcd_utils_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package etcd import ( diff --git a/src/vizier/utils/datastore/pebbledb/BUILD.bazel b/src/vizier/utils/datastore/pebbledb/BUILD.bazel index 8ff8149535a..ac5b03ee72e 100644 --- a/src/vizier/utils/datastore/pebbledb/BUILD.bazel +++ b/src/vizier/utils/datastore/pebbledb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( diff --git a/src/vizier/utils/datastore/pebbledb/pebbledb.go b/src/vizier/utils/datastore/pebbledb/pebbledb.go index 19aec2bfdcf..d691ecea871 100644 --- a/src/vizier/utils/datastore/pebbledb/pebbledb.go +++ b/src/vizier/utils/datastore/pebbledb/pebbledb.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pebbledb import ( diff --git a/src/vizier/utils/datastore/pebbledb/pebbledb_utils_test.go b/src/vizier/utils/datastore/pebbledb/pebbledb_utils_test.go index b32e3d03331..cdffe764627 100644 --- a/src/vizier/utils/datastore/pebbledb/pebbledb_utils_test.go +++ b/src/vizier/utils/datastore/pebbledb/pebbledb_utils_test.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package pebbledb import ( diff --git a/src/vizier/utils/messagebus/BUILD.bazel b/src/vizier/utils/messagebus/BUILD.bazel index 86221cbb236..8c7ce90527c 100644 --- a/src/vizier/utils/messagebus/BUILD.bazel +++ b/src/vizier/utils/messagebus/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( diff --git a/src/vizier/utils/messagebus/topic.go b/src/vizier/utils/messagebus/topic.go index 60a2a37920f..8f0f56e0efd 100644 --- a/src/vizier/utils/messagebus/topic.go +++ b/src/vizier/utils/messagebus/topic.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package messagebus import ( diff --git a/src/vizier/utils/nats_watcher/BUILD.bazel b/src/vizier/utils/nats_watcher/BUILD.bazel index e4f32d0b02f..b8c68f62719 100644 --- a/src/vizier/utils/nats_watcher/BUILD.bazel +++ b/src/vizier/utils/nats_watcher/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("@io_bazel_rules_docker//container:container.bzl", "container_push") load("@io_bazel_rules_docker//go:image.bzl", "go_image") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") diff --git a/src/vizier/utils/nats_watcher/nats_watcher.go b/src/vizier/utils/nats_watcher/nats_watcher.go index 6e883ff1dd0..0018676f49b 100644 --- a/src/vizier/utils/nats_watcher/nats_watcher.go +++ b/src/vizier/utils/nats_watcher/nats_watcher.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/src/vizier/vizierpb/BUILD.bazel b/src/vizier/vizierpb/BUILD.bazel index 89387a6edf1..e9a59b61210 100644 --- a/src/vizier/vizierpb/BUILD.bazel +++ b/src/vizier/vizierpb/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + load("//bazel:grpc_web.bzl", "pl_grpc_web_library") # gazelle:ignore diff --git a/src/vizier/vizierpb/vizier.proto b/src/vizier/vizierpb/vizier.proto index 6a80d592c94..03dd896fe7b 100644 --- a/src/vizier/vizierpb/vizier.proto +++ b/src/vizier/vizierpb/vizier.proto @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + syntax = "proto3"; package px.api.internal.vizierpb; diff --git a/tools/chef/Makefile b/tools/chef/Makefile index 7577201bc64..24893d8b6fc 100644 --- a/tools/chef/Makefile +++ b/tools/chef/Makefile @@ -1,3 +1,18 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 TOT := $$(git rev-parse --show-toplevel) DOCKER_PROPERTIES_FILE := $(TOT)/docker.properties diff --git a/tools/docker/Makefile b/tools/docker/Makefile index 4a7539f6662..7f755d9cf47 100644 --- a/tools/docker/Makefile +++ b/tools/docker/Makefile @@ -1,3 +1,18 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 # Commands. DOCKER := docker diff --git a/tools/docker/clang_deb_image/Dockerfile b/tools/docker/clang_deb_image/Dockerfile index 16ccfa05108..976cedf17cb 100644 --- a/tools/docker/clang_deb_image/Dockerfile +++ b/tools/docker/clang_deb_image/Dockerfile @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + FROM ubuntu:20.04 ENV DEBIAN_FRONTEND=noninteractive diff --git a/tools/docker/curl_image/Dockerfile b/tools/docker/curl_image/Dockerfile index 081bc61a330..8d36a14654e 100644 --- a/tools/docker/curl_image/Dockerfile +++ b/tools/docker/curl_image/Dockerfile @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + FROM alpine:3.10 RUN apk add --no-cache curl diff --git a/tools/docker/gperftools_deb_image/Dockerfile b/tools/docker/gperftools_deb_image/Dockerfile index 862fb3343f6..66e81317aa8 100644 --- a/tools/docker/gperftools_deb_image/Dockerfile +++ b/tools/docker/gperftools_deb_image/Dockerfile @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Not very sensitive to version, just need something that can build C++ libraries with correct deps installed. FROM gcr.io/pl-dev-infra/dev_image_with_extras:201907212144 as build diff --git a/tools/docker/linux_headers_image/Dockerfile b/tools/docker/linux_headers_image/Dockerfile index ebfa2b6c64c..74630b5894c 100644 --- a/tools/docker/linux_headers_image/Dockerfile +++ b/tools/docker/linux_headers_image/Dockerfile @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + FROM ubuntu:18.04 ARG KERN_MAJ diff --git a/tools/docker/scripts/docker-extract.sh b/tools/docker/scripts/docker-extract.sh index 662a0301a8d..c5a71cb79c7 100755 --- a/tools/docker/scripts/docker-extract.sh +++ b/tools/docker/scripts/docker-extract.sh @@ -1,5 +1,21 @@ #!/bin/bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + if [[ $# -ne 3 ]]; then echo "Usage: $0 " exit diff --git a/tools/docker/scripts/update_linux_headers.sh b/tools/docker/scripts/update_linux_headers.sh index 358ad203c36..e023f88d751 100755 --- a/tools/docker/scripts/update_linux_headers.sh +++ b/tools/docker/scripts/update_linux_headers.sh @@ -1,5 +1,21 @@ #!/bin/bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # This script builds and uploads the linux kernel headers for an array of kernel versions. # If the linux_headers_image/Dockerfile is changed in any way, or a new kernel version is added, # this script should be run again. diff --git a/tools/licenses/BUILD.bazel b/tools/licenses/BUILD.bazel index bcbb227e674..20026738540 100644 --- a/tools/licenses/BUILD.bazel +++ b/tools/licenses/BUILD.bazel @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Packaging licenses for the entire pixie repository. # This includes the C API, Java API, and protocol buffer files. diff --git a/tools/licenses/combine_licenses.py b/tools/licenses/combine_licenses.py index cdfab98ad65..08def1886b3 100644 --- a/tools/licenses/combine_licenses.py +++ b/tools/licenses/combine_licenses.py @@ -1,4 +1,21 @@ #!/usr/bin/python3 + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + import argparse import json diff --git a/tools/licenses/fetch_licenses.go b/tools/licenses/fetch_licenses.go index 98dd7726dbb..e3601b46998 100644 --- a/tools/licenses/fetch_licenses.go +++ b/tools/licenses/fetch_licenses.go @@ -1,3 +1,21 @@ +/* + * Copyright 2018- The Pixie Authors. + * + * Licensed 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. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package main import ( diff --git a/tools/linters/buildifier.sh b/tools/linters/buildifier.sh index 11855f02b70..71ef917b210 100755 --- a/tools/linters/buildifier.sh +++ b/tools/linters/buildifier.sh @@ -1,5 +1,21 @@ #!/bin/bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + workspace=$(bazel info workspace 2>/dev/null) bazel build --bes_backend="" --bes_results_url="" @com_github_bazelbuild_buildtools//buildifier:buildifier 2>/dev/null 1>/dev/null diff --git a/tools/linters/eslint_setup.sh b/tools/linters/eslint_setup.sh index 185f9674c6e..5011b63c8e8 100755 --- a/tools/linters/eslint_setup.sh +++ b/tools/linters/eslint_setup.sh @@ -1,4 +1,21 @@ #!/bin/bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -e SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" diff --git a/tools/linters/eslint_ui.sh b/tools/linters/eslint_ui.sh index 2b4168e35e6..9e085960600 100755 --- a/tools/linters/eslint_ui.sh +++ b/tools/linters/eslint_ui.sh @@ -1,4 +1,21 @@ #!/bin/bash + +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + set -e # This script is invoked with a line like: diff --git a/tools/linters/experimental-manual.sh b/tools/linters/experimental-manual.sh index 79758b00419..38bf083037e 100755 --- a/tools/linters/experimental-manual.sh +++ b/tools/linters/experimental-manual.sh @@ -1,5 +1,21 @@ #!/bin/bash -e +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + builddir=$(dirname "$1") bad_targets=$(bazel query "$builddir/... except attr('tags', 'manual', $builddir/...)" --noshow_progress 2>/dev/null) diff --git a/tools/linters/gazelle.sh b/tools/linters/gazelle.sh index 2c464917652..6933c5872ce 100755 --- a/tools/linters/gazelle.sh +++ b/tools/linters/gazelle.sh @@ -1,5 +1,21 @@ #!/bin/bash +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + tmpdir=$(mktemp -d) patchFile="${tmpdir}/diff.patch" builddir=$(dirname "$1") diff --git a/workspace.bzl b/workspace.bzl index 2066e796032..fe2cce89712 100644 --- a/workspace.bzl +++ b/workspace.bzl @@ -1,3 +1,19 @@ +# Copyright 2018- The Pixie Authors. +# +# Licensed 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. +# +# SPDX-License-Identifier: Apache-2.0 + # Common functions and imports used by the WORKSPACE file. # From tensorflow/workspace.bzl.