+ if [ "$A1PMS_VERSION" == "V2" ]; then
+ deviation "TR9 - a1pms modify the type with type id - test combo $interface and $__httpx"
+ #Behaviour accepted for now
+ a1pms_api_get_policy_type 200 1 testdata/OSC/1-a1pms-modified.json
+ deviation "TR9 - a1pms modify the type with type id - test combo $interface and $__httpx"
+ #Behaviour accepted for now
+ a1pms_api_get_policy_type 200 2 testdata/OSC/2-a1pms-modified.json
+ deviation "TR9 - a1pms modify the type with type id - test combo $interface and $__httpx"
+ #Behaviour accepted for now
+ a1pms_api_get_policy_type 200 STD_QOS_0_2_0 testdata/STD2/qos-a1pms-modified.json
+ deviation "TR9 - a1pms modify the type with type id - test combo $interface and $__httpx"
+ #Behaviour accepted for now
+ a1pms_api_get_policy_type 200 STD_QOS2_0.1.0 testdata/STD2/qos2-a1pms-modified.json
+
+ a1pms_api_get_policy_type 404 3
+ else
+ deviation "TR9 - a1pms modify the type with type id - test combo $interface and $__httpx"
+ #Behaviour accepted for now
+ a1pms_api_get_policy_schema 200 1 testdata/OSC/1-a1pms-modified.json
+ deviation "TR9 - a1pms modify the type with type id - test combo $interface and $__httpx"
+ #Behaviour accepted for now
+ a1pms_api_get_policy_schema 200 2 testdata/OSC/2-a1pms-modified.json
+
+ a1pms_api_get_policy_schema 404 3
+ fi
+
+ if [ "$A1PMS_VERSION" == "V2" ]; then
+ a1pms_api_get_policy_schemas 404
+ else
+ deviation "TR9 - a1pms modify the type with type id - test combo $interface and $__httpx"
+ #Behaviour accepted for now
+ a1pms_api_get_policy_schemas 200 NORIC testdata/OSC/1-a1pms-modified.json testdata/OSC/2-a1pms-modified.json NOFILE
+ deviation "TR9 - a1pms modify the type with type id - test combo $interface and $__httpx"
+ #Behaviour accepted for now
+ a1pms_api_get_policy_schemas 200 ricsim_g1_1 testdata/OSC/1-a1pms-modified.json testdata/OSC/2-a1pms-modified.json
+
+ a1pms_api_get_policy_schemas 200 ricsim_g2_1 NOFILE
+
+ a1pms_api_get_policy_schemas 404 test
+ fi
+
+
+ if [ "$A1PMS_VERSION" == "V2" ]; then
+ a1pms_api_get_policy_types 200 NORIC 1 2 EMPTY STD_QOS_0_2_0 STD_QOS2_0.1.0
+ else
+ a1pms_api_get_policy_types 200 NORIC 1 2 EMPTY
+ fi