New test profile
Minor simplification of A1PMS data config handling
Issue-ID: NONRTRIC-785
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I7c6fdbf82ccbb656c8c4c27c60ec3dfede598bf1
diff --git a/test/auto-test/FTC2003.sh b/test/auto-test/FTC2003.sh
index a16ce6b..33515ea 100755
--- a/test/auto-test/FTC2003.sh
+++ b/test/auto-test/FTC2003.sh
@@ -82,7 +82,17 @@
ics_api_idc_get_type_ids 200 ExampleInformationType ExampleInformationTypeKafka
-ics_api_edp_get_producer_ids_2 200 NOTYPE DmaapGenericInfoProducer
+if [[ "$DMAAP_ADP_FEATURE_LEVEL" == *"GENERATED_PROD_NAME"* ]]; then
+ if [ $RUNMODE == "KUBE" ]; then
+ __NAME="https:__$DMAAP_ADP_APP_NAME.$KUBE_NONRTRIC_NAMESPACE:$DMAAP_ADP_EXTERNAL_SECURE_PORT"
+ else
+ __NAME="https:__$DMAAP_ADP_APP_NAME:$DMAAP_ADP_INTERNAL_SECURE_PORT"
+ fi
+ ics_api_edp_get_producer_ids_2 200 NOTYPE $__NAME
+else
+ ics_api_edp_get_producer_ids_2 200 NOTYPE DmaapGenericInfoProducer
+fi
+
for ((i=1; i<=$NUM_JOBS; i++))
do