From d795f87d44d6caa954c878decf0e5a538b3cd33d Mon Sep 17 00:00:00 2001 From: Eduardo Sousa Date: Tue, 5 Feb 2019 16:05:53 +0000 Subject: [PATCH] Adding licenses to keystone and auth module Change-Id: Iefc601c887677ffa9f882ee037af1f3398c9f86f Signed-off-by: Eduardo Sousa --- keystone/Dockerfile | 18 ++++++++++++++++++ keystone/scripts/start.sh | 18 ++++++++++++++++++ osm_nbi/auth.py | 24 +++++++++++++++--------- osm_nbi/authconn.py | 18 ++++++++++++++++++ osm_nbi/authconn_keystone.py | 18 ++++++++++++++++++ 5 files changed, 87 insertions(+), 9 deletions(-) diff --git a/keystone/Dockerfile b/keystone/Dockerfile index 2030aa5..59b053c 100644 --- a/keystone/Dockerfile +++ b/keystone/Dockerfile @@ -1,3 +1,21 @@ +# Copyright 2018 Whitestack, 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. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact: esousa@whitestack.com or glavado@whitestack.com +## + FROM ubuntu:16.04 LABEL Maintainer="esousa@whitestack.com" \ diff --git a/keystone/scripts/start.sh b/keystone/scripts/start.sh index 1e3709e..4c25e77 100644 --- a/keystone/scripts/start.sh +++ b/keystone/scripts/start.sh @@ -1,5 +1,23 @@ #!/bin/bash +# Copyright 2018 Whitestack, 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. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact: esousa@whitestack.com or glavado@whitestack.com +## + DB_EXISTS="" max_attempts=120 diff --git a/osm_nbi/auth.py b/osm_nbi/auth.py index 4bc4628..f0e00b9 100644 --- a/osm_nbi/auth.py +++ b/osm_nbi/auth.py @@ -1,17 +1,23 @@ # -*- coding: utf-8 -*- -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Copyright 2018 Whitestack, LLC +# Copyright 2018 Telefonica S.A. # -# http://www.apache.org/licenses/LICENSE-2.0 +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# 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 those usages not covered by the Apache License, Version 2.0 please +# contact: esousa@whitestack.com or alfonso.tiernosepulveda@telefonica.com +## """ diff --git a/osm_nbi/authconn.py b/osm_nbi/authconn.py index 4d28bf8..90f0096 100644 --- a/osm_nbi/authconn.py +++ b/osm_nbi/authconn.py @@ -1,5 +1,23 @@ # -*- coding: utf-8 -*- +# Copyright 2018 Whitestack, 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. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact: esousa@whitestack.com or glavado@whitestack.com +## + """ Authconn implements an Abstract class for the Auth backend connector plugins with the definition of the methods to be implemented. diff --git a/osm_nbi/authconn_keystone.py b/osm_nbi/authconn_keystone.py index 6e33ed6..068c213 100644 --- a/osm_nbi/authconn_keystone.py +++ b/osm_nbi/authconn_keystone.py @@ -1,5 +1,23 @@ # -*- coding: utf-8 -*- +# Copyright 2018 Whitestack, 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. +# +# For those usages not covered by the Apache License, Version 2.0 please +# contact: esousa@whitestack.com or glavado@whitestack.com +## + """ AuthconnKeystone implements implements the connector for Openstack Keystone and leverages the RBAC model, to bring -- 2.17.1