Add bindingv1 component nickname to NexusKeywords 08/55908/2
authorVratko Polak <vrpolak@cisco.com>
Mon, 24 Apr 2017 14:53:59 +0000 (16:53 +0200)
committerVratko Polak <vrpolak@cisco.com>
Mon, 24 Apr 2017 14:53:59 +0000 (16:53 +0200)
+ Edit the suite to use new shorter nickname.

Change-Id: Ia0fc577dc2a520847f4c255e1f68cc5500c9ce20
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
csit/libraries/NexusKeywords.robot
csit/suites/mdsal/binding_v1/binding-parent.robot

index 2441000568d95d4a3f6f60a6ffe3d65e54dc5e8c..8d73afabf936e25050aceb5167e247fbb166bf2e 100644 (file)
@@ -22,7 +22,7 @@ Resource          ${CURDIR}/SSHKeywords.robot
 Resource          ${CURDIR}/Utils.robot
 
 *** Variables ***
-&{COMPONENT_MAPPING}    netconf=netconf-impl    bgpcep=pcep-impl    yangtools=yang-data-impl    carpeople=clustering-it-model
+&{COMPONENT_MAPPING}    netconf=netconf-impl    bgpcep=pcep-impl    carpeople=clustering-it-model    yangtools=yang-data-impl    bindingv1=mdsal-binding-generator-impl
 ${JDKVERSION}     None
 ${JAVA_7_HOME_CENTOS}    /usr/lib/jvm/java-1.7.0
 ${JAVA_7_HOME_UBUNTU}    /usr/lib/jvm/java-7-openjdk-amd64
index ef2535e0069ae4278a1d8a5aba3fdbf61e7d2cff..0cc1e6cc2d61b225483b7659516e06e6a50d70e3 100644 (file)
@@ -46,9 +46,9 @@ Kill_Odl
 
 Detect_Config_Version
     [Documentation]    Examine ODL installation to figure out which version of binding-parent should be used.
-    ...    Parent poms are not present in Karaf installation, and NexusKeywords assumes we want an artifact ending with -impl,
-    ...    so mdsal-binding-generator is given as a component version of which we are interested in.
-    ${version}    ${location} =    NexusKeywords.NexusKeywords__Detect_Version_To_Pull    component=mdsal-binding-generator
+    ...    Parent poms are not present in Karaf installation, so NexusKeywords search for a component
+    ...    associated with bindingv1 nickname.
+    ${version}    ${location} =    NexusKeywords.NexusKeywords__Detect_Version_To_Pull    component=bindingv1
     BuiltIn.Set_Suite_Variable    \${binding_parent_version}    ${version}
 
 Install_Maven