diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2023-07-18 06:39:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-07-18 06:39:55 +0000 |
commit | 38bf8bc7d385f1ee984df857f1d9231ce15cbbb5 (patch) | |
tree | 2e95385b0a21a7af15246f7d6bc61f103facb340 /src/onaptests/configuration/basic_onboard_settings.py | |
parent | 7d0468d3c4590fcb9d80dea83f8550dab39b35ae (diff) | |
parent | 939f1933c8635a18de428c696c97cc5d8600abff (diff) |
Merge "Add pylama into checks"
Diffstat (limited to 'src/onaptests/configuration/basic_onboard_settings.py')
-rw-r--r-- | src/onaptests/configuration/basic_onboard_settings.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/onaptests/configuration/basic_onboard_settings.py b/src/onaptests/configuration/basic_onboard_settings.py index d4aa3ec..c4a1a85 100644 --- a/src/onaptests/configuration/basic_onboard_settings.py +++ b/src/onaptests/configuration/basic_onboard_settings.py @@ -6,7 +6,7 @@ from jinja2 import Environment, PackageLoader import onaptests.utils.exceptions as onap_test_exceptions from onaptests.utils.resources import get_resource_location -from .settings import * # pylint: disable=W0614 +from .settings import * # noqa """ Creation of service to onboard""" @@ -33,17 +33,18 @@ def generate_service_config_yaml_file(): with open(SERVICE_YAML_TEMPLATE, 'w+') as file_to_write: file_to_write.write(rendered_template) + """Basic onboard service to only onboard a service in SDC""" # pylint: disable=bad-whitespace # The ONAP part -SERVICE_DETAILS="Onboarding of an Ubuntu VM" -SERVICE_COMPONENTS="SDC" +SERVICE_DETAILS = "Onboarding of an Ubuntu VM" +SERVICE_COMPONENTS = "SDC" -#USE_MULTICLOUD = False +# USE_MULTICLOUD = False # Set ONLY_INSTANTIATE to true to run an instantiation without repeating # onboarding and related AAI configuration (Cloud config) -#ONLY_INSTANTIATE= False +# ONLY_INSTANTIATE= False # if a yaml file is define, retrieve info from this yaml files # if not declare the parameters in the settings @@ -59,8 +60,8 @@ try: except (FileNotFoundError, ValueError): raise onap_test_exceptions.TestConfigurationException -#CLEANUP_FLAG = True -#CLEANUP_ACTIVITY_TIMER = 10 # nb of seconds before cleanup in case cleanup option is set +# CLEANUP_FLAG = True +# CLEANUP_ACTIVITY_TIMER = 10 # nb of seconds before cleanup in case cleanup option is set VENDOR_NAME = "basic_onboard_vendor" MODEL_YAML_TEMPLATE = None |