This change adds support for policy-in-code and deprecated policy
following the change in horizon.
Depends-on: https://review.opendev.org/750134
Change-Id: I0e53dfd653213a78ccca8a20f4e909b5ed798641
Some deployment methods are using the files delivered by the
installation of packages to configure dashboards.
For example, it's possible to pip install heat-dashboard and
use the use local_settings.d files shipped inside the package
to deploy the heat-dashboard.
When the heat dashboard was not a plugin and included in horizon,
it was usable without having to care about the policy file.
This has changed, as the file is not shipped into horizon by
default, and is not available when pip installing the heat
dashboard directly, unlike the other files (above).
This patch follows the pattern set by murano here [1], to be
able to use the default policy file, shipped with the code,
after a pip install of the heat-dashboard.
[1]: 873fd7ff85/muranodashboard/conf/murano_policy.json
Change-Id: I7e1d74bebc97874c9049f6be33cef27806739b11
logging handler might be varied per user's environement.
comment out logging configuration in orchestraion.setting.py
Change-Id: I4a7aa7756e091f9a7b104ec369722b5551f78438
In devstack, logging handler is not "console", other are taking "test".
When we run tox in devstack env along with horizon which don't have heat
support, we entercouter an logging handler error.
Also current plugin.sh is making not expected directory local_setting.d
under openstack_dashboard/local/local_setting.d, looks being duplicated.
Change-Id: I8208a7ec64d4814a785b50951693aa3097094a50
Heat relevant contents will be split out
from Horizon in Queens release.
After this splitting out, Heat-Dashboard must have
its own settings in Heat-Dashboard repository.
So this review request includes following.
- Create own settings under local_settings.d
- Add procedure for installing above settings.
- Fix installation procedure according to above changes.
Change-Id: I0b9a9907cb0c02aed70e7c1af3d9d07b0ddeffb6
In future, Heat relevant files(like GUI, api client, policy files, ...)
will be split out from Horizon repository.
But now this repository does not have Heat policy file so I've copied
it from Horizon latest repository.
This review request also includes following changes.
- Added installation procedure document relates to heat_policy.json.
- Modified plugin.sh to install heat_policy.json.
Change-Id: I8dd386e392eb4467b03efd68c7959371d4b9576d