207 Commits

Author SHA1 Message Date
Luke Sneeringer
95567ff004 [in progress] Azure support. 2014-07-28 13:22:58 -05:00
Luke Sneeringer
a05aac8a50 Add host and project to the credential serializer. 2014-07-25 11:12:12 -05:00
Luke Sneeringer
dd79ba8de7 Beginning PEM file support for GCE. 2014-07-25 11:12:11 -05:00
Matthew Jones
d6bfdc8560 Add a little more info to the documentation for the job_tasks endpoint
to clarify what the id being filtered is
2014-07-23 11:52:40 -04:00
Chris Church
48afe188b2 Fix to return hosts without a group in the 'all' group from inventory script view. 2014-07-18 13:28:23 -04:00
Matthew Jones
3924c0d867 Update endpoint documentation names for job plays and tasks 2014-07-16 15:25:54 -04:00
Matthew Jones
9621a9699f Add some related data to job event aggregates 2014-07-16 15:23:47 -04:00
Matthew Jones
985cba94ef Update documentation for job_plays and job_tasks endpoints 2014-07-16 15:15:29 -04:00
Matthew Jones
a7a092f30a Count the actual events instead of the records returned from the queryset 2014-07-16 14:24:47 -04:00
Matthew Jones
ba44491bf0 Fix up pagination tests by updating return assumptions from decorated function 2014-07-16 13:34:37 -04:00
Matthew Jones
364e185412 Fix up how the pager view works and how we return errors from some views
so that we can propogate non 200 statuses
2014-07-16 12:29:36 -04:00
Matthew Jones
9f7763ee9f Add options information and linkage for dashboard views 2014-07-15 16:20:28 -04:00
Matthew Jones
91f26c294a Use utcnow() when filtering jobs for dashboard display 2014-07-15 10:56:32 -04:00
Matthew Jones
6ee61d6c72 Make it to where we can track JobHostSummary objects for hosts that don't necessarily exist in inventory 2014-07-14 15:34:46 -04:00
Matthew Jones
f93e60979f Add a host_name field to JobHostSummary and migrate to it, so we have at
least that information in job data if the host has been removed
2014-07-11 16:03:14 -04:00
Matthew Jones
6e9becb4b8 Implement icontains filter on job_plays and job_tasks 2014-07-11 15:10:30 -04:00
Chris Church
48906416ac Remove refresh_inventory flag for callbacks; make it the default behavior instead. 2014-07-08 15:44:02 -04:00
Matthew Jones
54799c57e6 Fix an issue filtering job_type for dashboard graphs 2014-07-08 11:38:52 -04:00
Matthew Jones
a36c43bd90 Split out dashboard graphs onto two endpoints, support actual query
parameters related to job type and implement per-inventory source
success/failed breakdowns
2014-07-08 11:07:40 -04:00
Matthew Jones
1590ce1762 Work around a bug in django 1.4 and 1.5 for qsstats that would not allow
it to work with USE_TZ = True
2014-07-08 10:24:55 -04:00
Matthew Jones
854e31e218 Adding some graph data, will be splitting this out in the near future 2014-07-07 14:02:02 -04:00
Matthew Jones
a9b0faf979 Fix a bug where we would clear the use timezone directive for the rest of the life of the apache process 2014-07-07 13:09:26 -04:00
Chris Church
6813a082f0 Add refresh_inventory flag for job_template callback to refresh inventory before trying to find a matching host. 2014-07-03 15:59:56 -04:00
Matthew Jones
f39939b152 Adding some dashboard time-series graphs and new qsstats vendored dependency 2014-07-02 09:26:33 -05:00
Matthew Jones
9da4b8f336 Add unreachable counts to job tasks endpoint 2014-06-30 16:01:52 -05:00
Matthew Jones
d4ef57bab6 Add absolute end value for limited json stdout view 2014-06-26 11:21:03 -04:00
Matthew Jones
7ecbe727ca More fix up for job event aggregation filtering 2014-06-26 10:51:44 -04:00
Matthew Jones
ed9bb6c572 More filtering fix ups 2014-06-25 17:14:31 -04:00
Matthew Jones
29e698eb41 Support lt filtering on job_tasks and job_plays also 2014-06-25 17:04:56 -04:00
Matthew Jones
d9e9a88d3c changed and failed are elements on the jobevent model and we should use those 2014-06-25 17:01:39 -04:00
Matthew Jones
7a9c1a5916 Fix an inconsistent variable usage in the job tasks view 2014-06-25 16:30:58 -04:00
Matthew Jones
8c502478a0 Allow taking the ordering parameter in the unit tests for the decorator 2014-06-25 14:54:32 -04:00
Matthew Jones
053bb4eeb0 Add ordering and various filtering for job events as requested by AC-1349 2014-06-25 14:27:06 -04:00
Matthew Jones
95ba711fc1 Fix up a bug in the unit test from fixing the job template assumption 2014-06-23 14:13:50 -04:00
Matthew Jones
8d78755ef4 Fix some invalid assumptions about hosts and jobs where we assume a job
template will always be available
2014-06-23 13:39:09 -04:00
Matthew Jones
788cf2e24e Report range information with json format endpoint on job stdout 2014-06-23 12:24:43 -04:00
Luke Sneeringer
2fcbe9e989 Make /jobs/{id}/job_plays/ paginated. 2014-06-19 15:18:10 -05:00
Luke Sneeringer
4eddd692fb Merge branch 'vagrant-unstable' 2014-06-19 14:54:16 -05:00
Matthew Jones
7530a6e35f Allow limiting the stdout view given start_line and end_line parameters 2014-06-19 15:45:10 -04:00
Luke Sneeringer
5d528e2db8 Merge branch 'master' into vagrant-unstable
Conflicts:
	awx/api/tests/job_tasks.py
	awx/api/utils/decorators.py
2014-06-19 14:20:34 -05:00
Luke Sneeringer
0fb2160d0f Fix the job_tasks test. 2014-06-19 14:12:49 -05:00
Luke Sneeringer
c8e5892d54 Re-fixed an error from a merge conflict. 2014-06-19 13:23:59 -05:00
Luke Sneeringer
23b617b580 Adding a job_tasks test. 2014-06-19 13:23:40 -05:00
Matthew Jones
a2a46d22bc Add play and tasks linkage to job related fields 2014-06-19 13:23:40 -05:00
Luke Sneeringer
91afd12f31 Adding a job_tasks test. 2014-06-19 13:16:35 -05:00
Matthew Jones
041513ef61 Add play and tasks linkage to job related fields 2014-06-19 13:53:49 -04:00
Luke Sneeringer
09ef25a8ad Re-fixed an error from a merge conflict. 2014-06-19 08:01:57 -05:00
Luke Sneeringer
ba7c33eaa2 Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-19 07:59:32 -05:00
Luke Sneeringer
1f91028399 Tests for the @paginated decorator.
This commit adds tests which test most of the @paginated
decorator. A couple api_settings edge cases are not yet covered.
2014-06-18 15:41:08 -05:00
Luke Sneeringer
66fb5ab07a Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-18 15:41:08 -05:00