From 5720730c2e55259f1894368e766256cded51a1df Mon Sep 17 00:00:00 2001 From: Dolph Mathews Date: Fri, 2 Mar 2012 13:38:39 -0600 Subject: [PATCH] Added license header (bug 929663) Change-Id: Ia36a22f2d6bba411e4fad81ea2d6fa1f0465a733 --- keystone/catalog/__init__.py | 16 ++++++++++++++++ keystone/common/kvs.py | 14 ++++++++++++++ keystone/common/ldap/__init__.py | 16 ++++++++++++++++ keystone/common/ldap/core.py | 14 ++++++++++++++ keystone/common/logging.py | 14 ++++++++++++++ keystone/common/manager.py | 14 ++++++++++++++ keystone/common/serializer.py | 16 ++++++++++++++++ keystone/common/sql/__init__.py | 16 ++++++++++++++++ keystone/common/sql/core.py | 14 ++++++++++++++ keystone/common/sql/legacy.py | 14 ++++++++++++++ keystone/common/sql/nova.py | 14 ++++++++++++++ keystone/common/sql/util.py | 14 ++++++++++++++ keystone/contrib/admin_crud/__init__.py | 16 ++++++++++++++++ keystone/contrib/ec2/__init__.py | 16 ++++++++++++++++ keystone/contrib/s3/__init__.py | 16 ++++++++++++++++ keystone/identity/__init__.py | 16 ++++++++++++++++ keystone/identity/backends/ldap/__init__.py | 16 ++++++++++++++++ keystone/identity/backends/ldap/core.py | 14 ++++++++++++++ keystone/middleware/__init__.py | 16 ++++++++++++++++ keystone/policy/__init__.py | 16 ++++++++++++++++ keystone/token/__init__.py | 16 ++++++++++++++++ run_tests.sh | 14 ++++++++++++++ setup.py | 3 +-- tests/_ldap_livetest.py | 14 ++++++++++++++ tests/default_fixtures.py | 16 ++++++++++++++++ tests/test_backend_ldap.py | 14 ++++++++++++++ tests/test_content_types.py | 14 ++++++++++++++ tests/test_serializer.py | 14 ++++++++++++++ tools/sample_data.sh | 14 ++++++++++++++ 29 files changed, 419 insertions(+), 2 deletions(-) diff --git a/keystone/catalog/__init__.py b/keystone/catalog/__init__.py index 95af1256fd..47f60b38ae 100644 --- a/keystone/catalog/__init__.py +++ b/keystone/catalog/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.catalog.core import * diff --git a/keystone/common/kvs.py b/keystone/common/kvs.py index 795c2f70bd..3f4ded1519 100644 --- a/keystone/common/kvs.py +++ b/keystone/common/kvs.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 DictKvs(dict): def set(self, key, value): diff --git a/keystone/common/ldap/__init__.py b/keystone/common/ldap/__init__.py index 0fc8bd8ea5..17aca3b1a7 100644 --- a/keystone/common/ldap/__init__.py +++ b/keystone/common/ldap/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.common.ldap.core import * diff --git a/keystone/common/ldap/core.py b/keystone/common/ldap/core.py index a22957f7bc..8b865ee557 100644 --- a/keystone/common/ldap/core.py +++ b/keystone/common/ldap/core.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + import logging import ldap diff --git a/keystone/common/logging.py b/keystone/common/logging.py index 77d6a8e1cd..9d8bee88ad 100644 --- a/keystone/common/logging.py +++ b/keystone/common/logging.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + """Wrapper for built-in logging module.""" from __future__ import absolute_import diff --git a/keystone/common/manager.py b/keystone/common/manager.py index 17c7d5e53b..06c2ec67f4 100644 --- a/keystone/common/manager.py +++ b/keystone/common/manager.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + import functools from keystone import config diff --git a/keystone/common/serializer.py b/keystone/common/serializer.py index c5e9b77094..cd662bc99b 100644 --- a/keystone/common/serializer.py +++ b/keystone/common/serializer.py @@ -1,3 +1,19 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + """ Dict <--> XML de/serializer. diff --git a/keystone/common/sql/__init__.py b/keystone/common/sql/__init__.py index ae31c7029e..285a7ee0e6 100644 --- a/keystone/common/sql/__init__.py +++ b/keystone/common/sql/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.common.sql.core import * diff --git a/keystone/common/sql/core.py b/keystone/common/sql/core.py index 6aa9beb4b1..73051565a1 100644 --- a/keystone/common/sql/core.py +++ b/keystone/common/sql/core.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + """SQL backends for the various services.""" diff --git a/keystone/common/sql/legacy.py b/keystone/common/sql/legacy.py index d8bbb2c5f8..ca19ccb631 100644 --- a/keystone/common/sql/legacy.py +++ b/keystone/common/sql/legacy.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES 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 sqlalchemy diff --git a/keystone/common/sql/nova.py b/keystone/common/sql/nova.py index bf97669f29..afdfef12de 100644 --- a/keystone/common/sql/nova.py +++ b/keystone/common/sql/nova.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + """Export data from Nova database and import through Identity Service.""" import logging diff --git a/keystone/common/sql/util.py b/keystone/common/sql/util.py index 5dfe585e18..126b887eeb 100644 --- a/keystone/common/sql/util.py +++ b/keystone/common/sql/util.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES 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 keystone import config diff --git a/keystone/contrib/admin_crud/__init__.py b/keystone/contrib/admin_crud/__init__.py index eb8c4f17e6..4fb4bab057 100644 --- a/keystone/contrib/admin_crud/__init__.py +++ b/keystone/contrib/admin_crud/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.contrib.admin_crud.core import * diff --git a/keystone/contrib/ec2/__init__.py b/keystone/contrib/ec2/__init__.py index 6c85c66df7..50c4039f64 100644 --- a/keystone/contrib/ec2/__init__.py +++ b/keystone/contrib/ec2/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.contrib.ec2.core import * diff --git a/keystone/contrib/s3/__init__.py b/keystone/contrib/s3/__init__.py index 2214959601..84de6dcffe 100644 --- a/keystone/contrib/s3/__init__.py +++ b/keystone/contrib/s3/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.contrib.s3.core import * diff --git a/keystone/identity/__init__.py b/keystone/identity/__init__.py index 3a86d5a512..797b58e427 100644 --- a/keystone/identity/__init__.py +++ b/keystone/identity/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.identity.core import * diff --git a/keystone/identity/backends/ldap/__init__.py b/keystone/identity/backends/ldap/__init__.py index 818da73ecc..17903c9358 100644 --- a/keystone/identity/backends/ldap/__init__.py +++ b/keystone/identity/backends/ldap/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.identity.backends.ldap.core import * diff --git a/keystone/identity/backends/ldap/core.py b/keystone/identity/backends/ldap/core.py index 5d95d500cc..a6f6ccd369 100644 --- a/keystone/identity/backends/ldap/core.py +++ b/keystone/identity/backends/ldap/core.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES 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 ldap diff --git a/keystone/middleware/__init__.py b/keystone/middleware/__init__.py index e2e9a993df..85ed395cae 100644 --- a/keystone/middleware/__init__.py +++ b/keystone/middleware/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.middleware.core import * diff --git a/keystone/policy/__init__.py b/keystone/policy/__init__.py index d16de59fc2..8a355c1184 100644 --- a/keystone/policy/__init__.py +++ b/keystone/policy/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.policy.core import * diff --git a/keystone/token/__init__.py b/keystone/token/__init__.py index bf971a5aba..884f265883 100644 --- a/keystone/token/__init__.py +++ b/keystone/token/__init__.py @@ -1 +1,17 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 keystone.token.core import * diff --git a/run_tests.sh b/run_tests.sh index c55a0cd9e5..1962cbb08f 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 -eu function usage { diff --git a/setup.py b/setup.py index b9f6f02588..9f8d745284 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 -# Copyright 2012 OpenStack, LLC -# All Rights Reserved. +# Copyright 2012 OpenStack LLC # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/tests/_ldap_livetest.py b/tests/_ldap_livetest.py index 803d13e9a8..93e9fab5b1 100644 --- a/tests/_ldap_livetest.py +++ b/tests/_ldap_livetest.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + import subprocess import nose.exc diff --git a/tests/default_fixtures.py b/tests/default_fixtures.py index de799eafb5..90526ceb3a 100644 --- a/tests/default_fixtures.py +++ b/tests/default_fixtures.py @@ -1,3 +1,19 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + TENANTS = [ {'id': 'bar', 'name': 'BAR'}, {'id': 'baz', 'name': 'BAZ'}, diff --git a/tests/test_backend_ldap.py b/tests/test_backend_ldap.py index 5300be8308..1abe3efd64 100644 --- a/tests/test_backend_ldap.py +++ b/tests/test_backend_ldap.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + import nose.exc from keystone import config diff --git a/tests/test_content_types.py b/tests/test_content_types.py index 865a330398..8525954345 100644 --- a/tests/test_content_types.py +++ b/tests/test_content_types.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + import httplib import json diff --git a/tests/test_serializer.py b/tests/test_serializer.py index 0be5ca4c6f..7c6ce044d4 100644 --- a/tests/test_serializer.py +++ b/tests/test_serializer.py @@ -1,5 +1,19 @@ # vim: tabstop=4 shiftwidth=4 softtabstop=4 +# Copyright 2012 OpenStack LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES 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 keystone import test diff --git a/tools/sample_data.sh b/tools/sample_data.sh index 362291f84b..00eeacaff1 100755 --- a/tools/sample_data.sh +++ b/tools/sample_data.sh @@ -1,5 +1,19 @@ #!/usr/bin/env bash + +# Copyright 2012 OpenStack LLC # +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + # Sample initial data for Keystone using python-keystoneclient # # This script is based on the original DevStack keystone_data.sh script.