heat/heat/db/sqlalchemy
Zane Bitter 23e06f66b9 Speed up event listing with nested stacks
When handling the command "openstack stack event list --nested-depth=n", we
obtain the list of nested stacks by querying the database for all resources
that share the root stack ID. However, since all we're getting is the stack
IDs, there's no need to query all of the fields and construct a versioned
object for each resource. Just get the set of stack IDs.

Change-Id: I12155433e2ac1af919aa4b5e780fb965cd5885d8
Related-Bug: #1588561
2017-11-20 15:06:13 -05:00
..
migrate_repo Adds 5 backport db migration place holder for Pike 2017-08-22 19:07:16 +08:00
__init__.py Stub out the database access API 2012-03-29 18:02:16 +02:00
api.py Speed up event listing with nested stacks 2017-11-20 15:06:13 -05:00
filters.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
migration.py Squash database patches 2017-03-14 15:52:46 +08:00
models.py Data migration enabling storage of resource attributes 2017-02-16 16:08:31 -05:00
types.py Remove usage of sqlalchemy mutables 2015-06-26 11:02:03 +02:00
utils.py Replace retrying with tenacity 2016-11-15 04:34:17 +00:00