aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/sdngc_interface.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-05-22 17:21:38 -0400
committerDR695H <dr695h@att.com>2019-05-22 17:22:10 -0400
commitfcb0ee8d040a947b4dabacd66a5f2bf273c05aa6 (patch)
tree67d697eb3370108f183d1728170ad8044612032c /robot/resources/sdngc_interface.robot
parent06fa4eea900ad5a5686271985e5946feded822b9 (diff)
removing servicemapping.py
everything is in demo folder now Change-Id: Ib2fc57c7a3912526b51c8bd8e3a99451281c72a6 Issue-ID: TEST-157 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/sdngc_interface.robot')
-rw-r--r--robot/resources/sdngc_interface.robot6
1 files changed, 4 insertions, 2 deletions
diff --git a/robot/resources/sdngc_interface.robot b/robot/resources/sdngc_interface.robot
index 0570be8a..d4a16ac9 100644
--- a/robot/resources/sdngc_interface.robot
+++ b/robot/resources/sdngc_interface.robot
@@ -7,11 +7,12 @@ Library SeleniumLibrary
Library Collections
Library String
Library StringTemplater
+Library ONAPLibrary.ServiceMapping
+
Resource global_properties.robot
Resource ../resources/json_templater.robot
Resource browser_setup.robot
-Variables ../assets/service_mappings.py
*** Variables ***
${PRELOAD_VNF_TOPOLOGY_OPERATION_PATH} /operations/VNF-API:preload-vnf-topology-operation
@@ -85,7 +86,8 @@ Preload Vnf
[Arguments] ${service_type_uuid} ${generic_vnf_name} ${generic_vnf_type} ${vf_module_name} ${vf_modules} ${service} ${uuid}
${base_vf_module_type}= Catenate
${closedloop_vf_module}= Create Dictionary
- ${templates}= Get From Dictionary ${GLOBAL_SERVICE_TEMPLATE_MAPPING} ${service}
+ Set Directory default ./demo/service_mapping
+ ${templates}= Get Service Template Mapping default ${service} ${generic_vnf_type}
:FOR ${vf_module} IN @{vf_modules}
\ ${vf_module_type}= Get From Dictionary ${vf_module} name
# need to pass in vnf_index if non-zero