diff options
-rwxr-xr-x | scripts/policy/config/drools-apps/custom/noop.pre.sh | 6 | ||||
-rw-r--r-- | tests/policy/drools-applications/drools-applications-test.robot | 11 |
2 files changed, 2 insertions, 15 deletions
diff --git a/scripts/policy/config/drools-apps/custom/noop.pre.sh b/scripts/policy/config/drools-apps/custom/noop.pre.sh index 909d8f48..4b0c2199 100755 --- a/scripts/policy/config/drools-apps/custom/noop.pre.sh +++ b/scripts/policy/config/drools-apps/custom/noop.pre.sh @@ -18,10 +18,8 @@ sed -i "s/^dmaap/noop/g" \ ${POLICY_HOME}/config/engine.properties \ ${POLICY_HOME}/config/feature-lifecycle.properties \ - ${POLICY_HOME}/config/frankfurt-controller.properties \ - ${POLICY_HOME}/config/usecases-controller.properties + ${POLICY_HOME}/config/frankfurt-controller.properties chmod 644 ${POLICY_HOME}/config/engine.properties \ ${POLICY_HOME}/config/feature-lifecycle.properties \ - ${POLICY_HOME}/config/frankfurt-controller.properties \ - ${POLICY_HOME}/config/usecases-controller.properties + ${POLICY_HOME}/config/frankfurt-controller.properties diff --git a/tests/policy/drools-applications/drools-applications-test.robot b/tests/policy/drools-applications/drools-applications-test.robot index 0a41a6c5..c3586cfa 100644 --- a/tests/policy/drools-applications/drools-applications-test.robot +++ b/tests/policy/drools-applications/drools-applications-test.robot @@ -38,14 +38,3 @@ Frankfurt Should Be Equal As Strings ${resp.status_code} 200 Should Be Equal As Strings ${resp.json()['frankfurt']} 0 -Usecases - [Documentation] Checks usecases controller is up - ${auth}= Create List demo@people.osaaf.org demo123456! - Log Creating session https://${POLICY_DROOLS_IP}:9696 - ${session}= Create Session policy https://${POLICY_DROOLS_IP}:9696 auth=${auth} - ${headers}= Create Dictionary Accept=application/json Content-Type=application/json - ${resp}= Get Request policy /policy/pdp/engine/controllers/usecases/drools/facts headers=${headers} - Log Received response from policy ${resp.text} - Should Be Equal As Strings ${resp.status_code} 200 - Should Be Equal As Strings ${resp.json()['usecases']} 0 - |