Commit Graph

2 Commits

Author SHA1 Message Date
Jean-Philippe Evrard 6767da4200 Include policy in tree for ease of deployment
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
2018-01-26 01:08:51 +00:00
Keiichi Hikita ba1ccf4d9b Taken over policy file for heat from Horizon repository.
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
2017-11-16 11:08:03 +09:00