This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: Ifd8e31498ab45cbc5dc86f71a967e521046de6d7
Introduce a fixed network mode for environments. Specifically,
when this mode is activated, in the environment creation dialog
user is no longer prompted for a network and instead a network
previously assigned to the current project is used.
Network is assigned to project using project metadata key (custom)
with network ID as the value.
Specify this metadata key in Horizon config to be able to use it
This behavior is disabled by default and could be enabled by adding:
USE_FIXED_NETWORK = yes
FIXED_MURANO_NETWORK = murano_network
to the Horizon configuration.
Change-Id: Ic464e1560cc89fdc7615d51e67beb0f50e11f24c
It happens that applications do not have keys that murano-dashboard
uses explicitly, such as 'name' or 'description'.
So, when some required keys are absent, handle appeared error
and provide error to user.
Change-Id: I66216e47d30d14f63ae3746f532a493e0a119fca
Revert this commit. since this had fix in horizon in this change [0].
[0]: I23aae10a7e63494c1c9f656b47becd2f067c9058
This reverts commit 9960ceebed.
Change-Id: I44ce6b15aa4908c4e6aee59d74f796766dc05fc1
Now there are too many actions for the Environments table,
we can use table_actions_menu fuction to add some of the actions to the
More Actions menu, this can reduce the lenth of the table actions.
Change-Id: If1dd94f737f2e893e5d40492b1f8a65d5fc81d36
To get rid of this warning, change code that looks like this:
BeautifulSoup(YOUR_MARKUP})
to this:
BeautifulSoup(YOUR_MARKUP, "html.parser")
This patch fix the warning
Change-Id: I60d338f9b8365a46f0acc611989e0e109759b748
Deploy a environment, then go the environment details page,
click the services name link, will gives the error:
ValueError: Need 2 values to unpack in for loop; got 1.
This patch fix this error.
Change-Id: Id8c601b20eb9159d580f2e8fbfb1ee3967a00784
Closes-bug: #1703197
Currently, the all Deployment History page always adds a
red underline underneath every status table
cell, even for those in a non-error/non-warning status.
The red underline should only appear for error/warning status.
This patch ensures that only error/warning status has the red underline.
Change-Id: I606162174bd02da1851d03c303f6fd755ddf1563
Closes-Bug: #1703187
Now get timezone gives error:
Exception Value: 'NoneType' object has no attribute 'upper'
This patch use horizon utils get_timezone get timezone.
Change-Id: I1e1bb4cf645f3aed406f2e593b8bb18bf85627ef
Closes-Bug: #1703152
When creating context, save the context to the '$forms'
variable as well as to '$'. The 'S' contents may change
during evalation of collections and their methods but '$forms'
will remain the same. This allows the forms data to be used
as input to a collection's method.
Change-Id: I4b32aa53cd7b56c07af7e593ead1736d81766ae7
Closes-Bug: 1700790
Fetch local timezone from session variable 'django_timezone'. This
setting can be either set in Horizon manually or it defaults to the
value of setting TIME_ZONE (with 'UTC' value as a default).
Change-Id: I6c0bbf7b0e0763bd238ab9fa9c4c75e3fdf02fbd
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