]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Support lookup of stacks by name or ARN
authorZane Bitter <zbitter@redhat.com>
Wed, 5 Sep 2012 19:51:25 +0000 (21:51 +0200)
committerZane Bitter <zbitter@redhat.com>
Wed, 5 Sep 2012 19:53:24 +0000 (21:53 +0200)
commit38f886947c91ebf610ab2972649a06bec630746b
tree53ab38b2925182290aa70ee0f0274ccbd5e7730c
parent052a6a431144f8d249c562e8a633e3e0afea12d5
Support lookup of stacks by name or ARN

Previously stacks could only be referenced by name. Now, use the canonical
stack identifier to act on them. The identifier can be obtained from the
RPC API by looking it up with identify_stack. In the AWS API, the user
can pass an ARN that is converted into an identifier.

Change-Id: I29309d12e522ed301c3f6269df5d1d14382b024b
Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat/api/v1/stacks.py
heat/engine/manager.py
heat/engine/rpcapi.py
heat/tests/test_api_v1.py
heat/tests/test_engine_manager.py