making exception for ProgranServiceInstance test data fields
Change-Id: I9d482daf14bcaff49ff4bbf7b2707024d12407f5
diff --git a/src/test/cord-api/Tests/targets/xoslibrary.xtarget b/src/test/cord-api/Tests/targets/xoslibrary.xtarget
index bf98f32..ebcf10a 100644
--- a/src/test/cord-api/Tests/targets/xoslibrary.xtarget
+++ b/src/test/cord-api/Tests/targets/xoslibrary.xtarget
@@ -99,6 +99,12 @@
${json_{{ m.name | lower}}_name_updated_1}= Generate Random Slice Name
${json_{{ m.name | lower}}_updated_1}= Set Json Value ${json_{{ m.name | lower }}_updated_1} /name "${json_{{ m.name | lower}}_name_updated_1}"
{% endif -%}
+ {% if m.name == "ProgranServiceInstance" -%}
+ ${json_{{ m.name | lower}}_name}= Generate Random Value string
+ ${json_{{ m.name | lower}}_1}= Set Json Value ${json_{{ m.name | lower }}_1} /name "${json_{{ m.name | lower }}_name}"
+ ${json_{{ m.name | lower}}_name_updated_1}= Generate Random Value string
+ ${json_{{ m.name | lower}}_updated_1}= Set Json Value ${json_{{ m.name | lower }}_updated_1} /name "${json_{{ m.name | lower}}_name_updated_1}"
+ {% endif %}
${json_{{ m.name | lower }}_1}= To JSON ${json_{{ m.name | lower }}_1}
${json_{{ m.name | lower }}_updated_1}= To JSON ${json_{{ m.name | lower }}_updated_1}
Set Suite Variable ${json_{{ m.name | lower }}_1}