diff --git a/relayer/__init__.py b/relayer/__init__.py index e69de29..f40eafc 100644 --- a/relayer/__init__.py +++ b/relayer/__init__.py @@ -0,0 +1,14 @@ +# Copyright 2022 Iguazio +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# diff --git a/relayer/clients/__init__.py b/relayer/clients/__init__.py index 5496911..5bbd785 100644 --- a/relayer/clients/__init__.py +++ b/relayer/clients/__init__.py @@ -1 +1,15 @@ +# Copyright 2022 Iguazio +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from . import logging diff --git a/relayer/clients/logging/__init__.py b/relayer/clients/logging/__init__.py index 7c7856f..d8dcb0f 100644 --- a/relayer/clients/logging/__init__.py +++ b/relayer/clients/logging/__init__.py @@ -1,3 +1,17 @@ +# Copyright 2022 Iguazio +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import sys import errno import logging diff --git a/relayer/core/__init__.py b/relayer/core/__init__.py index 12304a7..115edfd 100644 --- a/relayer/core/__init__.py +++ b/relayer/core/__init__.py @@ -1,4 +1,18 @@ #!/usr/bin/env python +# Copyright 2022 Iguazio +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import os import re diff --git a/relayer/core/helpers.py b/relayer/core/helpers.py index d306ab4..aeb07de 100644 --- a/relayer/core/helpers.py +++ b/relayer/core/helpers.py @@ -1,3 +1,17 @@ +# Copyright 2022 Iguazio +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import ruamel.yaml import ruamel.yaml.scalarstring diff --git a/relayer/relayer.py b/relayer/relayer.py index e3159d9..870a666 100755 --- a/relayer/relayer.py +++ b/relayer/relayer.py @@ -1,4 +1,18 @@ #!/usr/bin/env python +# Copyright 2022 Iguazio +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import os import sys diff --git a/relayer/tests/fixtures/relayer_aux_test.yml b/relayer/tests/fixtures/relayer_aux_test.yml index 0063a22..249e49e 100644 --- a/relayer/tests/fixtures/relayer_aux_test.yml +++ b/relayer/tests/fixtures/relayer_aux_test.yml @@ -1,3 +1,17 @@ +# Copyright 2022 Iguazio +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# field_1: sub_field_0: sub_sub_field_0: 'ab' diff --git a/relayer/tests/fixtures/relayer_test.yml b/relayer/tests/fixtures/relayer_test.yml index f1feb3c..18967ee 100644 --- a/relayer/tests/fixtures/relayer_test.yml +++ b/relayer/tests/fixtures/relayer_test.yml @@ -1,3 +1,17 @@ +# Copyright 2022 Iguazio +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# field_0: sub_field_0: 1024 sub_field_1: 'r3lay3r' diff --git a/relayer/tests/integration/test_relayer.py b/relayer/tests/integration/test_relayer.py index 0339970..e76e84b 100644 --- a/relayer/tests/integration/test_relayer.py +++ b/relayer/tests/integration/test_relayer.py @@ -1,3 +1,17 @@ +# Copyright 2022 Iguazio +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import os import shutil from ruamel import yaml diff --git a/relayer/tests/unit/test_relayer.py b/relayer/tests/unit/test_relayer.py index 6f331d9..776e3f3 100644 --- a/relayer/tests/unit/test_relayer.py +++ b/relayer/tests/unit/test_relayer.py @@ -1,3 +1,17 @@ +# Copyright 2022 Iguazio +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import os import shutil from ruamel import yaml