ara-server/README.rst
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

1.9 KiB

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/>.