Updated openstack/openstack
Project: openstack/keystone  5dddfe0030d13babb82ac770c474ad1371f4f3cd
null
`find_migrate_repo` improvement

* Added `repo_name` attribute with default value as `migrate_repo`. Allow
flexibly look for migrate repos with different names.
* Abridged logic of dependency from a module location.
* Moved to `common.utils`. Required to synchronize with
`openstack.common.db.sqlalchemy.migration`

Change-Id: I8aa364f1654fb92fba287cd406670b03f8ec3a54
Updated openstack/openstack
Project: openstack/heat  4eecb88160b96ed9bcee2929e7a2107f880b2d64
null
Refactor resource loading functions

All logic related to resource loading is currently put into
resource_mapping functions in each resource module and it doesn't
return the mapping information if the dependencies for a given
resources are not satisfied.

This refactors the way resources are loaded, so that the mapping
information is always available and if the dependencies are not met,
another function can be used to convey that information to heat:
available_resource_mapping().  To keep backwards compatibility, if
available_resource_mapping() is not callable for a given resource
module, the previous resource_mapping() will be used instead.

This allows the mapping information to be used in other places, such
as tests (without the need to hard code the mapping information when
registering the resource for the tests) or doc generation (to allow
the resources to be loaded even without their dependencies).

Related-Bug: #1271226
Change-Id: Iabd3da70f7ba35e0b43a2409e170be7f41a351a6