pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Integration tests for PRH. |
pkaras | c7abba8 | 2018-10-22 12:22:35 +0200 | [diff] [blame] | 3 | ... 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 |
| 4 | Suite Setup Run keywords Create header AND Create sessions AND Ensure Container Is Running ssl_prh AND Ensure Container Is Exited prh |
| 5 | Suite Teardown Ensure Container Is Running prh |
| 6 | Test Teardown Reset Simulators |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 7 | Library resources/PrhLibrary.py |
| 8 | Resource resources/prh_library.robot |
| 9 | Resource ../../common.robot |
| 10 | |
| 11 | *** Variables *** |
pkaras | c7abba8 | 2018-10-22 12:22:35 +0200 | [diff] [blame] | 12 | ${DMAAP_SIMULATOR_SETUP_URL} http://${DMAAP_SIMULATOR_SETUP} |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 13 | ${AAI_SIMULATOR_SETUP_URL} http://${AAI_SIMULATOR_SETUP} |
Marcin Migdal | fba99a5 | 2019-04-15 14:36:45 +0200 | [diff] [blame^] | 14 | ${CONSUL_SETUP_URL} http://${CONSUL_SETUP} |
Marcin Migdal | f969c74 | 2019-04-05 11:47:19 +0200 | [diff] [blame] | 15 | |
| 16 | ${VES_EVENT_PNF_REGISTRATION_SIMPLE} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/ves-event-pnf-registration-simple.json |
Marcin Migdal | 26125b1 | 2019-04-11 16:17:18 +0200 | [diff] [blame] | 17 | ${AAI_PNF_REGISTRATION_SIMPLE} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/aai-pnf-registration-simple.json |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 18 | ${EVENT_WITH_ALL_VALID_REQUIRED_FIELDS} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json |
| 19 | ${EVENT_WITH_IPV4} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV4.json |
| 20 | ${EVENT_WITH_IPV6} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 21 | ${EVENT_WITHOUT_IPV6_FILED} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_without_IPV6_field.json |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 22 | |
| 23 | *** Test Cases *** |
pkaras | c7abba8 | 2018-10-22 12:22:35 +0200 | [diff] [blame] | 24 | Valid DMaaP event can be converted to PNF_READY notification with ssl connection to AAI |
| 25 | [Documentation] PRH get valid event from DMaaP with required fields - PRH produce PNF_READY notification |
| 26 | [Tags] PRH Valid event |
| 27 | [Template] Valid event processing |
Marcin Migdal | 26125b1 | 2019-04-11 16:17:18 +0200 | [diff] [blame] | 28 | ${VES_EVENT_PNF_REGISTRATION_SIMPLE} ${AAI_PNF_REGISTRATION_SIMPLE} |
Marcin Migdal | f969c74 | 2019-04-05 11:47:19 +0200 | [diff] [blame] | 29 | #${EVENT_WITH_ALL_VALID_REQUIRED_FIELDS} |
| 30 | #${EVENT_WITH_IPV4} |
| 31 | #${EVENT_WITH_IPV6} |
| 32 | #${EVENT_WITHOUT_IPV6_FILED} |