]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Expose resource dependency required_by to REST API.
authorSteve Baker <sbaker@redhat.com>
Thu, 20 Jun 2013 02:17:20 +0000 (14:17 +1200)
committerSteve Baker <sbaker@redhat.com>
Sun, 30 Jun 2013 23:14:45 +0000 (11:14 +1200)
commit5c5519af266c56777c826dda3aca55c0e720bd02
treed7484d08726b5ad7de2e44f8b50e27371a2ba95f
parent84e0ed42a5bd13bee446f45bc13352b047988ae9
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
heat/engine/api.py
heat/engine/dependencies.py
heat/engine/resource.py
heat/rpc/api.py
heat/tests/test_dependencies.py
heat/tests/test_engine_api_utils.py
heat/tests/test_parser.py