Commit Graph

96 Commits

Author SHA1 Message Date
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
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
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
053bb4eeb0 Add ordering and various filtering for job events as requested by AC-1349 2014-06-25 14:27:06 -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
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
91afd12f31 Adding a job_tasks test. 2014-06-19 13:16:35 -05:00
Luke Sneeringer
2ac5090d70 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 13:01:53 -05:00
Luke Sneeringer
bb338f3637 Make /api/v1/jobs/{id}/job_tasks/ scale.
This commit fixes an issue where the `job_tasks` endpoint
scaled poorly as the number of job tasks increased.

Note: This is a revert of a revert, because I felt this needed
code review and didn't want it on master yet. Sorry.

AC-1341
2014-06-18 12:59:57 -05:00
Luke Sneeringer
55e1258a5d Revert "Make /api/v1/jobs/{id}/job_tasks/ scale."
This reverts commit 88971080670f8f104db0f322a49ed2f3bb5e1ef0.
2014-06-18 12:56:32 -05:00
Luke Sneeringer
461e4d5e2a Make /api/v1/jobs/{id}/job_tasks/ scale.
This commit fixes an issue where the `job_tasks` endpoint
scaled poorly as the number of job tasks increased.

AC-1341
2014-06-17 15:22:13 -05:00
Matthew Jones
05e17e66fc Add unreachable event counts to play stats 2014-06-13 12:47:49 -04:00
Matthew Jones
94e843dc71 Make sure we include the state flags for the plays as well as the counts 2014-06-12 16:11:07 -04:00
Matthew Jones
64dbb0b4b2 Give more stats on the plays aggregate summary 2014-06-12 15:15:11 -04:00
Matthew Jones
9879aad78b Add some shortcuts for summarizing job event data to support the UI in AC-1330 2014-06-10 13:25:57 -04:00
Matthew Jones
6773fd19d7 Implement passive copying as a new host to a group
requires that the variables isn't special on the new host
implements AC-1265
2014-06-06 15:22:56 -04:00
Matthew Jones
8cbf60e3b7 Integrate a new overall disassociate to /groups/n/children 2014-05-23 14:30:39 -04:00
Matthew Jones
35521cbdc8 Fix merge badness 2014-05-21 16:31:26 -04:00
Matthew Jones
3d90c6db76 Deref deleted group immediately and then pass off the children and hosts
to be processed in the background.

Get rid of the child relative delete mechanism and merge the old concept
of delete on the /group/n endpoint with our new concept
2014-05-21 16:12:42 -04:00
Chris Church
ea9843a66c AC-1235 Improve inventory tree view performance. 2014-05-20 16:49:03 -04:00
Matthew Jones
e03a7792ca Missing call to all when querying the relation manager 2014-05-20 14:04:46 -04:00
Matthew Jones
e57d8718ff Support smart subgroup disassociation 2014-05-20 13:52:00 -04:00
Matthew Jones
c7ed154149 Implement AC-1279, rename vars_prompt_on_launch to ask_variables_on_launch
Conflicts:
	awx/main/models/jobs.py
2014-05-15 10:26:11 -04:00
Chris Church
4f74afdf19 Add response headers for timing API requests, improve inventory script view performance. 2014-05-14 13:52:46 -04:00
Matthew Jones
22984f91cc Make sure we notify vars_update_on_launch from job details 2014-05-12 14:50:58 -04:00
Matthew Jones
79ef9e5ed5 Implement smart recursive deleting on certain inventory resources 2014-05-08 16:56:55 -04:00
Matthew Jones
ac94c11fd7 Adjust inventory computed field calculations to happen in the celery context 2014-04-30 14:38:08 -04:00
Matthew Jones
f788adfbca Implement AC-1224, include the id of the new inventory or project update
when launching
2014-04-25 12:57:52 -04:00
Chris Church
130d1f071f Return URL to new job created from job template callback. 2014-04-15 15:41:49 -04:00
Chris Church
1d417fe573 AC-1191 Fix limit parameter on callback jobs to intersect with any limit specified on the job template. 2014-04-14 23:40:06 -04:00
Matthew Jones
7202905d0e Fix an issue I created with the config view trying to import the old
license reader
2014-04-03 16:30:05 -04:00