RETIRED, Congress Horizon plugin.
Go to file
Eric Kao becbd719cd Suppress 0s in monitoring pane rows
Do not set value to 0 and do not add rows without non-zero value.
Also fix javascript in template to avoid coloring 'No items to display.'

With the following rules:
$ openstack congress policy rule create action 'warning(x) :- blah(x)'
$ openstack congress policy rule create classification 'blah(x) :- error(x)'

Monitoring pane pre-patch shows rows of zero warning/error
screenshot: https://imagebin.ca/v/3VXCVtZxXYUQ

rows suppressed post-patch.
screenshot: https://imagebin.ca/v/3VXX9g34QOGf

Closes-Bug: 1708294

Change-Id: I56adc4da430e3e1e15bd31c42fe3f7bce996dcd0
2017-08-03 17:46:55 +00:00
congress_dashboard Suppress 0s in monitoring pane rows 2017-08-03 17:46:55 +00:00
doc Update Index file documentation 2017-07-19 22:57:16 +00:00
releasenotes Merge "Add Monitoring violations panel" 2017-07-24 05:33:25 +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
CONTRIBUTING.rst Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
HACKING.rst Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
LICENSE Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
manage.py 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 Update README with installation instructions 2017-06-28 11:15:05 +05:30
requirements.txt Add keystoneauth1 to requirements 2017-05-08 14:18:47 +05:30
setup.cfg Fix typo in setup.cfg classifier 2017-07-27 12:27:20 +00:00
setup.py Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
test-requirements.txt Switch from oslosphinx to openstackdocstheme 2017-06-29 09:42:18 +07:00
tox.ini Add python 3.5 in envlist 2017-07-13 20:17:42 +00:00

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 http://docs.openstack.org/developer/horizon/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

Restart Apache server

$ sudo service apache2 restart