event list REST API call should support nested stacks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Wishlist
|
Steve Baker | ||
python-heatclient |
Fix Released
|
Medium
|
Steve Baker |
Bug Description
Currently heatclient builds the nested stack event list by doing recursive client-side event list calls for each stack. The REST API should support this natively so it can be implemented in a more efficient way.
The GET call to list events will support a nested_depth parameter. The response will have an additional links url with the ref 'root_stack' to indicate that this API supports nested_depth queries.
This has the following consequences for old/new combinations of
client/server
- new heatclient, new server - nested_depth param is set, server returns nested events
- new heatclient, old server - nested_depth param is set, server returns events with no root_stack, heatclient falls back to recursive event fetch
- old heatclient, new server - nested_depth param is never set, recursive event fetch works as before
Changed in heat: | |
milestone: | none → newton-2 |
assignee: | nobody → Steve Baker (steve-stevebaker) |
Changed in python-heatclient: | |
importance: | Undecided → Medium |
assignee: | nobody → Steve Baker (steve-stevebaker) |
description: | updated |
Changed in heat: | |
status: | New → In Progress |
Related fix proposed to branch: master /review. openstack. org/325034
Review: https:/