RETIRED, Congress Horizon plugin.
Go to file
Akihiro Motoki c29ddbbeed Fix test failures caused by django test runner
Recently horizon test configuration was changed to use
the Django default test runner because nose is in maintenance mode
for the past several years [1]. Django testcase and oslotest are
incompatible, so congress_dashboard testcase now fails.

test_fake.py actually tests nothing, so there is no reason
to keep it. It sounds reasonable to drop this file.

[1] horizon commit 1f80d94459856a8c477310cc0fe4b0e165d8c0c1

Change-Id: I0b99e709fda9c933ec229bb1dde161cf5bea319b
2018-06-13 20:24:19 +09:00
congress_dashboard Fix test failures caused by django test runner 2018-06-13 20:24:19 +09:00
doc Follow the new PTI for document build 2018-06-06 05:18:11 +00:00
releasenotes Follow the new PTI for document build 2018-06-06 05:18:11 +00:00
tools pep8 to install only required packages 2017-05-08 12:47:22 +05:30
.gitignore Move congress_dashboard folder to this project 2017-03-15 04:41:58 +00:00
.gitreview Added .gitreview 2017-03-07 10:33:43 +00:00
.zuul.yaml Django 2.0 support 2018-05-11 00:26:15 +09: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 Fix the old links in docs 2018-04-02 04:16:29 +00:00
lower-constraints.txt Update lower-constraints to match requirements 2018-06-06 01:35:19 +00:00
manage.py Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
requirements.txt Update lower-constraints to match requirements 2018-06-06 01:35:19 +00:00
setup.cfg Follow the new PTI for document build 2018-06-06 05:18:11 +00:00
setup.py Updated from global requirements 2018-01-27 17:32:41 +00:00
test-requirements.txt Follow the new PTI for document build 2018-06-06 05:18:11 +00:00
tox.ini Merge "Follow the new PTI for document build" 2018-06-06 05:37:22 +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