diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2020-04-06 15:24:54 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2020-04-06 15:44:06 -0500 |
commit | 8f511c00515f70ae548fae14e84178f5c674fced (patch) | |
tree | 89953d086b8fb648688e44b8f169972104b71867 | |
parent | 13b7d05f2c457cea4a5f78fe4dbb6d1d99a6f450 (diff) |
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>
-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 - |