From 3440942ef2c78e1a8eb07c70c1a03b3834beaecf Mon Sep 17 00:00:00 2001 From: DR695H Date: Thu, 20 Jun 2019 10:56:46 -0400 Subject: move portal, pgn, pnf policy to jinja Issue-ID: TEST-158 Change-Id: Ie27f2cf976e76471bf65f0ffd506a82f0e9caf09 Signed-off-by: DR695H --- robot/resources/portal-sdk/portalDef.robot | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'robot/resources/portal-sdk') diff --git a/robot/resources/portal-sdk/portalDef.robot b/robot/resources/portal-sdk/portalDef.robot index 59808357..3cd2a6f4 100644 --- a/robot/resources/portal-sdk/portalDef.robot +++ b/robot/resources/portal-sdk/portalDef.robot @@ -7,8 +7,8 @@ Library DateTime Library Collections Library StringTemplater Library String +Library ONAPLibrary.Templating -Resource ../json_templater.robot Resource ../browser_setup.robot *** Variables *** @@ -30,7 +30,7 @@ ${GLOBAL_BUILD_NUMBER} 0 ${GLOBAL_VM_PRIVATE_KEY} ${EXECDIR}/robot/assets/keys/robot_ssh_private_key.pvt ${jira} jira ${RESOURCE_PATH} ${PORTAL_URL}/auxapi/ticketevent -${portal_Template} ${CURDIR}/portal.template +${portal_Template} portal/portal.jinja ${download_link_id} 0 @@ -859,7 +859,8 @@ Enhanced Notification on ONAP Portal Notification on ONAP Portal [Documentation] Create Config portal ${configportal}= Create Dictionary jira_id=${jira} - ${output} = Fill JSON Template File ${portal_Template} ${configportal} + Create Environment portal ${GLOBAL_TEMPLATE_FOLDER} + ${output} = Apply Template portal ${portal_Template} ${configportal} ${post_resp} = Enhanced Notification on ONAP Portal ${RESOURCE_PATH} ${output} Should Be Equal As Strings ${post_resp.status_code} 200 -- cgit 1.2.3-korg