heat/heat/objects
Steve Baker 1b2cd7495d Add resource.root_stack_id column
This change adds a root_stack_id column to the resource
record to allow a subsequent change enforce
max_resources_per_stack with a single query instead of the
many it currently requires.

This change includes the following:
- Data migration to add the resource.root_stack_id column
  and populate all existing resources with their calculated
  root stack
- Make new resources aquire and set their root_stack_id on
  store or update.
- StackResource._validate_nested_resources use the stored
  root_stack_id resulting in a ~15% performance improvement
  for the creation time of a test stack containing 40 nested
  stacks.

Change-Id: I2b00285514235834131222012408d2b5b2b37d30
Partial-Bug: 1489548
2015-09-22 15:43:15 +12:00
..
__init__.py Fix some files permissions 2015-08-26 12:11:27 +03:00
event.py Cleans default declaration nullable=False from heat objects 2015-04-06 10:33:48 +05:30
fields.py Add extra columns for resource table 2015-03-17 06:09:26 -04:00
raw_template.py Add a new crypt method using cryptography 2015-07-07 10:06:47 +02:00
resource.py Add resource.root_stack_id column 2015-09-22 15:43:15 +12:00
resource_data.py Make the objects behave more consistently 2015-06-19 11:42:04 +10:00
service.py Make the objects behave more consistently 2015-06-19 11:42:04 +10:00
snapshot.py Make sure snapshot belongs to stack for actions 2015-04-10 18:37:08 +08:00
software_config.py Support to list software configs 2015-06-26 08:19:05 +00:00
software_deployment.py Make the objects behave more consistently 2015-06-19 11:42:04 +10:00
stack.py Add missing value types for logging messages 2015-09-11 04:58:58 -04:00
stack_lock.py Set stack status to FAILED when engine is down 2015-04-02 11:54:05 +08:00
stack_tag.py Database API and engine changes for stack tags 2015-04-08 15:23:50 -05:00
sync_point.py Fix some files permissions 2015-08-26 12:11:27 +03:00
user_creds.py Make the objects behave more consistently 2015-06-19 11:42:04 +10:00
watch_data.py Cleans default declaration nullable=False from heat objects 2015-04-06 10:33:48 +05:30
watch_rule.py Cleans default declaration nullable=False from heat objects 2015-04-06 10:33:48 +05:30