summaryrefslogtreecommitdiffstats
path: root/robot/resources/so/create_service_instance.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/so/create_service_instance.robot')
-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