
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
22 lines
771 B
JSON
22 lines
771 B
JSON
{
|
|
"instanceActions": [
|
|
{
|
|
"action": "stop",
|
|
"instance_uuid": "a0dbc3b0-6f14-4fb7-8500-172e82584d05",
|
|
"message": null,
|
|
"project_id": "6f70656e737461636b20342065766572",
|
|
"request_id": "req-ca4313e0-b514-46ea-a9b9-e49f8a1ad344",
|
|
"start_time": "2018-04-25T01:26:29.206664",
|
|
"user_id": "admin"
|
|
},
|
|
{
|
|
"action": "create",
|
|
"instance_uuid": "a0dbc3b0-6f14-4fb7-8500-172e82584d05",
|
|
"message": null,
|
|
"project_id": "6f70656e737461636b20342065766572",
|
|
"request_id": "req-a897e43f-8733-499d-a9cc-78993de2b8e8",
|
|
"start_time": "2018-04-25T01:26:25.910998",
|
|
"user_id": "admin"
|
|
}
|
|
]
|
|
} |