remove usecases tests
Issue-ID: POLICY-2474
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If69a11c7c690d8a5ac2d3b2a5b81f9d7d5fe5197
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
diff --git a/scripts/policy/config/drools-apps/custom/noop.pre.sh b/scripts/policy/config/drools-apps/custom/noop.pre.sh
index 909d8f4..4b0c219 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 0a41a6c..c3586cf 100644
--- a/tests/policy/drools-applications/drools-applications-test.robot
+++ b/tests/policy/drools-applications/drools-applications-test.robot
@@ -38,14 +38,3 @@
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
-