From 8a6b0b5aeab216617ff95757709afcb94952ffd6 Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Sun, 12 Nov 2017 15:44:21 -0500 Subject: Update A&AI api to v11 and create complex Issue: TEST-34 Change-Id: Ibac7f78390f517e3d3876ec0adff97d1136b2f28 Signed-off-by: Jerry Flood --- robot/resources/aai/volume_group.robot | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'robot/resources/aai/volume_group.robot') diff --git a/robot/resources/aai/volume_group.robot b/robot/resources/aai/volume_group.robot index 95822011..40674a5e 100644 --- a/robot/resources/aai/volume_group.robot +++ b/robot/resources/aai/volume_group.robot @@ -13,19 +13,18 @@ Library HttpLibrary.HTTP Resource ../json_templater.robot *** Variables *** -${INDEX PATH} /aai/v8 +${INDEX PATH} /aai/v11 ${GENERIC_QUERY_PATH} /search/generic-query? ${SYSTEM USER} robot-ete ${CUSTOMER SPEC PATH} /business/customers/customer/ ${SERVICE SUBSCRIPTIONS} /service-subscriptions/service-subscription/ ${SERVICE INSTANCE} /service-instances?service-instance-name= -${SERVCE INSTANCE TEMPLATE} robot/assets/templates/aai/service_subscription.template +${SERVCE INSTANCE TEMPLATE} robot/assets/templates/aai/service_subscription.template -*** Keywords *** -Validate Volume Group - [Arguments] ${service_instance_name} ${service_type} ${customer_id} +*** Keywords *** +Validate Volume Group + [Arguments] ${service_instance_name} ${service_type} ${customer_id} ${resp}= Run A&AI Get Request ${INDEX PATH}${CUSTOMER SPEC PATH}${CUSTOMER ID}${SERVICE SUBSCRIPTIONS}${service_type}${SERVICE INSTANCE}${service_instance_name} Dictionary Should Contain Value ${resp.json()['service-instance'][0]} ${service_instance_name} - - \ No newline at end of file + -- cgit 1.2.3-korg