Dashboard for Murano
Go to file
Felipe Monteiro 51cbeb6640 Fix missing import package button in murano dashboard
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] 08411aa8d2/muranoclient/v1/packages.py (L52)
[1] f98e08d827/muranodashboard/packages/forms.py (L216)
[2] f98e08d827/muranodashboard/packages/forms.py (L288)
[3] bc8e4b97d0/muranodashboard/packages/tables.py (L54)

Change-Id: I715b1c9ccfdd044980596cc6d966062e0386884c
Partial-Bug: #1701067
2017-07-02 00:55:15 +00:00
doc/source Fix doc generation for Python3 2017-06-04 21:56:48 +08:00
muranodashboard Fix missing import package button in murano dashboard 2017-07-02 00:55:15 +00:00
releasenotes Imported Translations from Zanata 2017-06-27 07:06:32 +00:00
tools Fix typos 2016-12-05 17:36:13 +08:00
.coveragerc Fix script for unit test coverage job 2016-08-17 10:23:27 +03:00
.eslintrc Update murano-dashboard eslint devDependencies 2016-09-21 11:27:26 +08:00
.gitignore Add cover dir to gitignore 2016-08-17 16:21:37 +00:00
.gitreview Update .gitreview file to reflect repo rename 2015-04-18 00:37:36 +00:00
CONTRIBUTING.rst Update the dashboard Code Review URL 2015-11-10 22:49:44 +08:00
HACKING.rst Update information in README 2015-04-28 15:55:01 +00:00
LICENSE Add a LICENSE file 2016-09-13 16:02:55 +03:00
README.rst Show team and repo badges on README 2016-11-25 15:53:08 +01:00
babel-django.cfg Adds i18n machinery similar to the one used in horizon 2015-12-28 23:17:26 +03:00
babel-djangojs.cfg Adds i18n machinery similar to the one used in horizon 2015-12-28 23:17:26 +03:00
karma.conf.js Add JS unit tests runner and commands to dashboard 2016-10-07 16:09:01 +03:00
manage.py Fix manage.py wrong muranodashboard setting module 2016-08-25 11:32:32 +08:00
package.json Add JS unit tests runner and commands to dashboard 2016-10-07 16:09:01 +03:00
requirements.txt Updated from global requirements 2017-06-02 11:36:06 +00:00
setup.cfg Remove support for py34 2017-06-07 10:03:28 +07:00
setup.py Updated from global requirements 2017-03-02 11:47:28 +00:00
test-requirements.txt Updated from global requirements 2017-06-27 17:45:51 +00:00
tox.ini Remove support for py34 2017-06-07 10:03:28 +07:00

README.rst

Team and repository tags

image

Murano

Murano Project introduces an application catalog, which allows application developers and cloud administrators to publish various cloud-ready applications in a browsable categorised catalog. Cloud users, including inexperienced ones, can then use the catalog to compose reliable application environments with the push of a button.

Murano Dashboard

Murano Dashboard is an extension for OpenStack Dashboard that provides a UI for Murano. With murano-dashboard, a user is able to easily manage and control an application catalog, running applications and created environments alongside with all other OpenStack resources.

For developer purposes, please symlink the following OpenStack Dashboard plugin files: * muranodashboard/local/enabled/.py into horizon/openstack_dashboard/local/enabled/ muranodashboard/local/local_settings.d/_50_murano.py into horizon/openstack_dashboard/local/local_settings.d/_50_murano.py * muranodashboard/conf/murano_policy.json into horizon/openstack_dashboard/conf/

re-compress static assets and restart Horizon web-server as usual.

Project Resources