TC_ONELINE_DESCR="Preparation for test of the Control Panel and the Health Check app - populating a number of ric simulators with types and instances"
#App names to include in the test when running docker, space separated list
TC_ONELINE_DESCR="Preparation for test of the Control Panel and the Health Check app - populating a number of ric simulators with types and instances"
#App names to include in the test when running docker, space separated list
#Prestarted app (not started by script) to include in the test when running kubernetes, space separated list
KUBE_PRESTARTED_IMAGES=""
#Ignore image in DOCKER_INCLUDED_IMAGES, KUBE_INCLUDED_IMAGES if
#the image is not configured in the supplied env_file
#Used for images not applicable to all supported profile
#Prestarted app (not started by script) to include in the test when running kubernetes, space separated list
KUBE_PRESTARTED_IMAGES=""
#Ignore image in DOCKER_INCLUDED_IMAGES, KUBE_INCLUDED_IMAGES if
#the image is not configured in the supplied env_file
#Used for images not applicable to all supported profile
-if [ $RUNMODE == "DOCKER" ]; then
- start_consul_cbs
+__CONFIG_HEADER="NOHEADER"
+if [ $RUNMODE == "KUBE" ]; then
+ __CONFIG_HEADER="HEADER"
+else
+ if [[ "$A1PMS_FEATURE_LEVEL" == *"NOCONSUL"* ]]; then
+ __CONFIG_HEADER="HEADER"
+ fi
- api_get_policy_type 200 2 testdata/OSC/hw-agent-modified.json
- api_get_policy_type 200 100 testdata/OSC/qos-agent-modified.json
- api_get_policy_type 200 20008 testdata/OSC/tsa-agent-modified.json
+ a1pms_api_get_policy_type 200 2 testdata/OSC/hw-a1pms-modified.json
+ a1pms_api_get_policy_type 200 100 testdata/OSC/qos-a1pms-modified.json
+ a1pms_api_get_policy_type 200 20008 testdata/OSC/tsa-a1pms-modified.json
- api_get_policy_schema 200 2 testdata/OSC/hw-agent-modified.json
- api_get_policy_schema 200 100 testdata/OSC/qos-agent-modified.json
- api_get_policy_schema 200 20008 testdata/OSC/tsa-agent-modified.json
+ a1pms_api_get_policy_schema 200 2 testdata/OSC/hw-a1pms-modified.json
+ a1pms_api_get_policy_schema 200 100 testdata/OSC/qos-a1pms-modified.json
+ a1pms_api_get_policy_schema 200 20008 testdata/OSC/tsa-a1pms-modified.json
- api_get_policy_type 200 STD_QOS_0_2_0 demo-testdata/STD2/qos-agent-modified.json
- api_get_policy_type 200 'STD_QOS2_0.1.0' demo-testdata/STD2/qos2-agent-modified.json
+ a1pms_api_get_policy_type 200 STD_QOS_0_2_0 demo-testdata/STD2/qos-a1pms-modified.json
+ a1pms_api_get_policy_type 200 'STD_QOS2_0.1.0' demo-testdata/STD2/qos2-a1pms-modified.json
- api_put_policy 201 "Emergency-response-app" $RIC_SIM_PREFIX"_g2_"$i NOTYPE $((2100+$i)) NOTRANSIENT $notificationurl testdata/STD/pi1_template.json 1
- if [ "$PMS_VERSION" == "V2" ]; then
+ a1pms_api_put_policy 201 "Emergency-response-app" $RIC_SIM_PREFIX"_g2_"$i NOTYPE $((2100+$i)) NOTRANSIENT $notificationurl testdata/STD/pi1_template.json 1
+ if [ "$A1PMS_VERSION" == "V2" ]; then