RETIRED, this project was merged into a single ara repository
Go to file
David Moreau Simard bd8675bfe1
Add missing unit tests for plays API endpoint
Change-Id: I409788ff4cce8f69a833b193a9d08b92449b64d3
2018-06-20 18:27:20 -04:00
.zuul.d Add a basic job to test integration between server, clients and plugins 2018-06-20 11:47:55 -04:00
ara Add missing unit tests for plays API endpoint 2018-06-20 18:27:20 -04:00
doc/source/_static First iteration of callback using API 2018-06-20 12:14:56 +00:00
hacking Add a basic job to test integration between server, clients and plugins 2018-06-20 11:47:55 -04:00
.editorconfig 💥 first commit 2018-03-29 12:36:14 -04:00
.gitignore Fix flake8 and bandit tests 2018-06-20 12:39:48 +00:00
.gitreview Added .gitreview 2018-03-27 11:35:47 +00:00
LICENSE 💥 first commit 2018-03-29 12:36:14 -04:00
README.rst First iteration of callback using API 2018-06-20 12:14:56 +00:00
manage.py Refactor ara-server into namespaced python modules 2018-06-20 08:38:49 -04:00
requirements.txt Bump Django to >2 2018-03-29 12:36:23 -04:00
setup.cfg Refactor ara-server into namespaced python modules 2018-06-20 08:38:49 -04:00
setup.py Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -04:00
test-requirements.txt Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -04:00
tox.ini Add a basic job to test integration between server, clients and plugins 2018-06-20 11:47:55 -04:00

README.rst

ara-django

image

An experiment with Django at the core of the ARA 1.0 backend. This is not stable or production-ready.

If you are looking for ARA Records Ansible, the Ansible callback plugin and reporting interface, you will find the repository here.

We are prototyping outside the main repository due to the vast changes involved and will merge back as appropriate.

Documentation

Work in progress

This is python3 only right now.

TL;DR: Using tox is convenient for the time being:

# Use the source Luke
git clone https://github.com/openstack/ara-server
cd ara-server

# Install tox
pip install tox # (or the tox python library from your distro packages)

# Create data from a test playbook and callback
tox -e ansible-playbook

# Run test server -> http://127.0.0.1:8000/api/v1/
tox -e runserver

# Run actual tests or get coverage
tox -e pep8
tox -e py35
tox -e cover

# Build docs
tox -e docs

See the hacking directory for testing resources.

Contributors

See contributors on GitHub.

Copyright

Copyright (c) 2018 Red Hat, Inc.

ARA is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

ARA is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ARA.  If not, see <http://www.gnu.org/licenses/>.