
Change the instance action sample to a real world action. In Setup, we create an instance and then stop it. That would be 2 actions(create and stop), and the stop action should have a "compute_stop_instance" event. And then we do 2.1/2.21/2.51 test case based on these actions, like we have done in 2.58. Change-Id: Iac23a574a05e62a99aab20ffce4265f4fb5a44d9
19 lines
617 B
JSON
19 lines
617 B
JSON
{
|
|
"instanceAction": {
|
|
"action": "stop",
|
|
"events": [
|
|
{
|
|
"event": "compute_stop_instance",
|
|
"finish_time": "2018-04-25T01:26:29.565338",
|
|
"result": "Success",
|
|
"start_time": "2018-04-25T01:26:29.294207"
|
|
}
|
|
],
|
|
"instance_uuid": "11a932ff-48b8-46ed-a409-7d9e50ec75d0",
|
|
"message": null,
|
|
"project_id": "6f70656e737461636b20342065766572",
|
|
"request_id": "req-fad89d20-0311-44bd-a8c2-ee3f2411bcf0",
|
|
"start_time": "2018-04-25T01:26:29.073738",
|
|
"user_id": "fake"
|
|
}
|
|
} |