| *** Settings *** |
| Documentation Integration tests for PRH. |
| ... PRH receive events from DMaaP and produce or not PNF_READY notification depends on required fields in received event. PRH comunicates with AAI and DMaaP through SSL |
| Suite Setup Run keywords Create header AND Create sessions AND Ensure Container Is Running ssl_prh AND Ensure Container Is Exited prh |
| Suite Teardown Ensure Container Is Running prh |
| Test Teardown Reset Simulators |
| Library resources/PrhLibrary.py |
| Resource resources/prh_library.robot |
| Resource ../../common.robot |
| |
| *** Variables *** |
| ${DMAAP_SIMULATOR_SETUP_URL} http://${DMAAP_SIMULATOR_SETUP} |
| ${AAI_SIMULATOR_SETUP_URL} http://${AAI_SIMULATOR_SETUP} |
| ${CONSUL_SETUP_URL} http://${CONSUL_SETUP} |
| |
| ${VES_EVENT_PNF_REGISTRATION_SIMPLE} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/ves-event-pnf-registration-simple.json |
| ${AAI_PNF_REGISTRATION_SIMPLE} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/aai-pnf-registration-simple.json |
| ${EVENT_WITH_ALL_VALID_REQUIRED_FIELDS} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json |
| ${EVENT_WITH_IPV4} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV4.json |
| ${EVENT_WITH_IPV6} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json |
| ${EVENT_WITHOUT_IPV6_FILED} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_without_IPV6_field.json |
| |
| *** Test Cases *** |
| Valid DMaaP event can be converted to PNF_READY notification with ssl connection to AAI |
| [Documentation] PRH get valid event from DMaaP with required fields - PRH produce PNF_READY notification |
| [Tags] PRH Valid event |
| [Template] Valid event processing |
| ${VES_EVENT_PNF_REGISTRATION_SIMPLE} ${AAI_PNF_REGISTRATION_SIMPLE} |
| #${EVENT_WITH_ALL_VALID_REQUIRED_FIELDS} |
| #${EVENT_WITH_IPV4} |
| #${EVENT_WITH_IPV6} |
| #${EVENT_WITHOUT_IPV6_FILED} |