RETIRED, this project has moved to https://github.com/ansible-community/ara
Go to file
David Moreau Simard 68cbbe24bc First iteration of callback using API
- Remove mockdata.py (using the callback is better)
- Add first iteration of callback
  Note: This will eventually be moved, it's here for simplicity
- Add test playbook/role to exercise the callback

Note: The callback will be moved to ara-plugins

Change-Id: I8f590be4cfafd4714f40f4165e2973cb803b8756
2018-06-20 12:14:56 +00:00
api Add completed attribute to plays and tasks, remove files from tasks 2018-06-19 17:28:22 -04:00
ara Improve default django logging settings 2018-06-20 08:12:44 -04:00
doc/source/_static First iteration of callback using API 2018-06-20 12:14:56 +00:00
hacking First iteration of callback using API 2018-06-20 12:14:56 +00:00
.editorconfig 💥 first commit 2018-03-29 12:36:14 -04:00
.gitignore Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -04: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 💥 first commit 2018-03-29 12:36:14 -04:00
requirements.txt Bump Django to >2 2018-03-29 12:36:23 -04:00
setup.cfg Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -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 First iteration of callback using API 2018-06-20 12:14:56 +00: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/>.