Some TODO updates, a model revision, and getting association/disassociation working on user/team creds.

This commit is contained in:
Michael DeHaan
2013-04-15 19:19:54 -04:00
parent 9fc041f4ec
commit ec0e0f60dc
4 changed files with 85 additions and 21 deletions

49
TODO.md
View File

@@ -3,25 +3,52 @@ TODO items for ansible commander
4/2 NOTES
=========
* supervisord to start celery, modify ansible playbook to set up supervisord <- Chris
* host relationships in DB, last launch job status per host, etc (self.play.inventory) <- Chris
* stats attributes on launch job (??)
* supervisord to start celery, modify ansible playbook to set up supervisord <- ChrisC
* host relationships in DB, last launch job status per host, etc (self.play.inventory) <- ChrisC
* stats attributes on launch job status (??) -- which hosts succeeded, failed, etc (through relationship) <-- Chris C
* make launch job rest triggerable & launch job statuses readable. launch_job.start() <-- MPD
* do we need something other than default playbook (ProjectOptions) <-- BOTH, TBD
* way to send cntrl-c to kill job (method on job?) <-- Chris, low priority
* documentation on how to run with callbacks from NOT a launchjob <-- Chris
* interactive SSH agent support for launch jobs/creds
* do we need something other than default playbook (ProjectOptions) <-- me, later
* way to send cntrl-c to kill job (method on job?) <-- ChrisC, low priority
* documentation on how to run with callbacks from NOT a launchjob <-- ChrisC
* interactive SSH agent support for launch jobs/creds <-- ChrisC
* michael to modify ansible to accept ssh password and sudo password from env vars
CH notes
========
need to add api/v1/group/N/all_hosts
need to add api/v1/host/N/all_groups or make sure it's in the resource
figure out how to mark each object generically w/ whether it can be edited/etc
enable generic filtering
sorting?
if you delete a subgroup, hosts go up to parent
verify unique_together on inventory and host name
make a way to start a launch job via the API.
future feature of being able to create SavedLaunchJob templates.
REST TODO
---------
* credentials objects & permissions
* tags
* audit trails
* launch jobs triggering
* related resources on everything that makes sense
* tags (later)
* audit trails (later)
* launch jobs triggering <-- important
* related resources on everything that makes sense <--- important
* expose log data from callback (decide on structure)
api/v1/ <-- discoverable
api/v1/me
{
id: 2
foo: 3
related: [
'bar' : 'http://api/v1/users/5/bar',
'baz' : 'http://api/v1/users/10/baz',
}
}
LATER
-----