diff options
author | xudan <xudan16@huawei.com> | 2019-04-29 03:02:13 -0400 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2019-04-29 03:52:34 -0400 |
commit | 7f7db8302e20664b7552bfcc6d8147b6b9a9ec3a (patch) | |
tree | 060fe5cec439fe84190e4d25035c13361ecbd564 /opnfv_testapi | |
parent | 8d118a999ffec1d246863b82d6a9513db9f49cb1 (diff) |
Add License for Dovetail webportal
Add license for all files in this repo except following:
1. all .png, .gif and .json files
2. all empty __init__.py files
3. MANIFEST.in
4. .htmllintrc
5. node-requirements.txt
6. update/README.md
7. opnfv_testapi/ui/auth/rsa.pem
8. opnfv_testapi/tornado_swagger/README.md
9. 3rd_party/static/testapi_ui/favicon.ico
10. 3rd_party/static/onap_ui/favicon.ico
Change-Id: I6329d09b67cdafaa545cea7894e5edf3466d0009
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'opnfv_testapi')
-rw-r--r-- | opnfv_testapi/common/utils.py | 9 | ||||
-rw-r--r-- | opnfv_testapi/db/api.py | 9 | ||||
-rw-r--r-- | opnfv_testapi/resources/scenario_handlers.py | 9 | ||||
-rw-r--r-- | opnfv_testapi/resources/scenario_models.py | 9 | ||||
-rw-r--r-- | opnfv_testapi/tests/__init__.py | 9 | ||||
-rw-r--r-- | opnfv_testapi/tests/unit/common/noparam.ini | 9 | ||||
-rw-r--r-- | opnfv_testapi/tests/unit/common/normal.ini | 9 | ||||
-rw-r--r-- | opnfv_testapi/tests/unit/common/nosection.ini | 9 | ||||
-rw-r--r-- | opnfv_testapi/tests/unit/common/notboolean.ini | 9 | ||||
-rw-r--r-- | opnfv_testapi/tests/unit/common/notint.ini | 9 | ||||
-rw-r--r-- | opnfv_testapi/tests/unit/common/test_config.py | 9 | ||||
-rw-r--r-- | opnfv_testapi/tests/unit/conftest.py | 9 | ||||
-rw-r--r-- | opnfv_testapi/tests/unit/resources/test_project.py | 9 | ||||
-rw-r--r-- | opnfv_testapi/tests/unit/resources/test_scenario.py | 9 | ||||
-rw-r--r-- | opnfv_testapi/ui/auth/base.py | 9 | ||||
-rw-r--r-- | opnfv_testapi/ui/auth/constants.py | 9 |
16 files changed, 144 insertions, 0 deletions
diff --git a/opnfv_testapi/common/utils.py b/opnfv_testapi/common/utils.py index 107c709..b432212 100644 --- a/opnfv_testapi/common/utils.py +++ b/opnfv_testapi/common/utils.py @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + import logging import smtplib from email.mime.text import MIMEText diff --git a/opnfv_testapi/db/api.py b/opnfv_testapi/db/api.py index c057480..a51e7fc 100644 --- a/opnfv_testapi/db/api.py +++ b/opnfv_testapi/db/api.py @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + import motor from opnfv_testapi.common.config import CONF diff --git a/opnfv_testapi/resources/scenario_handlers.py b/opnfv_testapi/resources/scenario_handlers.py index 0aa6063..4f9c32c 100644 --- a/opnfv_testapi/resources/scenario_handlers.py +++ b/opnfv_testapi/resources/scenario_handlers.py @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + import functools from opnfv_testapi.common import message diff --git a/opnfv_testapi/resources/scenario_models.py b/opnfv_testapi/resources/scenario_models.py index ca820cd..68862c8 100644 --- a/opnfv_testapi/resources/scenario_models.py +++ b/opnfv_testapi/resources/scenario_models.py @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + from opnfv_testapi.resources import models from opnfv_testapi.tornado_swagger import swagger diff --git a/opnfv_testapi/tests/__init__.py b/opnfv_testapi/tests/__init__.py index 9f28b0b..3eee7ac 100644 --- a/opnfv_testapi/tests/__init__.py +++ b/opnfv_testapi/tests/__init__.py @@ -1 +1,10 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + __author__ = 'serena' diff --git a/opnfv_testapi/tests/unit/common/noparam.ini b/opnfv_testapi/tests/unit/common/noparam.ini index fda2a09..7a00a17 100644 --- a/opnfv_testapi/tests/unit/common/noparam.ini +++ b/opnfv_testapi/tests/unit/common/noparam.ini @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + # to add a new parameter in the config file, # the CONF object in config.ini must be updated [mongo] diff --git a/opnfv_testapi/tests/unit/common/normal.ini b/opnfv_testapi/tests/unit/common/normal.ini index 678cb68..f6626c6 100644 --- a/opnfv_testapi/tests/unit/common/normal.ini +++ b/opnfv_testapi/tests/unit/common/normal.ini @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + # to add a new parameter in the config file, # the CONF object in config.ini must be updated [mongo] diff --git a/opnfv_testapi/tests/unit/common/nosection.ini b/opnfv_testapi/tests/unit/common/nosection.ini index 9988fc0..cfe587a 100644 --- a/opnfv_testapi/tests/unit/common/nosection.ini +++ b/opnfv_testapi/tests/unit/common/nosection.ini @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + # to add a new parameter in the config file, # the CONF object in config.ini must be updated [api] diff --git a/opnfv_testapi/tests/unit/common/notboolean.ini b/opnfv_testapi/tests/unit/common/notboolean.ini index b3f3276..b717579 100644 --- a/opnfv_testapi/tests/unit/common/notboolean.ini +++ b/opnfv_testapi/tests/unit/common/notboolean.ini @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + # to add a new parameter in the config file, # the CONF object in config.ini must be updated [mongo] diff --git a/opnfv_testapi/tests/unit/common/notint.ini b/opnfv_testapi/tests/unit/common/notint.ini index d1b752a..c915c81 100644 --- a/opnfv_testapi/tests/unit/common/notint.ini +++ b/opnfv_testapi/tests/unit/common/notint.ini @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + # to add a new parameter in the config file, # the CONF object in config.ini must be updated [mongo] diff --git a/opnfv_testapi/tests/unit/common/test_config.py b/opnfv_testapi/tests/unit/common/test_config.py index cc8743c..d8f2262 100644 --- a/opnfv_testapi/tests/unit/common/test_config.py +++ b/opnfv_testapi/tests/unit/common/test_config.py @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + import argparse diff --git a/opnfv_testapi/tests/unit/conftest.py b/opnfv_testapi/tests/unit/conftest.py index feff1da..7adb179 100644 --- a/opnfv_testapi/tests/unit/conftest.py +++ b/opnfv_testapi/tests/unit/conftest.py @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + from os import path import pytest diff --git a/opnfv_testapi/tests/unit/resources/test_project.py b/opnfv_testapi/tests/unit/resources/test_project.py index 0622ba8..e15520b 100644 --- a/opnfv_testapi/tests/unit/resources/test_project.py +++ b/opnfv_testapi/tests/unit/resources/test_project.py @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + import httplib import unittest diff --git a/opnfv_testapi/tests/unit/resources/test_scenario.py b/opnfv_testapi/tests/unit/resources/test_scenario.py index b2bfb86..e878cdd 100644 --- a/opnfv_testapi/tests/unit/resources/test_scenario.py +++ b/opnfv_testapi/tests/unit/resources/test_scenario.py @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + import functools import httplib import json diff --git a/opnfv_testapi/ui/auth/base.py b/opnfv_testapi/ui/auth/base.py index bea87c4..0412fa2 100644 --- a/opnfv_testapi/ui/auth/base.py +++ b/opnfv_testapi/ui/auth/base.py @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + import random import string diff --git a/opnfv_testapi/ui/auth/constants.py b/opnfv_testapi/ui/auth/constants.py index 3cdfe09..502b9d0 100644 --- a/opnfv_testapi/ui/auth/constants.py +++ b/opnfv_testapi/ui/auth/constants.py @@ -1,3 +1,12 @@ +############################################################################## +# Copyright (c) 2019 opnfv. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + OPENID = 'openid' ROLE = 'role' DEFAULT_ROLE = '' |