diff options
author | DR695H <dr695h@att.com> | 2019-06-20 10:56:46 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-06-20 10:56:46 -0400 |
commit | 3440942ef2c78e1a8eb07c70c1a03b3834beaecf (patch) | |
tree | 05aea2ab56cd115ca726b1fd5f6e922c70e45d9a /robot/resources/portal-sdk | |
parent | 369e51562f068d5e653211902efc69220508eca1 (diff) |
move portal, pgn, pnf policy to jinja
Issue-ID: TEST-158
Change-Id: Ie27f2cf976e76471bf65f0ffd506a82f0e9caf09
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/portal-sdk')
-rw-r--r-- | robot/resources/portal-sdk/portalDef.robot | 7 |
1 files changed, 4 insertions, 3 deletions
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 |