From: grabinsk Date: Mon, 6 May 2019 09:26:25 +0000 (+0200) Subject: Checking that CBS is registered in consul X-Git-Tag: 6.0.0-ONAP~300 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=78ef07a83d132389746f05eef6e83e5ba301b07c;p=integration%2Fcsit.git Checking that CBS is registered in consul Change-Id: I9bd1e275d7212aab09a43a654a2f10af389c28d6 Issue-ID: INT-989 Signed-off-by: grabinsk --- diff --git a/tests/dcaegen2/prh-testcases/resources/prh_library.robot b/tests/dcaegen2/prh-testcases/resources/prh_library.robot index 74c3c5d2..0727169d 100644 --- a/tests/dcaegen2/prh-testcases/resources/prh_library.robot +++ b/tests/dcaegen2/prh-testcases/resources/prh_library.robot @@ -1,5 +1,6 @@ *** Settings *** Library RequestsLibrary +Library Collections Library PrhLibrary.py Resource ../../../common.robot @@ -54,9 +55,10 @@ Verify AAI not responding is logged Ensure Container Is Running aai_simulator Check CBS ready - ${resp}= Get Request ${consul_setup_session} /v1/catalog/service/cbs + ${resp}= Get Request ${consul_setup_session} /v1/catalog/services Should Be Equal As Strings ${resp.status_code} 200 - Log CBS ${resp.content} + Log Service Catalog response: ${resp.content} + Dictionary Should Contain Key ${resp.json()} cbs |Consul service catalog should contain CBS entry Check recorded PNF_READY notification [Arguments] ${expected_event_pnf_ready_in_dpaap}