#!/bin/bash
# ============LICENSE_START===============================================
-# Copyright (C) 2020 Nordix Foundation. All rights reserved.
+# Copyright (C) 2020-2023 Nordix Foundation. All rights reserved.
# ========================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#### TEST BEGIN ####
-generate_policy_uuid
+sim_generate_policy_uuid
use_cr_http
use_simulator_http
start_ric_simulators ricsim_g2 1 STD_1.1.3
start_ric_simulators ricsim_g3 1 STD_2.0.0
-start_mr
+if [[ "$A1PMS_FEATURE_LEVEL" == *"NO-DMAAP"* ]]; then
+ :
+else
+ start_mr
+fi
start_cr 1
set_a1pms_debug
-mr_equal requests_submitted 0
+if [[ "$A1PMS_FEATURE_LEVEL" == *"NO-DMAAP"* ]]; then
+ :
+else
+ mr_equal requests_submitted 0
+fi
sleep_wait 120 "Let A1PMS cofiguration take effect"
a1pms_api_get_service_ids 200
-mr_equal requests_submitted 0
+if [[ "$A1PMS_FEATURE_LEVEL" == *"NO-DMAAP"* ]]; then
+ :
+else
+ mr_equal requests_submitted 0
+fi
check_a1pms_logs