aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/so
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-04-28 13:27:57 +0200
committerMarcin Przybysz <marcin.przybysz@nokia.com>2020-04-30 08:06:31 +0000
commit8ff2b412beb36ef285555324a2b94cd97421edb7 (patch)
tree36dd76817b02453321be2b9bbae73dc240ecb758 /robot/resources/so
parentc5f768d7fdcf48fdab12c4f02e7120a122bba78b (diff)
Extend PnF registrate test cases for GR API
Issue-ID: INT-1477 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: If4184f17307e2694ab9988d24821fd1ce8331c31
Diffstat (limited to 'robot/resources/so')
-rw-r--r--robot/resources/so/create_service_instance.robot5
1 files changed, 4 insertions, 1 deletions
diff --git a/robot/resources/so/create_service_instance.robot b/robot/resources/so/create_service_instance.robot
index 44e526b6..d03a1286 100644
--- a/robot/resources/so/create_service_instance.robot
+++ b/robot/resources/so/create_service_instance.robot
@@ -20,5 +20,8 @@ Create PNF Service Using GR Api
Templating.Create Environment so ${GLOBAL_TEMPLATE_FOLDER}
${data}= Templating.Apply Template so ${CREATE_PNF_SERVICE_GR_API} ${arguments}
${auth}= Create List ${GLOBAL_SO_USERNAME} ${GLOBAL_SO_PASSWORD}
- ${request_id} ${service_instance_id} SO.Run Create Request ${GLOBAL_SO_ENDPOINT} ${CREATE_SERVICE_PATH} ${data} auth=${auth}
+ ${requestReferences} SO.Run Post Request ${GLOBAL_SO_ENDPOINT} ${CREATE_SERVICE_PATH} ${data} auth=${auth}
+ ${requestReferences_json} Set Variable ${requestReferences.json()}
+ ${request_id} Set Variable ${requestReferences_json['requestReferences']['requestId']}
+ ${service_instance_id} Set Variable ${requestReferences_json['requestReferences']['instanceId']}
[Return] ${request_id} ${service_instance_id} \ No newline at end of file