creating test mcordsubscriber service for mcordsubscriberservice instance model in tests
Change-Id: Ic3739e1dd83bf4aeadd8218a8e2a884e4038de4c
diff --git a/src/test/cord-api/Tests/targets/xoslibrary.xtarget b/src/test/cord-api/Tests/targets/xoslibrary.xtarget
index 9274486..0f49d1c 100644
--- a/src/test/cord-api/Tests/targets/xoslibrary.xtarget
+++ b/src/test/cord-api/Tests/targets/xoslibrary.xtarget
@@ -151,6 +151,11 @@
CORD Post /xosapi/v1/hippie-oss/hippieossservices {"name": "testhippieservice"}
${json_{{ m.name | lower}}_1}= Set Json Value ${json_{{ m.name | lower }}_1} /owner_id ${id}
{% endif %}
+ {% if m.name == "MCordSubscriberInstance" -%}
+ ## Create req service owner for hippie oss service instance
+ CORD Post /xosapi/v1/mcord/mcordsubscriberservices {"name": "testmcordservice"}
+ ${json_{{ m.name | lower}}_1}= Set Json Value ${json_{{ m.name | lower }}_1} /owner_id ${id}
+ {% endif %}
{% if m.name == "AddressManagerServiceInstance" -%}
${json_{{ m.name | lower}}_1}= Set Json Value ${json_{{ m.name | lower }}_1} /public_ip "2.2.2.2"
${json_{{ m.name | lower}}_amend_1}= Set Json Value ${json_{{ m.name | lower }}_amend_1} /public_ip "3.3.3.3"