From ae2c74c28d401b69b8c2aaf2aa3df98088b6f43a Mon Sep 17 00:00:00 2001 From: Harish Venkatraman Date: Mon, 30 Nov 2020 21:06:28 +0000 Subject: [PATCH] Added License and copyright for directory & files. Addressed comments. Signed-off-by: Harish Venkatraman Change-Id: Ifcaa1f041bd30f94475a9e9ce73787abf84723b7 --- tools/LICENSES.txt | 30 ++++++++++++++++++++++ tools/oran-pkg-validation/CSAR-dest/LICENSES.txt | 30 ++++++++++++++++++++++ tools/oran-pkg-validation/LICENSES.txt | 30 ++++++++++++++++++++++ tools/oran-pkg-validation/csar.py | 15 ++++++++++- tools/oran-pkg-validation/toscameta.py | 16 ++++++++++++ tools/oran-pkg-validation/unit-test/LICENSES.txt | 30 ++++++++++++++++++++++ tools/oran-pkg-validation/unit-test/Tosca-error.sh | 16 ++++++++++++ tools/oran-pkg-validation/unit-test/validate.sh | 16 ++++++++++++ tools/oran-pkg-validation/unit-test/yaml-error.sh | 16 ++++++++++++ tools/oran-pkg-validation/utils.py | 14 ++++++++++ 10 files changed, 212 insertions(+), 1 deletion(-) create mode 100644 tools/LICENSES.txt create mode 100644 tools/oran-pkg-validation/CSAR-dest/LICENSES.txt create mode 100644 tools/oran-pkg-validation/LICENSES.txt create mode 100644 tools/oran-pkg-validation/unit-test/LICENSES.txt diff --git a/tools/LICENSES.txt b/tools/LICENSES.txt new file mode 100644 index 0000000..bf17509 --- /dev/null +++ b/tools/LICENSES.txt @@ -0,0 +1,30 @@ +Unless otherwise specified, all software contained herein is licensed +under the Apache License, Version 2.0 (the "Software License"); +you may not use this software except in compliance with the Software +License. You may obtain a copy of the Software License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the Software License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the Software License for the specific language governing permissions +and limitations under the Software License. + + + +Unless otherwise specified, all documentation contained herein is licensed +under the Creative Commons License, Attribution 4.0 Intl. (the +"Documentation License"); you may not use this documentation except in +compliance with the Documentation License. You may obtain a copy of the +Documentation License at + +https://creativecommons.org/licenses/by/4.0/ + +Unless required by applicable law or agreed to in writing, documentation +distributed under the Documentation License is distributed on an "AS IS" +BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the Documentation License for the specific language governing +permissions and limitations under the Documentation License. + +This source code is part of the Service Management and Orchestration (SMO). diff --git a/tools/oran-pkg-validation/CSAR-dest/LICENSES.txt b/tools/oran-pkg-validation/CSAR-dest/LICENSES.txt new file mode 100644 index 0000000..bf17509 --- /dev/null +++ b/tools/oran-pkg-validation/CSAR-dest/LICENSES.txt @@ -0,0 +1,30 @@ +Unless otherwise specified, all software contained herein is licensed +under the Apache License, Version 2.0 (the "Software License"); +you may not use this software except in compliance with the Software +License. You may obtain a copy of the Software License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the Software License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the Software License for the specific language governing permissions +and limitations under the Software License. + + + +Unless otherwise specified, all documentation contained herein is licensed +under the Creative Commons License, Attribution 4.0 Intl. (the +"Documentation License"); you may not use this documentation except in +compliance with the Documentation License. You may obtain a copy of the +Documentation License at + +https://creativecommons.org/licenses/by/4.0/ + +Unless required by applicable law or agreed to in writing, documentation +distributed under the Documentation License is distributed on an "AS IS" +BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the Documentation License for the specific language governing +permissions and limitations under the Documentation License. + +This source code is part of the Service Management and Orchestration (SMO). diff --git a/tools/oran-pkg-validation/LICENSES.txt b/tools/oran-pkg-validation/LICENSES.txt new file mode 100644 index 0000000..bf17509 --- /dev/null +++ b/tools/oran-pkg-validation/LICENSES.txt @@ -0,0 +1,30 @@ +Unless otherwise specified, all software contained herein is licensed +under the Apache License, Version 2.0 (the "Software License"); +you may not use this software except in compliance with the Software +License. You may obtain a copy of the Software License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the Software License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the Software License for the specific language governing permissions +and limitations under the Software License. + + + +Unless otherwise specified, all documentation contained herein is licensed +under the Creative Commons License, Attribution 4.0 Intl. (the +"Documentation License"); you may not use this documentation except in +compliance with the Documentation License. You may obtain a copy of the +Documentation License at + +https://creativecommons.org/licenses/by/4.0/ + +Unless required by applicable law or agreed to in writing, documentation +distributed under the Documentation License is distributed on an "AS IS" +BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the Documentation License for the specific language governing +permissions and limitations under the Documentation License. + +This source code is part of the Service Management and Orchestration (SMO). diff --git a/tools/oran-pkg-validation/csar.py b/tools/oran-pkg-validation/csar.py index 2955070..f7c8109 100644 --- a/tools/oran-pkg-validation/csar.py +++ b/tools/oran-pkg-validation/csar.py @@ -1,4 +1,17 @@ - +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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 os import tempfile diff --git a/tools/oran-pkg-validation/toscameta.py b/tools/oran-pkg-validation/toscameta.py index 9001815..89e6796 100644 --- a/tools/oran-pkg-validation/toscameta.py +++ b/tools/oran-pkg-validation/toscameta.py @@ -1,3 +1,19 @@ +# Copyright (c) 2019 Intel Corp. All rights reserved. +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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 os diff --git a/tools/oran-pkg-validation/unit-test/LICENSES.txt b/tools/oran-pkg-validation/unit-test/LICENSES.txt new file mode 100644 index 0000000..bf17509 --- /dev/null +++ b/tools/oran-pkg-validation/unit-test/LICENSES.txt @@ -0,0 +1,30 @@ +Unless otherwise specified, all software contained herein is licensed +under the Apache License, Version 2.0 (the "Software License"); +you may not use this software except in compliance with the Software +License. You may obtain a copy of the Software License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the Software License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the Software License for the specific language governing permissions +and limitations under the Software License. + + + +Unless otherwise specified, all documentation contained herein is licensed +under the Creative Commons License, Attribution 4.0 Intl. (the +"Documentation License"); you may not use this documentation except in +compliance with the Documentation License. You may obtain a copy of the +Documentation License at + +https://creativecommons.org/licenses/by/4.0/ + +Unless required by applicable law or agreed to in writing, documentation +distributed under the Documentation License is distributed on an "AS IS" +BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the Documentation License for the specific language governing +permissions and limitations under the Documentation License. + +This source code is part of the Service Management and Orchestration (SMO). diff --git a/tools/oran-pkg-validation/unit-test/Tosca-error.sh b/tools/oran-pkg-validation/unit-test/Tosca-error.sh index bf4ae00..e453b3d 100755 --- a/tools/oran-pkg-validation/unit-test/Tosca-error.sh +++ b/tools/oran-pkg-validation/unit-test/Tosca-error.sh @@ -1,3 +1,19 @@ +#=================================================================== +#Copyright © 2020 Aarna Networks, Inc. +#All rights reserved. +#=================================================================== +#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. + #!/bin/sh echo diff --git a/tools/oran-pkg-validation/unit-test/validate.sh b/tools/oran-pkg-validation/unit-test/validate.sh index 29f6a7b..22983ec 100755 --- a/tools/oran-pkg-validation/unit-test/validate.sh +++ b/tools/oran-pkg-validation/unit-test/validate.sh @@ -1,3 +1,19 @@ +#=================================================================== +#Copyright © 2020 Aarna Networks, Inc. +#All rights reserved. +#=================================================================== +#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. + #!/bin/sh echo diff --git a/tools/oran-pkg-validation/unit-test/yaml-error.sh b/tools/oran-pkg-validation/unit-test/yaml-error.sh index 0aedf10..aa28a3d 100755 --- a/tools/oran-pkg-validation/unit-test/yaml-error.sh +++ b/tools/oran-pkg-validation/unit-test/yaml-error.sh @@ -1,3 +1,19 @@ +#=================================================================== +#Copyright © 2020 Aarna Networks, Inc. +#All rights reserved. +#=================================================================== +#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. + #!/bin/sh echo diff --git a/tools/oran-pkg-validation/utils.py b/tools/oran-pkg-validation/utils.py index bef8967..7e5f6a0 100644 --- a/tools/oran-pkg-validation/utils.py +++ b/tools/oran-pkg-validation/utils.py @@ -1,3 +1,17 @@ +# Copyright (c) 2018 Intel Corp Inc. All rights reserved. +# +# 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 hashlib from io import BytesIO -- 2.16.6