aboutsummaryrefslogtreecommitdiffstats
path: root/tests/so/orchestration/testsuites
diff options
context:
space:
mode:
authorMnushkin, Dmitry (dm4252) <dm4252@att.com>2019-09-06 15:03:01 -0500
committerMnushkin, Dmitry (dm4252) <dm4252@att.com>2019-09-06 15:03:01 -0500
commit6f09e1be817c52ce3685f94a938ee3180525aad9 (patch)
treec39529bca5093bf21a2386776244cd9fc09247c5 /tests/so/orchestration/testsuites
parent8e8379fc709b077fcb2ab3035dd22e2a2a46ed53 (diff)
Add orchestration project to SO integration testing repository
Add orchestration project containing robot setup for testing Create and Delete Service Instance that will utilize requests directed to simulator (SIM) Container and AAI image Issue-ID: SO-2264 Signed-off-by: Mnushkin, Dmitry (dm4252) <dm4252@att.com>;;; Change-Id: Iac4ac97fcbe5e73712486547d4a5046387751e5b
Diffstat (limited to 'tests/so/orchestration/testsuites')
-rw-r--r--tests/so/orchestration/testsuites/bpmn-infra/aLaCarte/Create/ServiceInstantiationTest.robot34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/so/orchestration/testsuites/bpmn-infra/aLaCarte/Create/ServiceInstantiationTest.robot b/tests/so/orchestration/testsuites/bpmn-infra/aLaCarte/Create/ServiceInstantiationTest.robot
new file mode 100644
index 00000000..c4edba1b
--- /dev/null
+++ b/tests/so/orchestration/testsuites/bpmn-infra/aLaCarte/Create/ServiceInstantiationTest.robot
@@ -0,0 +1,34 @@
+*** Settings ***
+Documentation Testing Create Generic ALaCarte Service Instance flow
+Resource ../../../../resources/bpmn-infra/aLaCarte/Create/ServiceInstance.robot
+Resource ../../../../resources/common/Variables.robot
+Resource ../../../../resources/common/SoVariables.robot
+Resource ../../../../resources/aai/service_instance.robot
+
+*** Variables ***
+${serv_inst_id} shouldOverWrite
+${create_service_instance_template_file} ../../../../assets/templates/bpmn-infra/aLaCarte/Create/ServiceInstance.template
+
+*** Settings ***
+*** Test Cases ***
+Create and Delete Service Alacarte GR_API
+ [Tags] Smoke Sanity
+ [Setup] Setup GR Create Service Instance TC_1
+ log starting create SI
+ ${serv_inst_id} ${request_id} ${request_completion_status} ${status_code} ${service_body} Create Service Instance TC_1 ${create_service_instance_template_file}
+ Should Be Equal As Strings ${status_code} 202
+ Should Be Equal As Strings ${request_completion_status} COMPLETE
+ log validating SI
+ Validate Service Instance Robot_SI Robot_Test_Service_Type Robot_Test_Subscriber_ID Active
+ Validate Owning Entity c3f57fa8-ac7d-11e8-98d0-529269fb1459 200
+ Validate Project GR_API_OE_SO_Test200 200
+
+ log starting delete SI
+ ${instance_id} ${delete_si_request_id} ${request_completion_status} ${delete_service_response.status_code} Invoke Delete Service Instance Flow ${service_body} ${serv_inst_id}
+ Should Be Equal As Strings ${delete_service_response.status_code} 202
+ Should Be Equal As Strings ${request_completion_status} COMPLETE
+ Validate Service Instance Not Exist By Id ${serv_inst_id}
+ Validate Owning Entity c3f57fa8-ac7d-11e8-98d0-529269fb1459 200
+ Validate Project GR_API_OE_SO_Test200 200
+
+ [Teardown] Teardown GR Create Service Instance ${serv_inst_id} \ No newline at end of file