51cbeb6640
After https://review.openstack.org/#/c/476273/ was merged, murano dashboard is throwing errors related to listing categories when trying to import a package. Currently, python-muranoclient still contains a function [0] for listing categories using the deprecated API v1/packages/categories. The problem is that murano dashboard calls this function [1][2][3] in python-muranoclient which throws a 404, as the deprecated API was removed from murano. This commit replaces instances of client.packages.categories() with client.categories.list(). However, while the former returns a list of category names, the latter returns of a list of category objects -- so they then need to be iterated over to retrieve the list of category names. [0] |
||
---|---|---|
.. | ||
__init__.py | ||
test_api.py | ||
test_forms.py | ||
test_tables.py | ||
test_views.py |