*** Keywords ***
Create headers
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
- Set Global Variable ${global_headers} ${headers}
+ Set Suite Variable ${global_headers} ${headers}
Create sessions
Create Session dmaap_session ${DMAAP_SIMULATOR_URL}
- Set Global Variable ${global_dmaap_session} dmaap_session
+ Set Suite Variable ${global_dmaap_session} dmaap_session
Create Session aai_session ${AAI_SIMULATOR_URL}
- Set Global Variable ${global_aai_session} aai_session
+ Set Suite Variable ${global_aai_session} aai_session
Invalid event processing
[Arguments] ${input_invalid_event_in_dmaap}
Set pnf name in AAI ${pnf_name}
Set event in DMAAP ${input_valid_event_in_dmaap}
Wait Until Keyword Succeeds 100x 300ms Check PNF_READY notification ${posted_event_to_dmaap}
-
+
Check PRH log
[Arguments] ${searched_log}
${status}= Check for log ${searched_log}
Should Be Equal As Strings ${status} True
-
+
Check PNF_READY notification
[Arguments] ${posted_event_to_dmaap}
${resp}= Get Request ${global_dmaap_session} /events/pnfReady headers=${global_headers}