Fixing FTC's with respect to change in A1-Sim code using snapshot image
[nonrtric.git] / test / common / sdnc_api_functions.sh
index 511d258..4fd9de4 100644 (file)
@@ -588,9 +588,8 @@ controller_api_get_A1_policy_status() {
     if [ $# -ge 5 ] && [ $2 == "OSC" ]; then
         url="$ric_id/a1-p/policytypes/$4/policies/$UUID$5/status"
         if [ $# -gt 5 ]; then
-            targetJson="{\"instance_status\":\"$6\""
-            targetJson=$targetJson",\"has_been_deleted\":\"$7\""
-            targetJson=$targetJson",\"created_at\":\"????\"}"
+            targetJson="{\"enforceStatus\":\"$6\""
+            targetJson=$targetJson",\"enforceReason\":\"$7\"}"
         fi
                paramError=0
     elif [ $# -ge 4 ] && [ $2 == "STD" ]; then