diff options
author | Brian Freeman <bf1936@att.com> | 2020-05-05 09:07:15 -0500 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2020-05-05 09:07:25 -0500 |
commit | bb58461fbc21a3dee052efd411de3d72a04ec270 (patch) | |
tree | 1857ca9522ef37c795447f68c9f8face2911d7fb /robot/resources/policy_interface.robot | |
parent | 5c9a4619cec915e5f87a1e0d6fb85bba7e3d3bc9 (diff) |
Updates for Policy Version Changes
Issue-ID: INT-1350
Change-Id: I4c5956467b7e674546f89678921342cb7dd3e19c
Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/policy_interface.robot')
-rw-r--r-- | robot/resources/policy_interface.robot | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/robot/resources/policy_interface.robot b/robot/resources/policy_interface.robot index f3d40219..71311a81 100644 --- a/robot/resources/policy_interface.robot +++ b/robot/resources/policy_interface.robot @@ -164,7 +164,7 @@ Run Policy Get Configs Request Update vVFWCL Policy [Arguments] ${resource_id} Log Create vFWCL Monitoring Policy - Create vFirewall Monitoring Policy + Create vFirewall Monitoring Policy ${resource_id} Sleep 5s Log Create vFWCL Operational Policy ${op_policy_version}= Create vFirewall Operational Policy ${resource_id} @@ -210,7 +210,8 @@ Validate the vFWCL Policy Should Be Equal As Strings ${resp.status_code} 200 Create vFirewall Monitoring Policy - ${dict}= Create Dictionary + [Arguments] ${resource_id} + ${dict}= Create Dictionary RESOURCE_ID=${resource_id} Templating.Create Environment policy ${GLOBAL_TEMPLATE_FOLDER} ${data}= Templating.Apply Template policy ${POLICY_TEMPLATES}/vFirewall_policy_monitoring_input_tosca.jinja ${dict} ${resp}= Run Policy Api Post Request /policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies ${data} |