577cb4b2f4
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": "fcd19ef2-b593-40b1-90a5-fc31063fa95c",
|
|
"message": null,
|
|
"project_id": "6f70656e737461636b20342065766572",
|
|
"request_id": "req-f8a59f03-76dc-412f-92c2-21f8612be728",
|
|
"start_time": "2018-04-25T01:26:29.092892",
|
|
"user_id": "admin"
|
|
},
|
|
{
|
|
"action": "create",
|
|
"instance_uuid": "fcd19ef2-b593-40b1-90a5-fc31063fa95c",
|
|
"message": null,
|
|
"project_id": "6f70656e737461636b20342065766572",
|
|
"request_id": "req-50189019-626d-47fb-b944-b8342af09679",
|
|
"start_time": "2018-04-25T01:26:25.877278",
|
|
"user_id": "admin"
|
|
}
|
|
]
|
|
} |