summaryrefslogtreecommitdiffstats
path: root/robot/resources
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2018-04-22 15:33:47 +0300
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2018-04-22 15:33:47 +0300
commitb0775856c0e5f14d79dba67c8f2c8ea7c92bb412 (patch)
tree7bfe7d59b8c291d6fe7095281e48ee018117d256 /robot/resources
parent3a0b317460e3a7a31e9b5afdbc002df676bb8c6b (diff)
Populate VID owning entity fields
Change-Id: Ic19afc75520fb1a1726160bbc2f53d6f51a4dad0 Issue-ID: VID-214 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'robot/resources')
-rw-r--r--robot/resources/demo_preload.robot12
1 files changed, 12 insertions, 0 deletions
diff --git a/robot/resources/demo_preload.robot b/robot/resources/demo_preload.robot
index 1a0e034b..761d4674 100644
--- a/robot/resources/demo_preload.robot
+++ b/robot/resources/demo_preload.robot
@@ -26,9 +26,21 @@ ${DEMO_PREFIX} demo
Load Customer And Models
[Documentation] Use openECOMP to Orchestrate a service.
[Arguments] ${customer_name}
+ Load OwningEntity "lineOfBusiness" ${customer_name}
+ Load OwningEntity "platform" ${customer_name}
+ Load OwningEntity "project" ${customer_name}
+ Load OwningEntity "owningEntity" ${customer_name}
Load Customer ${customer_name}
Load Models ${customer_name}
+Load OwningEntity
+ [Documentation] Use openECOMP to Orchestrate a service.
+ [Arguments] ${parameter} ${name}
+ ${headers}= Create Dictionary Accept=application/json Content-Type=application/json
+ ${data_path} = ${VID_ENDPOINT}${VID_ENV}/maintenance/category_parameter/${parameter}
+ ${vid_data} = '{"options":["${name}"]}'
+ ${resp}= Post Request vid ${data_path} data=${vid_data} headers=${headers}
+
Load Customer
[Documentation] Use openECOMP to Orchestrate a service.
[Arguments] ${customer_name}