aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/policy_interface.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-10 10:13:58 -0400
committerDR695H <dr695h@att.com>2019-07-10 10:13:58 -0400
commit8e7028b3ee4d18ec1916f9a68dd8587377452376 (patch)
treedf508dada6bd9a2ade634aadfdb16c0cd250a2a5 /robot/resources/policy_interface.robot
parent8ade70bdca03a5c5e3f46df70f75549de4d7b9d8 (diff)
remove log to console
log to console doesnt show things in the log files and so isnt viewable in jenkins. If console is really needed, add console=True to Log keyword Issue-ID: TEST-173 Change-Id: I9f736eab99120c4b7c32b55fd6c5e0f823e7b734 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/policy_interface.robot')
-rw-r--r--robot/resources/policy_interface.robot18
1 files changed, 9 insertions, 9 deletions
diff --git a/robot/resources/policy_interface.robot b/robot/resources/policy_interface.robot
index c326760f..077edd75 100644
--- a/robot/resources/policy_interface.robot
+++ b/robot/resources/policy_interface.robot
@@ -144,30 +144,30 @@ Update vVFWCL Policy Old
[Arguments] ${resource_id}
Run Keyword and Ignore Error Delete vFWCL Policy
Sleep 20s
- Log To Console Create vFWCL Policy
+ Log Create vFWCL Policy
Create vFWCL Policy ${resource_id}
Sleep 5s
- Log To Console Push vFWCL Policy
+ Log Push vFWCL Policy
Push vFWCL Policy
Sleep 20s
- Log To Console Reboot Drools
+ Log Reboot Drools
Reboot Drools
Sleep 20s
- Log To Console Validate vFWCL Policy
+ Log Validate vFWCL Policy
Validate the vFWCL Policy Old
Update vVFWCL Policy
[Arguments] ${resource_id}
- Log To Console Create vFWCL Monitoring Policy
+ Log Create vFWCL Monitoring Policy
Create vFirewall Monitoring Policy
Sleep 5s
- Log To Console Create vFWCL Operational Policy
+ Log Create vFWCL Operational Policy
${op_policy_version}= Create vFirewall Operational Policy ${resource_id}
Sleep 5s
- Log To Console Push vFWCL To PDP Group
+ Log Push vFWCL To PDP Group
Push vFirewall Policies To PDP Group ${op_policy_version}
Sleep 20s
- Log To Console Validate vFWCL Policy
+ Log Validate vFWCL Policy
Validate the vFWCL Policy
@@ -235,7 +235,7 @@ Create vFirewall Operational Policy
${encoded_content_data}= Evaluate urllib.quote_plus('''${content_data}''') urllib
${content_dictionary}= Create Dictionary URL_ENCODED_CONTENT ${encoded_content_data}
${data_2}= Apply Template policy ${POLICY_TEMPLATES}/vFirewall_policy_operational_url_enc_content_input.jinja ${content_dictionary}
- Log To Console ${data_2}
+ Log ${data_2}
${resp}= Run Policy Api Post Request /policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies ${data_2}
Should Be Equal As Strings ${resp.status_code} 200
[Return] ${resp.json()['policy-version']}