This is a structure that will allow us to install everything under
"ara" as separate packages but inside the same module.
For example, installing ara-server will provide ara.server and
ara.api.
Installing ara-clients will provide ara.clients, ara-plugins will
supply ara.plugins, etc.
Change-Id: I27ee431c4e5d946f558befc12937ba2f3c0d020b
It's relevant to track whether or not plays and tasks have completed
like playbooks so let's do that.
For tasks, they are only associated to a single file so drop the
'files' attribute, we already have a 'file' field.
Change-Id: I15e37a9f913fca51dad5143ff88bd3f1c1cf0d28
The Playbook is kind of special in the sense that it has it's own
(playbook) file but it's also very convenient to store references for
all the files relevant to a playbook execution in a single place.
This makes it so we are able to append files individually as they come
up in the various stages of the execution of a playbook.
Change-Id: I7bf8dcb8286adb702d0a884cdcfeea6ac419b417
- Turns out that some datetime fields should actually use timezone.now
- Move file/filecontent out of a relationship with playbooks
- Add many/many relationships for files/filecontents
- Add some tests
Change-Id: I2e83c0a584b49069e423a9ec8c2c9025a52ea7ef
- Issue with compression due to lack of json.dumps
- Use "auto_now_add=True" instead of "django.utils.timezone.now"
- More tests
Change-Id: I7447750b843d1622db5489e1045592945be1d090
This is a squash of several general improvements like:
- Add and fix docstrings
- Add new task/files endpoints
- Set up file and content compression/decompression
- Try to get serializers work the way we want them to
Change-Id: I52ba5b31e9d225704ed271ede843f3d4a6b468b4
It's convenient to have a script to easily add mock data to test the
API and model with. Let's do that.
Change-Id: I0f108b19d35280faa472850bdeb9ac83f3faa505
The proof of concept/prototype was built using a database schema that
was closer to what the stable release of ARA used instead of the one
that had been worked on already for 1.0.
This updates the models and API serializers to reflect that and be more
accurate.
Change-Id: I963823e84e2d2ef9f6262cd04de8fd31ffc7d5b4