New test profile
[nonrtric.git] / test / auto-test / FTC350.sh
index 8cee8e5..5188eef 100755 (executable)
@@ -81,21 +81,30 @@ for interface in $TESTED_VARIANTS ; do
         fi
     fi
 
+    __CONFIG_HEADER="NOHEADER"
+    if [ $RUNMODE == "KUBE" ]; then
+        __CONFIG_HEADER="HEADER"
+    else
+        if [[ "$A1PMS_FEATURE_LEVEL" == *"NOCONSUL"* ]]; then
+        __CONFIG_HEADER="HEADER"
+        fi
+    fi
+
     # Create first config
     if [[ $interface = *"SDNC"* ]]; then
         start_sdnc
-        prepare_consul_config      SDNC  ".consul_config_initial.json"
+        prepare_consul_config      SDNC  ".consul_config_initial.json"  $__CONFIG_HEADER
     else
-        prepare_consul_config      NOSDNC  ".consul_config_initial.json"
+        prepare_consul_config      NOSDNC  ".consul_config_initial.json" $__CONFIG_HEADER
     fi
 
     # Create 2nd config and save for later
     start_ric_simulators ricsim_g1 $NUM_RICS OSC_2.1.0
 
     if [[ $interface = *"SDNC"* ]]; then
-        prepare_consul_config      SDNC  ".consul_config_all.json"
+        prepare_consul_config      SDNC  ".consul_config_all.json" $__CONFIG_HEADER
     else
-        prepare_consul_config      NOSDNC  ".consul_config_all.json"
+        prepare_consul_config      NOSDNC  ".consul_config_all.json" $__CONFIG_HEADER
     fi
 
     if [ $RUNMODE == "KUBE" ] && [[ "$A1PMS_FEATURE_LEVEL" == *"INITIALCONFIGMAP"* ]]; then