From 78ef07a83d132389746f05eef6e83e5ba301b07c Mon Sep 17 00:00:00 2001 From: grabinsk Date: Mon, 6 May 2019 11:26:25 +0200 Subject: [PATCH] Checking that CBS is registered in consul Change-Id: I9bd1e275d7212aab09a43a654a2f10af389c28d6 Issue-ID: INT-989 Signed-off-by: grabinsk --- tests/dcaegen2/prh-testcases/resources/prh_library.robot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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} -- 2.16.6