check content type in JSONRequestDeserializer

Fixed Bug #1187882

Change-Id: I5e8922690af1cb497366c5f09183bbccbc68f5a2
Ports depend on the subnets in the same network.

Without establishing this implicit dependency, the following
sometimes occurs:
- Ports get assigned to instances without any IP address
- Stack delete fails as ports still exist in subnets.

Fixes bug: #1192371

Change-Id: Ifd892cef4c2eebaea5568afbd320c8865c845d70
Fixup assert_has_keys.

This test helper had awkward code that didn't support users in
debugging tests, as it didn't report enough information. Additionally
some style issues were present, which I fixed up at the same time.

Fix bug 1195239.

Change-Id: If07e54ae0f2db1152dfea2012ff39b0291955dd7
Expose resource dependency required_by to REST API.

Each resource can generate a list of names of resources which
require this resource as a direct (non transitive) dependency.

This information is returned in the list as well as the show REST calls
so that a diagram of the running stack can be built with a single
request.

Other uses of exposing this information is:
- template authors debugging their own template dependency issues
- integration tests validating template dependencies

Change-Id: Ibe62345afa87e49c4e2152a5fcb74e5ee003124e
Add initial resume logic to engine

Change-Id: I08e08bb3edbc83ecce831c8fe7ad718ad7476634
blueprint: stack-suspend-resume
Add resume support to Instance

Change-Id: Id02c74243ff5fcd67ec8f6200ee7969b34f2faa1
blueprint: stack-suspend-resume
api : Add actions resume support

Add support for resume action using a similar interface to that provided
by nova for the admin actions extension.  So a body of {'resume': None}
will suspend the stack, see http://api.openstack.org/api-ref.html

Change-Id: I89bbafbe2f8b2503f241659a36b83ceab605e763
blueprint: stack-suspend-resume
engine : resume support for nested stacks

Change-Id: I82da46c6f18c035927c6305968470db613d7229c
blueprint: stack-suspend-resume
Add resume support to InstanceGroup

Change-Id: I491bfd3475e12c2e5b8675d92d93f855b590423b
blueprint: stack-suspend-resume
tests : remove duplicate suspend tests

A previous patch erroneously introduced two copies of the same
tests, remove the stackServiceTest duplicates as they already
exist in the stackServiceSuspendResumeTest testcase.

Change-Id: Iec00fd8dbe0d0bc6b2718b03cc4fe40b9ba481c3
Explicitly pass old json snippet to update

Don't use state cached in the resource.

Change-Id: Ib6c7830ce40b72c9cd388c054fcb41ff93963b4d
Get rid of template caching in resources

This is no longer used anywhere.

Change-Id: I3b320a1668f5ba532b01b289222a56126c19c8aa
Merge "check content type in JSONRequestDeserializer"
Merge "Add initial resume logic to engine"
Rework associations from vpc to quantum resources.

Metadata cannot be used to store the relationships between VPC
resources and the underlying quantum resources, since this prevents
VPC or Subnet refs from being passed in as parameters.

This rework results in no state being stored in metadata. Route table
relationships are inferred from the template. An assumption is made that
the quantum router associatiated with the VPC will have the same name
as the quantum net. The easiest way of ensuring that is to creat the VPC
in a different Heat stack.

Fixes bug: #1165050
Fixes bug: #1165056
Fixes bug: #1166779
Fixes bug: #1166787

Change-Id: I6fb087bfc63ed13703089a16ed57858e6911b7d8
Merge "Explicitly pass old json snippet to update"
Merge "Get rid of template caching in resources"
implement stack metadata

make metadata and delete/update policy accessible to stack resource

Blueprint stack-metadata

Change-Id: I2251b730ce7fb70b8b28f065479b9b6a7e8a1f33
Merge "Add resume support to Instance"
Merge "api : Add actions resume support"