Fix some direct imports from sqlalchemy

Directly import sqlalchemy might result in some inconsistent
behaviors. It would bypass the db_backend configuration.

Change-Id: Ic07c5d9f4898add6629a296ee1dff22be0e75262
Implement Tags for S3 bucket

Use the metadata to hold the tags.

Change-Id: I52d8bb9429a90529431622c72ff2484e6c38c58e
Add support for limiting and sorting stacks

This adds support to the stacks index call for limit, sort_keys,
sort_dir, and marker query parameters, allowing users of the API to
retrieve a subset of stacks.

With this commit, stacks are also sorted by created_at DESC by default.

blueprint pagination

Change-Id: Ib20cfae183475ff42deda82168b8b9c8d043ecd0
Add links section to the stacks index response

Add a `links` section to the stacks index response that will contain
pagination links for the collection - this commit includes adding a
`next` link to the section.

blueprint pagination
Change-Id: I76451a101e7c417a485da78dd7fb19229d91861d
Implement a Heat-native resource group

This resource allows for creating groups of identically
configured resources via nested stacks. It provides
aggregated as well as indexed access to the nested
resource attributes.

Implements: blueprint native-resource-group
Change-Id: I089e6d2f795d30ebe410df151ebc68639ea7102b
Merge "Implement Tags for S3 bucket"
Merge "Fix some direct imports from sqlalchemy"
Merge "Add support for limiting and sorting stacks"
Merge "Add links section to the stacks index response"
Get pool members from DB API

When the Load Balancer members are created as a result of autoscaling
groups calling _lb_update, the reference to the current members is
stored in the database and not in the template.  Treat ResourceData
mappings as canonical.

Closes-Bug: #1248218
Change-Id: Iaf8097eff6ad5ae0809d56604699dca2b08db3f4
Allow nova metadata to be updated

Note this is metadata not Metadata (confusing, I know).

This does not need to be run in a task as the server does not
change state for metadata changes.

Change-Id: If5f9ee89984fab388c0c9d839fbe23a59c68046b
Closes-bug: #1250638
Make instance Tags updatable

Note: I don't think that there is an issue with autoscaling tags
as autoscaling drives the instance via the properties and it doesn't
update intances anyways, it only creates/destroys instances.

Change-Id: I3cea4180f22690ea226273cc96132db6ae3dde12
Closes-bug: #1240885
Add _() to fix i18N compliance (part 2)

In heat, almost 200 log message and at least 30 exception
message are not processed by _(), and will not been translated.
We should use '_("STRING ...")' to enable i18n support.

I split to two parts for review easier because the files
lost of _() are too much.

Change-Id: I36ccd119fc1dcb58e98b77b2c9d139af6a380a7a
Closes-Bug: #1249217
Fixes Error when contain Non-ascii in template

when set template use non-english resource_name and execute
"heat -v resource-list $stack_id". KeyError will occur because
heat can not encode it correctly. This patch will implement
a process to encode the resource_name.

The patch use a new module (strutils.py) taken from
oslo-incubator in order to use safe_encode() and
safe_decode(), and this module is useful for future
patchs.

Change-Id: Idddda20d96bca32cb4df94ede31b40f7141e3afe
Closes-Bug: #1249238
Merge "Fixes Error when contain Non-ascii in template"
Merge "Add _() to fix i18N compliance (part 2)"
Add a guide to setup standalone mode

Change-Id: If3555ac3b0a95758f3e2ba9c6c716784b61897c8
Fix some docs errors/warnings

Change-Id: I1629f4e335d270aee87d4afc223539c6453dbf88
Remove Component class

Discussion has moved on from implementing components as
top-level template elements, so this can be deleted now.

Change-Id: I8f1b78b8def73da7fb31b7725795f314f962e8b2
Make heat depend on python-heatclient

This will be required soon for one or more of the
following reasons:
* Multi-region invoking stacks on other heat endpoints
* A variant of nested stack which goes through API instead of
  internally
* Orchestrating new heat-based resources (autoscaling, software config)
* Possibly sharing some template parsing and validation between
  client and server by moving this code to client

Change-Id: Ia3e55d1b3bb19e713e4c1ecc341805f3a208844e