diff options
author | 2018-10-17 19:10:08 +0800 | |
---|---|---|
committer | 2018-10-17 19:10:08 +0800 | |
commit | 2ecaac4a52f9fdbe0fef7e27062f2f2e444afb1f (patch) | |
tree | 0878557621d1bafff64c12ed5ef746dc2a01bae1 | |
parent | bd8d6784e1bb354e630fa4eb4643dda37a74777c (diff) |
Add license for pike
Change-Id: I779bc427bf8e0ff682806b8c8933312b1dd5a340
Issue-ID: MULTICLOUD-384
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
-rw-r--r-- | pike/.gitignore | 14 | ||||
-rw-r--r-- | pike/docker/Dockerfile | 14 | ||||
-rwxr-xr-x | pike/docker/build_image.sh | 15 | ||||
-rw-r--r-- | pike/pike/pub/config/log.yml | 14 | ||||
-rw-r--r-- | pike/requirements.txt | 14 | ||||
-rw-r--r-- | pike/tox.ini | 14 | ||||
-rw-r--r-- | pike/vagrant/Vagrantfile | 14 | ||||
-rw-r--r-- | pike/vagrant/pip.conf | 14 | ||||
-rwxr-xr-x | pike/vagrant/piprepo.sh | 14 | ||||
-rw-r--r-- | pike/vagrant/test/Dockerfile | 14 | ||||
-rw-r--r-- | pike/vagrant/test/test-extensions.sh | 14 | ||||
-rw-r--r-- | pike/vagrant/test/test_multicloud.sh | 14 | ||||
-rw-r--r-- | pike/vagrant/test/tests | 14 |
13 files changed, 183 insertions, 0 deletions
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 |