From 576fa380d748395c1d8188dfa816d110dab8f146 Mon Sep 17 00:00:00 2001 From: mrichomme Date: Tue, 22 Sep 2020 17:28:22 +0200 Subject: Prepare python package to integrate it in xtesting docker - creation of entrypoint - include templates in the package - complete requirements Open question for integration python reviewers: - I was not able with the MANIFEST to use the template directory until I put it in the package tree. I am not sure it is very nice.. Maybe it is not the right way, we could simply copy the templates in the docker rather than including them as part of the python package.. Note: I retested the ubuntu16 (onboarding/deployment/instantiation) on the Daily Master Issue-ID: TEST-258 Signed-off-by: mrichomme Change-Id: I26f3e959b9c5e341ab197a6c519ca87e31921921 Signed-off-by: mrichomme --- src/onaptests/configuration/ubuntu16_nomulticloud_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/onaptests/configuration') diff --git a/src/onaptests/configuration/ubuntu16_nomulticloud_settings.py b/src/onaptests/configuration/ubuntu16_nomulticloud_settings.py index 3f410c0..360a8bf 100644 --- a/src/onaptests/configuration/ubuntu16_nomulticloud_settings.py +++ b/src/onaptests/configuration/ubuntu16_nomulticloud_settings.py @@ -12,7 +12,7 @@ USE_MULTICLOUD = False # Set ONLY_INSTANTIATE to true to run an instantiation without repeating # onboarding and related AAI configuration (Cloud config) ONLY_INSTANTIATE= False -SERVICE_YAML_TEMPLATE = "templates/vnf-services/ubuntu16test-service.yaml" +SERVICE_YAML_TEMPLATE = "src/onaptests/templates/vnf-services/ubuntu16test-service.yaml" CLEANUP_FLAG = True CLEANUP_ACTIVITY_TIMER = 10 # nb of seconds before cleanup in case cleanup option is set VENDOR_NAME = "basicvm_vendor" @@ -45,7 +45,7 @@ PLATFORM = "basicvm-platform" SERVICE_INSTANCE_NAME = "basicvm_ubuntu16_service_instance" -VSP_FILE_PATH = "templates/heat_files/ubuntu16/ubuntu16.zip" +VSP_FILE_PATH = "src/onaptests/templates/templates/heat_files/ubuntu16/ubuntu16.zip" # The cloud Part -- cgit 1.2.3-korg