diff options
author | Jim Hahn <jrh3@att.com> | 2020-03-17 12:18:46 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-03-17 12:21:59 -0400 |
commit | d248ae90bb3fd6dae5c68b1a37b8beee4a44eda5 (patch) | |
tree | bb5de338941ca585578c2619309598ec646c5a9a /tests | |
parent | 068ed190d4248f1038fc9f4d518fa769c7bb597c (diff) |
Add frankfurt to drools-apps CSIT
Issue-ID: POLICY-2434
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I92ce55b8f024e6bb935b21812ceb633976b0ddf8
Diffstat (limited to 'tests')
-rw-r--r-- | tests/policy/drools-applications/drools-applications-test.robot | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/policy/drools-applications/drools-applications-test.robot b/tests/policy/drools-applications/drools-applications-test.robot index 1c9ea1d8..0a41a6c5 100644 --- a/tests/policy/drools-applications/drools-applications-test.robot +++ b/tests/policy/drools-applications/drools-applications-test.robot @@ -27,6 +27,17 @@ Healthcheck Should Be Equal As Strings ${resp.status_code} 200 Should Be Equal As Strings ${resp.json()['healthy']} True +Frankfurt + [Documentation] Checks frankfurt 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/frankfurt/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()['frankfurt']} 0 + Usecases [Documentation] Checks usecases controller is up ${auth}= Create List demo@people.osaaf.org demo123456! |