summaryrefslogtreecommitdiffstats
path: root/robot/resources/aai/volume_group.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/aai/volume_group.robot')
-rw-r--r--robot/resources/aai/volume_group.robot24
1 files changed, 6 insertions, 18 deletions
diff --git a/robot/resources/aai/volume_group.robot b/robot/resources/aai/volume_group.robot
index 94ad3b7b..c9fc0f84 100644
--- a/robot/resources/aai/volume_group.robot
+++ b/robot/resources/aai/volume_group.robot
@@ -1,29 +1,17 @@
*** Settings ***
Documentation Validate A&AI Serivce Instance
-...
-... Validate A&AI Serivce Instance
Resource aai_interface.robot
Library Collections
-Library OperatingSystem
-Library RequestsLibrary
-Library ONAPLibrary.JSON
-
-Resource ../json_templater.robot
*** Variables ***
-${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
+${INDEX_PATH} /aai/v11
+${CUSTOMER_SPEC_PATH} /business/customers/customer/
+${SERVICE_SUBSCRIPTIONS} /service-subscriptions/service-subscription/
+${SERVICE_INSTANCE} /service-instances?service-instance-name=
*** 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}
-
-
+ ${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