+ a1pms_equal json:policy_types 2
+
+ a1pms_equal json:policies 0
+fi
+
+if [ "$A1PMS_VERSION" == "V2" ]; then
+ notificationurl=$CR_SERVICE_APP_PATH_0"/test"
+else
+ notificationurl=""
+fi
+
+a1pms_api_put_policy 201 "service10" ricsim_g1_1 1 5000 NOTRANSIENT $notificationurl testdata/OSC/pi1_template.json
+a1pms_api_put_policy 201 "service10" ricsim_g2_1 NOTYPE 5100 NOTRANSIENT $notificationurl testdata/STD/pi1_template.json
+
+if [ "$A1PMS_VERSION" == "V2" ]; then
+ a1pms_api_put_policy 201 "service10" ricsim_g3_1 STD_QOS2_0.1.0 5200 NOTRANSIENT $notificationurl testdata/STD2/pi_qos2_template.json
+ a1pms_equal json:policies 3
+else
+ a1pms_equal json:policies 2
+fi