RETIRED, Congress Horizon plugin.
Go to file
manchandavishal 15afe9c6a5 Drop Django 1.11 support
Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.

tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.

horizon>=17.1.0 is required to use Django 2.2. requirements.txt and
lower-constraints.txt are updated accordingly. for more info. please
refer [1].
This patch also drop django-babel as horizon already swiched from
django-babel to enmerkar. congress-dashboard requirement.txt needs to
sync the change to fix gate failure. enmerkar, a successor of
django-babel will be installed via horizon, so we don't need to
have it in requirements.txt explicitly.

Depends-On: https://review.opendev.org/#/c/700733/
[1] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin

Change-Id: I105be486e98b856839214e72a363674cd5c23b9f
2020-02-05 14:21:35 +00:00
congress_dashboard Merge "Fix path to policies.css" 2019-03-19 17:59:33 +00:00
doc tox: Keeping going with docs 2019-12-19 00:31:01 +00:00
releasenotes [ussuri][goal] Drop python 2.7 support and testing 2019-12-18 23:43:25 +00:00
tools pep8 to install only required packages 2017-05-08 12:47:22 +05:30
.gitignore Add Apple OS X ".DS_Store" to ".gitignore" file 2018-08-18 16:09:27 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:42:46 +00:00
.zuul.yaml [ussuri][goal] Drop python 2.7 support and testing 2019-12-18 23:43:25 +00:00
CONTRIBUTING.rst Fix the old links in docs 2018-04-02 04:16:29 +00:00
HACKING.rst fix error url 2018-02-02 12:32:59 +08:00
LICENSE Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
MANIFEST.in Minor changes related to docs 2017-07-14 19:35:35 +00:00
README.rst Changes for url transition to OpenDev 2019-04-22 06:40:36 +00:00
lower-constraints.txt Drop Django 1.11 support 2020-02-05 14:21:35 +00:00
manage.py Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
requirements.txt Drop Django 1.11 support 2020-02-05 14:21:35 +00:00
setup.cfg [ussuri][goal] Drop python 2.7 support and testing 2019-12-18 23:43:25 +00:00
setup.py Updated from global requirements 2018-01-27 17:32:41 +00:00
test-requirements.txt Drop Django 1.11 support 2020-02-05 14:21:35 +00:00
tox.ini Drop Django 1.11 support 2020-02-05 14:21:35 +00:00

README.rst

Congress Dashboard

Horizon Plugin for Congress

Congress Dashboard is an extension for OpenStack Dashboard that provides a UI for Congress. With congress-dashboard, a user is able to easily write the policies and rules for governance of cloud.

Enabling in DevStack

Add this repo as an external repository into your local.conf file:

[[local|localrc]]
enable_plugin congress https://github.com/openstack/congress

Manual Installation

The following below instructions assumes that Horizon is already installed and its installation folder is <horizon>. Detailed information on how to install Horizon can be found at https://docs.openstack.org/horizon/latest/contributor/quickstart.html#setup.

The installation folder of Congress Dashboard will be referred to as <congress-dashboard>.

Clone Congress-Dashboard

$ git clone https://github.com/openstack/congress-dashboard.git
$ cd congress-dashboard

Install requirements

$ sudo pip install .

Install Source code

$ sudo python setup.py install

And enable it in Horizon

$ ln -s <congress-dashboard>/congress_dashboard/enabled/_50_policy.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_60_policies.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_70_datasources.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_75_monitoring.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_80_library.py <horizon>/openstack_dashboard/local/enabled

Restart Apache server

$ sudo service apache2 restart