-if [ "$PMS_VERSION" == "V2" ]; then
- api_equal json:rics 3 120
-else
- api_equal json:rics 2 120
-fi
+ if [ "$PMS_VERSION" == "V2" ]; then
+ api_equal json:rics 4 120
+
+ cr_equal received_callbacks 4 120
+
+ cr_api_check_all_sync_events 200 ric-registration ricsim_g2_2
+ else
+ api_equal json:rics 3 120
+ fi
+
+ check_policy_agent_logs
+ check_control_panel_logs
+
+ # Remove one RIC RIC and check
+ start_ric_simulators ricsim_g2 1 STD_1.1.3
+
+ prepare_consul_config NOSDNC ".consul_config.json"
+ if [ "$PMS_VERSION" == "V2" ] && [ $consul_conf == "NOCONSUL" ]; then
+ api_put_configuration 200 ".consul_config.json"
+ api_get_configuration 200 ".consul_config.json"
+ else
+ consul_config_app ".consul_config.json"
+ fi
+
+ if [ "$PMS_VERSION" == "V2" ]; then
+ api_equal json:rics 3 120
+
+ cr_equal received_callbacks 4 120
+ else
+ api_equal json:rics 2 120
+ fi
+
+ if [ "$PMS_VERSION" == "V2" ] && [ $consul_conf == "NOCONSUL" ]; then
+ api_get_configuration 200 ".consul_config.json"
+ fi