From 2ecaac4a52f9fdbe0fef7e27062f2f2e444afb1f Mon Sep 17 00:00:00 2001 From: Huang Haibin Date: Wed, 17 Oct 2018 19:10:08 +0800 Subject: Add license for pike Change-Id: I779bc427bf8e0ff682806b8c8933312b1dd5a340 Issue-ID: MULTICLOUD-384 Signed-off-by: Huang Haibin --- pike/.gitignore | 14 ++++++++++++++ pike/docker/Dockerfile | 14 ++++++++++++++ pike/docker/build_image.sh | 15 +++++++++++++++ pike/pike/pub/config/log.yml | 14 ++++++++++++++ pike/requirements.txt | 14 ++++++++++++++ pike/tox.ini | 14 ++++++++++++++ pike/vagrant/Vagrantfile | 14 ++++++++++++++ pike/vagrant/pip.conf | 14 ++++++++++++++ pike/vagrant/piprepo.sh | 14 ++++++++++++++ pike/vagrant/test/Dockerfile | 14 ++++++++++++++ pike/vagrant/test/test-extensions.sh | 14 ++++++++++++++ pike/vagrant/test/test_multicloud.sh | 14 ++++++++++++++ pike/vagrant/test/tests | 14 ++++++++++++++ 13 files changed, 183 insertions(+) (limited to 'pike') diff --git a/pike/.gitignore b/pike/.gitignore index 06570027..c3bfb454 100644 --- a/pike/.gitignore +++ b/pike/.gitignore @@ -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. + .project .classpath .settings/ diff --git a/pike/docker/Dockerfile b/pike/docker/Dockerfile index 45e99502..a280bb61 100644 --- a/pike/docker/Dockerfile +++ b/pike/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.7 ARG HTTP_PROXY=${HTTP_PROXY} diff --git a/pike/docker/build_image.sh b/pike/docker/build_image.sh index 6b77447c..377a32a5 100755 --- a/pike/docker/build_image.sh +++ b/pike/docker/build_image.sh @@ -1,4 +1,19 @@ #!/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/pike/pike/pub/config/log.yml b/pike/pike/pub/config/log.yml index 73a14eef..49edb595 100644 --- a/pike/pike/pub/config/log.yml +++ b/pike/pike/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/pike/requirements.txt b/pike/requirements.txt index d9e87f87..f4a077be 100644 --- a/pike/requirements.txt +++ b/pike/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. + # rest framework Django==1.9.6 djangorestframework==3.3.3 diff --git a/pike/tox.ini b/pike/tox.ini index 20a7f6cc..9107da32 100644 --- a/pike/tox.ini +++ b/pike/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 diff --git a/pike/vagrant/Vagrantfile b/pike/vagrant/Vagrantfile index 666f307b..d35f8abf 100644 --- a/pike/vagrant/Vagrantfile +++ b/pike/vagrant/Vagrantfile @@ -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. + # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! Vagrant.configure("2") do |config| diff --git a/pike/vagrant/pip.conf b/pike/vagrant/pip.conf index 73e7f4c4..b4ee9602 100644 --- a/pike/vagrant/pip.conf +++ b/pike/vagrant/pip.conf @@ -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. + [global] index-url = https://pypi.douban.com/simple/ [install] diff --git a/pike/vagrant/piprepo.sh b/pike/vagrant/piprepo.sh index 737ad4f3..4b298b18 100755 --- a/pike/vagrant/piprepo.sh +++ b/pike/vagrant/piprepo.sh @@ -1,5 +1,19 @@ #!/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. + set -ex mkdir -p ~/.pip diff --git a/pike/vagrant/test/Dockerfile b/pike/vagrant/test/Dockerfile index 00f8250c..aad0f9ff 100644 --- a/pike/vagrant/test/Dockerfile +++ b/pike/vagrant/test/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 ENV MSB_ADDR "127.0.0.1" diff --git a/pike/vagrant/test/test-extensions.sh b/pike/vagrant/test/test-extensions.sh index 215c3fc3..9fb27b1f 100644 --- a/pike/vagrant/test/test-extensions.sh +++ b/pike/vagrant/test/test-extensions.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. + set -ex MULTICLOUD_PLUGIN_ENDPOINT=http://172.16.77.40:9007/api/multicloud-pike/v0/openstack-hudson-dc_RegionOne diff --git a/pike/vagrant/test/test_multicloud.sh b/pike/vagrant/test/test_multicloud.sh index efc934ce..c18e317d 100644 --- a/pike/vagrant/test/test_multicloud.sh +++ b/pike/vagrant/test/test_multicloud.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. + set -ex sudo apt-get update -y diff --git a/pike/vagrant/test/tests b/pike/vagrant/test/tests index 018c7a48..c5cdfc85 100644 --- a/pike/vagrant/test/tests +++ b/pike/vagrant/test/tests @@ -1 +1,15 @@ +# 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. + test-extensions.sh -- cgit 1.2.3-korg