Use ScaledResource as type for InstanceGroup members

Use the placeholder type OS::Heat::ScaledResource as the nominal resource
type for resources in an instance group. Use the environment to select the
actual underlying resource type (current AWS::EC2::Instance).

Change-Id: I52252c596fa48e57d927eb78e9d5b7c8261adb3e
Update tox.ini to use new features

tox 1.6 allows us to skip the sdist step, which is slow. This does that.
It also allows us to override the install line. In this case, it's
important as it allows us to stop getting pre-release software we
weren't asking for.

Original patch by Monty Taylor, talked about here:
http://lists.openstack.org/pipermail/openstack-dev/2013-September/015495.html

Change-Id: I9fe8a6cff149b3b79d434dc955c77a358c43031d
Remove unused dumps validation in JsonParam value

If the passed parameter is not a valid Json object, a ValueError
exception will be raised in JsonParam parse(). So no need this dumps
validation in value().

Change-Id: Ie450d3923a905b7de3dcbece351aec937ebe7a61
Allow docker plugin to run w/o deps

The docker plugin tests would not run without the docker lib being
installed even though the client was mocked in the tests. This
patch adds conditional import of the client and registration of
the plugin so that the contrib tests can be run in the gates
without having to hack requirements or add more third party
libs.

Change-Id: Ia114f8ebc0cf0b72af8e6e5d2c3264fb7952d7f9
Partial-Bug: #1251380
heat-manage man page not generated in doc build

Was missing entry in the build configuration file.

Change-Id: I38a28a39936381303f87c676baa7075d5aa87440
Closes-bug: #1259674
Implement engine listener service for multi-engine support

The engine listener service provides a way for engines to confirm that
other engines are still alive.  For example, during acquisition of a
stack lock, if an existing stack lock is found the engine will attempt
to communicate with the engine who owns that lock.  If the engine
responds affirmatively, the lock will be considered active.

Blueprint multiple-engines

Change-Id: I6d8f1305953212408f19688a1e0af81c44e5e5b4
Utilize stack-lock for multi-engine support

Utilize a distributed stack lock to avoid race conditions when multiple
engines are deployed.

Blueprint multiple-engines

Change-Id: I2278c7922557b6234cd7ff162cea92af83e9fb8b
Don't replace (and log) the same resource entry

Resources may be registered multiple times. This
ensures that logs are only emitted the first time
a resource is registered.

Change-Id: Iedd12d55007ee24ea6ecbe4fe7152ff65ea665b0
Make the mountpoint property description clearer

There is an issue where the mountpoint may not be honored
so add this note to the property documentation so users can be
aware of the issue.

Change-Id: Iddab9b1f6e5fadddd00e651e92b8b9c922a59347
Closes-bug: #1231705
Add support for network name for os::nova::Server

Property 'network' is added to networks schema of the resource
os::nova::Server. It takes uuid or name. The 'uuid' property is deprecated.

Change-Id: I790bd23301ecfb7b8aa22f6c42b9e6c01cd0b186
Closes-Bug: #1247019
Add validation for an existence of a resource type

Validation of resource type existence was missing.
The patch adds validation checks that in the template the resource
type is set and is not an empty string.

Change-Id: I171644010ec868e8acc4c29556889256e8bf51b6
Closes-Bug: #1257243
Enables db2 server disconnects to be handled pessimistically

A checkout listener can be added to sqlalchemy to be able to handle
database disconnect pessimistically and avoid an error in the event of
a DB restart or simply a temp connection issue due to network
glitches. At the moment only mysql is enabled with this feature. This
patch enables db2 as well.

Sync oslo db.sqlalchemy from commit：
bb4d7a2534f6087d828e22784dc263522d309592

Partial-Bug: #1231657

Change-Id: Ib89de07f004975528baffdfd19aae689b089a324
Convert [Cinder]Volume to new Schema format

blueprint property-schema-conversion

Change-Id: Ia7d9e995cf78cc3425cf278d19700451a3347a26
tests: Don't access properties_schema directly

Don't rely on the properties_schema containing a dictionary in a particular
format, convert it to Schema objects and use the API. Needed for the
blueprint property-schema-conversion.

Change-Id: I1a0cd93f62bd662752cb27a294248a14446492a9
Convert Ceilometer Alarms to new Schema format

blueprint property-schema-conversion

Change-Id: Ic44465a1de114ad8165c9d3474f409eb0cc129ad
Convert Autoscaling resources to new Schema format

blueprint property-schema-conversion

Change-Id: I3caadb7f47816a642bbd0841cc2ba4b2fb33b403
Convert User resources to new Schema format

blueprint property-schema-conversion

Change-Id: I1244d14db2aad93373bfa4a1749cda46fa14980e
Convert Swift resources to new Schema format

blueprint property-schema-conversion

Change-Id: I22346f2dd38477b3ef5dfb484c5912fe7ae3927b
Convert resources to new Schema format

blueprint property-schema-conversion

Change-Id: I06df691f452c9abf6d846aa32a3e2a409aebc27d
Change assertTrue(A in B) to assertIn(A, B)

The code in tests was using assertTrue(A in B) and similar
instead of assertIn / assertNotIn.

assertIn / assertNotIn assertions are provided by `testtools` package,
so this change is not breaking backward compatibility with Python 2.6.

Closes-Bug: #1259295

Change-Id: Ibf3b0c7f27895699db8a13bf6e1640d196f1a953