commit | 3f9a0960ae775678d1e1d4b598b593b59146cb0f | [log] [tgz] |
---|---|---|
author | pdragosh <pdragosh@research.att.com> | Tue Apr 16 13:19:45 2019 -0400 |
committer | jhh <jorge.hernandez-herrero@att.com> | Thu Apr 18 22:52:14 2019 -0500 |
tree | 5fb1c4b7cd581b8ca136b509dfff059b2bebc069 | |
parent | 898e2cb62a58a6c8fe851bb6c41e9ae61ac9ace0 [diff] |
Finish drools CSIT infra Basic health check for now. Need to have ci-management jobs enabled for this to work on every merge. Cleaning out unused scripts and mock server. Renaming policy engine script so its obvious that is what it is for. Issue-ID: POLICY-1651 Change-Id: I469823795d4a9f5531d150610ba2ed0b75585677 Signed-off-by: pdragosh <pdragosh@research.att.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> Signed-off-by: pdragosh <pdragosh@research.att.com> Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
diff --git a/tests/policy/drools-applications/drools-applications-test.robot b/tests/policy/drools-applications/drools-applications-test.robot new file mode 100644 index 0000000..cf4d3ce --- /dev/null +++ b/tests/policy/drools-applications/drools-applications-test.robot
@@ -0,0 +1,17 @@ +*** Settings *** +Library Collections +Library RequestsLibrary +Library OperatingSystem +Library json + +*** Test Cases *** +Alive + [Documentation] Runs Policy PDP Alive Check + ${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 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()['alive']} True
diff --git a/tests/policy/suite1/Policy-CSIT.robot b/tests/policy/engine/Policy-CSIT.robot similarity index 100% rename from tests/policy/suite1/Policy-CSIT.robot rename to tests/policy/engine/Policy-CSIT.robot
diff --git a/tests/policy/suite1/__init__.robot b/tests/policy/engine/__init__.robot similarity index 100% rename from tests/policy/suite1/__init__.robot rename to tests/policy/engine/__init__.robot
diff --git a/tests/policy/suite1/configpolicy_vCPE.template b/tests/policy/engine/configpolicy_vCPE.template similarity index 100% rename from tests/policy/suite1/configpolicy_vCPE.template rename to tests/policy/engine/configpolicy_vCPE.template
diff --git a/tests/policy/suite1/configpolicy_vCPE_R1.template b/tests/policy/engine/configpolicy_vCPE_R1.template similarity index 100% rename from tests/policy/suite1/configpolicy_vCPE_R1.template rename to tests/policy/engine/configpolicy_vCPE_R1.template
diff --git a/tests/policy/suite1/configpolicy_vDNS.template b/tests/policy/engine/configpolicy_vDNS.template similarity index 100% rename from tests/policy/suite1/configpolicy_vDNS.template rename to tests/policy/engine/configpolicy_vDNS.template
diff --git a/tests/policy/suite1/configpolicy_vDNS_R1.template b/tests/policy/engine/configpolicy_vDNS_R1.template similarity index 100% rename from tests/policy/suite1/configpolicy_vDNS_R1.template rename to tests/policy/engine/configpolicy_vDNS_R1.template
diff --git a/tests/policy/suite1/configpolicy_vFW.template b/tests/policy/engine/configpolicy_vFW.template similarity index 100% rename from tests/policy/suite1/configpolicy_vFW.template rename to tests/policy/engine/configpolicy_vFW.template
diff --git a/tests/policy/suite1/configpolicy_vFW_R1.template b/tests/policy/engine/configpolicy_vFW_R1.template similarity index 100% rename from tests/policy/suite1/configpolicy_vFW_R1.template rename to tests/policy/engine/configpolicy_vFW_R1.template
diff --git a/tests/policy/suite1/createpolicy.template b/tests/policy/engine/createpolicy.template similarity index 100% rename from tests/policy/suite1/createpolicy.template rename to tests/policy/engine/createpolicy.template
diff --git a/tests/policy/suite1/deletepolicy.template b/tests/policy/engine/deletepolicy.template similarity index 100% rename from tests/policy/suite1/deletepolicy.template rename to tests/policy/engine/deletepolicy.template
diff --git a/tests/policy/suite1/getconfigpolicy.template b/tests/policy/engine/getconfigpolicy.template similarity index 100% rename from tests/policy/suite1/getconfigpolicy.template rename to tests/policy/engine/getconfigpolicy.template
diff --git a/tests/policy/suite1/getoofpolicy.template b/tests/policy/engine/getoofpolicy.template similarity index 100% rename from tests/policy/suite1/getoofpolicy.template rename to tests/policy/engine/getoofpolicy.template
diff --git a/tests/policy/suite1/global_properties.robot b/tests/policy/engine/global_properties.robot similarity index 100% rename from tests/policy/suite1/global_properties.robot rename to tests/policy/engine/global_properties.robot
diff --git a/tests/policy/suite1/json_templater.robot b/tests/policy/engine/json_templater.robot similarity index 100% rename from tests/policy/suite1/json_templater.robot rename to tests/policy/engine/json_templater.robot
diff --git a/tests/policy/suite1/listpolicy.template b/tests/policy/engine/listpolicy.template similarity index 100% rename from tests/policy/suite1/listpolicy.template rename to tests/policy/engine/listpolicy.template
diff --git a/tests/policy/suite1/multiple_pushpolicy.template b/tests/policy/engine/multiple_pushpolicy.template similarity index 100% rename from tests/policy/suite1/multiple_pushpolicy.template rename to tests/policy/engine/multiple_pushpolicy.template
diff --git a/tests/policy/suite1/multiple_unpushpolicy.template b/tests/policy/engine/multiple_unpushpolicy.template similarity index 100% rename from tests/policy/suite1/multiple_unpushpolicy.template rename to tests/policy/engine/multiple_unpushpolicy.template
diff --git a/tests/policy/suite1/oofpolicy_HPA_R1.template b/tests/policy/engine/oofpolicy_HPA_R1.template similarity index 100% rename from tests/policy/suite1/oofpolicy_HPA_R1.template rename to tests/policy/engine/oofpolicy_HPA_R1.template
diff --git a/tests/policy/suite1/opspolicy_VDNS.template b/tests/policy/engine/opspolicy_VDNS.template similarity index 100% rename from tests/policy/suite1/opspolicy_VDNS.template rename to tests/policy/engine/opspolicy_VDNS.template
diff --git a/tests/policy/suite1/opspolicy_VDNS_R1.template b/tests/policy/engine/opspolicy_VDNS_R1.template similarity index 100% rename from tests/policy/suite1/opspolicy_VDNS_R1.template rename to tests/policy/engine/opspolicy_VDNS_R1.template
diff --git a/tests/policy/suite1/opspolicy_VFW.template b/tests/policy/engine/opspolicy_VFW.template similarity index 100% rename from tests/policy/suite1/opspolicy_VFW.template rename to tests/policy/engine/opspolicy_VFW.template
diff --git a/tests/policy/suite1/opspolicy_VFW_R1.template b/tests/policy/engine/opspolicy_VFW_R1.template similarity index 100% rename from tests/policy/suite1/opspolicy_VFW_R1.template rename to tests/policy/engine/opspolicy_VFW_R1.template
diff --git a/tests/policy/suite1/opspolicy_vCPE.template b/tests/policy/engine/opspolicy_vCPE.template similarity index 100% rename from tests/policy/suite1/opspolicy_vCPE.template rename to tests/policy/engine/opspolicy_vCPE.template
diff --git a/tests/policy/suite1/opspolicy_vCPE_R1.template b/tests/policy/engine/opspolicy_vCPE_R1.template similarity index 100% rename from tests/policy/suite1/opspolicy_vCPE_R1.template rename to tests/policy/engine/opspolicy_vCPE_R1.template
diff --git a/tests/policy/suite1/opspolicy_vOLTE.template b/tests/policy/engine/opspolicy_vOLTE.template similarity index 100% rename from tests/policy/suite1/opspolicy_vOLTE.template rename to tests/policy/engine/opspolicy_vOLTE.template
diff --git a/tests/policy/suite1/opspolicy_vOLTE_R1.template b/tests/policy/engine/opspolicy_vOLTE_R1.template similarity index 100% rename from tests/policy/suite1/opspolicy_vOLTE_R1.template rename to tests/policy/engine/opspolicy_vOLTE_R1.template
diff --git a/tests/policy/suite1/policy_interface.robot b/tests/policy/engine/policy_interface.robot similarity index 100% rename from tests/policy/suite1/policy_interface.robot rename to tests/policy/engine/policy_interface.robot
diff --git a/tests/policy/suite1/pushpolicy.template b/tests/policy/engine/pushpolicy.template similarity index 100% rename from tests/policy/suite1/pushpolicy.template rename to tests/policy/engine/pushpolicy.template
diff --git a/tests/policy/suite1/sdncnamingpolicy_vFW.template b/tests/policy/engine/sdncnamingpolicy_vFW.template similarity index 100% rename from tests/policy/suite1/sdncnamingpolicy_vFW.template rename to tests/policy/engine/sdncnamingpolicy_vFW.template
diff --git a/tests/policy/suite1/sdncnamingpolicy_vPG.template b/tests/policy/engine/sdncnamingpolicy_vPG.template similarity index 100% rename from tests/policy/suite1/sdncnamingpolicy_vPG.template rename to tests/policy/engine/sdncnamingpolicy_vPG.template