remove usecases tests 80/105180/2
authorjhh <jorge.hernandez-herrero@att.com>
Mon, 6 Apr 2020 20:24:54 +0000 (15:24 -0500)
committerjhh <jorge.hernandez-herrero@att.com>
Mon, 6 Apr 2020 20:44:06 +0000 (15:44 -0500)
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>
scripts/policy/config/drools-apps/custom/noop.pre.sh
tests/policy/drools-applications/drools-applications-test.robot

index 909d8f4..4b0c219 100755 (executable)
 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
index 0a41a6c..c3586cf 100644 (file)
@@ -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
-