Loading services/run_capif_tests.sh +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ CAPIF_VAULT_PORT=8200 # CAPIF_VAULT_TOKEN=dev-only-token CAPIF_VAULT_TOKEN=read-ca-token MOCK_SERVER_URL=http://mockserver:9090 MOCK_SERVER_URL=http://192.168.0.14:9090 echo "CAPIF_HOSTNAME = $CAPIF_HOSTNAME" Loading tests/features/CAPIF Api Events/capif_events_api.robot +9 −5 Original line number Diff line number Diff line Loading @@ -249,8 +249,8 @@ Deletes an individual CAPIF Event Subscription with invalid SubscriptionId # List Should Contain Value ${notification_events_on_mock_server} ${event_1} # List Should Contain Value ${notification_events_on_mock_server} ${event_2} Prueba JMS [Tags] jms-2 Invoker receives Service API Invocation events [Tags] capif_api_events-6 mockserver # Start Mock server Check Mock Server Loading @@ -275,9 +275,14 @@ Prueba JMS # Subscribe to events ${events_list}= Create List SERVICE_API_INVOCATION_SUCCESS SERVICE_API_INVOCATION_FAILURE ${aef_ids}= Create List ${register_user_info['aef_id']} ${event_filter}= Create Capif Event Filter aefIds=${aef_ids} ${event_filters}= Create List ${event_filter} ${request_body}= Create Events Subscription ... events=@{events_list} ... notificationDestination=http://192.168.0.14:9090/testing ... notificationDestination=${MOCK_SERVER_URL}/testing ... eventFilters=${event_filters} ${resp}= Post Request Capif ... /capif-events/v1/${register_user_info_invoker['api_invoker_id']}/subscriptions ... json=${request_body} Loading @@ -289,9 +294,8 @@ Prueba JMS Check Response Variable Type And Values ${resp} 201 EventSubscription ${subscriber_id} ${subscription_id}= Check Event Location Header ${resp} # Create Log Entry, emulate success and failure api invocation ${results}= Create List 200 400 # Create Log Entry ${request_body}= Create Log Entry ... ${register_user_info['aef_id']} ... ${register_user_info_invoker['api_invoker_id']} Loading Loading
services/run_capif_tests.sh +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ CAPIF_VAULT_PORT=8200 # CAPIF_VAULT_TOKEN=dev-only-token CAPIF_VAULT_TOKEN=read-ca-token MOCK_SERVER_URL=http://mockserver:9090 MOCK_SERVER_URL=http://192.168.0.14:9090 echo "CAPIF_HOSTNAME = $CAPIF_HOSTNAME" Loading
tests/features/CAPIF Api Events/capif_events_api.robot +9 −5 Original line number Diff line number Diff line Loading @@ -249,8 +249,8 @@ Deletes an individual CAPIF Event Subscription with invalid SubscriptionId # List Should Contain Value ${notification_events_on_mock_server} ${event_1} # List Should Contain Value ${notification_events_on_mock_server} ${event_2} Prueba JMS [Tags] jms-2 Invoker receives Service API Invocation events [Tags] capif_api_events-6 mockserver # Start Mock server Check Mock Server Loading @@ -275,9 +275,14 @@ Prueba JMS # Subscribe to events ${events_list}= Create List SERVICE_API_INVOCATION_SUCCESS SERVICE_API_INVOCATION_FAILURE ${aef_ids}= Create List ${register_user_info['aef_id']} ${event_filter}= Create Capif Event Filter aefIds=${aef_ids} ${event_filters}= Create List ${event_filter} ${request_body}= Create Events Subscription ... events=@{events_list} ... notificationDestination=http://192.168.0.14:9090/testing ... notificationDestination=${MOCK_SERVER_URL}/testing ... eventFilters=${event_filters} ${resp}= Post Request Capif ... /capif-events/v1/${register_user_info_invoker['api_invoker_id']}/subscriptions ... json=${request_body} Loading @@ -289,9 +294,8 @@ Prueba JMS Check Response Variable Type And Values ${resp} 201 EventSubscription ${subscriber_id} ${subscription_id}= Check Event Location Header ${resp} # Create Log Entry, emulate success and failure api invocation ${results}= Create List 200 400 # Create Log Entry ${request_body}= Create Log Entry ... ${register_user_info['aef_id']} ... ${register_user_info_invoker['api_invoker_id']} Loading