non template files in templating directory need full path 67/95267/1 1.5.2
authorDR695H <dr695h@att.com>
Mon, 9 Sep 2019 20:17:07 +0000 (16:17 -0400)
committerDR695H <dr695h@att.com>
Mon, 9 Sep 2019 20:17:07 +0000 (16:17 -0400)
Issue-ID: TEST-199
Change-Id: I83eeb1d90b1a945b2c4c5466a76dd5131803e324
Signed-off-by: DR695H <dr695h@att.com>
robot/resources/policy_interface.robot

index 57ac0da..9686764 100644 (file)
@@ -196,7 +196,7 @@ Create vFirewall Operational Policy
     [Arguments]   ${resource_id}
     ${dict}=   Create Dictionary   RESOURCE_ID=${resource_id}
     Templating.Create Environment    policy    ${GLOBAL_TEMPLATE_FOLDER}
-    ${content_data}    OperatingSystem.Get File    ${POLICY_TEMPLATES}/vFirewall_policy_operational_content.yaml
+    ${content_data}    OperatingSystem.Get File    ${GLOBAL_TEMPLATE_FOLDER}/${POLICY_TEMPLATES}/vFirewall_policy_operational_content.yaml
     ${content_data}=    Replace String Using Regexp   ${content_data}    __RESOURCE_ID__     ${resource_id}
     ${encoded_content_data}=    Evaluate    urllib.quote_plus('''${content_data}''')   urllib
     ${content_dictionary}=   Create Dictionary    URL_ENCODED_CONTENT    ${encoded_content_data}