summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-10-17 19:27:21 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-10-18 09:51:42 +0800
commit8c7c3682cf19a8064752d4d7b5d9b232b73416b8 (patch)
tree6faee8bdfa1d1d6db2fdab8ec9899b1b11f8b5f0
parentc84dd3502631ef29f2849d3f252311ed3bb30c68 (diff)
Add license for newton plugin
Change-Id: I2e13b64a2a00a2165190318cb264da5e9038d989 Issue-ID: MULTICLOUD-384 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
-rw-r--r--newton/docker/Dockerfile14
-rw-r--r--newton/docker/build_image.sh14
-rw-r--r--newton/newton/pub/config/log.yml14
-rw-r--r--newton/requirements.txt14
-rw-r--r--newton/tox.ini14
5 files changed, 70 insertions, 0 deletions
diff --git a/newton/docker/Dockerfile b/newton/docker/Dockerfile
index 83610a4f..02422735 100644
--- a/newton/docker/Dockerfile
+++ b/newton/docker/Dockerfile
@@ -1,3 +1,17 @@
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT 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 python:2
ARG HTTP_PROXY=${HTTP_PROXY}
diff --git a/newton/docker/build_image.sh b/newton/docker/build_image.sh
index a563c0e7..2342e0b7 100644
--- a/newton/docker/build_image.sh
+++ b/newton/docker/build_image.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
DIRNAME=`dirname $0`
DOCKER_BUILD_DIR=`cd $DIRNAME/; pwd`
echo "DOCKER_BUILD_DIR=${DOCKER_BUILD_DIR}"
diff --git a/newton/newton/pub/config/log.yml b/newton/newton/pub/config/log.yml
index 2e32cecd..c6fbd636 100644
--- a/newton/newton/pub/config/log.yml
+++ b/newton/newton/pub/config/log.yml
@@ -1,3 +1,17 @@
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
version: 1
disable_existing_loggers: False
diff --git a/newton/requirements.txt b/newton/requirements.txt
index e90fefbe..1d5ccb37 100644
--- a/newton/requirements.txt
+++ b/newton/requirements.txt
@@ -1,3 +1,17 @@
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
pbr!=2.1.0,>=2.0.0
# rest framework
diff --git a/newton/tox.ini b/newton/tox.ini
index ec17886d..01d7bf6f 100644
--- a/newton/tox.ini
+++ b/newton/tox.ini
@@ -1,3 +1,17 @@
+# Copyright (c) 2018 Intel Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
[tox]
envlist = py27,cov
skipsdist = true