]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Allow REST stack lookup by ARN
authorSteve Baker <sbaker@redhat.com>
Wed, 6 Mar 2013 03:22:58 +0000 (16:22 +1300)
committerSteve Baker <sbaker@redhat.com>
Wed, 6 Mar 2013 20:09:31 +0000 (09:09 +1300)
commit2f3f98f58d4ffe401cb542508bd62da4f14f0dbf
tree714d8ba7a8bae676aed8d64733c05afd8c07ee95
parent269c397be26a8c759596c0743fad363e6185f59c
Allow REST stack lookup by ARN

This uses the same approach as the cfn api, which assumes the stack
name is an arn, before falling back to an identify_stack call.

Change-Id: I64e9826fa58e05863e9459d3aab041a8d7997405
Fixes: Bug #1131759
heat/api/openstack/v1/stacks.py
heat/tests/test_api_openstack_v1.py