aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-05-21 08:08:06 -0500
committerBrian Freeman <bf1936@att.com>2019-05-21 13:10:09 +0000
commit0998838495c9245a544c61a5c6581dd0e3f20108 (patch)
tree6c5fa0ead4f7d33cb88c7a0a53eade0ca62d9347
parenta779b7c94ee08973113217e690bd3ec78e577c22 (diff)
Removed duplicate keyword in policy
Issue-ID: POLICY-1685 Change-Id: I4c05348a4c06811962651ac47d81bb5762d45aa4 Signed-off-by: Brian Freeman <bf1936@att.com>
-rw-r--r--robot/resources/policy_interface.robot21
1 files changed, 0 insertions, 21 deletions
diff --git a/robot/resources/policy_interface.robot b/robot/resources/policy_interface.robot
index fc2a2059..43b0b56f 100644
--- a/robot/resources/policy_interface.robot
+++ b/robot/resources/policy_interface.robot
@@ -224,23 +224,6 @@ Create vFirewall Monitoring Policy
${resp}= Run Policy Api Post Request /policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies ${data}
Should Be Equal As Strings ${resp.status_code} 200
-
-Create vFirewall Operational Policy
- [Arguments] ${resource_id}
- ${dict}= Create Dictionary RESOURCE_ID=${resource_id}
- #vFirewall_policy_operational_content.yaml
- #vFirewall_policy_operational_url_enc_content_input.template
- ${content_data} OperatingSystem.Get File ${POLICY_TEMPLATES}/vFirewall_policy_operational_content.yaml
- ${content_data}= Replace String Using Regexp ${content_data} ${RESOURCE_ID} ${resource_id}
- ${encoded_content_data}= Evaluate urllib.urlencode('''${content_data}''') urllib
- ${content_dictionary}= Create Dictionary URL_ENCODED_CONTENT {$encoded_content_data}
- ${data_2}= Fill JSON Template File ${POLICY_TEMPLATES}/vFirewall_policy_operational_url_enc_content_input.template ${dict_2}
- Log To Console ${data_2}
- ${data}= Fill JSON Template File ${POLICY_TEMPLATES}/vFirewall_policy_operational_input.template ${dict}
- ${resp}= Run Policy Api Post Request /policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies ${data}
- Should Be Equal As Strings ${resp.status_code} 200
- [Return] ${resp.json()['policy-version']}
-
Create vFirewall Operational Policy
[Arguments] ${resource_id}
${dict}= Create Dictionary RESOURCE_ID=${resource_id}
@@ -259,10 +242,6 @@ Create vFirewall Operational Policy
Should Be Equal As Strings ${resp.status_code} 200
[Return] ${resp.json()['policy-version']}
-
-
-
-
Push vFirewall Policies To PDP Group
[Arguments] ${op_policy_version}
${dict}= Create Dictionary OP_POLICY_VERSION=${op_policy_version}