Add heat dashboard to horizon

Heat is now a plugin that needs to be enabled in horizon [1].
This uses the same process as the other plugins.

[1]: https://review.openstack.org/#/c/523402/

Change-Id: Ic3ec4684d941df6343074d9275fcfaeff6724181
Closes-Bug: 1745400
This commit is contained in:
Jean-Philippe Evrard 2018-01-25 16:16:57 +00:00
parent b451b3c1b4
commit 53113aa25d
2 changed files with 30 additions and 0 deletions

View File

@ -40,12 +40,17 @@ designate_dashboard_git_install_branch: master
trove_dashboard_git_repo: https://git.openstack.org/openstack/trove-dashboard
trove_dashboard_git_install_branch: master
## The git source/branch for the Heat UI plugin
heat_dashboard_git_repo: https://git.openstack.org/openstack/heat-dashboard
heat_dashboard_git_install_branch: master
## The packages to build from source (used in developer mode)
horizon_developer_constraints:
- "git+{{ horizon_git_repo }}@{{ horizon_git_install_branch }}#egg=horizon"
- "git+{{ magnum_dashboard_git_repo }}@{{ magnum_dashboard_git_install_branch }}#egg=magnum-ui"
- "git+{{ designate_dashboard_git_repo }}@{{ designate_dashboard_git_install_branch }}#egg=designate_dashboard"
- "git+{{ trove_dashboard_git_repo }}@{{ trove_dashboard_git_install_branch }}#egg=trove_dashboard"
- "git+{{ heat_dashboard_git_repo }}@{{ heat_dashboard_git_install_branch }}#egg=heat_dashboard"
# Name of the virtual env to deploy into
horizon_venv_tag: untagged
@ -207,6 +212,9 @@ horizon_enable_trove_ui: False
## Designate UI Panel
horizon_enable_designate_ui: False
## Heat UI Panel
horizon_enable_heat_ui: True
## Neutron features to enable
horizon_enable_neutron_lbaas: False
horizon_enable_neutron_fwaas: False
@ -281,6 +289,7 @@ horizon_pip_packages:
- django-appconf
- django-openstack-auth
- greenlet
- heat_dashboard
- horizon
- ironic-ui
- magnum-ui

View File

@ -14,6 +14,27 @@
# limitations under the License.
_horizon_panels:
- src: "{{ horizon_lib_dir }}/heat_dashboard/enabled/_1610_project_orchestration_panel.py"
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1610_project_orchestration_panel.py"
state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}"
- src: "{{ horizon_lib_dir }}/heat_dashboard/enabled/_1620_project_stacks_panel.py"
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1620_project_stacks_panel.py"
state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}"
- src: "{{ horizon_lib_dir }}/heat_dashboard/enabled/_1630_project_resource_types_panel.py"
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1630_project_resource_types_panel.py"
state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}"
- src: "{{ horizon_lib_dir }}/heat_dashboard/enabled/_1640_project_template_versions_panel.py"
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1640_project_template_versions_panel.py"
state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}"
- src: "{{ horizon_lib_dir }}/heat_dashboard/enabled/_1650_project_template_generator_panel.py"
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1650_project_template_generator_panel.py"
state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}"
- src: "{{ horizon_lib_dir }}/heat_dashboard/local_settings.d/_1699_orchestration_settings.py"
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py"
state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}"
- src: "{{ horizon_lib_dir }}/heat_dashboard/conf/heat_policy.json"
path: "{{ horizon_lib_dir }}/openstack_dashboard/conf/heat_policy.json"
state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}"
- src: "{{ horizon_lib_dir }}/designatedashboard/enabled/_1710_project_dns_panel_group.py"
path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1710_project_dns_panel_group.py"
state: "{{ horizon_enable_designate_ui | ternary('link', 'absent') }}"