diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml
index 6b032350b7..c9b72802f8 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yaml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yaml
@@ -1,68 +1,82 @@
-name: Bug Report
-description: Report incorrect behavior in the MLRun Kit
-title: "[Bug]: "
-
-body:
- - type: checkboxes
- id: checks
- attributes:
- label: MLRun Version checks
- options:
- - label: >
- I have checked that this issue has not already been reported.
- required: true
- - label: >
- I have confirmed this bug exists on the latest version of the MLRun Kit.
- required: true
- - type: textarea
- id: example
- attributes:
- label: Reproducible Example
- description: >
- If you are running an existing example/demo, please link it here. Otherwise please follow [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) on how to
- provide a minimal, copy-pastable example.
- placeholder: >
- import mlrun
-
- ...
- render: python
- validations:
- required: true
- - type: textarea
- id: problem
- attributes:
- label: Issue Description
- description: >
- Please provide a description of the issue shown in the reproducible example.
- validations:
- required: true
- - type: textarea
- id: expected-behavior
- attributes:
- label: Expected Behavior
- description: >
- Please describe or show a code example of the expected behavior.
- validations:
- required: true
- - type: input
- id: python_version
- attributes:
- label: Python Version
- description: >
- Please paste the output of ``import platform; platform.python_version()``
- validations:
- required: true
- - type: input
- id: mlrun_version
- attributes:
- label: MLRun Version
- description: >
- Please paste the output of ``import mlrun; mlrun.get_version()``
- validations:
- required: true
- - type: textarea
- id: additional_information
- attributes:
- label: Additional Information
- description: >
- Please add any aditional information you think may be relevant.
+# Copyright 2018 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.
+#
+name: Bug Report
+description: Report incorrect behavior in the MLRun Kit
+title: "[Bug]: "
+
+body:
+ - type: checkboxes
+ id: checks
+ attributes:
+ label: MLRun Version checks
+ options:
+ - label: >
+ I have checked that this issue has not already been reported.
+ required: true
+ - label: >
+ I have confirmed this bug exists on the latest version of the MLRun Kit.
+ required: true
+ - type: textarea
+ id: example
+ attributes:
+ label: Reproducible Example
+ description: >
+ If you are running an existing example/demo, please link it here. Otherwise please follow [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) on how to
+ provide a minimal, copy-pastable example.
+ placeholder: >
+ import mlrun
+
+ ...
+ render: python
+ validations:
+ required: true
+ - type: textarea
+ id: problem
+ attributes:
+ label: Issue Description
+ description: >
+ Please provide a description of the issue shown in the reproducible example.
+ validations:
+ required: true
+ - type: textarea
+ id: expected-behavior
+ attributes:
+ label: Expected Behavior
+ description: >
+ Please describe or show a code example of the expected behavior.
+ validations:
+ required: true
+ - type: input
+ id: python_version
+ attributes:
+ label: Python Version
+ description: >
+ Please paste the output of ``import platform; platform.python_version()``
+ validations:
+ required: true
+ - type: input
+ id: mlrun_version
+ attributes:
+ label: MLRun Version
+ description: >
+ Please paste the output of ``import mlrun; mlrun.get_version()``
+ validations:
+ required: true
+ - type: textarea
+ id: additional_information
+ attributes:
+ label: Additional Information
+ description: >
+ Please add any aditional information you think may be relevant.
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index ec2c9bfcf2..7c9c75aca7 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,4 +1,18 @@
-contact_links:
- - name: Question/Help/Support
- url: https://go.iguazio.com/mlopslive/joincommunity
- about: "If you have a question, please join the MLOps Live community on Slack."
+# Copyright 2018 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.
+#
+contact_links:
+ - name: Question/Help/Support
+ url: https://go.iguazio.com/mlopslive/joincommunity
+ about: "If you have a question, please join the MLOps Live community on Slack."
diff --git a/.github/ISSUE_TEMPLATE/documentation_improvement.yaml b/.github/ISSUE_TEMPLATE/documentation_improvement.yaml
index c9b33c5f6e..01f06a0bdb 100644
--- a/.github/ISSUE_TEMPLATE/documentation_improvement.yaml
+++ b/.github/ISSUE_TEMPLATE/documentation_improvement.yaml
@@ -1,40 +1,54 @@
-name: Documentation Improvement
-description: Report wrong or missing documentation
-title: "[Docs]: "
-
-body:
- - type: checkboxes
- attributes:
- label: MLRun Kit version checks
- options:
- - label: >
- I have checked that the issue still exists on the latest versions of the docs
- [here](https://docs.mlrun.org/en/latest/)
- required: true
- - type: textarea
- id: location
- attributes:
- label: Location of the documentation
- description: >
- Please provide the location of the documentation, e.g. "mlrun.get_or_create_project" or the
- URL of the documentation, e.g.
- "https://docs.mlrun.org/en/latest/projects/create-load-import-project.html"
- placeholder: https://docs.mlrun.org/en/latest/projects/create-load-import-project.html
- validations:
- required: true
- - type: textarea
- id: problem
- attributes:
- label: Documentation problem
- description: >
- Please provide a description of what documentation you believe needs to be fixed/improved
- validations:
- required: true
- - type: textarea
- id: suggested-fix
- attributes:
- label: Suggested fix for documentation
- description: >
- Please explain the suggested fix and **why** it's better than the existing documentation
- validations:
- required: true
+# Copyright 2018 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.
+#
+name: Documentation Improvement
+description: Report wrong or missing documentation
+title: "[Docs]: "
+
+body:
+ - type: checkboxes
+ attributes:
+ label: MLRun Kit version checks
+ options:
+ - label: >
+ I have checked that the issue still exists on the latest versions of the docs
+ [here](https://docs.mlrun.org/en/latest/)
+ required: true
+ - type: textarea
+ id: location
+ attributes:
+ label: Location of the documentation
+ description: >
+ Please provide the location of the documentation, e.g. "mlrun.get_or_create_project" or the
+ URL of the documentation, e.g.
+ "https://docs.mlrun.org/en/latest/projects/create-load-import-project.html"
+ placeholder: https://docs.mlrun.org/en/latest/projects/create-load-import-project.html
+ validations:
+ required: true
+ - type: textarea
+ id: problem
+ attributes:
+ label: Documentation problem
+ description: >
+ Please provide a description of what documentation you believe needs to be fixed/improved
+ validations:
+ required: true
+ - type: textarea
+ id: suggested-fix
+ attributes:
+ label: Suggested fix for documentation
+ description: >
+ Please explain the suggested fix and **why** it's better than the existing documentation
+ validations:
+ required: true
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml
index 6a1526da8c..1c92a87e24 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yaml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yaml
@@ -1,51 +1,65 @@
-name: Feature Request
-description: Suggest an idea for MLRun
-title: "[Feature Request]: "
-
-body:
- - type: checkboxes
- id: checks
- attributes:
- label: Feature Type
- description: Please check what type of feature request you would like to propose.
- options:
- - label: >
- Adding new functionality to MLRun
- - label: >
- Changing existing functionality in MLRun
- - label: >
- Removing existing functionality in MLRun
- - type: textarea
- id: description
- attributes:
- label: Problem Description
- description: >
- Please describe what problem the feature would solve, e.g. "I wish I could use MLRun to ..."
- placeholder: >
- I wish I could use MLRun to serve a PyTorch model.
- validations:
- required: true
- - type: textarea
- id: feature
- attributes:
- label: Feature Description
- description: >
- Please describe how the new feature would be implemented, using psudocode if relevant.
- validations:
- required: true
- - type: textarea
- id: alternative
- attributes:
- label: Alternative Solutions
- description: >
- Please describe any alternative solution (existing functionality, 3rd party package, etc.)
- that would satisfy the feature request.
- validations:
- required: true
- - type: textarea
- id: context
- attributes:
- label: Additional Context
- description: >
- Please provide any relevant Github issues, code examples or references that help describe and support
- the feature request.
+# Copyright 2018 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.
+#
+name: Feature Request
+description: Suggest an idea for MLRun
+title: "[Feature Request]: "
+
+body:
+ - type: checkboxes
+ id: checks
+ attributes:
+ label: Feature Type
+ description: Please check what type of feature request you would like to propose.
+ options:
+ - label: >
+ Adding new functionality to MLRun
+ - label: >
+ Changing existing functionality in MLRun
+ - label: >
+ Removing existing functionality in MLRun
+ - type: textarea
+ id: description
+ attributes:
+ label: Problem Description
+ description: >
+ Please describe what problem the feature would solve, e.g. "I wish I could use MLRun to ..."
+ placeholder: >
+ I wish I could use MLRun to serve a PyTorch model.
+ validations:
+ required: true
+ - type: textarea
+ id: feature
+ attributes:
+ label: Feature Description
+ description: >
+ Please describe how the new feature would be implemented, using psudocode if relevant.
+ validations:
+ required: true
+ - type: textarea
+ id: alternative
+ attributes:
+ label: Alternative Solutions
+ description: >
+ Please describe any alternative solution (existing functionality, 3rd party package, etc.)
+ that would satisfy the feature request.
+ validations:
+ required: true
+ - type: textarea
+ id: context
+ attributes:
+ label: Additional Context
+ description: >
+ Please provide any relevant Github issues, code examples or references that help describe and support
+ the feature request.
diff --git a/.github/ISSUE_TEMPLATE/installation_issue.yaml b/.github/ISSUE_TEMPLATE/installation_issue.yaml
index cbe01d25f1..98c208410d 100644
--- a/.github/ISSUE_TEMPLATE/installation_issue.yaml
+++ b/.github/ISSUE_TEMPLATE/installation_issue.yaml
@@ -1,92 +1,106 @@
-name: Installation Issue
-description: Report issues installing the MLRun Kit on your system
-title: "[Installation]: "
-
-body:
- - type: checkboxes
- id: checks
- attributes:
- label: Installation check
- options:
- - label: >
- I have read the [installation guide](https://docs.mlrun.org/en/latest/install.html).
- required: true
- - type: dropdown
- id: os
- attributes:
- label: Installation OS
- description: >
- Please provide the OS you are installing on.
- options:
- - Mac
- - Windows
- - Linux
- - Other
- validations:
- required: true
- - type: dropdown
- id: method
- attributes:
- label: Installation Method
- description: >
- Please provide how you tried to install MLRun.
- options:
- - Docker
- - Kubernetes
- validations:
- required: true
- - type: dropdown
- id: k8s_cluster_type
- attributes:
- label: Kubernetes Cluster Type
- description: >
- Please select how you are running Kubernetes.
- options:
- - N/A - Docker
- - Kubernetes for Docker Desktop
- - Minikube
- - KinD
- - MicroK8s
- - K3s
- - K3d
- - Other
- validations:
- required: true
- - type: input
- id: helm_chart_version
- attributes:
- label: MLRun Kit Helm Chart Version
- description: >
- Please provide the version of the MLRun Helm chart with ``helm search repo v3io-stable | grep mlrun-kit | awk '{print $2}'``.
- validations:
- required: true
- - type: textarea
- id: issue_description
- attributes:
- label: Issue Description
- description: >
- Please provide a description of the issue.
- validations:
- required: true
- - type: textarea
- id: logs
- attributes:
- label: Installation Logs
- description: >
- Please copy and paste the installation logs when attempting to install MLRun.
- value: >
-
-
-
- Replace this line with the installation logs.
-
-
-
- validations:
- required: true
- - type: textarea
- id: additional_information
- attributes:
- label: Additional Information
- description: >
- Please add any aditional information you think may be relevant.
+# Copyright 2018 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.
+#
+name: Installation Issue
+description: Report issues installing the MLRun Kit on your system
+title: "[Installation]: "
+
+body:
+ - type: checkboxes
+ id: checks
+ attributes:
+ label: Installation check
+ options:
+ - label: >
+ I have read the [installation guide](https://docs.mlrun.org/en/latest/install.html).
+ required: true
+ - type: dropdown
+ id: os
+ attributes:
+ label: Installation OS
+ description: >
+ Please provide the OS you are installing on.
+ options:
+ - Mac
+ - Windows
+ - Linux
+ - Other
+ validations:
+ required: true
+ - type: dropdown
+ id: method
+ attributes:
+ label: Installation Method
+ description: >
+ Please provide how you tried to install MLRun.
+ options:
+ - Docker
+ - Kubernetes
+ validations:
+ required: true
+ - type: dropdown
+ id: k8s_cluster_type
+ attributes:
+ label: Kubernetes Cluster Type
+ description: >
+ Please select how you are running Kubernetes.
+ options:
+ - N/A - Docker
+ - Kubernetes for Docker Desktop
+ - Minikube
+ - KinD
+ - MicroK8s
+ - K3s
+ - K3d
+ - Other
+ validations:
+ required: true
+ - type: input
+ id: helm_chart_version
+ attributes:
+ label: MLRun Kit Helm Chart Version
+ description: >
+ Please provide the version of the MLRun Helm chart with ``helm search repo v3io-stable | grep mlrun-kit | awk '{print $2}'``.
+ validations:
+ required: true
+ - type: textarea
+ id: issue_description
+ attributes:
+ label: Issue Description
+ description: >
+ Please provide a description of the issue.
+ validations:
+ required: true
+ - type: textarea
+ id: logs
+ attributes:
+ label: Installation Logs
+ description: >
+ Please copy and paste the installation logs when attempting to install MLRun.
+ value: >
+
+
+
+ Replace this line with the installation logs.
+
+
+
+ validations:
+ required: true
+ - type: textarea
+ id: additional_information
+ attributes:
+ label: Additional Information
+ description: >
+ Please add any aditional information you think may be relevant.
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 395e9ec08d..86cd75a6e3 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# This name is referenced in the release.yaml workflow, if you're changing here - change there
name: Build
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 82f9ad3983..b5ddb638df 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
name: CI
on:
diff --git a/.github/workflows/post-release.yaml b/.github/workflows/post-release.yaml
index 870b281674..6e0ce707c7 100644
--- a/.github/workflows/post-release.yaml
+++ b/.github/workflows/post-release.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
name: Post Release
on:
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 21e270ec64..b028fb80c7 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
name: Release
on:
diff --git a/.github/workflows/system-tests-enterprise.yml b/.github/workflows/system-tests-enterprise.yml
index 16bb1dc505..9faaeb0e26 100644
--- a/.github/workflows/system-tests-enterprise.yml
+++ b/.github/workflows/system-tests-enterprise.yml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
name: System Tests Enterprise
on:
diff --git a/.github/workflows/system-tests-opensource.yml b/.github/workflows/system-tests-opensource.yml
index a5a22ce6dc..6c9cd2f070 100644
--- a/.github/workflows/system-tests-opensource.yml
+++ b/.github/workflows/system-tests-opensource.yml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
name: System Tests Open Source
on:
diff --git a/automation/__init__.py b/automation/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/automation/__init__.py
+++ b/automation/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/automation/package_test/__init__.py b/automation/package_test/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/automation/package_test/__init__.py
+++ b/automation/package_test/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/automation/package_test/test.py b/automation/package_test/test.py
index 241766fe8a..64141c66f7 100644
--- a/automation/package_test/test.py
+++ b/automation/package_test/test.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import re
import subprocess
diff --git a/automation/release_notes/__init__.py b/automation/release_notes/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/automation/release_notes/__init__.py
+++ b/automation/release_notes/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/automation/release_notes/generate.py b/automation/release_notes/generate.py
index 384a0d4bde..47c1d62b9a 100644
--- a/automation/release_notes/generate.py
+++ b/automation/release_notes/generate.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 re
import subprocess
import tempfile
diff --git a/automation/scripts/github_workflow_free_space.sh b/automation/scripts/github_workflow_free_space.sh
index 0daeb80276..bdeeec34b1 100644
--- a/automation/scripts/github_workflow_free_space.sh
+++ b/automation/scripts/github_workflow_free_space.sh
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
#!/usr/bin/env sh
print_free_space() {
diff --git a/automation/scripts/pypi_release_waiter.sh b/automation/scripts/pypi_release_waiter.sh
index 12c57a6efc..ca7653d825 100755
--- a/automation/scripts/pypi_release_waiter.sh
+++ b/automation/scripts/pypi_release_waiter.sh
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
#!/bin/bash
set -e
diff --git a/automation/system_test/__init__.py b/automation/system_test/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/automation/system_test/__init__.py
+++ b/automation/system_test/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/automation/system_test/prepare.py b/automation/system_test/prepare.py
index 6e4ac76687..8f7786f76e 100644
--- a/automation/system_test/prepare.py
+++ b/automation/system_test/prepare.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import json
import logging
diff --git a/automation/version/__init__.py b/automation/version/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/automation/version/__init__.py
+++ b/automation/version/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/automation/version/version_file.py b/automation/version/version_file.py
index dee767ffed..23475a5e0b 100644
--- a/automation/version/version_file.py
+++ b/automation/version/version_file.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 argparse
import json
import logging
diff --git a/dockerfiles/base/Dockerfile b/dockerfiles/base/Dockerfile
index fb15123efa..d37d5a0267 100644
--- a/dockerfiles/base/Dockerfile
+++ b/dockerfiles/base/Dockerfile
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
ARG MLRUN_PYTHON_VERSION=3.7.13
FROM quay.io/mlrun/python:${MLRUN_PYTHON_VERSION}-slim
diff --git a/dockerfiles/common/Dockerfile b/dockerfiles/common/Dockerfile
index 9c9a6493a0..3b1054a993 100644
--- a/dockerfiles/common/Dockerfile
+++ b/dockerfiles/common/Dockerfile
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
ARG MLRUN_BASE_IMAGE=mlrun/mlrun:unstable-core
FROM ${MLRUN_BASE_IMAGE}
diff --git a/dockerfiles/jupyter/Dockerfile b/dockerfiles/jupyter/Dockerfile
index 92d9adbfac..9fce8ea271 100644
--- a/dockerfiles/jupyter/Dockerfile
+++ b/dockerfiles/jupyter/Dockerfile
@@ -1,3 +1,17 @@
+# Copyright 2018 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 jupyter/scipy-notebook:python-3.8.8
USER root
diff --git a/dockerfiles/models/Dockerfile b/dockerfiles/models/Dockerfile
index dfd0f7a612..df615e6a37 100644
--- a/dockerfiles/models/Dockerfile
+++ b/dockerfiles/models/Dockerfile
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
ARG MLRUN_BASE_IMAGE=mlrun/ml-base:unstable-core
FROM ${MLRUN_BASE_IMAGE}
diff --git a/examples/function.py b/examples/function.py
index daee51b92f..4c85d8b023 100644
--- a/examples/function.py
+++ b/examples/function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# for this function to run in nuclio you need to:
# - set the python base image e.g.:
# python:3.6-jessie
diff --git a/examples/handler.py b/examples/handler.py
index 98f2e628e0..3f4ed73906 100644
--- a/examples/handler.py
+++ b/examples/handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
def my_func(context, p1: int = 1, p2="a-string"):
"""this is a two param function
diff --git a/examples/nulltst.py b/examples/nulltst.py
index 93da29a0d5..d40beea3f3 100644
--- a/examples/nulltst.py
+++ b/examples/nulltst.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 time
diff --git a/examples/spark-function.py b/examples/spark-function.py
index 3d392bdfd3..0ac8c0b871 100644
--- a/examples/spark-function.py
+++ b/examples/spark-function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# Pyspark example called by mlrun_spark_k8s.ipynb
diff --git a/examples/training.py b/examples/training.py
index 94256e6c75..e6b467a2da 100644
--- a/examples/training.py
+++ b/examples/training.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas as pd
from mlrun import get_or_create_ctx
diff --git a/hack/local/mljupy.yaml b/hack/local/mljupy.yaml
index 75763cfd60..4a198506c2 100644
--- a/hack/local/mljupy.yaml
+++ b/hack/local/mljupy.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
diff --git a/hack/local/mlrun-local.yaml b/hack/local/mlrun-local.yaml
index 8b593b4b64..c9cd483838 100644
--- a/hack/local/mlrun-local.yaml
+++ b/hack/local/mlrun-local.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# example Kubernetes spec, should add volume for persisting data
apiVersion: apps/v1
kind: Deployment
diff --git a/hack/local/nfs-pvc.yaml b/hack/local/nfs-pvc.yaml
index 9aee7f5f0b..f095a70319 100644
--- a/hack/local/nfs-pvc.yaml
+++ b/hack/local/nfs-pvc.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
diff --git a/hack/mlrun-all.yaml b/hack/mlrun-all.yaml
index 292fcbc2d4..6243521cfb 100644
--- a/hack/mlrun-all.yaml
+++ b/hack/mlrun-all.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# example Kubernetes spec, should add volume for persisting data
apiVersion: apps/v1
kind: Deployment
diff --git a/hack/mlrunapi.yaml b/hack/mlrunapi.yaml
index 3e0f8e6f15..d3a151efde 100644
--- a/hack/mlrunapi.yaml
+++ b/hack/mlrunapi.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# example Kubernetes spec, should add volume for persisting data
apiVersion: apps/v1
kind: Deployment
diff --git a/hack/mlrunui.yaml b/hack/mlrunui.yaml
index cd6f275052..e1eaae1442 100644
--- a/hack/mlrunui.yaml
+++ b/hack/mlrunui.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/mlrun/api/__init__.py b/mlrun/api/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/__init__.py
+++ b/mlrun/api/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/api/__init__.py b/mlrun/api/api/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/api/__init__.py
+++ b/mlrun/api/api/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/api/api.py b/mlrun/api/api/api.py
index ac6ab4e028..f26d277905 100644
--- a/mlrun/api/api/api.py
+++ b/mlrun/api/api/api.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 fastapi import APIRouter, Depends
import mlrun.api.api.deps
diff --git a/mlrun/api/api/deps.py b/mlrun/api/api/deps.py
index 61f252bbbf..39b7d30ca2 100644
--- a/mlrun/api/api/deps.py
+++ b/mlrun/api/api/deps.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import uvicorn.protocols.utils
diff --git a/mlrun/api/api/endpoints/__init__.py b/mlrun/api/api/endpoints/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/api/endpoints/__init__.py
+++ b/mlrun/api/api/endpoints/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/api/endpoints/artifacts.py b/mlrun/api/api/endpoints/artifacts.py
index fea2c582d5..e22f155352 100644
--- a/mlrun/api/api/endpoints/artifacts.py
+++ b/mlrun/api/api/endpoints/artifacts.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
from typing import List
diff --git a/mlrun/api/api/endpoints/auth.py b/mlrun/api/api/endpoints/auth.py
index 2c9ad3427a..28b66e7617 100644
--- a/mlrun/api/api/endpoints/auth.py
+++ b/mlrun/api/api/endpoints/auth.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 fastapi
import mlrun.api.api.deps
diff --git a/mlrun/api/api/endpoints/background_tasks.py b/mlrun/api/api/endpoints/background_tasks.py
index fefd7f66e7..31cad79482 100644
--- a/mlrun/api/api/endpoints/background_tasks.py
+++ b/mlrun/api/api/endpoints/background_tasks.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 fastapi
import semver
import sqlalchemy.orm
diff --git a/mlrun/api/api/endpoints/client_spec.py b/mlrun/api/api/endpoints/client_spec.py
index d4fcc58152..be2d89a5ad 100644
--- a/mlrun/api/api/endpoints/client_spec.py
+++ b/mlrun/api/api/endpoints/client_spec.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 fastapi import APIRouter
import mlrun.api.crud
diff --git a/mlrun/api/api/endpoints/clusterization_spec.py b/mlrun/api/api/endpoints/clusterization_spec.py
index ce3782670e..a47a846a9e 100644
--- a/mlrun/api/api/endpoints/clusterization_spec.py
+++ b/mlrun/api/api/endpoints/clusterization_spec.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 fastapi
import mlrun.api.crud
diff --git a/mlrun/api/api/endpoints/feature_store.py b/mlrun/api/api/endpoints/feature_store.py
index be33d7b4a1..9feba040bc 100644
--- a/mlrun/api/api/endpoints/feature_store.py
+++ b/mlrun/api/api/endpoints/feature_store.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
from typing import List, Optional
diff --git a/mlrun/api/api/endpoints/files.py b/mlrun/api/api/endpoints/files.py
index 7b4373ff3c..ae6464c15e 100644
--- a/mlrun/api/api/endpoints/files.py
+++ b/mlrun/api/api/endpoints/files.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mimetypes
from http import HTTPStatus
diff --git a/mlrun/api/api/endpoints/frontend_spec.py b/mlrun/api/api/endpoints/frontend_spec.py
index b31843a568..f2d3522073 100644
--- a/mlrun/api/api/endpoints/frontend_spec.py
+++ b/mlrun/api/api/endpoints/frontend_spec.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import fastapi
diff --git a/mlrun/api/api/endpoints/functions.py b/mlrun/api/api/endpoints/functions.py
index 2ce130fd28..aee92c5632 100644
--- a/mlrun/api/api/endpoints/functions.py
+++ b/mlrun/api/api/endpoints/functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64 # noqa: F401
import os
import traceback
diff --git a/mlrun/api/api/endpoints/grafana_proxy.py b/mlrun/api/api/endpoints/grafana_proxy.py
index 69f504b05f..9ffcd7a7ec 100644
--- a/mlrun/api/api/endpoints/grafana_proxy.py
+++ b/mlrun/api/api/endpoints/grafana_proxy.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
from http import HTTPStatus
from typing import Any, Dict, List, Optional, Set, Union
diff --git a/mlrun/api/api/endpoints/healthz.py b/mlrun/api/api/endpoints/healthz.py
index 820a719e14..d1cb2a1f73 100644
--- a/mlrun/api/api/endpoints/healthz.py
+++ b/mlrun/api/api/endpoints/healthz.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 fastapi import APIRouter
import mlrun.api.crud
diff --git a/mlrun/api/api/endpoints/logs.py b/mlrun/api/api/endpoints/logs.py
index 432e0a60db..d0f9d9f305 100644
--- a/mlrun/api/api/endpoints/logs.py
+++ b/mlrun/api/api/endpoints/logs.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 fastapi
import fastapi.concurrency
import sqlalchemy.orm
diff --git a/mlrun/api/api/endpoints/marketplace.py b/mlrun/api/api/endpoints/marketplace.py
index 5fa158aec7..b54e489175 100644
--- a/mlrun/api/api/endpoints/marketplace.py
+++ b/mlrun/api/api/endpoints/marketplace.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mimetypes
from http import HTTPStatus
from typing import List, Optional
diff --git a/mlrun/api/api/endpoints/model_endpoints.py b/mlrun/api/api/endpoints/model_endpoints.py
index 10bb28dfa3..56df9d5039 100644
--- a/mlrun/api/api/endpoints/model_endpoints.py
+++ b/mlrun/api/api/endpoints/model_endpoints.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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
from http import HTTPStatus
from typing import List, Optional
diff --git a/mlrun/api/api/endpoints/operations.py b/mlrun/api/api/endpoints/operations.py
index 3239dc4d65..7f048bed1a 100644
--- a/mlrun/api/api/endpoints/operations.py
+++ b/mlrun/api/api/endpoints/operations.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import fastapi
diff --git a/mlrun/api/api/endpoints/pipelines.py b/mlrun/api/api/endpoints/pipelines.py
index 5707bc5a7f..c62e57a254 100644
--- a/mlrun/api/api/endpoints/pipelines.py
+++ b/mlrun/api/api/endpoints/pipelines.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 ast
import typing
from datetime import datetime
diff --git a/mlrun/api/api/endpoints/projects.py b/mlrun/api/api/endpoints/projects.py
index bc80d5ae46..961443eba3 100644
--- a/mlrun/api/api/endpoints/projects.py
+++ b/mlrun/api/api/endpoints/projects.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import typing
diff --git a/mlrun/api/api/endpoints/runs.py b/mlrun/api/api/endpoints/runs.py
index 61d90776b1..25055ff665 100644
--- a/mlrun/api/api/endpoints/runs.py
+++ b/mlrun/api/api/endpoints/runs.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
from http import HTTPStatus
from typing import List
diff --git a/mlrun/api/api/endpoints/runtime_resources.py b/mlrun/api/api/endpoints/runtime_resources.py
index 01ac1bcd96..7b0682536d 100644
--- a/mlrun/api/api/endpoints/runtime_resources.py
+++ b/mlrun/api/api/endpoints/runtime_resources.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy
import http
import typing
diff --git a/mlrun/api/api/endpoints/schedules.py b/mlrun/api/api/endpoints/schedules.py
index b4d3ba035c..d6283c7f5d 100644
--- a/mlrun/api/api/endpoints/schedules.py
+++ b/mlrun/api/api/endpoints/schedules.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
import fastapi.concurrency
diff --git a/mlrun/api/api/endpoints/secrets.py b/mlrun/api/api/endpoints/secrets.py
index 392241be67..d1839b3f95 100644
--- a/mlrun/api/api/endpoints/secrets.py
+++ b/mlrun/api/api/endpoints/secrets.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
from typing import List
diff --git a/mlrun/api/api/endpoints/submit.py b/mlrun/api/api/endpoints/submit.py
index 39059f60d6..4d8012ffc7 100644
--- a/mlrun/api/api/endpoints/submit.py
+++ b/mlrun/api/api/endpoints/submit.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
from typing import Optional
diff --git a/mlrun/api/api/utils.py b/mlrun/api/api/utils.py
index 08191af668..6eb5d5d029 100644
--- a/mlrun/api/api/utils.py
+++ b/mlrun/api/api/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 collections
import re
import traceback
diff --git a/mlrun/api/constants.py b/mlrun/api/constants.py
index fc8a78a11b..2dd7079be2 100644
--- a/mlrun/api/constants.py
+++ b/mlrun/api/constants.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum import Enum
diff --git a/mlrun/api/crud/__init__.py b/mlrun/api/crud/__init__.py
index 9727e87814..c3ed7e6149 100644
--- a/mlrun/api/crud/__init__.py
+++ b/mlrun/api/crud/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 .artifacts import Artifacts # noqa: F401
from .client_spec import ClientSpec # noqa: F401
from .clusterization_spec import ClusterizationSpec # noqa: F401
diff --git a/mlrun/api/crud/artifacts.py b/mlrun/api/crud/artifacts.py
index d458b503fc..b338db3e81 100644
--- a/mlrun/api/crud/artifacts.py
+++ b/mlrun/api/crud/artifacts.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import sqlalchemy.orm
diff --git a/mlrun/api/crud/client_spec.py b/mlrun/api/crud/client_spec.py
index c26c381ead..140ae9eeb3 100644
--- a/mlrun/api/crud/client_spec.py
+++ b/mlrun/api/crud/client_spec.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun.api.schemas
import mlrun.utils.singleton
from mlrun.config import Config, config, default_config
diff --git a/mlrun/api/crud/clusterization_spec.py b/mlrun/api/crud/clusterization_spec.py
index a48118480c..83b14659a8 100644
--- a/mlrun/api/crud/clusterization_spec.py
+++ b/mlrun/api/crud/clusterization_spec.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
import mlrun.api.schemas
import mlrun.utils.singleton
diff --git a/mlrun/api/crud/feature_store.py b/mlrun/api/crud/feature_store.py
index 688b188bd3..9e26c07be9 100644
--- a/mlrun/api/crud/feature_store.py
+++ b/mlrun/api/crud/feature_store.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import sqlalchemy.orm
diff --git a/mlrun/api/crud/functions.py b/mlrun/api/crud/functions.py
index 5db3e43263..ec3b56796a 100644
--- a/mlrun/api/crud/functions.py
+++ b/mlrun/api/crud/functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import sqlalchemy.orm
diff --git a/mlrun/api/crud/logs.py b/mlrun/api/crud/logs.py
index 902d838641..4e1a1f84f1 100644
--- a/mlrun/api/crud/logs.py
+++ b/mlrun/api/crud/logs.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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
import typing
diff --git a/mlrun/api/crud/marketplace.py b/mlrun/api/crud/marketplace.py
index d6ff713d04..a87c768b9f 100644
--- a/mlrun/api/crud/marketplace.py
+++ b/mlrun/api/crud/marketplace.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import mlrun.errors
diff --git a/mlrun/api/crud/model_endpoints.py b/mlrun/api/crud/model_endpoints.py
index a8567b07a1..90d5c89cd6 100644
--- a/mlrun/api/crud/model_endpoints.py
+++ b/mlrun/api/crud/model_endpoints.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import os
import traceback
diff --git a/mlrun/api/crud/pipelines.py b/mlrun/api/crud/pipelines.py
index 462b357c13..82af9491d7 100644
--- a/mlrun/api/crud/pipelines.py
+++ b/mlrun/api/crud/pipelines.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 ast
import http
import json
diff --git a/mlrun/api/crud/projects.py b/mlrun/api/crud/projects.py
index cd7a6a670a..a4edf30da3 100644
--- a/mlrun/api/crud/projects.py
+++ b/mlrun/api/crud/projects.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import collections
import datetime
diff --git a/mlrun/api/crud/runs.py b/mlrun/api/crud/runs.py
index 33aa56f8a1..1ab00ae761 100644
--- a/mlrun/api/crud/runs.py
+++ b/mlrun/api/crud/runs.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import sqlalchemy.orm
diff --git a/mlrun/api/crud/runtime_resources.py b/mlrun/api/crud/runtime_resources.py
index 1aff7fd794..33ac0556d6 100644
--- a/mlrun/api/crud/runtime_resources.py
+++ b/mlrun/api/crud/runtime_resources.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import mergedeep
diff --git a/mlrun/api/crud/secrets.py b/mlrun/api/crud/secrets.py
index 63da8d51d9..4d2100901d 100644
--- a/mlrun/api/crud/secrets.py
+++ b/mlrun/api/crud/secrets.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
import json
import typing
diff --git a/mlrun/api/db/__init__.py b/mlrun/api/db/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/db/__init__.py
+++ b/mlrun/api/db/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/db/filedb/__init__.py b/mlrun/api/db/filedb/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/db/filedb/__init__.py
+++ b/mlrun/api/db/filedb/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/db/filedb/db.py b/mlrun/api/db/filedb/db.py
index 57ab23fd1e..3b42c080d0 100644
--- a/mlrun/api/db/filedb/db.py
+++ b/mlrun/api/db/filedb/db.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
from typing import Any, Dict, List, Optional, Tuple
diff --git a/mlrun/api/db/init_db.py b/mlrun/api/db/init_db.py
index 077869cf70..21b6966cb7 100644
--- a/mlrun/api/db/init_db.py
+++ b/mlrun/api/db/init_db.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 sqlalchemy.orm import Session
from mlrun.api.db.sqldb.models import Base
diff --git a/mlrun/api/db/session.py b/mlrun/api/db/session.py
index 293e26f9c9..3db0e9b7fc 100644
--- a/mlrun/api/db/session.py
+++ b/mlrun/api/db/session.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 sqlalchemy.orm import Session
from mlrun.api.db.sqldb.session import create_session as sqldb_create_session
diff --git a/mlrun/api/db/sqldb/__init__.py b/mlrun/api/db/sqldb/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/db/sqldb/__init__.py
+++ b/mlrun/api/db/sqldb/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/db/sqldb/db.py b/mlrun/api/db/sqldb/db.py
index aea83597a4..46d37f41cc 100644
--- a/mlrun/api/db/sqldb/db.py
+++ b/mlrun/api/db/sqldb/db.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import collections
import re
diff --git a/mlrun/api/db/sqldb/helpers.py b/mlrun/api/db/sqldb/helpers.py
index 82f9cddf63..faaea9b8b3 100644
--- a/mlrun/api/db/sqldb/helpers.py
+++ b/mlrun/api/db/sqldb/helpers.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 dateutil import parser
from mlrun.api.db.sqldb.models import Base, _table2cls
diff --git a/mlrun/api/db/sqldb/models/__init__.py b/mlrun/api/db/sqldb/models/__init__.py
index fecb51471b..bfb036e183 100644
--- a/mlrun/api/db/sqldb/models/__init__.py
+++ b/mlrun/api/db/sqldb/models/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun.api.utils.db.mysql import MySQLUtil
# fmt: off
diff --git a/mlrun/api/db/sqldb/session.py b/mlrun/api/db/sqldb/session.py
index 141ded18e5..197d2af304 100644
--- a/mlrun/api/db/sqldb/session.py
+++ b/mlrun/api/db/sqldb/session.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 sqlalchemy import create_engine
from sqlalchemy.engine import Engine
from sqlalchemy.orm import Session
diff --git a/mlrun/api/initial_data.py b/mlrun/api/initial_data.py
index eb4ffc5e33..c9004bc1c8 100644
--- a/mlrun/api/initial_data.py
+++ b/mlrun/api/initial_data.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 collections
import datetime
import os
diff --git a/mlrun/api/main.py b/mlrun/api/main.py
index 2abb2f9a3e..680fc211a7 100644
--- a/mlrun/api/main.py
+++ b/mlrun/api/main.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import concurrent.futures
import traceback
diff --git a/mlrun/api/migrations_mysql/env.py b/mlrun/api/migrations_mysql/env.py
index fdc1454810..3894e8ef15 100644
--- a/mlrun/api/migrations_mysql/env.py
+++ b/mlrun/api/migrations_mysql/env.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 logging.config import fileConfig
from alembic import context
diff --git a/mlrun/api/migrations_mysql/versions/32bae1b0e29c_increase_timestamp_fields_precision.py b/mlrun/api/migrations_mysql/versions/32bae1b0e29c_increase_timestamp_fields_precision.py
index 3142f9652a..fee6724ac8 100644
--- a/mlrun/api/migrations_mysql/versions/32bae1b0e29c_increase_timestamp_fields_precision.py
+++ b/mlrun/api/migrations_mysql/versions/32bae1b0e29c_increase_timestamp_fields_precision.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Increase timestamp fields precision
Revision ID: 32bae1b0e29c
diff --git a/mlrun/api/migrations_mysql/versions/4903aef6a91d_tag_foreign_key_and_cascades.py b/mlrun/api/migrations_mysql/versions/4903aef6a91d_tag_foreign_key_and_cascades.py
index 308f31de13..9e426f8de1 100644
--- a/mlrun/api/migrations_mysql/versions/4903aef6a91d_tag_foreign_key_and_cascades.py
+++ b/mlrun/api/migrations_mysql/versions/4903aef6a91d_tag_foreign_key_and_cascades.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Tag Foreign Key and cascades
Revision ID: 4903aef6a91d
diff --git a/mlrun/api/migrations_mysql/versions/5f1351c88a19_adding_background_tasks_table.py b/mlrun/api/migrations_mysql/versions/5f1351c88a19_adding_background_tasks_table.py
index f67fa66d5e..cce90bbc6f 100644
--- a/mlrun/api/migrations_mysql/versions/5f1351c88a19_adding_background_tasks_table.py
+++ b/mlrun/api/migrations_mysql/versions/5f1351c88a19_adding_background_tasks_table.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""adding background tasks table
Revision ID: 5f1351c88a19
diff --git a/mlrun/api/migrations_mysql/versions/9d16de5f03a7_adding_data_versions_table.py b/mlrun/api/migrations_mysql/versions/9d16de5f03a7_adding_data_versions_table.py
index b7e2565eaa..29774fa615 100644
--- a/mlrun/api/migrations_mysql/versions/9d16de5f03a7_adding_data_versions_table.py
+++ b/mlrun/api/migrations_mysql/versions/9d16de5f03a7_adding_data_versions_table.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Adding data versions table
Revision ID: 9d16de5f03a7
diff --git a/mlrun/api/migrations_mysql/versions/b86f5b53f3d7_adding_name_and_updated_to_runs_table.py b/mlrun/api/migrations_mysql/versions/b86f5b53f3d7_adding_name_and_updated_to_runs_table.py
index 80bb437607..fd2d316023 100644
--- a/mlrun/api/migrations_mysql/versions/b86f5b53f3d7_adding_name_and_updated_to_runs_table.py
+++ b/mlrun/api/migrations_mysql/versions/b86f5b53f3d7_adding_name_and_updated_to_runs_table.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Adding name and updated to runs table
Revision ID: b86f5b53f3d7
diff --git a/mlrun/api/migrations_mysql/versions/c4af40b0bf61_init.py b/mlrun/api/migrations_mysql/versions/c4af40b0bf61_init.py
index f8e7e29ca9..f35ff0c2c7 100644
--- a/mlrun/api/migrations_mysql/versions/c4af40b0bf61_init.py
+++ b/mlrun/api/migrations_mysql/versions/c4af40b0bf61_init.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""init
Revision ID: c4af40b0bf61
diff --git a/mlrun/api/migrations_mysql/versions/ee041e8fdaa0_adding_next_run_time_column_to_schedule_.py b/mlrun/api/migrations_mysql/versions/ee041e8fdaa0_adding_next_run_time_column_to_schedule_.py
index 7f2447a697..67c2e4e42f 100644
--- a/mlrun/api/migrations_mysql/versions/ee041e8fdaa0_adding_next_run_time_column_to_schedule_.py
+++ b/mlrun/api/migrations_mysql/versions/ee041e8fdaa0_adding_next_run_time_column_to_schedule_.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""adding next_run_time column to schedule table
Revision ID: ee041e8fdaa0
diff --git a/mlrun/api/migrations_sqlite/env.py b/mlrun/api/migrations_sqlite/env.py
index fdc1454810..3894e8ef15 100644
--- a/mlrun/api/migrations_sqlite/env.py
+++ b/mlrun/api/migrations_sqlite/env.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 logging.config import fileConfig
from alembic import context
diff --git a/mlrun/api/migrations_sqlite/tests/test_migrations.py b/mlrun/api/migrations_sqlite/tests/test_migrations.py
index 341fcabc58..2c8e21b58d 100644
--- a/mlrun/api/migrations_sqlite/tests/test_migrations.py
+++ b/mlrun/api/migrations_sqlite/tests/test_migrations.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy
import logging
diff --git a/mlrun/api/migrations_sqlite/versions/11f8dd2dc9fe_init.py b/mlrun/api/migrations_sqlite/versions/11f8dd2dc9fe_init.py
index e361737f58..38cdfb5f7f 100644
--- a/mlrun/api/migrations_sqlite/versions/11f8dd2dc9fe_init.py
+++ b/mlrun/api/migrations_sqlite/versions/11f8dd2dc9fe_init.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""init
Revision ID: 11f8dd2dc9fe
diff --git a/mlrun/api/migrations_sqlite/versions/1c954f8cb32d_schedule_last_run_uri.py b/mlrun/api/migrations_sqlite/versions/1c954f8cb32d_schedule_last_run_uri.py
index 3c61f6c65b..2d9a303bd2 100644
--- a/mlrun/api/migrations_sqlite/versions/1c954f8cb32d_schedule_last_run_uri.py
+++ b/mlrun/api/migrations_sqlite/versions/1c954f8cb32d_schedule_last_run_uri.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Schedule last run uri
Revision ID: 1c954f8cb32d
diff --git a/mlrun/api/migrations_sqlite/versions/2b6d23c715aa_adding_feature_sets.py b/mlrun/api/migrations_sqlite/versions/2b6d23c715aa_adding_feature_sets.py
index 5860deb4cb..2f73ff2a1d 100644
--- a/mlrun/api/migrations_sqlite/versions/2b6d23c715aa_adding_feature_sets.py
+++ b/mlrun/api/migrations_sqlite/versions/2b6d23c715aa_adding_feature_sets.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Adding feature sets
Revision ID: 2b6d23c715aa
diff --git a/mlrun/api/migrations_sqlite/versions/6401142f2d7c_adding_next_run_time_column_to_schedule_.py b/mlrun/api/migrations_sqlite/versions/6401142f2d7c_adding_next_run_time_column_to_schedule_.py
index f6fb38b884..9562617de4 100644
--- a/mlrun/api/migrations_sqlite/versions/6401142f2d7c_adding_next_run_time_column_to_schedule_.py
+++ b/mlrun/api/migrations_sqlite/versions/6401142f2d7c_adding_next_run_time_column_to_schedule_.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""adding next_run_time column to schedule table
Revision ID: 6401142f2d7c
diff --git a/mlrun/api/migrations_sqlite/versions/64d90a1a69bc_adding_background_tasks_table.py b/mlrun/api/migrations_sqlite/versions/64d90a1a69bc_adding_background_tasks_table.py
index 13749a2d4e..7f7d066cbf 100644
--- a/mlrun/api/migrations_sqlite/versions/64d90a1a69bc_adding_background_tasks_table.py
+++ b/mlrun/api/migrations_sqlite/versions/64d90a1a69bc_adding_background_tasks_table.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""adding background tasks table
Revision ID: 64d90a1a69bc
diff --git a/mlrun/api/migrations_sqlite/versions/863114f0c659_refactoring_feature_set.py b/mlrun/api/migrations_sqlite/versions/863114f0c659_refactoring_feature_set.py
index 51f3e20845..b3696e1a5e 100644
--- a/mlrun/api/migrations_sqlite/versions/863114f0c659_refactoring_feature_set.py
+++ b/mlrun/api/migrations_sqlite/versions/863114f0c659_refactoring_feature_set.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Refactoring feature set
Revision ID: 863114f0c659
diff --git a/mlrun/api/migrations_sqlite/versions/accf9fc83d38_adding_data_versions_table.py b/mlrun/api/migrations_sqlite/versions/accf9fc83d38_adding_data_versions_table.py
index 7701ae79ff..87a29e53b5 100644
--- a/mlrun/api/migrations_sqlite/versions/accf9fc83d38_adding_data_versions_table.py
+++ b/mlrun/api/migrations_sqlite/versions/accf9fc83d38_adding_data_versions_table.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Adding data versions table
Revision ID: accf9fc83d38
diff --git a/mlrun/api/migrations_sqlite/versions/b68e8e897a28_schedule_labels.py b/mlrun/api/migrations_sqlite/versions/b68e8e897a28_schedule_labels.py
index d220c8783d..dae3c3c334 100644
--- a/mlrun/api/migrations_sqlite/versions/b68e8e897a28_schedule_labels.py
+++ b/mlrun/api/migrations_sqlite/versions/b68e8e897a28_schedule_labels.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""schedule labels
Revision ID: b68e8e897a28
diff --git a/mlrun/api/migrations_sqlite/versions/bcd0c1f9720c_adding_project_labels.py b/mlrun/api/migrations_sqlite/versions/bcd0c1f9720c_adding_project_labels.py
index 802ba958df..a2d4912d16 100644
--- a/mlrun/api/migrations_sqlite/versions/bcd0c1f9720c_adding_project_labels.py
+++ b/mlrun/api/migrations_sqlite/versions/bcd0c1f9720c_adding_project_labels.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Adding project labels
Revision ID: bcd0c1f9720c
diff --git a/mlrun/api/migrations_sqlite/versions/cf21882f938e_schedule_id.py b/mlrun/api/migrations_sqlite/versions/cf21882f938e_schedule_id.py
index 7bc53cd1b0..8102741687 100644
--- a/mlrun/api/migrations_sqlite/versions/cf21882f938e_schedule_id.py
+++ b/mlrun/api/migrations_sqlite/versions/cf21882f938e_schedule_id.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""schedule id
Revision ID: cf21882f938e
diff --git a/mlrun/api/migrations_sqlite/versions/d781f58f607f_tag_object_name_string.py b/mlrun/api/migrations_sqlite/versions/d781f58f607f_tag_object_name_string.py
index e60ccd68be..811df47d89 100644
--- a/mlrun/api/migrations_sqlite/versions/d781f58f607f_tag_object_name_string.py
+++ b/mlrun/api/migrations_sqlite/versions/d781f58f607f_tag_object_name_string.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""tag object name string
Revision ID: d781f58f607f
diff --git a/mlrun/api/migrations_sqlite/versions/deac06871ace_adding_marketplace_sources_table.py b/mlrun/api/migrations_sqlite/versions/deac06871ace_adding_marketplace_sources_table.py
index ce66b29450..3edfb97900 100644
--- a/mlrun/api/migrations_sqlite/versions/deac06871ace_adding_marketplace_sources_table.py
+++ b/mlrun/api/migrations_sqlite/versions/deac06871ace_adding_marketplace_sources_table.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Adding marketplace sources table
Revision ID: deac06871ace
diff --git a/mlrun/api/migrations_sqlite/versions/e1dd5983c06b_schedule_concurrency_limit.py b/mlrun/api/migrations_sqlite/versions/e1dd5983c06b_schedule_concurrency_limit.py
index b05582fd6b..d2ef18568e 100644
--- a/mlrun/api/migrations_sqlite/versions/e1dd5983c06b_schedule_concurrency_limit.py
+++ b/mlrun/api/migrations_sqlite/versions/e1dd5983c06b_schedule_concurrency_limit.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Schedule concurrency limit
Revision ID: e1dd5983c06b
diff --git a/mlrun/api/migrations_sqlite/versions/e5594ed3ab53_adding_name_and_updated_to_runs_table.py b/mlrun/api/migrations_sqlite/versions/e5594ed3ab53_adding_name_and_updated_to_runs_table.py
index 075e628e19..7e85f9a8ae 100644
--- a/mlrun/api/migrations_sqlite/versions/e5594ed3ab53_adding_name_and_updated_to_runs_table.py
+++ b/mlrun/api/migrations_sqlite/versions/e5594ed3ab53_adding_name_and_updated_to_runs_table.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Adding name and updated to runs table
Revision ID: e5594ed3ab53
diff --git a/mlrun/api/migrations_sqlite/versions/f4249b4ba6fa_adding_feature_vectors.py b/mlrun/api/migrations_sqlite/versions/f4249b4ba6fa_adding_feature_vectors.py
index f70cf85a19..6b153c8f2a 100644
--- a/mlrun/api/migrations_sqlite/versions/f4249b4ba6fa_adding_feature_vectors.py
+++ b/mlrun/api/migrations_sqlite/versions/f4249b4ba6fa_adding_feature_vectors.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Adding feature vectors
Revision ID: f4249b4ba6fa
diff --git a/mlrun/api/migrations_sqlite/versions/f7b5a1a03629_adding_feature_labels.py b/mlrun/api/migrations_sqlite/versions/f7b5a1a03629_adding_feature_labels.py
index d2888e8278..1404ba74c9 100644
--- a/mlrun/api/migrations_sqlite/versions/f7b5a1a03629_adding_feature_labels.py
+++ b/mlrun/api/migrations_sqlite/versions/f7b5a1a03629_adding_feature_labels.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
"""Adding feature labels
Revision ID: f7b5a1a03629
diff --git a/mlrun/api/schemas/__init__.py b/mlrun/api/schemas/__init__.py
index b837ac7919..7058c30e15 100644
--- a/mlrun/api/schemas/__init__.py
+++ b/mlrun/api/schemas/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .artifact import ArtifactCategories, ArtifactsFormat
diff --git a/mlrun/api/schemas/artifact.py b/mlrun/api/schemas/artifact.py
index 605dfe5d58..e90ee5f3f0 100644
--- a/mlrun/api/schemas/artifact.py
+++ b/mlrun/api/schemas/artifact.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
import typing
diff --git a/mlrun/api/schemas/auth.py b/mlrun/api/schemas/auth.py
index d51b32b907..9bbd53de33 100644
--- a/mlrun/api/schemas/auth.py
+++ b/mlrun/api/schemas/auth.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
import typing
diff --git a/mlrun/api/schemas/background_task.py b/mlrun/api/schemas/background_task.py
index 0d40d757aa..cf6fa059aa 100644
--- a/mlrun/api/schemas/background_task.py
+++ b/mlrun/api/schemas/background_task.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import enum
import typing
diff --git a/mlrun/api/schemas/client_spec.py b/mlrun/api/schemas/client_spec.py
index 559fedc24f..af3195f833 100644
--- a/mlrun/api/schemas/client_spec.py
+++ b/mlrun/api/schemas/client_spec.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import pydantic
diff --git a/mlrun/api/schemas/clusterization_spec.py b/mlrun/api/schemas/clusterization_spec.py
index 90662c42f7..44bc0d50bb 100644
--- a/mlrun/api/schemas/clusterization_spec.py
+++ b/mlrun/api/schemas/clusterization_spec.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
import typing
diff --git a/mlrun/api/schemas/constants.py b/mlrun/api/schemas/constants.py
index 907fd6db09..12f1efc891 100644
--- a/mlrun/api/schemas/constants.py
+++ b/mlrun/api/schemas/constants.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum import Enum
import mergedeep
diff --git a/mlrun/api/schemas/feature_store.py b/mlrun/api/schemas/feature_store.py
index a9d61df6e5..30e739fd3f 100644
--- a/mlrun/api/schemas/feature_store.py
+++ b/mlrun/api/schemas/feature_store.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import List, Optional
from pydantic import BaseModel, Extra, Field
diff --git a/mlrun/api/schemas/frontend_spec.py b/mlrun/api/schemas/frontend_spec.py
index 358cfabd04..bd57149f2d 100644
--- a/mlrun/api/schemas/frontend_spec.py
+++ b/mlrun/api/schemas/frontend_spec.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
import typing
diff --git a/mlrun/api/schemas/function.py b/mlrun/api/schemas/function.py
index 9211b388cc..f4566e4139 100644
--- a/mlrun/api/schemas/function.py
+++ b/mlrun/api/schemas/function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
from enum import Enum
diff --git a/mlrun/api/schemas/http.py b/mlrun/api/schemas/http.py
index 3a41352722..f8b600b456 100644
--- a/mlrun/api/schemas/http.py
+++ b/mlrun/api/schemas/http.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
diff --git a/mlrun/api/schemas/k8s.py b/mlrun/api/schemas/k8s.py
index e6be02971d..1ef83885a6 100644
--- a/mlrun/api/schemas/k8s.py
+++ b/mlrun/api/schemas/k8s.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
import typing
diff --git a/mlrun/api/schemas/marketplace.py b/mlrun/api/schemas/marketplace.py
index f2e0241eda..7b036229cc 100644
--- a/mlrun/api/schemas/marketplace.py
+++ b/mlrun/api/schemas/marketplace.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
from datetime import datetime, timezone
from typing import List, Optional
diff --git a/mlrun/api/schemas/model_endpoints.py b/mlrun/api/schemas/model_endpoints.py
index 414e639eda..3431abad78 100644
--- a/mlrun/api/schemas/model_endpoints.py
+++ b/mlrun/api/schemas/model_endpoints.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
from typing import Any, Dict, List, Optional, Tuple, Union
diff --git a/mlrun/api/schemas/object.py b/mlrun/api/schemas/object.py
index 1196b02f2e..1a327578f0 100644
--- a/mlrun/api/schemas/object.py
+++ b/mlrun/api/schemas/object.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime import datetime
from enum import Enum
from typing import List, Optional
diff --git a/mlrun/api/schemas/pipeline.py b/mlrun/api/schemas/pipeline.py
index 880a39a77b..b08c790ad3 100644
--- a/mlrun/api/schemas/pipeline.py
+++ b/mlrun/api/schemas/pipeline.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
import typing
diff --git a/mlrun/api/schemas/project.py b/mlrun/api/schemas/project.py
index d2d0b92a33..5a3425b37d 100644
--- a/mlrun/api/schemas/project.py
+++ b/mlrun/api/schemas/project.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import enum
import typing
diff --git a/mlrun/api/schemas/runtime_resource.py b/mlrun/api/schemas/runtime_resource.py
index 0ba80657df..e177277e29 100644
--- a/mlrun/api/schemas/runtime_resource.py
+++ b/mlrun/api/schemas/runtime_resource.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum
import typing
diff --git a/mlrun/api/schemas/schedule.py b/mlrun/api/schemas/schedule.py
index 438b4c82ed..29dfa065a7 100644
--- a/mlrun/api/schemas/schedule.py
+++ b/mlrun/api/schemas/schedule.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime import datetime
from enum import Enum
from typing import Any, Dict, List, Optional, Union
diff --git a/mlrun/api/schemas/secret.py b/mlrun/api/schemas/secret.py
index 675f06f310..c2031b6ed3 100644
--- a/mlrun/api/schemas/secret.py
+++ b/mlrun/api/schemas/secret.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum import Enum
from typing import Optional
diff --git a/mlrun/api/utils/__init__.py b/mlrun/api/utils/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/utils/__init__.py
+++ b/mlrun/api/utils/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/utils/auth/__init__.py b/mlrun/api/utils/auth/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/utils/auth/__init__.py
+++ b/mlrun/api/utils/auth/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/utils/auth/providers/__init__.py b/mlrun/api/utils/auth/providers/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/utils/auth/providers/__init__.py
+++ b/mlrun/api/utils/auth/providers/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/utils/auth/providers/base.py b/mlrun/api/utils/auth/providers/base.py
index 1621202c62..0970688d4a 100644
--- a/mlrun/api/utils/auth/providers/base.py
+++ b/mlrun/api/utils/auth/providers/base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc
import typing
diff --git a/mlrun/api/utils/auth/providers/nop.py b/mlrun/api/utils/auth/providers/nop.py
index c3fc95c982..fd573f6179 100644
--- a/mlrun/api/utils/auth/providers/nop.py
+++ b/mlrun/api/utils/auth/providers/nop.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import mlrun.api.schemas
diff --git a/mlrun/api/utils/auth/providers/opa.py b/mlrun/api/utils/auth/providers/opa.py
index 02139dfdb9..3438f479fc 100644
--- a/mlrun/api/utils/auth/providers/opa.py
+++ b/mlrun/api/utils/auth/providers/opa.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy
import datetime
import typing
diff --git a/mlrun/api/utils/auth/verifier.py b/mlrun/api/utils/auth/verifier.py
index f4f6d3d74a..ffae998c74 100644
--- a/mlrun/api/utils/auth/verifier.py
+++ b/mlrun/api/utils/auth/verifier.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64
import typing
diff --git a/mlrun/api/utils/background_tasks.py b/mlrun/api/utils/background_tasks.py
index bc4ca931d2..86975f0177 100644
--- a/mlrun/api/utils/background_tasks.py
+++ b/mlrun/api/utils/background_tasks.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import datetime
import traceback
diff --git a/mlrun/api/utils/clients/__init__.py b/mlrun/api/utils/clients/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/utils/clients/__init__.py
+++ b/mlrun/api/utils/clients/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/utils/clients/chief.py b/mlrun/api/utils/clients/chief.py
index 9a622d93a7..31ea612d15 100644
--- a/mlrun/api/utils/clients/chief.py
+++ b/mlrun/api/utils/clients/chief.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy
import typing
diff --git a/mlrun/api/utils/clients/iguazio.py b/mlrun/api/utils/clients/iguazio.py
index 66cbaa7b06..1c564467a2 100644
--- a/mlrun/api/utils/clients/iguazio.py
+++ b/mlrun/api/utils/clients/iguazio.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy
import datetime
import enum
diff --git a/mlrun/api/utils/clients/nuclio.py b/mlrun/api/utils/clients/nuclio.py
index 7ecb5386bd..f71f63821e 100644
--- a/mlrun/api/utils/clients/nuclio.py
+++ b/mlrun/api/utils/clients/nuclio.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy
import enum
import http
diff --git a/mlrun/api/utils/db/__init__.py b/mlrun/api/utils/db/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/utils/db/__init__.py
+++ b/mlrun/api/utils/db/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/utils/db/alembic.py b/mlrun/api/utils/db/alembic.py
index ae30ba52cb..f850fe570e 100644
--- a/mlrun/api/utils/db/alembic.py
+++ b/mlrun/api/utils/db/alembic.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import typing
diff --git a/mlrun/api/utils/db/backup.py b/mlrun/api/utils/db/backup.py
index 1a808e75d4..da076195bb 100644
--- a/mlrun/api/utils/db/backup.py
+++ b/mlrun/api/utils/db/backup.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import os
import pathlib
diff --git a/mlrun/api/utils/db/mysql.py b/mlrun/api/utils/db/mysql.py
index 501496423d..b14d77109b 100644
--- a/mlrun/api/utils/db/mysql.py
+++ b/mlrun/api/utils/db/mysql.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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
import typing
diff --git a/mlrun/api/utils/db/sql_collation.py b/mlrun/api/utils/db/sql_collation.py
index 904839eb46..bc24818873 100644
--- a/mlrun/api/utils/db/sql_collation.py
+++ b/mlrun/api/utils/db/sql_collation.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 .mysql import MySQLUtil
diff --git a/mlrun/api/utils/db/sqlite_migration.py b/mlrun/api/utils/db/sqlite_migration.py
index 4cd8ef7d4c..c5030798e8 100644
--- a/mlrun/api/utils/db/sqlite_migration.py
+++ b/mlrun/api/utils/db/sqlite_migration.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.path
import typing
diff --git a/mlrun/api/utils/helpers.py b/mlrun/api/utils/helpers.py
index 377b01c0c5..fe439996ed 100644
--- a/mlrun/api/utils/helpers.py
+++ b/mlrun/api/utils/helpers.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import mlrun
diff --git a/mlrun/api/utils/periodic.py b/mlrun/api/utils/periodic.py
index b76fc425c6..fc3f1409d5 100644
--- a/mlrun/api/utils/periodic.py
+++ b/mlrun/api/utils/periodic.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import traceback
import typing
diff --git a/mlrun/api/utils/projects/__init__.py b/mlrun/api/utils/projects/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/utils/projects/__init__.py
+++ b/mlrun/api/utils/projects/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/utils/projects/follower.py b/mlrun/api/utils/projects/follower.py
index 3251845f20..502913cd45 100644
--- a/mlrun/api/utils/projects/follower.py
+++ b/mlrun/api/utils/projects/follower.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 traceback
import typing
diff --git a/mlrun/api/utils/projects/leader.py b/mlrun/api/utils/projects/leader.py
index b3fd54b872..1d4e189f5d 100644
--- a/mlrun/api/utils/projects/leader.py
+++ b/mlrun/api/utils/projects/leader.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 collections
import traceback
import typing
diff --git a/mlrun/api/utils/projects/member.py b/mlrun/api/utils/projects/member.py
index d4494c7b22..cbc4be8d27 100644
--- a/mlrun/api/utils/projects/member.py
+++ b/mlrun/api/utils/projects/member.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc
import typing
diff --git a/mlrun/api/utils/projects/remotes/__init__.py b/mlrun/api/utils/projects/remotes/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/utils/projects/remotes/__init__.py
+++ b/mlrun/api/utils/projects/remotes/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/utils/projects/remotes/follower.py b/mlrun/api/utils/projects/remotes/follower.py
index 1fdf3c8861..3977715604 100644
--- a/mlrun/api/utils/projects/remotes/follower.py
+++ b/mlrun/api/utils/projects/remotes/follower.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc
import typing
diff --git a/mlrun/api/utils/projects/remotes/leader.py b/mlrun/api/utils/projects/remotes/leader.py
index caa9639a6b..3b75229054 100644
--- a/mlrun/api/utils/projects/remotes/leader.py
+++ b/mlrun/api/utils/projects/remotes/leader.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc
import datetime
import typing
diff --git a/mlrun/api/utils/projects/remotes/nop_follower.py b/mlrun/api/utils/projects/remotes/nop_follower.py
index 4994d1c928..d29e6bb342 100644
--- a/mlrun/api/utils/projects/remotes/nop_follower.py
+++ b/mlrun/api/utils/projects/remotes/nop_follower.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import mergedeep
diff --git a/mlrun/api/utils/projects/remotes/nop_leader.py b/mlrun/api/utils/projects/remotes/nop_leader.py
index eb501b304e..961d491484 100644
--- a/mlrun/api/utils/projects/remotes/nop_leader.py
+++ b/mlrun/api/utils/projects/remotes/nop_leader.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import typing
diff --git a/mlrun/api/utils/scheduler.py b/mlrun/api/utils/scheduler.py
index 5f41fb2dd9..044f6f50b1 100644
--- a/mlrun/api/utils/scheduler.py
+++ b/mlrun/api/utils/scheduler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import copy
import json
diff --git a/mlrun/api/utils/singletons/__init__.py b/mlrun/api/utils/singletons/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/mlrun/api/utils/singletons/__init__.py
+++ b/mlrun/api/utils/singletons/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/mlrun/api/utils/singletons/db.py b/mlrun/api/utils/singletons/db.py
index a699ac734b..c7b3cbe0d9 100644
--- a/mlrun/api/utils/singletons/db.py
+++ b/mlrun/api/utils/singletons/db.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun.api.db.base import DBInterface
from mlrun.api.db.filedb.db import FileDB
from mlrun.api.db.sqldb.db import SQLDB
diff --git a/mlrun/api/utils/singletons/k8s.py b/mlrun/api/utils/singletons/k8s.py
index d4a9f3f431..184c3ce2b3 100644
--- a/mlrun/api/utils/singletons/k8s.py
+++ b/mlrun/api/utils/singletons/k8s.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun.k8s_utils import K8sHelper, get_k8s_helper
diff --git a/mlrun/api/utils/singletons/logs_dir.py b/mlrun/api/utils/singletons/logs_dir.py
index 407b664dfe..74449405b0 100644
--- a/mlrun/api/utils/singletons/logs_dir.py
+++ b/mlrun/api/utils/singletons/logs_dir.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib import Path
from mlrun.config import config
diff --git a/mlrun/api/utils/singletons/project_member.py b/mlrun/api/utils/singletons/project_member.py
index 3b17738b8c..94e432d6b3 100644
--- a/mlrun/api/utils/singletons/project_member.py
+++ b/mlrun/api/utils/singletons/project_member.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun.api.utils.projects.follower
import mlrun.api.utils.projects.leader
import mlrun.api.utils.projects.member
diff --git a/mlrun/api/utils/singletons/scheduler.py b/mlrun/api/utils/singletons/scheduler.py
index 61583f8a9e..569af487dd 100644
--- a/mlrun/api/utils/singletons/scheduler.py
+++ b/mlrun/api/utils/singletons/scheduler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun.api.db.sqldb.session import create_session
from mlrun.api.utils.scheduler import Scheduler
diff --git a/mlrun/data_types/__init__.py b/mlrun/data_types/__init__.py
index e93e7eacfd..35db7e6b54 100644
--- a/mlrun/data_types/__init__.py
+++ b/mlrun/data_types/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .data_types import InferOptions, ValueType, pd_schema_to_value_type
diff --git a/mlrun/data_types/infer.py b/mlrun/data_types/infer.py
index bcdba246e2..feaaa2c6b7 100644
--- a/mlrun/data_types/infer.py
+++ b/mlrun/data_types/infer.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 numpy as np
import pandas as pd
import pyarrow
diff --git a/mlrun/data_types/spark.py b/mlrun/data_types/spark.py
index 20340111c0..9d131c725c 100644
--- a/mlrun/data_types/spark.py
+++ b/mlrun/data_types/spark.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 os import environ
import numpy as np
diff --git a/mlrun/datastore/utils.py b/mlrun/datastore/utils.py
index 098cce9c47..d417b492ed 100644
--- a/mlrun/datastore/utils.py
+++ b/mlrun/datastore/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 urllib.parse import urlparse
diff --git a/mlrun/errors.py b/mlrun/errors.py
index 7eff3ca625..3333a897fc 100644
--- a/mlrun/errors.py
+++ b/mlrun/errors.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
from http import HTTPStatus
diff --git a/mlrun/feature_store/retrieval/base.py b/mlrun/feature_store/retrieval/base.py
index baa44fbdf3..4ffbf40444 100644
--- a/mlrun/feature_store/retrieval/base.py
+++ b/mlrun/feature_store/retrieval/base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc
import mlrun
diff --git a/mlrun/feature_store/retrieval/dask_merger.py b/mlrun/feature_store/retrieval/dask_merger.py
index f8f549ea35..89013f2619 100644
--- a/mlrun/feature_store/retrieval/dask_merger.py
+++ b/mlrun/feature_store/retrieval/dask_merger.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 dask.dataframe as dd
import pandas as pd
from dask.dataframe.multi import merge, merge_asof
diff --git a/mlrun/feature_store/retrieval/job.py b/mlrun/feature_store/retrieval/job.py
index e6d2cc9f64..30ca5843a5 100644
--- a/mlrun/feature_store/retrieval/job.py
+++ b/mlrun/feature_store/retrieval/job.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 uuid
import mlrun
diff --git a/mlrun/feature_store/retrieval/spark_merger.py b/mlrun/feature_store/retrieval/spark_merger.py
index 9fd4dd9e6c..8d9158ecec 100644
--- a/mlrun/feature_store/retrieval/spark_merger.py
+++ b/mlrun/feature_store/retrieval/spark_merger.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
from mlrun.datastore.targets import get_offline_target
diff --git a/mlrun/feature_store/steps.py b/mlrun/feature_store/steps.py
index 5eee370d22..ae6d09144a 100644
--- a/mlrun/feature_store/steps.py
+++ b/mlrun/feature_store/steps.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 re
import uuid
from typing import Any, Dict, List, Union
diff --git a/mlrun/features.py b/mlrun/features.py
index 06b5fbecdb..8eabb54159 100644
--- a/mlrun/features.py
+++ b/mlrun/features.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 math
import re
from typing import Dict, List, Optional
diff --git a/mlrun/frameworks/__init__.py b/mlrun/frameworks/__init__.py
index 5207b4e9f5..ffeb4d20e7 100644
--- a/mlrun/frameworks/__init__.py
+++ b/mlrun/frameworks/__init__.py
@@ -1,2 +1,16 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .parallel_coordinates import compare_db_runs, compare_run_objects
diff --git a/mlrun/frameworks/_common/__init__.py b/mlrun/frameworks/_common/__init__.py
index 4ea71b6c01..cea7e9b8ca 100644
--- a/mlrun/frameworks/_common/__init__.py
+++ b/mlrun/frameworks/_common/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .artifacts_library import ArtifactsLibrary
from .mlrun_interface import MLRunInterface
diff --git a/mlrun/frameworks/_common/artifacts_library.py b/mlrun/frameworks/_common/artifacts_library.py
index c8efa1aa7e..b6770daedc 100644
--- a/mlrun/frameworks/_common/artifacts_library.py
+++ b/mlrun/frameworks/_common/artifacts_library.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC, abstractmethod
from typing import Dict, List, Type, Union
diff --git a/mlrun/frameworks/_common/mlrun_interface.py b/mlrun/frameworks/_common/mlrun_interface.py
index 0a5369c3b6..d400ccaee4 100644
--- a/mlrun/frameworks/_common/mlrun_interface.py
+++ b/mlrun/frameworks/_common/mlrun_interface.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy
import functools
import inspect
diff --git a/mlrun/frameworks/_common/model_handler.py b/mlrun/frameworks/_common/model_handler.py
index 9df8d7372d..8efc97f81f 100644
--- a/mlrun/frameworks/_common/model_handler.py
+++ b/mlrun/frameworks/_common/model_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 importlib.util
import json
import os
diff --git a/mlrun/frameworks/_common/plan.py b/mlrun/frameworks/_common/plan.py
index f872946b72..48c45e6bdd 100644
--- a/mlrun/frameworks/_common/plan.py
+++ b/mlrun/frameworks/_common/plan.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC, abstractmethod
from typing import Dict
diff --git a/mlrun/frameworks/_common/producer.py b/mlrun/frameworks/_common/producer.py
index b0c48e701d..185bcdd7fc 100644
--- a/mlrun/frameworks/_common/producer.py
+++ b/mlrun/frameworks/_common/producer.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict, List
import mlrun
diff --git a/mlrun/frameworks/_common/utils.py b/mlrun/frameworks/_common/utils.py
index 129626622d..53ab8a53dd 100644
--- a/mlrun/frameworks/_common/utils.py
+++ b/mlrun/frameworks/_common/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 re
from abc import ABC
from enum import Enum
diff --git a/mlrun/frameworks/_dl_common/__init__.py b/mlrun/frameworks/_dl_common/__init__.py
index fc35bc3f7a..5033b2e72e 100644
--- a/mlrun/frameworks/_dl_common/__init__.py
+++ b/mlrun/frameworks/_dl_common/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .model_handler import DLModelHandler
from .utils import DLTypes, DLUtils
diff --git a/mlrun/frameworks/_dl_common/loggers/__init__.py b/mlrun/frameworks/_dl_common/loggers/__init__.py
index 0611c7e105..c03b131ef8 100644
--- a/mlrun/frameworks/_dl_common/loggers/__init__.py
+++ b/mlrun/frameworks/_dl_common/loggers/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .logger import Logger
from .mlrun_logger import MLRunLogger
diff --git a/mlrun/frameworks/_dl_common/loggers/logger.py b/mlrun/frameworks/_dl_common/loggers/logger.py
index 4d48bb66db..bb090650f1 100644
--- a/mlrun/frameworks/_dl_common/loggers/logger.py
+++ b/mlrun/frameworks/_dl_common/loggers/logger.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict, List
import mlrun
diff --git a/mlrun/frameworks/_dl_common/loggers/mlrun_logger.py b/mlrun/frameworks/_dl_common/loggers/mlrun_logger.py
index 4d60d56614..66179c156d 100644
--- a/mlrun/frameworks/_dl_common/loggers/mlrun_logger.py
+++ b/mlrun/frameworks/_dl_common/loggers/mlrun_logger.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 itertools
from typing import Dict, List, Union
diff --git a/mlrun/frameworks/_dl_common/loggers/tensorboard_logger.py b/mlrun/frameworks/_dl_common/loggers/tensorboard_logger.py
index bdc5774051..eea48f28ed 100644
--- a/mlrun/frameworks/_dl_common/loggers/tensorboard_logger.py
+++ b/mlrun/frameworks/_dl_common/loggers/tensorboard_logger.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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
from abc import abstractmethod
from datetime import datetime
diff --git a/mlrun/frameworks/_dl_common/model_handler.py b/mlrun/frameworks/_dl_common/model_handler.py
index c21f5c22ab..62d2ad896d 100644
--- a/mlrun/frameworks/_dl_common/model_handler.py
+++ b/mlrun/frameworks/_dl_common/model_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from .._common import ModelHandler
diff --git a/mlrun/frameworks/_dl_common/utils.py b/mlrun/frameworks/_dl_common/utils.py
index 68f1549165..716f68b8dc 100644
--- a/mlrun/frameworks/_dl_common/utils.py
+++ b/mlrun/frameworks/_dl_common/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from typing import TypeVar
diff --git a/mlrun/frameworks/_ml_common/__init__.py b/mlrun/frameworks/_ml_common/__init__.py
index cbf89120a6..2ddeff3d03 100644
--- a/mlrun/frameworks/_ml_common/__init__.py
+++ b/mlrun/frameworks/_ml_common/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .artifacts_library import MLArtifactsLibrary
from .model_handler import MLModelHandler
diff --git a/mlrun/frameworks/_ml_common/artifacts_library.py b/mlrun/frameworks/_ml_common/artifacts_library.py
index be967880a7..dde11f3d56 100644
--- a/mlrun/frameworks/_ml_common/artifacts_library.py
+++ b/mlrun/frameworks/_ml_common/artifacts_library.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from typing import List
diff --git a/mlrun/frameworks/_ml_common/loggers/__init__.py b/mlrun/frameworks/_ml_common/loggers/__init__.py
index b32116b19f..0eeea7dd77 100644
--- a/mlrun/frameworks/_ml_common/loggers/__init__.py
+++ b/mlrun/frameworks/_ml_common/loggers/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .logger import Logger
from .mlrun_logger import MLRunLogger
diff --git a/mlrun/frameworks/_ml_common/loggers/logger.py b/mlrun/frameworks/_ml_common/loggers/logger.py
index 27b24b5d0e..d4008858ba 100644
--- a/mlrun/frameworks/_ml_common/loggers/logger.py
+++ b/mlrun/frameworks/_ml_common/loggers/logger.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict, List
from ..utils import MLTypes
diff --git a/mlrun/frameworks/_ml_common/loggers/mlrun_logger.py b/mlrun/frameworks/_ml_common/loggers/mlrun_logger.py
index 790604920c..09762e472e 100644
--- a/mlrun/frameworks/_ml_common/loggers/mlrun_logger.py
+++ b/mlrun/frameworks/_ml_common/loggers/mlrun_logger.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 re
from typing import Dict, List
diff --git a/mlrun/frameworks/_ml_common/model_handler.py b/mlrun/frameworks/_ml_common/model_handler.py
index 451ecf510a..231c32c271 100644
--- a/mlrun/frameworks/_ml_common/model_handler.py
+++ b/mlrun/frameworks/_ml_common/model_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from typing import Dict, List, Union
diff --git a/mlrun/frameworks/_ml_common/pkl_model_server.py b/mlrun/frameworks/_ml_common/pkl_model_server.py
index 541cba41d9..a03803a7a0 100644
--- a/mlrun/frameworks/_ml_common/pkl_model_server.py
+++ b/mlrun/frameworks/_ml_common/pkl_model_server.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 numpy as np
from cloudpickle import load
from sklearn.base import is_regressor
diff --git a/mlrun/frameworks/_ml_common/plan.py b/mlrun/frameworks/_ml_common/plan.py
index df1b000c52..bee2c1188d 100644
--- a/mlrun/frameworks/_ml_common/plan.py
+++ b/mlrun/frameworks/_ml_common/plan.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
from abc import ABC, abstractmethod
from enum import Enum
diff --git a/mlrun/frameworks/_ml_common/plans/__init__.py b/mlrun/frameworks/_ml_common/plans/__init__.py
index 9b326395d5..e08e8245c0 100644
--- a/mlrun/frameworks/_ml_common/plans/__init__.py
+++ b/mlrun/frameworks/_ml_common/plans/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .calibration_curve_plan import CalibrationCurvePlan
from .confusion_matrix_plan import ConfusionMatrixPlan
diff --git a/mlrun/frameworks/_ml_common/plans/calibration_curve_plan.py b/mlrun/frameworks/_ml_common/plans/calibration_curve_plan.py
index b6f7fc380f..ec47f617eb 100644
--- a/mlrun/frameworks/_ml_common/plans/calibration_curve_plan.py
+++ b/mlrun/frameworks/_ml_common/plans/calibration_curve_plan.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict
import plotly.graph_objects as go
diff --git a/mlrun/frameworks/_ml_common/plans/confusion_matrix_plan.py b/mlrun/frameworks/_ml_common/plans/confusion_matrix_plan.py
index 8efceaf95e..e1504582d4 100644
--- a/mlrun/frameworks/_ml_common/plans/confusion_matrix_plan.py
+++ b/mlrun/frameworks/_ml_common/plans/confusion_matrix_plan.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict
import numpy as np
diff --git a/mlrun/frameworks/_ml_common/plans/dataset_plan.py b/mlrun/frameworks/_ml_common/plans/dataset_plan.py
index 608416ec0d..d12cd63d45 100644
--- a/mlrun/frameworks/_ml_common/plans/dataset_plan.py
+++ b/mlrun/frameworks/_ml_common/plans/dataset_plan.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 enum import Enum
from typing import Dict, Union
diff --git a/mlrun/frameworks/_ml_common/plans/feature_importance_plan.py b/mlrun/frameworks/_ml_common/plans/feature_importance_plan.py
index cabca1513d..3d6f898cc0 100644
--- a/mlrun/frameworks/_ml_common/plans/feature_importance_plan.py
+++ b/mlrun/frameworks/_ml_common/plans/feature_importance_plan.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict
import pandas as pd
diff --git a/mlrun/frameworks/_ml_common/plans/roc_curve_plan.py b/mlrun/frameworks/_ml_common/plans/roc_curve_plan.py
index 26bbb92f7e..d00da165fa 100644
--- a/mlrun/frameworks/_ml_common/plans/roc_curve_plan.py
+++ b/mlrun/frameworks/_ml_common/plans/roc_curve_plan.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict, List, Union
import numpy as np
diff --git a/mlrun/frameworks/_ml_common/producer.py b/mlrun/frameworks/_ml_common/producer.py
index 4f795489df..e243ccdd3a 100644
--- a/mlrun/frameworks/_ml_common/producer.py
+++ b/mlrun/frameworks/_ml_common/producer.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 .._common import LoggingMode, Producer
from .plan import MLPlanStages
diff --git a/mlrun/frameworks/_ml_common/utils.py b/mlrun/frameworks/_ml_common/utils.py
index 41df9fe8d0..ac103ad253 100644
--- a/mlrun/frameworks/_ml_common/utils.py
+++ b/mlrun/frameworks/_ml_common/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from enum import Enum
from typing import Callable, List, Tuple, Union
diff --git a/mlrun/frameworks/auto_mlrun/__init__.py b/mlrun/frameworks/auto_mlrun/__init__.py
index 3bf90de790..4edf706ed9 100644
--- a/mlrun/frameworks/auto_mlrun/__init__.py
+++ b/mlrun/frameworks/auto_mlrun/__init__.py
@@ -1,2 +1,16 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .auto_mlrun import AutoMLRun
diff --git a/mlrun/frameworks/auto_mlrun/auto_mlrun.py b/mlrun/frameworks/auto_mlrun/auto_mlrun.py
index e2d4b8b7b5..1cec53aa01 100644
--- a/mlrun/frameworks/auto_mlrun/auto_mlrun.py
+++ b/mlrun/frameworks/auto_mlrun/auto_mlrun.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from typing import Callable, Dict, List, Tuple, Type, Union
diff --git a/mlrun/frameworks/lgbm/__init__.py b/mlrun/frameworks/lgbm/__init__.py
index 8bb0b8b3ba..2fe0e2bd38 100644
--- a/mlrun/frameworks/lgbm/__init__.py
+++ b/mlrun/frameworks/lgbm/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from typing import Any, Dict, List, Union
diff --git a/mlrun/frameworks/lgbm/callbacks/__init__.py b/mlrun/frameworks/lgbm/callbacks/__init__.py
index 124d2856ca..b37a15e4e2 100644
--- a/mlrun/frameworks/lgbm/callbacks/__init__.py
+++ b/mlrun/frameworks/lgbm/callbacks/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .callback import Callback
from .logging_callback import LoggingCallback
diff --git a/mlrun/frameworks/lgbm/callbacks/callback.py b/mlrun/frameworks/lgbm/callbacks/callback.py
index 681b765977..d0a41e71cb 100644
--- a/mlrun/frameworks/lgbm/callbacks/callback.py
+++ b/mlrun/frameworks/lgbm/callbacks/callback.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from lightgbm.callback import CallbackEnv
diff --git a/mlrun/frameworks/lgbm/callbacks/logging_callback.py b/mlrun/frameworks/lgbm/callbacks/logging_callback.py
index 8dc9af0543..8a2a4a1a39 100644
--- a/mlrun/frameworks/lgbm/callbacks/logging_callback.py
+++ b/mlrun/frameworks/lgbm/callbacks/logging_callback.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import List
from ..._ml_common.loggers import Logger
diff --git a/mlrun/frameworks/lgbm/callbacks/mlrun_logging_callback.py b/mlrun/frameworks/lgbm/callbacks/mlrun_logging_callback.py
index 2a33fd5c88..e2500ad639 100644
--- a/mlrun/frameworks/lgbm/callbacks/mlrun_logging_callback.py
+++ b/mlrun/frameworks/lgbm/callbacks/mlrun_logging_callback.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import List
import mlrun
diff --git a/mlrun/frameworks/lgbm/mlrun_interfaces/__init__.py b/mlrun/frameworks/lgbm/mlrun_interfaces/__init__.py
index 9d099d5446..7de92bb3a7 100644
--- a/mlrun/frameworks/lgbm/mlrun_interfaces/__init__.py
+++ b/mlrun/frameworks/lgbm/mlrun_interfaces/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .booster_mlrun_interface import LGBMBoosterMLRunInterface
from .mlrun_interface import LGBMMLRunInterface
diff --git a/mlrun/frameworks/lgbm/mlrun_interfaces/booster_mlrun_interface.py b/mlrun/frameworks/lgbm/mlrun_interfaces/booster_mlrun_interface.py
index 2f61485c06..b4601453f9 100644
--- a/mlrun/frameworks/lgbm/mlrun_interfaces/booster_mlrun_interface.py
+++ b/mlrun/frameworks/lgbm/mlrun_interfaces/booster_mlrun_interface.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
import lightgbm as lgb
diff --git a/mlrun/frameworks/lgbm/mlrun_interfaces/mlrun_interface.py b/mlrun/frameworks/lgbm/mlrun_interfaces/mlrun_interface.py
index 5c06a7eb51..abe841a529 100644
--- a/mlrun/frameworks/lgbm/mlrun_interfaces/mlrun_interface.py
+++ b/mlrun/frameworks/lgbm/mlrun_interfaces/mlrun_interface.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from types import ModuleType
from typing import Callable, List, Tuple, Union
diff --git a/mlrun/frameworks/lgbm/mlrun_interfaces/model_mlrun_interface.py b/mlrun/frameworks/lgbm/mlrun_interfaces/model_mlrun_interface.py
index c40ce854d7..bc367f2053 100644
--- a/mlrun/frameworks/lgbm/mlrun_interfaces/model_mlrun_interface.py
+++ b/mlrun/frameworks/lgbm/mlrun_interfaces/model_mlrun_interface.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from ...sklearn import SKLearnMLRunInterface
diff --git a/mlrun/frameworks/lgbm/model_handler.py b/mlrun/frameworks/lgbm/model_handler.py
index daca43ea84..e21bc7059d 100644
--- a/mlrun/frameworks/lgbm/model_handler.py
+++ b/mlrun/frameworks/lgbm/model_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pickle
from typing import Dict, List, Union
diff --git a/mlrun/frameworks/lgbm/model_server.py b/mlrun/frameworks/lgbm/model_server.py
index ffb3c1ad89..4d540d6998 100644
--- a/mlrun/frameworks/lgbm/model_server.py
+++ b/mlrun/frameworks/lgbm/model_server.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Any, Dict, List, Union
import numpy as np
diff --git a/mlrun/frameworks/lgbm/utils.py b/mlrun/frameworks/lgbm/utils.py
index 34b5a08758..f43701f331 100644
--- a/mlrun/frameworks/lgbm/utils.py
+++ b/mlrun/frameworks/lgbm/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import List, Tuple, Union
import lightgbm as lgb
diff --git a/mlrun/frameworks/onnx/__init__.py b/mlrun/frameworks/onnx/__init__.py
index 9323c669ff..ca3ba87201 100644
--- a/mlrun/frameworks/onnx/__init__.py
+++ b/mlrun/frameworks/onnx/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .dataset import ONNXDataset
from .model_handler import ONNXModelHandler
diff --git a/mlrun/frameworks/onnx/dataset.py b/mlrun/frameworks/onnx/dataset.py
index 1a924fefe3..21b19a8357 100644
--- a/mlrun/frameworks/onnx/dataset.py
+++ b/mlrun/frameworks/onnx/dataset.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 math
from typing import Callable, List, Tuple, Union
diff --git a/mlrun/frameworks/onnx/mlrun_interface.py b/mlrun/frameworks/onnx/mlrun_interface.py
index 1b16951297..f76170b7d0 100644
--- a/mlrun/frameworks/onnx/mlrun_interface.py
+++ b/mlrun/frameworks/onnx/mlrun_interface.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Callable, List
import numpy as np
diff --git a/mlrun/frameworks/onnx/model_handler.py b/mlrun/frameworks/onnx/model_handler.py
index fd1dc91b3a..5c7d5d1c9c 100644
--- a/mlrun/frameworks/onnx/model_handler.py
+++ b/mlrun/frameworks/onnx/model_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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
from typing import Dict, List, Union
diff --git a/mlrun/frameworks/onnx/model_server.py b/mlrun/frameworks/onnx/model_server.py
index 60bbdd4423..c39654cf4c 100644
--- a/mlrun/frameworks/onnx/model_server.py
+++ b/mlrun/frameworks/onnx/model_server.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Any, Dict, List, Tuple, Union
import numpy as np
diff --git a/mlrun/frameworks/parallel_coordinates.py b/mlrun/frameworks/parallel_coordinates.py
index 5a2c2ff402..d17f87cd8d 100644
--- a/mlrun/frameworks/parallel_coordinates.py
+++ b/mlrun/frameworks/parallel_coordinates.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import os
import warnings
diff --git a/mlrun/frameworks/pytorch/__init__.py b/mlrun/frameworks/pytorch/__init__.py
index 52f443b345..9c4b086321 100644
--- a/mlrun/frameworks/pytorch/__init__.py
+++ b/mlrun/frameworks/pytorch/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from typing import Any, Dict, List, Tuple, Union
diff --git a/mlrun/frameworks/pytorch/callbacks/__init__.py b/mlrun/frameworks/pytorch/callbacks/__init__.py
index 677e6bceee..54e9927fd9 100644
--- a/mlrun/frameworks/pytorch/callbacks/__init__.py
+++ b/mlrun/frameworks/pytorch/callbacks/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .callback import Callback
from .logging_callback import HyperparametersKeys, LoggingCallback
diff --git a/mlrun/frameworks/pytorch/callbacks/callback.py b/mlrun/frameworks/pytorch/callbacks/callback.py
index e3c28d5c0e..46076e0f31 100644
--- a/mlrun/frameworks/pytorch/callbacks/callback.py
+++ b/mlrun/frameworks/pytorch/callbacks/callback.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC, abstractmethod
from typing import List
diff --git a/mlrun/frameworks/pytorch/callbacks/logging_callback.py b/mlrun/frameworks/pytorch/callbacks/logging_callback.py
index 54939eb834..b1991615a4 100644
--- a/mlrun/frameworks/pytorch/callbacks/logging_callback.py
+++ b/mlrun/frameworks/pytorch/callbacks/logging_callback.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Callable, Dict, List, Tuple, Union
import numpy as np
diff --git a/mlrun/frameworks/pytorch/callbacks/mlrun_logging_callback.py b/mlrun/frameworks/pytorch/callbacks/mlrun_logging_callback.py
index 15be409804..280153512d 100644
--- a/mlrun/frameworks/pytorch/callbacks/mlrun_logging_callback.py
+++ b/mlrun/frameworks/pytorch/callbacks/mlrun_logging_callback.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Callable, Dict, List, Tuple, Union
import torch
diff --git a/mlrun/frameworks/pytorch/callbacks/tensorboard_logging_callback.py b/mlrun/frameworks/pytorch/callbacks/tensorboard_logging_callback.py
index 76f1550f0d..dc73802547 100644
--- a/mlrun/frameworks/pytorch/callbacks/tensorboard_logging_callback.py
+++ b/mlrun/frameworks/pytorch/callbacks/tensorboard_logging_callback.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime import datetime
from typing import Callable, Dict, List, Tuple, Union
diff --git a/mlrun/frameworks/pytorch/callbacks_handler.py b/mlrun/frameworks/pytorch/callbacks_handler.py
index 5dc5e049c4..bc5024662a 100644
--- a/mlrun/frameworks/pytorch/callbacks_handler.py
+++ b/mlrun/frameworks/pytorch/callbacks_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict, List, Tuple, Union
from torch import Tensor
diff --git a/mlrun/frameworks/pytorch/mlrun_interface.py b/mlrun/frameworks/pytorch/mlrun_interface.py
index 2a4b11acb8..e137141512 100644
--- a/mlrun/frameworks/pytorch/mlrun_interface.py
+++ b/mlrun/frameworks/pytorch/mlrun_interface.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 importlib
import sys
from typing import Any, Dict, List, Tuple, Union
diff --git a/mlrun/frameworks/pytorch/model_handler.py b/mlrun/frameworks/pytorch/model_handler.py
index 80242df0e4..1b18ddf2df 100644
--- a/mlrun/frameworks/pytorch/model_handler.py
+++ b/mlrun/frameworks/pytorch/model_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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
from typing import Dict, List, Tuple, Type, Union
diff --git a/mlrun/frameworks/pytorch/model_server.py b/mlrun/frameworks/pytorch/model_server.py
index 0f80a8042f..43d175be68 100644
--- a/mlrun/frameworks/pytorch/model_server.py
+++ b/mlrun/frameworks/pytorch/model_server.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Any, Dict, List, Type, Union
import numpy as np
diff --git a/mlrun/frameworks/pytorch/utils.py b/mlrun/frameworks/pytorch/utils.py
index 5734612297..65cd29a958 100644
--- a/mlrun/frameworks/pytorch/utils.py
+++ b/mlrun/frameworks/pytorch/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Callable, Union
import numpy as np
diff --git a/mlrun/frameworks/sklearn/__init__.py b/mlrun/frameworks/sklearn/__init__.py
index b949514fd6..121784751f 100644
--- a/mlrun/frameworks/sklearn/__init__.py
+++ b/mlrun/frameworks/sklearn/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
import warnings
from typing import Dict, List, Union
diff --git a/mlrun/frameworks/sklearn/estimator.py b/mlrun/frameworks/sklearn/estimator.py
index 9a1d29bd45..db9c66c3aa 100644
--- a/mlrun/frameworks/sklearn/estimator.py
+++ b/mlrun/frameworks/sklearn/estimator.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict, List, Union
import numpy as np
diff --git a/mlrun/frameworks/sklearn/metric.py b/mlrun/frameworks/sklearn/metric.py
index 3811785b2b..2f108c4dcd 100644
--- a/mlrun/frameworks/sklearn/metric.py
+++ b/mlrun/frameworks/sklearn/metric.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 importlib
import json
import sys
diff --git a/mlrun/frameworks/sklearn/metrics_library.py b/mlrun/frameworks/sklearn/metrics_library.py
index 356a6b54ef..a1e3ff9dbf 100644
--- a/mlrun/frameworks/sklearn/metrics_library.py
+++ b/mlrun/frameworks/sklearn/metrics_library.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from typing import Dict, List, Union
diff --git a/mlrun/frameworks/sklearn/mlrun_interface.py b/mlrun/frameworks/sklearn/mlrun_interface.py
index 38d99a36fd..e227921e55 100644
--- a/mlrun/frameworks/sklearn/mlrun_interface.py
+++ b/mlrun/frameworks/sklearn/mlrun_interface.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from typing import List
diff --git a/mlrun/frameworks/sklearn/model_handler.py b/mlrun/frameworks/sklearn/model_handler.py
index df0bd48b03..12b626874a 100644
--- a/mlrun/frameworks/sklearn/model_handler.py
+++ b/mlrun/frameworks/sklearn/model_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pickle
diff --git a/mlrun/frameworks/sklearn/utils.py b/mlrun/frameworks/sklearn/utils.py
index 0eb2bad531..1839a2c5ee 100644
--- a/mlrun/frameworks/sklearn/utils.py
+++ b/mlrun/frameworks/sklearn/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Union
import sklearn.base
diff --git a/mlrun/frameworks/tf_keras/__init__.py b/mlrun/frameworks/tf_keras/__init__.py
index 67d9c3cf6d..397574e177 100644
--- a/mlrun/frameworks/tf_keras/__init__.py
+++ b/mlrun/frameworks/tf_keras/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from typing import Any, Dict, List, Union
diff --git a/mlrun/frameworks/tf_keras/callbacks/__init__.py b/mlrun/frameworks/tf_keras/callbacks/__init__.py
index 57e703efdf..ccc08d1122 100644
--- a/mlrun/frameworks/tf_keras/callbacks/__init__.py
+++ b/mlrun/frameworks/tf_keras/callbacks/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .logging_callback import LoggingCallback
from .mlrun_logging_callback import MLRunLoggingCallback
diff --git a/mlrun/frameworks/tf_keras/callbacks/logging_callback.py b/mlrun/frameworks/tf_keras/callbacks/logging_callback.py
index edfa4eb4a5..78c75c8281 100644
--- a/mlrun/frameworks/tf_keras/callbacks/logging_callback.py
+++ b/mlrun/frameworks/tf_keras/callbacks/logging_callback.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Callable, Dict, List, Union
import numpy as np
diff --git a/mlrun/frameworks/tf_keras/callbacks/mlrun_logging_callback.py b/mlrun/frameworks/tf_keras/callbacks/mlrun_logging_callback.py
index 5f2dc211cf..daf545aa5b 100644
--- a/mlrun/frameworks/tf_keras/callbacks/mlrun_logging_callback.py
+++ b/mlrun/frameworks/tf_keras/callbacks/mlrun_logging_callback.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Callable, Dict, List, Union
import mlrun
diff --git a/mlrun/frameworks/tf_keras/callbacks/tensorboard_logging_callback.py b/mlrun/frameworks/tf_keras/callbacks/tensorboard_logging_callback.py
index 7ba2d0ce3a..6ca62399c2 100644
--- a/mlrun/frameworks/tf_keras/callbacks/tensorboard_logging_callback.py
+++ b/mlrun/frameworks/tf_keras/callbacks/tensorboard_logging_callback.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime import datetime
from typing import Callable, Dict, List, Union
diff --git a/mlrun/frameworks/tf_keras/mlrun_interface.py b/mlrun/frameworks/tf_keras/mlrun_interface.py
index f48441a22f..d9d53487a6 100644
--- a/mlrun/frameworks/tf_keras/mlrun_interface.py
+++ b/mlrun/frameworks/tf_keras/mlrun_interface.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 importlib
import os
from abc import ABC
diff --git a/mlrun/frameworks/tf_keras/model_handler.py b/mlrun/frameworks/tf_keras/model_handler.py
index 5e75246631..2fbae24426 100644
--- a/mlrun/frameworks/tf_keras/model_handler.py
+++ b/mlrun/frameworks/tf_keras/model_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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
import zipfile
diff --git a/mlrun/frameworks/tf_keras/model_server.py b/mlrun/frameworks/tf_keras/model_server.py
index 418e4ec3fb..c1305d0443 100644
--- a/mlrun/frameworks/tf_keras/model_server.py
+++ b/mlrun/frameworks/tf_keras/model_server.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Any, Dict, List, Union
import numpy as np
diff --git a/mlrun/frameworks/tf_keras/utils.py b/mlrun/frameworks/tf_keras/utils.py
index 716419c7aa..e7e008600c 100644
--- a/mlrun/frameworks/tf_keras/utils.py
+++ b/mlrun/frameworks/tf_keras/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 tensorflow as tf
from tensorflow import keras
diff --git a/mlrun/frameworks/xgboost/__init__.py b/mlrun/frameworks/xgboost/__init__.py
index bad2dbc9dd..731a887a8b 100644
--- a/mlrun/frameworks/xgboost/__init__.py
+++ b/mlrun/frameworks/xgboost/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from typing import Dict, List, Union
diff --git a/mlrun/frameworks/xgboost/mlrun_interface.py b/mlrun/frameworks/xgboost/mlrun_interface.py
index 4f5c4104c2..3778f795fb 100644
--- a/mlrun/frameworks/xgboost/mlrun_interface.py
+++ b/mlrun/frameworks/xgboost/mlrun_interface.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC
from ..sklearn import SKLearnMLRunInterface
diff --git a/mlrun/frameworks/xgboost/model_handler.py b/mlrun/frameworks/xgboost/model_handler.py
index b7662a4fd9..476d4bea10 100644
--- a/mlrun/frameworks/xgboost/model_handler.py
+++ b/mlrun/frameworks/xgboost/model_handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pickle
from typing import Dict, List, Union
diff --git a/mlrun/frameworks/xgboost/utils.py b/mlrun/frameworks/xgboost/utils.py
index 6b14297ed7..8af9682972 100644
--- a/mlrun/frameworks/xgboost/utils.py
+++ b/mlrun/frameworks/xgboost/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Union
import xgboost as xgb
diff --git a/mlrun/mlutils/__init__.py b/mlrun/mlutils/__init__.py
index 2e2fbbb925..20f0bfec1a 100644
--- a/mlrun/mlutils/__init__.py
+++ b/mlrun/mlutils/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
# for backwards compatibility
from ..utils.helpers import create_class, create_function
diff --git a/mlrun/mlutils/data.py b/mlrun/mlutils/data.py
index 3cc66eaea0..8d060ae603 100644
--- a/mlrun/mlutils/data.py
+++ b/mlrun/mlutils/data.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Union
import pandas as pd
diff --git a/mlrun/mlutils/models.py b/mlrun/mlutils/models.py
index d93b7df275..b26792d27e 100644
--- a/mlrun/mlutils/models.py
+++ b/mlrun/mlutils/models.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
from importlib import import_module
from inspect import _empty, signature
diff --git a/mlrun/mlutils/plots.py b/mlrun/mlutils/plots.py
index dd1833545d..b1c774c4ca 100644
--- a/mlrun/mlutils/plots.py
+++ b/mlrun/mlutils/plots.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 itertools import cycle
from typing import List
diff --git a/mlrun/model_monitoring/constants.py b/mlrun/model_monitoring/constants.py
index 25de434e0d..b880917d6c 100644
--- a/mlrun/model_monitoring/constants.py
+++ b/mlrun/model_monitoring/constants.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
class EventFieldType:
FUNCTION_URI = "function_uri"
MODEL = "model"
diff --git a/mlrun/model_monitoring/features_drift_table.py b/mlrun/model_monitoring/features_drift_table.py
index 186dc736ea..285a95e70e 100644
--- a/mlrun/model_monitoring/features_drift_table.py
+++ b/mlrun/model_monitoring/features_drift_table.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict, List, Tuple, Union
import numpy as np
diff --git a/mlrun/model_monitoring/helpers.py b/mlrun/model_monitoring/helpers.py
index 6127fb412a..cfb3272da6 100644
--- a/mlrun/model_monitoring/helpers.py
+++ b/mlrun/model_monitoring/helpers.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import sqlalchemy.orm
diff --git a/mlrun/model_monitoring/model_monitoring_batch.py b/mlrun/model_monitoring/model_monitoring_batch.py
index dac35e5415..46fee2bd73 100644
--- a/mlrun/model_monitoring/model_monitoring_batch.py
+++ b/mlrun/model_monitoring/model_monitoring_batch.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 collections
import dataclasses
import datetime
diff --git a/mlrun/model_monitoring/stream_processing_fs.py b/mlrun/model_monitoring/stream_processing_fs.py
index 3a697a6ef6..e44fb14376 100644
--- a/mlrun/model_monitoring/stream_processing_fs.py
+++ b/mlrun/model_monitoring/stream_processing_fs.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 collections
import datetime
import json
diff --git a/mlrun/projects/operations.py b/mlrun/projects/operations.py
index 665d0baec4..16d695ad3d 100644
--- a/mlrun/projects/operations.py
+++ b/mlrun/projects/operations.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import List, Union
import kfp
diff --git a/mlrun/runtimes/constants.py b/mlrun/runtimes/constants.py
index 7e1a3b9548..5426025efe 100644
--- a/mlrun/runtimes/constants.py
+++ b/mlrun/runtimes/constants.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
class PodPhases:
"""
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase
diff --git a/mlrun/serving/remote.py b/mlrun/serving/remote.py
index 9a0d162d18..0b6f7f4a35 100644
--- a/mlrun/serving/remote.py
+++ b/mlrun/serving/remote.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import json
diff --git a/mlrun/serving/serving_wrapper.py b/mlrun/serving/serving_wrapper.py
index 7f28e4caa0..c17034f092 100644
--- a/mlrun/serving/serving_wrapper.py
+++ b/mlrun/serving/serving_wrapper.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# serving runtime hooks, used in empty serving functions
from mlrun.runtimes import nuclio_init_hook
diff --git a/mlrun/serving/utils.py b/mlrun/serving/utils.py
index f1286b5612..6f4917f79f 100644
--- a/mlrun/serving/utils.py
+++ b/mlrun/serving/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 inspect
from mlrun.utils import get_in, update_in
diff --git a/mlrun/utils/clones.py b/mlrun/utils/clones.py
index 81f1410f6c..1383f3480a 100644
--- a/mlrun/utils/clones.py
+++ b/mlrun/utils/clones.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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
import tarfile
diff --git a/mlrun/utils/http.py b/mlrun/utils/http.py
index 58f4d7b285..bd2a3761c8 100644
--- a/mlrun/utils/http.py
+++ b/mlrun/utils/http.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 time
import requests
diff --git a/mlrun/utils/model_monitoring.py b/mlrun/utils/model_monitoring.py
index 847c24d3e5..8f5ad1549c 100644
--- a/mlrun/utils/model_monitoring.py
+++ b/mlrun/utils/model_monitoring.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 hashlib
from dataclasses import dataclass
from enum import IntEnum
diff --git a/mlrun/utils/regex.py b/mlrun/utils/regex.py
index 353f52ebd0..110aca1fca 100644
--- a/mlrun/utils/regex.py
+++ b/mlrun/utils/regex.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# k8s label value format
# https://github.com/kubernetes/kubernetes/blob/v1.20.0/staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go#L161
label_value = [r"^.{0,63}$", r"^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"]
diff --git a/mlrun/utils/singleton.py b/mlrun/utils/singleton.py
index 4d89d978e6..b1f96b4074 100644
--- a/mlrun/utils/singleton.py
+++ b/mlrun/utils/singleton.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc
diff --git a/mlrun/utils/v3io_clients.py b/mlrun/utils/v3io_clients.py
index d9752ea270..44dbf3986a 100644
--- a/mlrun/utils/v3io_clients.py
+++ b/mlrun/utils/v3io_clients.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Dict, FrozenSet
from v3io.dataplane import Client as V3IOClient
diff --git a/mlrun/utils/version/__init__.py b/mlrun/utils/version/__init__.py
index e3aaa40a36..1570b9bc7e 100644
--- a/mlrun/utils/version/__init__.py
+++ b/mlrun/utils/version/__init__.py
@@ -1 +1,15 @@
+# Copyright 2018 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 .version import Version # noqa: F401
diff --git a/mlrun/utils/version/version.py b/mlrun/utils/version/version.py
index 5e7e44e6d2..eb518fd24a 100644
--- a/mlrun/utils/version/version.py
+++ b/mlrun/utils/version/version.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import sys
diff --git a/tests/__init__.py b/tests/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/__init__.py b/tests/api/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/__init__.py
+++ b/tests/api/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/api/__init__.py b/tests/api/api/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/api/__init__.py
+++ b/tests/api/api/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/api/assets/pipelines.yaml b/tests/api/api/assets/pipelines.yaml
index 4261038755..f0f006ccfc 100644
--- a/tests/api/api/assets/pipelines.yaml
+++ b/tests/api/api/assets/pipelines.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
diff --git a/tests/api/api/feature_store/__init__.py b/tests/api/api/feature_store/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/api/feature_store/__init__.py
+++ b/tests/api/api/feature_store/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/api/feature_store/base.py b/tests/api/api/feature_store/base.py
index 3f20a84bb4..840aa1323c 100644
--- a/tests/api/api/feature_store/base.py
+++ b/tests/api/api/feature_store/base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
from deepdiff import DeepDiff
diff --git a/tests/api/api/feature_store/test_feature_sets.py b/tests/api/api/feature_store/test_feature_sets.py
index 771b1c565b..3c62a6e529 100644
--- a/tests/api/api/feature_store/test_feature_sets.py
+++ b/tests/api/api/feature_store/test_feature_sets.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
from uuid import uuid4
diff --git a/tests/api/api/feature_store/test_feature_vectors.py b/tests/api/api/feature_store/test_feature_vectors.py
index e1d8580f74..9658975925 100644
--- a/tests/api/api/feature_store/test_feature_vectors.py
+++ b/tests/api/api/feature_store/test_feature_vectors.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import unittest.mock
from http import HTTPStatus
diff --git a/tests/api/api/marketplace/__init__.py b/tests/api/api/marketplace/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/api/marketplace/__init__.py
+++ b/tests/api/api/marketplace/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/api/marketplace/test_marketplace.py b/tests/api/api/marketplace/test_marketplace.py
index f9708e1c8a..9c41d0613b 100644
--- a/tests/api/api/marketplace/test_marketplace.py
+++ b/tests/api/api/marketplace/test_marketplace.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import random
from http import HTTPStatus
diff --git a/tests/api/api/test_artifacts.py b/tests/api/api/test_artifacts.py
index 4f0545c141..65a09b872a 100644
--- a/tests/api/api/test_artifacts.py
+++ b/tests/api/api/test_artifacts.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
from fastapi.testclient import TestClient
diff --git a/tests/api/api/test_auth.py b/tests/api/api/test_auth.py
index a893a9acbd..35f12fcb46 100644
--- a/tests/api/api/test_auth.py
+++ b/tests/api/api/test_auth.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import fastapi.testclient
diff --git a/tests/api/api/test_background_tasks.py b/tests/api/api/test_background_tasks.py
index 190fc5b49c..3469e61ccf 100644
--- a/tests/api/api/test_background_tasks.py
+++ b/tests/api/api/test_background_tasks.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import http
import typing
diff --git a/tests/api/api/test_client_spec.py b/tests/api/api/test_client_spec.py
index ec556eb992..3734de1e4c 100644
--- a/tests/api/api/test_client_spec.py
+++ b/tests/api/api/test_client_spec.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64
import http
import json
diff --git a/tests/api/api/test_files.py b/tests/api/api/test_files.py
index 6170d9f905..d0df47a3f7 100644
--- a/tests/api/api/test_files.py
+++ b/tests/api/api/test_files.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
import pytest
diff --git a/tests/api/api/test_frontend_spec.py b/tests/api/api/test_frontend_spec.py
index b2ea80c378..7dee4354d7 100644
--- a/tests/api/api/test_frontend_spec.py
+++ b/tests/api/api/test_frontend_spec.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import unittest.mock
diff --git a/tests/api/api/test_functions.py b/tests/api/api/test_functions.py
index 9c9fee2428..644b6994ca 100644
--- a/tests/api/api/test_functions.py
+++ b/tests/api/api/test_functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import http
import unittest.mock
diff --git a/tests/api/api/test_grafana_proxy.py b/tests/api/api/test_grafana_proxy.py
index 2e23ce28c5..938eac7cfc 100644
--- a/tests/api/api/test_grafana_proxy.py
+++ b/tests/api/api/test_grafana_proxy.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 unittest.mock
from datetime import datetime, timedelta
diff --git a/tests/api/api/test_healthz.py b/tests/api/api/test_healthz.py
index 9f99e7da07..f8dcc34ed0 100644
--- a/tests/api/api/test_healthz.py
+++ b/tests/api/api/test_healthz.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import fastapi.testclient
diff --git a/tests/api/api/test_model_endpoints.py b/tests/api/api/test_model_endpoints.py
index 8e739fa8cd..409676022d 100644
--- a/tests/api/api/test_model_endpoints.py
+++ b/tests/api/api/test_model_endpoints.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 string
from random import choice, randint
diff --git a/tests/api/api/test_operations.py b/tests/api/api/test_operations.py
index 1806ef12f3..b6db68e8ff 100644
--- a/tests/api/api/test_operations.py
+++ b/tests/api/api/test_operations.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import unittest.mock
from datetime import datetime
diff --git a/tests/api/api/test_pipelines.py b/tests/api/api/test_pipelines.py
index 52e06e1b39..2918d11532 100644
--- a/tests/api/api/test_pipelines.py
+++ b/tests/api/api/test_pipelines.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import importlib
import json
diff --git a/tests/api/api/test_projects.py b/tests/api/api/test_projects.py
index 6df9b17c95..748e6f4c50 100644
--- a/tests/api/api/test_projects.py
+++ b/tests/api/api/test_projects.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy
import datetime
import http
diff --git a/tests/api/api/test_runs.py b/tests/api/api/test_runs.py
index f65db56f11..8818aa639a 100644
--- a/tests/api/api/test_runs.py
+++ b/tests/api/api/test_runs.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 time
import unittest.mock
from datetime import datetime, timezone
diff --git a/tests/api/api/test_runtime_resources.py b/tests/api/api/test_runtime_resources.py
index dcba8e999d..f2dbe1af88 100644
--- a/tests/api/api/test_runtime_resources.py
+++ b/tests/api/api/test_runtime_resources.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import typing
import unittest.mock
diff --git a/tests/api/api/test_schedules.py b/tests/api/api/test_schedules.py
index dc280c2c4c..9e1f062459 100644
--- a/tests/api/api/test_schedules.py
+++ b/tests/api/api/test_schedules.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import uuid
diff --git a/tests/api/api/test_secrets.py b/tests/api/api/test_secrets.py
index e5e56b40e2..2f1fc7e3c7 100644
--- a/tests/api/api/test_secrets.py
+++ b/tests/api/api/test_secrets.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
from random import randrange
diff --git a/tests/api/api/test_submit.py b/tests/api/api/test_submit.py
index 3363b2b57b..4e1050e41e 100644
--- a/tests/api/api/test_submit.py
+++ b/tests/api/api/test_submit.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import unittest.mock
from http import HTTPStatus
diff --git a/tests/api/api/test_utils.py b/tests/api/api/test_utils.py
index 0b5dbc28d0..71195ae0cd 100644
--- a/tests/api/api/test_utils.py
+++ b/tests/api/api/test_utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64
import json
import unittest.mock
diff --git a/tests/api/api/utils.py b/tests/api/api/utils.py
index f994f78982..0708ea74f9 100644
--- a/tests/api/api/utils.py
+++ b/tests/api/api/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http import HTTPStatus
import httpx
diff --git a/tests/api/conftest.py b/tests/api/conftest.py
index 86fe034ba3..21d46a14bf 100644
--- a/tests/api/conftest.py
+++ b/tests/api/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
from tempfile import NamedTemporaryFile, TemporaryDirectory
from typing import Generator
diff --git a/tests/api/crud/__init__.py b/tests/api/crud/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/crud/__init__.py
+++ b/tests/api/crud/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/crud/test_logs.py b/tests/api/crud/test_logs.py
index e2971efdd1..f578ac0877 100644
--- a/tests/api/crud/test_logs.py
+++ b/tests/api/crud/test_logs.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 fastapi.testclient
import sqlalchemy.orm
diff --git a/tests/api/crud/test_pipelines.py b/tests/api/crud/test_pipelines.py
index 4093f20b3a..435d1880bd 100644
--- a/tests/api/crud/test_pipelines.py
+++ b/tests/api/crud/test_pipelines.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import mlrun.api.crud
diff --git a/tests/api/crud/test_secrets.py b/tests/api/crud/test_secrets.py
index 21adc52647..4384523197 100644
--- a/tests/api/crud/test_secrets.py
+++ b/tests/api/crud/test_secrets.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 collections
import json
import unittest.mock
diff --git a/tests/api/db/__init__.py b/tests/api/db/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/db/__init__.py
+++ b/tests/api/db/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/db/conftest.py b/tests/api/db/conftest.py
index e526b08150..9acc393a1c 100644
--- a/tests/api/db/conftest.py
+++ b/tests/api/db/conftest.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 shutil
from typing import Generator
diff --git a/tests/api/db/test_artifacts.py b/tests/api/db/test_artifacts.py
index 0bde4d2d7c..a5fc3edcf5 100644
--- a/tests/api/db/test_artifacts.py
+++ b/tests/api/db/test_artifacts.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 deepdiff
import numpy
import pandas
diff --git a/tests/api/db/test_background_tasks.py b/tests/api/db/test_background_tasks.py
index 6ffd9c63f0..5ae1dbc909 100644
--- a/tests/api/db/test_background_tasks.py
+++ b/tests/api/db/test_background_tasks.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 time
import pytest
diff --git a/tests/api/db/test_feature_sets.py b/tests/api/db/test_feature_sets.py
index 1e09e6cba9..5a939d5c17 100644
--- a/tests/api/db/test_feature_sets.py
+++ b/tests/api/db/test_feature_sets.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pytest
from sqlalchemy.orm import Session
diff --git a/tests/api/db/test_functions.py b/tests/api/db/test_functions.py
index 6bb13a9a67..e106eb35f2 100644
--- a/tests/api/db/test_functions.py
+++ b/tests/api/db/test_functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pytest
from sqlalchemy.orm import Session
diff --git a/tests/api/db/test_projects.py b/tests/api/db/test_projects.py
index b7e06e6b10..68b1face76 100644
--- a/tests/api/db/test_projects.py
+++ b/tests/api/db/test_projects.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import unittest.mock
diff --git a/tests/api/db/test_runs.py b/tests/api/db/test_runs.py
index bb9a0e7db1..57f6a8fd29 100644
--- a/tests/api/db/test_runs.py
+++ b/tests/api/db/test_runs.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime import datetime, timezone
import pytest
diff --git a/tests/api/runtime_handlers/__init__.py b/tests/api/runtime_handlers/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/runtime_handlers/__init__.py
+++ b/tests/api/runtime_handlers/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/runtime_handlers/base.py b/tests/api/runtime_handlers/base.py
index a97e9cb7e7..d02572bd22 100644
--- a/tests/api/runtime_handlers/base.py
+++ b/tests/api/runtime_handlers/base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import unittest.mock
from datetime import datetime, timezone
diff --git a/tests/api/runtime_handlers/test_daskjob.py b/tests/api/runtime_handlers/test_daskjob.py
index 70aa5bf39f..d62dad5638 100644
--- a/tests/api/runtime_handlers/test_daskjob.py
+++ b/tests/api/runtime_handlers/test_daskjob.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 fastapi.testclient import TestClient
from kubernetes import client
from sqlalchemy.orm import Session
diff --git a/tests/api/runtime_handlers/test_kubejob.py b/tests/api/runtime_handlers/test_kubejob.py
index 922d36ed66..b2e7cf7e89 100644
--- a/tests/api/runtime_handlers/test_kubejob.py
+++ b/tests/api/runtime_handlers/test_kubejob.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
from datetime import timedelta
diff --git a/tests/api/runtime_handlers/test_mpijob.py b/tests/api/runtime_handlers/test_mpijob.py
index 802c40ab37..5e969e37d3 100644
--- a/tests/api/runtime_handlers/test_mpijob.py
+++ b/tests/api/runtime_handlers/test_mpijob.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime import datetime, timezone
from fastapi.testclient import TestClient
diff --git a/tests/api/runtime_handlers/test_remotespark.py b/tests/api/runtime_handlers/test_remotespark.py
index bb606d5391..0c920c77c5 100644
--- a/tests/api/runtime_handlers/test_remotespark.py
+++ b/tests/api/runtime_handlers/test_remotespark.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 tests.api.runtime_handlers.test_kubejob import TestKubejobRuntimeHandler
diff --git a/tests/api/runtime_handlers/test_sparkjob.py b/tests/api/runtime_handlers/test_sparkjob.py
index 19dabb9eda..cfa05a6bd4 100644
--- a/tests/api/runtime_handlers/test_sparkjob.py
+++ b/tests/api/runtime_handlers/test_sparkjob.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime import datetime, timezone
from fastapi.testclient import TestClient
diff --git a/tests/api/runtimes/__init__.py b/tests/api/runtimes/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/runtimes/__init__.py
+++ b/tests/api/runtimes/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/runtimes/assets/__init__.py b/tests/api/runtimes/assets/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/runtimes/assets/__init__.py
+++ b/tests/api/runtimes/assets/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/runtimes/assets/sample_function.py b/tests/api/runtimes/assets/sample_function.py
index 12e03ae99c..37d45ac618 100644
--- a/tests/api/runtimes/assets/sample_function.py
+++ b/tests/api/runtimes/assets/sample_function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
mlrun.mlconf.feature_store.flush_interval = None
diff --git a/tests/api/runtimes/assets/serving_child_functions.py b/tests/api/runtimes/assets/serving_child_functions.py
index 535bcd79e1..778c359ed4 100644
--- a/tests/api/runtimes/assets/serving_child_functions.py
+++ b/tests/api/runtimes/assets/serving_child_functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy import copy
diff --git a/tests/api/runtimes/assets/serving_functions.py b/tests/api/runtimes/assets/serving_functions.py
index 793649c427..8b5ac2c61d 100644
--- a/tests/api/runtimes/assets/serving_functions.py
+++ b/tests/api/runtimes/assets/serving_functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy import copy
diff --git a/tests/api/runtimes/base.py b/tests/api/runtimes/base.py
index 7fa06a4293..b50f37f955 100644
--- a/tests/api/runtimes/base.py
+++ b/tests/api/runtimes/base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64
import json
import pathlib
diff --git a/tests/api/runtimes/test_base.py b/tests/api/runtimes/test_base.py
index c3bae338f7..122c4a37e2 100644
--- a/tests/api/runtimes/test_base.py
+++ b/tests/api/runtimes/test_base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pytest
from fastapi.testclient import TestClient
from sqlalchemy.orm import Session
diff --git a/tests/api/runtimes/test_dask.py b/tests/api/runtimes/test_dask.py
index 65cfbe19a4..a5e6e65dca 100644
--- a/tests/api/runtimes/test_dask.py
+++ b/tests/api/runtimes/test_dask.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64
import json
import os
diff --git a/tests/api/runtimes/test_kubejob.py b/tests/api/runtimes/test_kubejob.py
index 72319c12dd..1f08fffd18 100644
--- a/tests/api/runtimes/test_kubejob.py
+++ b/tests/api/runtimes/test_kubejob.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64
import json
import os
diff --git a/tests/api/runtimes/test_nuclio.py b/tests/api/runtimes/test_nuclio.py
index 2e4a1c6666..973bebbaf9 100644
--- a/tests/api/runtimes/test_nuclio.py
+++ b/tests/api/runtimes/test_nuclio.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64
import json
import os
diff --git a/tests/api/runtimes/test_pod.py b/tests/api/runtimes/test_pod.py
index 0c61a4d078..357070a266 100644
--- a/tests/api/runtimes/test_pod.py
+++ b/tests/api/runtimes/test_pod.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 deepdiff
import kubernetes
import pytest
diff --git a/tests/api/runtimes/test_serving.py b/tests/api/runtimes/test_serving.py
index 2d32ea76bd..2ad5863dd3 100644
--- a/tests/api/runtimes/test_serving.py
+++ b/tests/api/runtimes/test_serving.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import os
import unittest
diff --git a/tests/api/runtimes/test_spark.py b/tests/api/runtimes/test_spark.py
index aa21577709..50f9125141 100644
--- a/tests/api/runtimes/test_spark.py
+++ b/tests/api/runtimes/test_spark.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
diff --git a/tests/api/test_api_states.py b/tests/api/test_api_states.py
index 0557f5a43b..e7d11a8909 100644
--- a/tests/api/test_api_states.py
+++ b/tests/api/test_api_states.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import unittest.mock
diff --git a/tests/api/test_initial_data.py b/tests/api/test_initial_data.py
index 46013f5402..72884da535 100644
--- a/tests/api/test_initial_data.py
+++ b/tests/api/test_initial_data.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import unittest.mock
diff --git a/tests/api/test_logging_middleware.py b/tests/api/test_logging_middleware.py
index 6ea902b1c9..a2eeb5de87 100644
--- a/tests/api/test_logging_middleware.py
+++ b/tests/api/test_logging_middleware.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
from http import HTTPStatus
diff --git a/tests/api/utils/__init__.py b/tests/api/utils/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/utils/__init__.py
+++ b/tests/api/utils/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/utils/auth/__init__.py b/tests/api/utils/auth/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/utils/auth/__init__.py
+++ b/tests/api/utils/auth/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/utils/auth/providers/__init__.py b/tests/api/utils/auth/providers/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/utils/auth/providers/__init__.py
+++ b/tests/api/utils/auth/providers/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/utils/auth/providers/test_opa.py b/tests/api/utils/auth/providers/test_opa.py
index d84b8be210..a3c26a63cf 100644
--- a/tests/api/utils/auth/providers/test_opa.py
+++ b/tests/api/utils/auth/providers/test_opa.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import time
diff --git a/tests/api/utils/clients/__init__.py b/tests/api/utils/clients/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/utils/clients/__init__.py
+++ b/tests/api/utils/clients/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/utils/clients/test_chief.py b/tests/api/utils/clients/test_chief.py
index a80a132e63..14e19bfc07 100644
--- a/tests/api/utils/clients/test_chief.py
+++ b/tests/api/utils/clients/test_chief.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import http
import json
diff --git a/tests/api/utils/clients/test_iguazio.py b/tests/api/utils/clients/test_iguazio.py
index 1b9684cb60..5cc9dcda43 100644
--- a/tests/api/utils/clients/test_iguazio.py
+++ b/tests/api/utils/clients/test_iguazio.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import functools
import http
diff --git a/tests/api/utils/clients/test_nuclio.py b/tests/api/utils/clients/test_nuclio.py
index 2c96dff7f7..0ab235d524 100644
--- a/tests/api/utils/clients/test_nuclio.py
+++ b/tests/api/utils/clients/test_nuclio.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import deepdiff
diff --git a/tests/api/utils/function.py b/tests/api/utils/function.py
index 07e2d23232..d0e0e88497 100644
--- a/tests/api/utils/function.py
+++ b/tests/api/utils/function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 time
diff --git a/tests/api/utils/projects/__init__.py b/tests/api/utils/projects/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/api/utils/projects/__init__.py
+++ b/tests/api/utils/projects/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/api/utils/projects/test_follower_member.py b/tests/api/utils/projects/test_follower_member.py
index 8cfef621c7..57e7fd3db4 100644
--- a/tests/api/utils/projects/test_follower_member.py
+++ b/tests/api/utils/projects/test_follower_member.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import typing
import unittest.mock
diff --git a/tests/api/utils/projects/test_leader_member.py b/tests/api/utils/projects/test_leader_member.py
index 71967c94aa..f26b3655fd 100644
--- a/tests/api/utils/projects/test_leader_member.py
+++ b/tests/api/utils/projects/test_leader_member.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing
import unittest.mock
diff --git a/tests/api/utils/test_alembic_util.py b/tests/api/utils/test_alembic_util.py
index a85906b533..8399764636 100644
--- a/tests/api/utils/test_alembic_util.py
+++ b/tests/api/utils/test_alembic_util.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.path
import pathlib
import typing
diff --git a/tests/api/utils/test_db_backup.py b/tests/api/utils/test_db_backup.py
index 61d05c3e22..7fb77d7c21 100644
--- a/tests/api/utils/test_db_backup.py
+++ b/tests/api/utils/test_db_backup.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.path
import pathlib
import shutil
diff --git a/tests/api/utils/test_scheduler.py b/tests/api/utils/test_scheduler.py
index 40e96eb153..199ddf8f5b 100644
--- a/tests/api/utils/test_scheduler.py
+++ b/tests/api/utils/test_scheduler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
import pathlib
import time
diff --git a/tests/artifacts/__init__.py b/tests/artifacts/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/artifacts/__init__.py
+++ b/tests/artifacts/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/artifacts/test_artifacts.py b/tests/artifacts/test_artifacts.py
index 6eec5d1c47..b641b6a2d8 100644
--- a/tests/artifacts/test_artifacts.py
+++ b/tests/artifacts/test_artifacts.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import mlrun
diff --git a/tests/artifacts/test_dask_to_dataset.py b/tests/artifacts/test_dask_to_dataset.py
index 16eabd024f..0e16db5d4d 100644
--- a/tests/artifacts/test_dask_to_dataset.py
+++ b/tests/artifacts/test_dask_to_dataset.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 dask.dataframe as dd
import numpy
import pandas
diff --git a/tests/artifacts/test_dataset.py b/tests/artifacts/test_dataset.py
index 1794448fbf..ea498f56b1 100644
--- a/tests/artifacts/test_dataset.py
+++ b/tests/artifacts/test_dataset.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import numpy
diff --git a/tests/artifacts/test_model.py b/tests/artifacts/test_model.py
index 6b555c2993..b75932e1bf 100644
--- a/tests/artifacts/test_model.py
+++ b/tests/artifacts/test_model.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas as pd
import mlrun
diff --git a/tests/artifacts/test_table.py b/tests/artifacts/test_table.py
index 59380e6afa..5caf5189c0 100644
--- a/tests/artifacts/test_table.py
+++ b/tests/artifacts/test_table.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas
import pytest
diff --git a/tests/automation/__init__.py b/tests/automation/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/automation/__init__.py
+++ b/tests/automation/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/automation/package_test/__init__.py b/tests/automation/package_test/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/automation/package_test/__init__.py
+++ b/tests/automation/package_test/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/automation/package_test/test_package_test.py b/tests/automation/package_test/test_package_test.py
index 1a15fe7bb0..e451274c68 100644
--- a/tests/automation/package_test/test_package_test.py
+++ b/tests/automation/package_test/test_package_test.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 unittest.mock
import pytest
diff --git a/tests/automation/release_notes/__init__.py b/tests/automation/release_notes/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/automation/release_notes/__init__.py
+++ b/tests/automation/release_notes/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/automation/release_notes/test_generate.py b/tests/automation/release_notes/test_generate.py
index 23eafd2650..44fd899082 100644
--- a/tests/automation/release_notes/test_generate.py
+++ b/tests/automation/release_notes/test_generate.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 io
import re
import unittest.mock
diff --git a/tests/common_fixtures.py b/tests/common_fixtures.py
index de76fcf520..2039763647 100644
--- a/tests/common_fixtures.py
+++ b/tests/common_fixtures.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 unittest
from http import HTTPStatus
from os import environ
diff --git a/tests/datastore/__init__.py b/tests/datastore/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/datastore/__init__.py
+++ b/tests/datastore/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/datastore/test_base.py b/tests/datastore/test_base.py
index 52b9a1a036..db86be1345 100644
--- a/tests/datastore/test_base.py
+++ b/tests/datastore/test_base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 dask.dataframe as dd
diff --git a/tests/feature-store/__init__.py b/tests/feature-store/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/feature-store/__init__.py
+++ b/tests/feature-store/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/feature-store/assets/function.py b/tests/feature-store/assets/function.py
index f7822f317e..629520e2b6 100644
--- a/tests/feature-store/assets/function.py
+++ b/tests/feature-store/assets/function.py
@@ -1,2 +1,16 @@
+# Copyright 2018 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.
+#
def test_func(context, p1):
return p1 + 1
diff --git a/tests/feature-store/test_infer.py b/tests/feature-store/test_infer.py
index 0f4945a441..c2c3fab322 100644
--- a/tests/feature-store/test_infer.py
+++ b/tests/feature-store/test_infer.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 unittest.mock
import deepdiff
diff --git a/tests/feature-store/test_ingest.py b/tests/feature-store/test_ingest.py
index 7b0f36ce5c..b1e12e0478 100644
--- a/tests/feature-store/test_ingest.py
+++ b/tests/feature-store/test_ingest.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 unittest.mock
import pandas as pd
diff --git a/tests/feature-store/test_runconfig.py b/tests/feature-store/test_runconfig.py
index 5c3a679fe7..b72fb4ed06 100644
--- a/tests/feature-store/test_runconfig.py
+++ b/tests/feature-store/test_runconfig.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import mlrun
diff --git a/tests/feature-store/test_steps.py b/tests/feature-store/test_steps.py
index 0a08e41800..6349f84f2b 100644
--- a/tests/feature-store/test_steps.py
+++ b/tests/feature-store/test_steps.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import mlrun
diff --git a/tests/frameworks/__init__.py b/tests/frameworks/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/frameworks/__init__.py
+++ b/tests/frameworks/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/frameworks/lgbm/__init__.py b/tests/frameworks/lgbm/__init__.py
index 842ceefe60..8e46c50e5e 100644
--- a/tests/frameworks/lgbm/__init__.py
+++ b/tests/frameworks/lgbm/__init__.py
@@ -1 +1,15 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
diff --git a/tests/frameworks/lgbm/functions.py b/tests/frameworks/lgbm/functions.py
index 101c69f3ed..a6805e9460 100644
--- a/tests/frameworks/lgbm/functions.py
+++ b/tests/frameworks/lgbm/functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 lightgbm as lgb
import mlrun
diff --git a/tests/frameworks/lgbm/test_lgbm.py b/tests/frameworks/lgbm/test_lgbm.py
index 1f95f9ae36..e8d6c4f43c 100644
--- a/tests/frameworks/lgbm/test_lgbm.py
+++ b/tests/frameworks/lgbm/test_lgbm.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
from typing import List
diff --git a/tests/frameworks/ml_common.py b/tests/frameworks/ml_common.py
index 85889ebf30..71ff875ac3 100644
--- a/tests/frameworks/ml_common.py
+++ b/tests/frameworks/ml_common.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 typing import Tuple, Union
from sklearn.datasets import (
diff --git a/tests/frameworks/ml_functions.py b/tests/frameworks/ml_functions.py
index d7c5c87524..b52b332e02 100644
--- a/tests/frameworks/ml_functions.py
+++ b/tests/frameworks/ml_functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 abc import ABC, abstractmethod
from typing import Tuple, Union
diff --git a/tests/frameworks/sklearn/__init__.py b/tests/frameworks/sklearn/__init__.py
index 92528e4279..23e0f3d188 100644
--- a/tests/frameworks/sklearn/__init__.py
+++ b/tests/frameworks/sklearn/__init__.py
@@ -1,2 +1,16 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .functions import SKLearnFunctions
diff --git a/tests/frameworks/sklearn/functions.py b/tests/frameworks/sklearn/functions.py
index 7a94907925..074d68abf3 100644
--- a/tests/frameworks/sklearn/functions.py
+++ b/tests/frameworks/sklearn/functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 sklearn.ensemble import RandomForestClassifier
from sklearn.linear_model import LogisticRegression, Ridge, SGDRegressor
from sklearn.multiclass import OneVsRestClassifier
diff --git a/tests/frameworks/test_ml_frameworks.py b/tests/frameworks/test_ml_frameworks.py
index 3f526f3ad1..108a04ff28 100644
--- a/tests/frameworks/test_ml_frameworks.py
+++ b/tests/frameworks/test_ml_frameworks.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
from typing import Dict, List, Tuple
diff --git a/tests/frameworks/xgboost/__init__.py b/tests/frameworks/xgboost/__init__.py
index d1c9b7c4f1..0ec491645b 100644
--- a/tests/frameworks/xgboost/__init__.py
+++ b/tests/frameworks/xgboost/__init__.py
@@ -1,2 +1,16 @@
+# Copyright 2018 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.
+#
# flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from .functions import XGBoostFunctions
diff --git a/tests/frameworks/xgboost/functions.py b/tests/frameworks/xgboost/functions.py
index a12a947c07..70273e827d 100644
--- a/tests/frameworks/xgboost/functions.py
+++ b/tests/frameworks/xgboost/functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 xgboost as xgb
from sklearn.multiclass import OneVsRestClassifier
from sklearn.multioutput import MultiOutputClassifier, MultiOutputRegressor
diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/integration/__init__.py
+++ b/tests/integration/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/integration/aws_s3/test-aws-s3.yml b/tests/integration/aws_s3/test-aws-s3.yml
index 885dd0c61c..f3c27c2070 100644
--- a/tests/integration/aws_s3/test-aws-s3.yml
+++ b/tests/integration/aws_s3/test-aws-s3.yml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
env:
# Bucket name
bucket_name:
diff --git a/tests/integration/aws_s3/test_aws_s3.py b/tests/integration/aws_s3/test_aws_s3.py
index 8e4a0e92e5..5404af3bdd 100644
--- a/tests/integration/aws_s3/test_aws_s3.py
+++ b/tests/integration/aws_s3/test_aws_s3.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 random
from pathlib import Path
diff --git a/tests/integration/azure_blob/test-azure-blob.yml b/tests/integration/azure_blob/test-azure-blob.yml
index c6d849f4a3..b9c8a21af6 100644
--- a/tests/integration/azure_blob/test-azure-blob.yml
+++ b/tests/integration/azure_blob/test-azure-blob.yml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
env:
# The Azure connection string which points at a storage account. For example:
# DefaultEndpointsProtocol=https;AccountName=myAcct;AccountKey=XXXX;EndpointSuffix=core.windows.net
diff --git a/tests/integration/azure_blob/test_azure_blob.py b/tests/integration/azure_blob/test_azure_blob.py
index 77727bb068..242f7cc22f 100644
--- a/tests/integration/azure_blob/test_azure_blob.py
+++ b/tests/integration/azure_blob/test_azure_blob.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 random
from pathlib import Path
diff --git a/tests/integration/azure_blob/test_dask_dataitem_to_azure_blob.py b/tests/integration/azure_blob/test_dask_dataitem_to_azure_blob.py
index 545ad28f46..94eaaccf31 100644
--- a/tests/integration/azure_blob/test_dask_dataitem_to_azure_blob.py
+++ b/tests/integration/azure_blob/test_dask_dataitem_to_azure_blob.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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
from pathlib import Path
diff --git a/tests/integration/azure_key_store/__init__.py b/tests/integration/azure_key_store/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/integration/azure_key_store/__init__.py
+++ b/tests/integration/azure_key_store/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/integration/azure_key_store/test_azure_vault.py b/tests/integration/azure_key_store/test_azure_vault.py
index 9dea35d8bd..9d332016dc 100644
--- a/tests/integration/azure_key_store/test_azure_vault.py
+++ b/tests/integration/azure_key_store/test_azure_vault.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pytest
from mlrun import code_to_function, get_run_db, mlconf, new_task
diff --git a/tests/integration/azure_key_store/vault_function.py b/tests/integration/azure_key_store/vault_function.py
index 20a65bd0de..7e42af2e45 100644
--- a/tests/integration/azure_key_store/vault_function.py
+++ b/tests/integration/azure_key_store/vault_function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
def vault_func(context, secrets: list):
"""Validate that given secrets exists
diff --git a/tests/integration/google_cloud_storage/test-google-cloud-storage.yml b/tests/integration/google_cloud_storage/test-google-cloud-storage.yml
index 48bfa4e359..2944649330 100644
--- a/tests/integration/google_cloud_storage/test-google-cloud-storage.yml
+++ b/tests/integration/google_cloud_storage/test-google-cloud-storage.yml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
env:
# Path to Google credentials file (in JSON format)
credentials_json_file:
diff --git a/tests/integration/google_cloud_storage/test_google_cloud_storage.py b/tests/integration/google_cloud_storage/test_google_cloud_storage.py
index ffda92ec5a..90589715ef 100644
--- a/tests/integration/google_cloud_storage/test_google_cloud_storage.py
+++ b/tests/integration/google_cloud_storage/test_google_cloud_storage.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 random
from pathlib import Path
diff --git a/tests/integration/sdk_api/__init__.py b/tests/integration/sdk_api/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/integration/sdk_api/__init__.py
+++ b/tests/integration/sdk_api/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/integration/sdk_api/artifacts/__init__.py b/tests/integration/sdk_api/artifacts/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/integration/sdk_api/artifacts/__init__.py
+++ b/tests/integration/sdk_api/artifacts/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/integration/sdk_api/artifacts/test_artifact_tags.py b/tests/integration/sdk_api/artifacts/test_artifact_tags.py
index c94f2d783c..b64559051c 100644
--- a/tests/integration/sdk_api/artifacts/test_artifact_tags.py
+++ b/tests/integration/sdk_api/artifacts/test_artifact_tags.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 deepdiff
import pandas
diff --git a/tests/integration/sdk_api/artifacts/test_artifacts.py b/tests/integration/sdk_api/artifacts/test_artifacts.py
index 5faf8255ad..66529f6567 100644
--- a/tests/integration/sdk_api/artifacts/test_artifacts.py
+++ b/tests/integration/sdk_api/artifacts/test_artifacts.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas
import mlrun
diff --git a/tests/integration/sdk_api/base.py b/tests/integration/sdk_api/base.py
index 15d74b3ce9..c641ded73b 100644
--- a/tests/integration/sdk_api/base.py
+++ b/tests/integration/sdk_api/base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy
import os
import pathlib
diff --git a/tests/integration/sdk_api/feature_store/test_feature_store.py b/tests/integration/sdk_api/feature_store/test_feature_store.py
index 056c3e14d9..539025f1f8 100644
--- a/tests/integration/sdk_api/feature_store/test_feature_store.py
+++ b/tests/integration/sdk_api/feature_store/test_feature_store.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pytest
import mlrun
diff --git a/tests/integration/sdk_api/httpdb/__init__.py b/tests/integration/sdk_api/httpdb/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/integration/sdk_api/httpdb/__init__.py
+++ b/tests/integration/sdk_api/httpdb/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/integration/sdk_api/httpdb/test_exception_handling.py b/tests/integration/sdk_api/httpdb/test_exception_handling.py
index f55cbcaba6..44476e64e6 100644
--- a/tests/integration/sdk_api/httpdb/test_exception_handling.py
+++ b/tests/integration/sdk_api/httpdb/test_exception_handling.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pytest
import mlrun
diff --git a/tests/integration/sdk_api/httpdb/test_feature_store.py b/tests/integration/sdk_api/httpdb/test_feature_store.py
index cdb06d927c..458ebe68d0 100644
--- a/tests/integration/sdk_api/httpdb/test_feature_store.py
+++ b/tests/integration/sdk_api/httpdb/test_feature_store.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 asyncio
from http import HTTPStatus
diff --git a/tests/integration/sdk_api/httpdb/test_operations.py b/tests/integration/sdk_api/httpdb/test_operations.py
index 256dbfd556..01ff0adb11 100644
--- a/tests/integration/sdk_api/httpdb/test_operations.py
+++ b/tests/integration/sdk_api/httpdb/test_operations.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
import tests.integration.sdk_api.base
diff --git a/tests/integration/sdk_api/httpdb/test_runs.py b/tests/integration/sdk_api/httpdb/test_runs.py
index aba39d82c4..13541fc421 100644
--- a/tests/integration/sdk_api/httpdb/test_runs.py
+++ b/tests/integration/sdk_api/httpdb/test_runs.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 http
import json
diff --git a/tests/integration/sdk_api/marketplace/test_marketplace.py b/tests/integration/sdk_api/marketplace/test_marketplace.py
index c75d3f102d..a39f606180 100644
--- a/tests/integration/sdk_api/marketplace/test_marketplace.py
+++ b/tests/integration/sdk_api/marketplace/test_marketplace.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 deepdiff
import mlrun
diff --git a/tests/integration/sdk_api/projects/__init__.py b/tests/integration/sdk_api/projects/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/integration/sdk_api/projects/__init__.py
+++ b/tests/integration/sdk_api/projects/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/integration/sdk_api/projects/test_project.py b/tests/integration/sdk_api/projects/test_project.py
index ff9813bf63..728f0d76e0 100644
--- a/tests/integration/sdk_api/projects/test_project.py
+++ b/tests/integration/sdk_api/projects/test_project.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import deepdiff
diff --git a/tests/integration/sdk_api/run/__init__.py b/tests/integration/sdk_api/run/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/integration/sdk_api/run/__init__.py
+++ b/tests/integration/sdk_api/run/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/integration/sdk_api/run/test_run.py b/tests/integration/sdk_api/run/test_run.py
index 0e81edf18e..f178bcf1d4 100644
--- a/tests/integration/sdk_api/run/test_run.py
+++ b/tests/integration/sdk_api/run/test_run.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
import tests.integration.sdk_api.base
diff --git a/tests/integration/test-notebooks.yml b/tests/integration/test-notebooks.yml
index 581c0c4022..d2819352b5 100644
--- a/tests/integration/test-notebooks.yml
+++ b/tests/integration/test-notebooks.yml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
env:
# The mlrun-api URL. e.g. https://mlrun-api.default-tenant.app.hedingber-28-1.iguazio-cd2.com
MLRUN_DBPATH:
diff --git a/tests/mlutils/__init__.py b/tests/mlutils/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/mlutils/__init__.py
+++ b/tests/mlutils/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/mlutils/test_data.py b/tests/mlutils/test_data.py
index c45bff4d4e..79b4def541 100644
--- a/tests/mlutils/test_data.py
+++ b/tests/mlutils/test_data.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas
import pytest
diff --git a/tests/model_monitoring/__init__.py b/tests/model_monitoring/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/model_monitoring/__init__.py
+++ b/tests/model_monitoring/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/model_monitoring/test_features_drift_table.py b/tests/model_monitoring/test_features_drift_table.py
index fa6904fa34..cbc72b50b5 100644
--- a/tests/model_monitoring/test_features_drift_table.py
+++ b/tests/model_monitoring/test_features_drift_table.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import os
import tempfile
diff --git a/tests/notebooks.yml b/tests/notebooks.yml
index 87a6bc46e2..3887daddbc 100644
--- a/tests/notebooks.yml
+++ b/tests/notebooks.yml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
- nb: mlrun_db.ipynb
- nb: mlrun_basics.ipynb
env:
diff --git a/tests/platforms/__init__.py b/tests/platforms/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/platforms/__init__.py
+++ b/tests/platforms/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/platforms/test_iguazio.py b/tests/platforms/test_iguazio.py
index f312c3e515..9b23989190 100644
--- a/tests/platforms/test_iguazio.py
+++ b/tests/platforms/test_iguazio.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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
from http import HTTPStatus
from unittest.mock import Mock
diff --git a/tests/platforms/test_other.py b/tests/platforms/test_other.py
index 6d707dff05..4527eefebb 100644
--- a/tests/platforms/test_other.py
+++ b/tests/platforms/test_other.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 deepdiff
import mlrun
diff --git a/tests/projects/__init__.py b/tests/projects/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/projects/__init__.py
+++ b/tests/projects/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/projects/assets/artifact.yaml b/tests/projects/assets/artifact.yaml
index f5a4c09ff2..1ae3d70484 100644
--- a/tests/projects/assets/artifact.yaml
+++ b/tests/projects/assets/artifact.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
kind: artifact
metadata:
key: x
diff --git a/tests/projects/assets/handler.py b/tests/projects/assets/handler.py
index 9ef0e177c9..f091590633 100644
--- a/tests/projects/assets/handler.py
+++ b/tests/projects/assets/handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
diff --git a/tests/projects/assets/localpipe.py b/tests/projects/assets/localpipe.py
index 883441b0ad..9500e8341a 100644
--- a/tests/projects/assets/localpipe.py
+++ b/tests/projects/assets/localpipe.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
diff --git a/tests/projects/assets/project.yaml b/tests/projects/assets/project.yaml
index 3c2e807d7c..8b4247ed8e 100644
--- a/tests/projects/assets/project.yaml
+++ b/tests/projects/assets/project.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
kind: project
metadata:
name: pipe2
diff --git a/tests/projects/assets/remote_pipeline.py b/tests/projects/assets/remote_pipeline.py
index 19d9a4260e..874328276a 100644
--- a/tests/projects/assets/remote_pipeline.py
+++ b/tests/projects/assets/remote_pipeline.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 kfp.dsl
import mlrun
diff --git a/tests/projects/assets/remote_pipeline_with_overridden_resources.py b/tests/projects/assets/remote_pipeline_with_overridden_resources.py
index 6481cb1e75..4d1b930b60 100644
--- a/tests/projects/assets/remote_pipeline_with_overridden_resources.py
+++ b/tests/projects/assets/remote_pipeline_with_overridden_resources.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 kfp.dsl
import kubernetes.client
diff --git a/tests/projects/base_pipeline.py b/tests/projects/base_pipeline.py
index 7b20922d91..624d645195 100644
--- a/tests/projects/base_pipeline.py
+++ b/tests/projects/base_pipeline.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import sys
diff --git a/tests/projects/test_local_pipeline.py b/tests/projects/test_local_pipeline.py
index b1f8574ef9..f24915c55b 100644
--- a/tests/projects/test_local_pipeline.py
+++ b/tests/projects/test_local_pipeline.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import pytest
diff --git a/tests/projects/test_project.py b/tests/projects/test_project.py
index 3e70650727..3273874d0a 100644
--- a/tests/projects/test_project.py
+++ b/tests/projects/test_project.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import shutil
diff --git a/tests/projects/test_project_create.py b/tests/projects/test_project_create.py
index f9294ef7fc..be6d7df2ca 100644
--- a/tests/projects/test_project_create.py
+++ b/tests/projects/test_project_create.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import shutil
diff --git a/tests/projects/test_remote_pipeline.py b/tests/projects/test_remote_pipeline.py
index 9698334e1d..04ff486d6e 100644
--- a/tests/projects/test_remote_pipeline.py
+++ b/tests/projects/test_remote_pipeline.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64
import json
import os
diff --git a/tests/projects/workflow.py b/tests/projects/workflow.py
index 93255eda01..48fc8fe131 100644
--- a/tests/projects/workflow.py
+++ b/tests/projects/workflow.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 kfp import dsl
funcs = {}
diff --git a/tests/run/__init__.py b/tests/run/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/run/__init__.py
+++ b/tests/run/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/run/assets/handler.py b/tests/run/assets/handler.py
index dae6c4c70c..461ccf2c52 100644
--- a/tests/run/assets/handler.py
+++ b/tests/run/assets/handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
diff --git a/tests/run/assets/project.yaml b/tests/run/assets/project.yaml
index 5e205770a0..9538c2078a 100644
--- a/tests/run/assets/project.yaml
+++ b/tests/run/assets/project.yaml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
kind: project
metadata:
name: testproject
diff --git a/tests/run/assets/simple.py b/tests/run/assets/simple.py
index 2ba5906b5c..ec99b595f2 100644
--- a/tests/run/assets/simple.py
+++ b/tests/run/assets/simple.py
@@ -1,2 +1,16 @@
+# Copyright 2018 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.
+#
def handler(context, x=1):
context.log_result("y", x * 2)
diff --git a/tests/run/common.py b/tests/run/common.py
index 8320fe02d5..5a1e6abe73 100644
--- a/tests/run/common.py
+++ b/tests/run/common.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas as pd
diff --git a/tests/run/test_hyper.py b/tests/run/test_hyper.py
index f2ed8c7be0..b9142aba20 100644
--- a/tests/run/test_hyper.py
+++ b/tests/run/test_hyper.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import pandas as pd
diff --git a/tests/rundb/__init__.py b/tests/rundb/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/rundb/__init__.py
+++ b/tests/rundb/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/rundb/test_unit_httpdb.py b/tests/rundb/test_unit_httpdb.py
index 91434ea471..628d7cdb37 100644
--- a/tests/rundb/test_unit_httpdb.py
+++ b/tests/rundb/test_unit_httpdb.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# test_httpdb.py actually holds integration tests (that should be migrated to tests/integration/sdk_api/httpdb)
# currently we are running it in the integration tests CI step so adding this file for unit tests for the httpdb
import enum
diff --git a/tests/rundb/workflow.py b/tests/rundb/workflow.py
index 93255eda01..48fc8fe131 100644
--- a/tests/rundb/workflow.py
+++ b/tests/rundb/workflow.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 kfp import dsl
funcs = {}
diff --git a/tests/runtimes/__init__.py b/tests/runtimes/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/runtimes/__init__.py
+++ b/tests/runtimes/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/runtimes/assets/sample_function.py b/tests/runtimes/assets/sample_function.py
index f7822f317e..629520e2b6 100644
--- a/tests/runtimes/assets/sample_function.py
+++ b/tests/runtimes/assets/sample_function.py
@@ -1,2 +1,16 @@
+# Copyright 2018 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.
+#
def test_func(context, p1):
return p1 + 1
diff --git a/tests/runtimes/info_cases.yml b/tests/runtimes/info_cases.yml
index be24135573..04505b4191 100644
--- a/tests/runtimes/info_cases.yml
+++ b/tests/runtimes/info_cases.yml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
- code: |
def inc(n: int) -> int:
"""increment n"""
diff --git a/tests/runtimes/rst_cases.yml b/tests/runtimes/rst_cases.yml
index 6953f4934f..155541bcd4 100644
--- a/tests/runtimes/rst_cases.yml
+++ b/tests/runtimes/rst_cases.yml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
- name: flat with empty line
text: |
convert code or notebook to function object with embedded code
diff --git a/tests/runtimes/test_base.py b/tests/runtimes/test_base.py
index adfbbdb062..3f23ce1555 100644
--- a/tests/runtimes/test_base.py
+++ b/tests/runtimes/test_base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64
import json
import os
diff --git a/tests/runtimes/test_function.py b/tests/runtimes/test_function.py
index 59869ed5ed..0b51e89d5a 100644
--- a/tests/runtimes/test_function.py
+++ b/tests/runtimes/test_function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import sys
diff --git a/tests/runtimes/test_pod.py b/tests/runtimes/test_pod.py
index 83f8afa844..51fff13645 100644
--- a/tests/runtimes/test_pod.py
+++ b/tests/runtimes/test_pod.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 inspect
import kubernetes.client
diff --git a/tests/runtimes/test_run.py b/tests/runtimes/test_run.py
index 91291b3cb4..52b4cd997c 100644
--- a/tests/runtimes/test_run.py
+++ b/tests/runtimes/test_run.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy
from deepdiff import DeepDiff
diff --git a/tests/serving/__init__.py b/tests/serving/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/serving/__init__.py
+++ b/tests/serving/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/serving/assets/myfunc.py b/tests/serving/assets/myfunc.py
index 12b5f1b4c4..5cc1e26774 100644
--- a/tests/serving/assets/myfunc.py
+++ b/tests/serving/assets/myfunc.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 storey
from mlrun.serving import GraphContext
diff --git a/tests/serving/demo_states.py b/tests/serving/demo_states.py
index 56c645145f..5c017ff310 100644
--- a/tests/serving/demo_states.py
+++ b/tests/serving/demo_states.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 copy import copy
from mlrun.serving import V2ModelServer
diff --git a/tests/serving/test_async_flow.py b/tests/serving/test_async_flow.py
index 2591acdc7e..66f0b748f9 100644
--- a/tests/serving/test_async_flow.py
+++ b/tests/serving/test_async_flow.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
from mlrun.utils import logger
from tests.conftest import results
diff --git a/tests/serving/test_flow.py b/tests/serving/test_flow.py
index 1cfc8e4087..a99bcdf04b 100644
--- a/tests/serving/test_flow.py
+++ b/tests/serving/test_flow.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import pytest
diff --git a/tests/serving/test_parallel.py b/tests/serving/test_parallel.py
index 40aa9cb6c3..ff4f49a75f 100644
--- a/tests/serving/test_parallel.py
+++ b/tests/serving/test_parallel.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pytest
import mlrun
diff --git a/tests/serving/test_remote.py b/tests/serving/test_remote.py
index 10853f0db6..06ffdd8968 100644
--- a/tests/serving/test_remote.py
+++ b/tests/serving/test_remote.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 re
import time
diff --git a/tests/serving/test_serving.py b/tests/serving/test_serving.py
index c3795bcbd9..9bf6fcbb9e 100644
--- a/tests/serving/test_serving.py
+++ b/tests/serving/test_serving.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import os
import pathlib
diff --git a/tests/serving/test_tracking.py b/tests/serving/test_tracking.py
index 32d1d3199b..96be2c4559 100644
--- a/tests/serving/test_tracking.py
+++ b/tests/serving/test_tracking.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
from pprint import pprint
diff --git a/tests/system/__init__.py b/tests/system/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/__init__.py
+++ b/tests/system/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/api/__init__.py b/tests/system/api/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/api/__init__.py
+++ b/tests/system/api/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/api/assets/function.py b/tests/system/api/assets/function.py
index 61625ac1f0..ede3e5d724 100644
--- a/tests/system/api/assets/function.py
+++ b/tests/system/api/assets/function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
def secret_test_function(context, secrets: list = []):
"""Validate that given secrets exists
diff --git a/tests/system/api/test_secrets.py b/tests/system/api/test_secrets.py
index b4c2f0a14b..6220d821ac 100644
--- a/tests/system/api/test_secrets.py
+++ b/tests/system/api/test_secrets.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
from http import HTTPStatus
diff --git a/tests/system/backwards_compatibility/__init__.py b/tests/system/backwards_compatibility/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/backwards_compatibility/__init__.py
+++ b/tests/system/backwards_compatibility/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/backwards_compatibility/assets/function.py b/tests/system/backwards_compatibility/assets/function.py
index 31e3482185..07034a7c94 100644
--- a/tests/system/backwards_compatibility/assets/function.py
+++ b/tests/system/backwards_compatibility/assets/function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas as pd
import mlrun
diff --git a/tests/system/backwards_compatibility/test_api_backward_compatibility.py b/tests/system/backwards_compatibility/test_api_backward_compatibility.py
index 15edc2dfb2..e02e161726 100644
--- a/tests/system/backwards_compatibility/test_api_backward_compatibility.py
+++ b/tests/system/backwards_compatibility/test_api_backward_compatibility.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import pytest
diff --git a/tests/system/base.py b/tests/system/base.py
index d4fe2708ae..15508929e5 100644
--- a/tests/system/base.py
+++ b/tests/system/base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import sys
diff --git a/tests/system/demos/__init__.py b/tests/system/demos/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/demos/__init__.py
+++ b/tests/system/demos/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/demos/base.py b/tests/system/demos/base.py
index f44a07795f..55929b4bcd 100644
--- a/tests/system/demos/base.py
+++ b/tests/system/demos/base.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
diff --git a/tests/system/demos/churn/__init__.py b/tests/system/demos/churn/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/demos/churn/__init__.py
+++ b/tests/system/demos/churn/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/demos/churn/assets/data_clean_function.py b/tests/system/demos/churn/assets/data_clean_function.py
index 6c52b4ae39..f32b631b7b 100644
--- a/tests/system/demos/churn/assets/data_clean_function.py
+++ b/tests/system/demos/churn/assets/data_clean_function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import os
from collections import defaultdict
diff --git a/tests/system/demos/churn/assets/workflow.py b/tests/system/demos/churn/assets/workflow.py
index a488b2a5b7..5316c7048a 100644
--- a/tests/system/demos/churn/assets/workflow.py
+++ b/tests/system/demos/churn/assets/workflow.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 kfp import dsl
from mlrun import mount_v3io
diff --git a/tests/system/demos/churn/test_churn.py b/tests/system/demos/churn/test_churn.py
index c824772b5a..06df663602 100644
--- a/tests/system/demos/churn/test_churn.py
+++ b/tests/system/demos/churn/test_churn.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pytest
import mlrun
diff --git a/tests/system/demos/horovod/__init__.py b/tests/system/demos/horovod/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/demos/horovod/__init__.py
+++ b/tests/system/demos/horovod/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/demos/horovod/assets/horovod_training.py b/tests/system/demos/horovod/assets/horovod_training.py
index 23b90b6cb4..89ca02bf07 100644
--- a/tests/system/demos/horovod/assets/horovod_training.py
+++ b/tests/system/demos/horovod/assets/horovod_training.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 horovod.tensorflow.keras as hvd
diff --git a/tests/system/demos/horovod/assets/utils_functions.py b/tests/system/demos/horovod/assets/utils_functions.py
index 4be5cce8df..97a925d590 100644
--- a/tests/system/demos/horovod/assets/utils_functions.py
+++ b/tests/system/demos/horovod/assets/utils_functions.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import os
import zipfile
diff --git a/tests/system/demos/horovod/assets/workflow.py b/tests/system/demos/horovod/assets/workflow.py
index 8c64ebc578..66b915bf4c 100644
--- a/tests/system/demos/horovod/assets/workflow.py
+++ b/tests/system/demos/horovod/assets/workflow.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 kfp import dsl
from mlrun import mount_v3io
diff --git a/tests/system/demos/horovod/test_horovod.py b/tests/system/demos/horovod/test_horovod.py
index 1cca0ad84f..785a6ac176 100644
--- a/tests/system/demos/horovod/test_horovod.py
+++ b/tests/system/demos/horovod/test_horovod.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import pytest
diff --git a/tests/system/demos/sklearn/__init__.py b/tests/system/demos/sklearn/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/demos/sklearn/__init__.py
+++ b/tests/system/demos/sklearn/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/demos/sklearn/assets/iris_generator_function.py b/tests/system/demos/sklearn/assets/iris_generator_function.py
index 5b9c223f34..4c4d7dbaab 100644
--- a/tests/system/demos/sklearn/assets/iris_generator_function.py
+++ b/tests/system/demos/sklearn/assets/iris_generator_function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas as pd
from sklearn.datasets import load_iris
diff --git a/tests/system/demos/sklearn/assets/workflow.py b/tests/system/demos/sklearn/assets/workflow.py
index af9f0ba275..80c86d7b31 100644
--- a/tests/system/demos/sklearn/assets/workflow.py
+++ b/tests/system/demos/sklearn/assets/workflow.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 kfp import dsl
from mlrun import mount_v3io
diff --git a/tests/system/demos/sklearn/test_sklearn.py b/tests/system/demos/sklearn/test_sklearn.py
index 468b762e5f..6479d0de13 100644
--- a/tests/system/demos/sklearn/test_sklearn.py
+++ b/tests/system/demos/sklearn/test_sklearn.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pytest
import mlrun
diff --git a/tests/system/env-template.yml b/tests/system/env-template.yml
index e3aa3067d2..75770a0da3 100644
--- a/tests/system/env-template.yml
+++ b/tests/system/env-template.yml
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# The system tests are expecting the env vars to be set in an env.yml file in this same directory
# this is a template file for the env file
diff --git a/tests/system/examples/__init__.py b/tests/system/examples/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/examples/__init__.py
+++ b/tests/system/examples/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/examples/basics/__init__.py b/tests/system/examples/basics/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/examples/basics/__init__.py
+++ b/tests/system/examples/basics/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/examples/basics/assets/training.py b/tests/system/examples/basics/assets/training.py
index 522a6c7528..51840f9a69 100644
--- a/tests/system/examples/basics/assets/training.py
+++ b/tests/system/examples/basics/assets/training.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas as pd
from mlrun import get_or_create_ctx
diff --git a/tests/system/examples/basics/test_basics.py b/tests/system/examples/basics/test_basics.py
index 69316a4e08..8a94855766 100644
--- a/tests/system/examples/basics/test_basics.py
+++ b/tests/system/examples/basics/test_basics.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 time
import matplotlib.pyplot as plt
diff --git a/tests/system/examples/basics/test_db.py b/tests/system/examples/basics/test_db.py
index 5fb046bc53..c6ad4eb613 100644
--- a/tests/system/examples/basics/test_db.py
+++ b/tests/system/examples/basics/test_db.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun import new_task, run_local
from tests.system.base import TestMLRunSystem
diff --git a/tests/system/examples/dask/__init__.py b/tests/system/examples/dask/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/examples/dask/__init__.py
+++ b/tests/system/examples/dask/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/examples/dask/assets/dask_function.py b/tests/system/examples/dask/assets/dask_function.py
index 4b70e648e2..d7dbf81fb1 100644
--- a/tests/system/examples/dask/assets/dask_function.py
+++ b/tests/system/examples/dask/assets/dask_function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# function that will be distributed
def inc(x):
return x + 2
diff --git a/tests/system/examples/dask/test_dask.py b/tests/system/examples/dask/test_dask.py
index ad04147f0e..b4f56ec600 100644
--- a/tests/system/examples/dask/test_dask.py
+++ b/tests/system/examples/dask/test_dask.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 datetime
import os
diff --git a/tests/system/examples/jobs/__init__.py b/tests/system/examples/jobs/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/examples/jobs/__init__.py
+++ b/tests/system/examples/jobs/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/examples/jobs/assets/jobs_function.py b/tests/system/examples/jobs/assets/jobs_function.py
index 0fe82a01b0..842766214b 100644
--- a/tests/system/examples/jobs/assets/jobs_function.py
+++ b/tests/system/examples/jobs/assets/jobs_function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas as pd
from mlrun.artifacts import get_model, update_model
diff --git a/tests/system/examples/jobs/test_jobs.py b/tests/system/examples/jobs/test_jobs.py
index 9713e7c7f0..b204f6f7d4 100644
--- a/tests/system/examples/jobs/test_jobs.py
+++ b/tests/system/examples/jobs/test_jobs.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 kfp.compiler
diff --git a/tests/system/feature_store/__init__.py b/tests/system/feature_store/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/feature_store/__init__.py
+++ b/tests/system/feature_store/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/feature_store/data_sample.py b/tests/system/feature_store/data_sample.py
index b102d1bcc2..2795dfef13 100644
--- a/tests/system/feature_store/data_sample.py
+++ b/tests/system/feature_store/data_sample.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas as pd
quotes = pd.DataFrame(
diff --git a/tests/system/feature_store/spark_ingest_remote_test_code.py b/tests/system/feature_store/spark_ingest_remote_test_code.py
index 27e11990d1..f5248d786f 100644
--- a/tests/system/feature_store/spark_ingest_remote_test_code.py
+++ b/tests/system/feature_store/spark_ingest_remote_test_code.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun.feature_store.api import ingest
diff --git a/tests/system/feature_store/test_feature_store.py b/tests/system/feature_store/test_feature_store.py
index de44832420..d718025803 100644
--- a/tests/system/feature_store/test_feature_store.py
+++ b/tests/system/feature_store/test_feature_store.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import math
import os
diff --git a/tests/system/feature_store/test_feature_validator.py b/tests/system/feature_store/test_feature_validator.py
index 6963078491..deeab44e9f 100644
--- a/tests/system/feature_store/test_feature_validator.py
+++ b/tests/system/feature_store/test_feature_validator.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 math
import pytest
diff --git a/tests/system/feature_store/test_google_big_query.py b/tests/system/feature_store/test_google_big_query.py
index d89c67dafd..a35f66fe2c 100644
--- a/tests/system/feature_store/test_google_big_query.py
+++ b/tests/system/feature_store/test_google_big_query.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import typing
diff --git a/tests/system/feature_store/test_spark_engine.py b/tests/system/feature_store/test_spark_engine.py
index f286136f12..964e9089d4 100644
--- a/tests/system/feature_store/test_spark_engine.py
+++ b/tests/system/feature_store/test_spark_engine.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import sys
diff --git a/tests/system/model_monitoring/test_model_monitoring.py b/tests/system/model_monitoring/test_model_monitoring.py
index bf0cb749b9..92348aa931 100644
--- a/tests/system/model_monitoring/test_model_monitoring.py
+++ b/tests/system/model_monitoring/test_model_monitoring.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 json
import os
import string
diff --git a/tests/system/projects/__init__.py b/tests/system/projects/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/projects/__init__.py
+++ b/tests/system/projects/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/projects/assets/__init__.py b/tests/system/projects/assets/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/projects/assets/__init__.py
+++ b/tests/system/projects/assets/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/projects/assets/gen_iris.py b/tests/system/projects/assets/gen_iris.py
index ea50fe379e..4d8ab00142 100644
--- a/tests/system/projects/assets/gen_iris.py
+++ b/tests/system/projects/assets/gen_iris.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pandas as pd
from sklearn.datasets import load_iris
diff --git a/tests/system/projects/assets/kflow.py b/tests/system/projects/assets/kflow.py
index 1f0453930a..326a702fbc 100644
--- a/tests/system/projects/assets/kflow.py
+++ b/tests/system/projects/assets/kflow.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 kfp import dsl
import mlrun
diff --git a/tests/system/projects/assets/newflow.py b/tests/system/projects/assets/newflow.py
index 9342575032..0a7236dc2b 100644
--- a/tests/system/projects/assets/newflow.py
+++ b/tests/system/projects/assets/newflow.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 kfp import dsl
from mlrun import build_function, deploy_function, get_current_project, run_function
diff --git a/tests/system/projects/assets/prep_data.py b/tests/system/projects/assets/prep_data.py
index d635eff9f3..0d1e07fa1d 100644
--- a/tests/system/projects/assets/prep_data.py
+++ b/tests/system/projects/assets/prep_data.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
diff --git a/tests/system/projects/assets/sentiment.py b/tests/system/projects/assets/sentiment.py
index 7267aaa079..b471c03837 100644
--- a/tests/system/projects/assets/sentiment.py
+++ b/tests/system/projects/assets/sentiment.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
# use a package which is not in mlrun image (to test build)
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
diff --git a/tests/system/projects/test_project.py b/tests/system/projects/test_project.py
index c6b5cc3433..48c5d90e21 100644
--- a/tests/system/projects/test_project.py
+++ b/tests/system/projects/test_project.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
import re
diff --git a/tests/system/runtimes/__init__.py b/tests/system/runtimes/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/system/runtimes/__init__.py
+++ b/tests/system/runtimes/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/system/runtimes/assets/child_function.py b/tests/system/runtimes/assets/child_function.py
index df8b6c0ff8..ed37b4cc9e 100644
--- a/tests/system/runtimes/assets/child_function.py
+++ b/tests/system/runtimes/assets/child_function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
class Identity:
def do(self, x):
return x
diff --git a/tests/system/runtimes/assets/function-with-catcher.py b/tests/system/runtimes/assets/function-with-catcher.py
index 9b55941687..4a4c17fbf3 100644
--- a/tests/system/runtimes/assets/function-with-catcher.py
+++ b/tests/system/runtimes/assets/function-with-catcher.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
def inc(x):
return x + 1
diff --git a/tests/system/runtimes/assets/function_with_params.py b/tests/system/runtimes/assets/function_with_params.py
index fa216d498b..96e30a7788 100644
--- a/tests/system/runtimes/assets/function_with_params.py
+++ b/tests/system/runtimes/assets/function_with_params.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
def handler(context):
param1 = context.get_param("param1")
project_param = context.get_project_param("project_param")
diff --git a/tests/system/runtimes/assets/handler.py b/tests/system/runtimes/assets/handler.py
index 98f2e628e0..3f4ed73906 100644
--- a/tests/system/runtimes/assets/handler.py
+++ b/tests/system/runtimes/assets/handler.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
def my_func(context, p1: int = 1, p2="a-string"):
"""this is a two param function
diff --git a/tests/system/runtimes/assets/kubejob_function.py b/tests/system/runtimes/assets/kubejob_function.py
index 5c2515e6fb..ed1c482d07 100644
--- a/tests/system/runtimes/assets/kubejob_function.py
+++ b/tests/system/runtimes/assets/kubejob_function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
def hello_world(context):
context.logger.info("hello world")
diff --git a/tests/system/runtimes/assets/nuclio_function.py b/tests/system/runtimes/assets/nuclio_function.py
index a01a4c001f..e5f8f7f969 100644
--- a/tests/system/runtimes/assets/nuclio_function.py
+++ b/tests/system/runtimes/assets/nuclio_function.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
def handler(context, event):
context.logger.info("Hello world")
diff --git a/tests/system/runtimes/assets/nuclio_function_to_print_type.py b/tests/system/runtimes/assets/nuclio_function_to_print_type.py
index 480a757b8c..ff5b94991c 100644
--- a/tests/system/runtimes/assets/nuclio_function_to_print_type.py
+++ b/tests/system/runtimes/assets/nuclio_function_to_print_type.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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.
+#
class Type:
def do(self, x):
return type(x).__name__
diff --git a/tests/system/runtimes/test_archives.py b/tests/system/runtimes/test_archives.py
index dd5d845926..24d4227913 100644
--- a/tests/system/runtimes/test_archives.py
+++ b/tests/system/runtimes/test_archives.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 tempfile
diff --git a/tests/system/runtimes/test_kubejob.py b/tests/system/runtimes/test_kubejob.py
index e46758b9ae..d035594ba4 100644
--- a/tests/system/runtimes/test_kubejob.py
+++ b/tests/system/runtimes/test_kubejob.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun
import tests.system.base
diff --git a/tests/system/runtimes/test_nuclio.py b/tests/system/runtimes/test_nuclio.py
index 57e0eb59ce..b242a43f6b 100644
--- a/tests/system/runtimes/test_nuclio.py
+++ b/tests/system/runtimes/test_nuclio.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 uuid
diff --git a/tests/test_builder.py b/tests/test_builder.py
index 54f0ce32eb..17517d98f5 100644
--- a/tests/test_builder.py
+++ b/tests/test_builder.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 base64
import json
import unittest.mock
diff --git a/tests/test_convenince_methods.py b/tests/test_convenince_methods.py
index ee6c45980c..e07cadc55e 100644
--- a/tests/test_convenince_methods.py
+++ b/tests/test_convenince_methods.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pathlib
diff --git a/tests/test_model.py b/tests/test_model.py
index f1aca2ab12..56429c4a09 100644
--- a/tests/test_model.py
+++ b/tests/test_model.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 mlrun.api.schemas
import mlrun.runtimes
diff --git a/tests/test_requirements.py b/tests/test_requirements.py
index a7583983c2..96d4bc5cde 100644
--- a/tests/test_requirements.py
+++ b/tests/test_requirements.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 builtins
import collections
import json
diff --git a/tests/utils/__init__.py b/tests/utils/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/utils/__init__.py
+++ b/tests/utils/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/utils/logger/__init__.py b/tests/utils/logger/__init__.py
index e69de29bb2..b3085be1eb 100644
--- a/tests/utils/logger/__init__.py
+++ b/tests/utils/logger/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2018 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/tests/utils/logger/test_logger.py b/tests/utils/logger/test_logger.py
index 2976b45b24..5954384041 100644
--- a/tests/utils/logger/test_logger.py
+++ b/tests/utils/logger/test_logger.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 io import StringIO
from typing import Generator
diff --git a/tests/utils/test_helpers.py b/tests/utils/test_helpers.py
index 2d11f99176..49bea8ba6d 100644
--- a/tests/utils/test_helpers.py
+++ b/tests/utils/test_helpers.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 unittest.mock
import pytest
diff --git a/tests/utils/test_vault.py b/tests/utils/test_vault.py
index 1c2b3b3dbb..d2fc83e278 100644
--- a/tests/utils/test_vault.py
+++ b/tests/utils/test_vault.py
@@ -1,3 +1,17 @@
+# Copyright 2018 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 pytest
import mlrun