blob: 111a4fbd9b72f4af3447b01b210aa9eb136861da [file] [log] [blame]
pkaras55d36862018-10-17 15:08:34 +02001*** Settings ***
2Documentation Integration tests for PRH.
pkarasc7abba82018-10-22 12:22:35 +02003... 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
4Suite Setup Run keywords Create header AND Create sessions AND Ensure Container Is Running ssl_prh AND Ensure Container Is Exited prh
5Suite Teardown Ensure Container Is Running prh
6Test Teardown Reset Simulators
pkaras55d36862018-10-17 15:08:34 +02007Library resources/PrhLibrary.py
8Resource resources/prh_library.robot
9Resource ../../common.robot
10
11*** Variables ***
pkarasc7abba82018-10-22 12:22:35 +020012${DMAAP_SIMULATOR_SETUP_URL} http://${DMAAP_SIMULATOR_SETUP}
pkaras55d36862018-10-17 15:08:34 +020013${AAI_SIMULATOR_SETUP_URL} http://${AAI_SIMULATOR_SETUP}
Marcin Migdalf969c742019-04-05 11:47:19 +020014
15${VES_EVENT_PNF_REGISTRATION_SIMPLE} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/ves-event-pnf-registration-simple.json
pkaras55d36862018-10-17 15:08:34 +020016${EVENT_WITH_ALL_VALID_REQUIRED_FIELDS} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json
17${EVENT_WITH_IPV4} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV4.json
18${EVENT_WITH_IPV6} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json
pkaras55d36862018-10-17 15:08:34 +020019${EVENT_WITHOUT_IPV6_FILED} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_without_IPV6_field.json
pkaras55d36862018-10-17 15:08:34 +020020
21*** Test Cases ***
pkarasc7abba82018-10-22 12:22:35 +020022Valid DMaaP event can be converted to PNF_READY notification with ssl connection to AAI
23 [Documentation] PRH get valid event from DMaaP with required fields - PRH produce PNF_READY notification
24 [Tags] PRH Valid event
25 [Template] Valid event processing
Marcin Migdalf969c742019-04-05 11:47:19 +020026 ${VES_EVENT_PNF_REGISTRATION_SIMPLE}
27 #${EVENT_WITH_ALL_VALID_REQUIRED_FIELDS}
28 #${EVENT_WITH_IPV4}
29 #${EVENT_WITH_IPV6}
30 #${EVENT_WITHOUT_IPV6_FILED}