The resource show API verified that a resource is defined in stack
and has an id associated with it. Because of this, for a valid stack
resource which is not persisted, the resource show API returned the
error 'stack or resource not found'.
Fixed by validating only that the resource is defined in a stack
and return the available information in the resource show API
response.
Reviewed: https:/ /review. openstack. org/143425 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=207872b0601 2b031b34e5da458 23dd26629277f9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 207872b06012b03 1b34e5da45823dd 26629277f9
Author: Unmesh Gurjar <email address hidden>
Date: Mon Dec 22 16:03:29 2014 +0530
Return available info for uncreated resource
The resource show API verified that a resource is defined in stack
and has an id associated with it. Because of this, for a valid stack
resource which is not persisted, the resource show API returned the
error 'stack or resource not found'.
Fixed by validating only that the resource is defined in a stack
and return the available information in the resource show API
response.
Change-Id: Ic0a031294f4f1d ffc3c9978014480 d15fd2fa27b
Closes-bug: #1402531