list_resource_types filters template based resources

Bug #1286179 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Thomas Herve

Bug Description

ResourceRegistry.get_types filters resources which are ClassResourceInfo, for no obvious reasons, in particular filtering out TemplateResourceInfo. That has some important impacts, like several resources missing from "heat resource-type-list" or from the documentation. Unless there is a reason, we should remove that filter.

Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-3 → icehouse-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/79278

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/79278
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=49dd63f0c6a8ec8b2286a393c3bf6cfbe7369049
Submitter: Jenkins
Branch: master

commit 49dd63f0c6a8ec8b2286a393c3bf6cfbe7369049
Author: Thomas Herve <email address hidden>
Date: Mon Mar 10 09:33:13 2014 +0100

    Return template based class in list resource types

    Don't filter out TemplateResourceInfo in ResourceRegistry.get_types so
    that they are available in the resource-type-list API.

    Closes-Bug: #1286179
    Change-Id: Ie26e3b12e9f05568f146458a0d0c5c120970978b

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-rc1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.