From 5576a927ee2999f6bfa48219941c5c16693a9967 Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Thu, 18 Feb 2021 16:24:58 +0000 Subject: Update CSIT to check for 202 response during PAP Deployment Xacml pdp-type is now configurable - added it to the config file. Change-Id: I026f62efb8eb07b4e4ca42cf34f8ca2af9662df6 Issue-ID: POLICY-2526 Signed-off-by: a.sreekumar Signed-off-by: Jim Hahn --- tests/policy/drools-applications/drools-applications-test.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/policy/drools-applications') diff --git a/tests/policy/drools-applications/drools-applications-test.robot b/tests/policy/drools-applications/drools-applications-test.robot index 0b73ccf8..2ab05810 100644 --- a/tests/policy/drools-applications/drools-applications-test.robot +++ b/tests/policy/drools-applications/drools-applications-test.robot @@ -122,7 +122,7 @@ DeployXacmlPolicies ${headers}= Create Dictionary Accept=application/json Content-Type=application/json ${resp}= Post Request policy /policy/pap/v1/pdps/deployments/batch data=${postjson} headers=${headers} Log Received response from pap ${resp.text} - Should Be Equal As Strings ${resp.status_code} 200 + Should Be Equal As Strings ${resp.status_code} 202 ${result}= Run Process ${SCR2}/wait_topic.sh POLICY-PDP-PAP ... responseTo xacml ACTIVE restart Log Received status ${result.stdout} @@ -140,7 +140,7 @@ DeployDroolsPolicies ${headers}= Create Dictionary Accept=application/json Content-Type=application/json ${resp}= Post Request policy /policy/pap/v1/pdps/deployments/batch data=${postjson} headers=${headers} Log Received response from pap ${resp.text} - Should Be Equal As Strings ${resp.status_code} 200 + Should Be Equal As Strings ${resp.status_code} 202 ${result}= Run Process ${SCR2}/wait_topic.sh POLICY-PDP-PAP ... responseTo drools ACTIVE Log Received status ${result.stdout} -- cgit 1.2.3-korg