-if [ $RUNMODE == "KUBE" ]; then
- a1pms_load_config ".a1pms_config.json"
-else
- a1pms_api_put_configuration 200 ".a1pms_config.json"
-fi
+ start_a1pms NORPOXY $SIM_GROUP/$A1PMS_COMPOSE_DIR/$A1PMS_CONFIG_FILE
+
+
+ prepare_a1pms_config NOSDNC ".a1pms_config.json"
+
+ if [ $RUNMODE == "KUBE" ]; then
+ a1pms_load_config ".a1pms_config.json"
+ else
+ a1pms_api_put_configuration 200 ".a1pms_config.json"
+ fi
+
+ set_a1pms_debug
+
+ if [[ "$A1PMS_FEATURE_LEVEL" == *"NO-DMAAP"* ]]; then
+ :
+ else
+ mr_equal requests_submitted 0
+ fi
+
+ sleep_wait 120 "Let A1PMS configuration take effect"
+
+ #Check a1pms alive
+ a1pms_api_get_status 200