Skip to content

Commit 9f38e2e

Browse files
Update Edgecloud_LCM_Test.feature
Correct mandatory parameters for app_instantiation, changed result of deletion from deletion to termination initiated
1 parent 91a14b7 commit 9f38e2e

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

code/Test_definitions/Edgecloud_LCM_Test.feature

+10-15
Original file line numberDiff line numberDiff line change
@@ -64,24 +64,24 @@ Given appId provided does not exist
6464
When invoking with the DELETE method to delete an app with just mandatory parameter ("appId")
6565
Then response code is 404
6666

67-
@EdgeCloud_LCM_app_instantiation_ok_mandatory_parameter
68-
Scenario: Instantiate an Application with just mandatory parameter ("appId")
67+
@EdgeCloud_LCM_app_instantiation_ok_mandatory_parameters
68+
Scenario: Instantiate an Application with just mandatory parameters ("appId" in path, and "region" in body)
6969
Given an aplication has already been submitted
70-
When invoking with the POST method to instantiate an app with just mandatory parameter ("appId")
70+
When invoking with the POST method to instantiate an app with just mandatory parameters ("appId" in path, and "region" in body)
7171
Then response code is 202
72-
And the process of instantiating the app starts in all available regions and edge cloud zones
72+
And the process of instantiating the app starts in all available edge cloud zones in the region provided
7373

7474
@EdgeCloud_LCM_app_instantiation_ok_optional_parameters
75-
Scenario: Instantiate an Application with mandatory parameter ("appId") and optional parameters ("region","EdgeCloudZone")
75+
Scenario: Instantiate an Application with mandatory parameters ("appId" in path, and "region" in body) and optional parameter ("EdgeCloudZone")
7676
Given an aplication has already been submitted
77-
When invoking with the POST method to instantiate an app with mandatory parameter ("appId") and optional parameters ("region","EdgeCloudZone")
77+
When invoking with the POST method to instantiate an app with mandatory mandatory parameters ("appId" in path, and "region" in body) and optional parameter ("EdgeCloudZone")
7878
Then response code is 202
7979
And the process of intantiating the app starts only in given region and edge cloud zone
8080

8181
@EdgeCloud_LCM_app_instantiation_conflict
82-
Scenario: Instantiate an Application with mandatory parameter ("appId") and optional parameters ("region","EdgeCloudZone")
82+
Scenario: Instantiate an Application with mandatory parameters ("appId" in path, and "region" in body) and optional parameter ("EdgeCloudZone")
8383
Given an aplication has already been submitted, but already instantiated in given EdgeCloudZone
84-
When invoking with the POST method to instantiate an app with mandatory parameter ("appId") and optional parameters ("region","EdgeCloudZone")
84+
When invoking with the POST method to instantiate an app with mandatory mandatory parameters ("appId" in path, and "region" in body) and optional parameter ("EdgeCloudZone")
8585
Then response code is 409
8686

8787
@EdgeCloud_LCM_app_instance_get_info_valid_parameter
@@ -100,19 +100,14 @@ Then response code is 404
100100
Scenario: Delete all running instances of an application in Edge Cloud
101101
When invoking with the DELETE method to terminate running instances of an application within Edge Cloudwith with just mandatory parameter ("appId")
102102
Then response code is 202
103-
And all the application instances are deleted
103+
And all the application instances termination initiated
104104

105105
@EdgeCloud_LCM_app_innstance_delete_valid_parameter
106106
Scenario: Delete a running instance of an application within an Edge Cloud Zone with optional parameter ("appInstanceId")
107107
When invoking with the DELETE method to terminate a running instance of an application including optional parameter ("appInstanceId") and mandatory parameter ("appId")
108108
Then response code is 202
109-
And the application instance is deleted
109+
And the application instance termination initiated
110110

111-
@EdgeCloud_LCM_app_innstance_delete_invalid_parameter
112-
Scenario: Delete a running instance of an application within an Edge Cloud Zone with optional parameter ("appInstanceId")
113-
When invoking with the DELETE method to terminate a running instance of an application including optional parameter ("appInstanceId") and mandatory parameter ("appId")
114-
Then response code is 202
115-
And the application instance is deleted
116111

117112
@EdgeCloud_LCM_app_innstance_delete_invalid_parameter
118113
Scenario: Delete a running instance of an application within an Edge Cloud Zone with optional parameter ("appInstanceId")

0 commit comments

Comments
 (0)