Commit Graph

1024 Commits

Author SHA1 Message Date
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
Luke Sneeringer
131dd67994 Revert "Make /api/v1/jobs/{id}/job_tasks/ scale."
This reverts commit 88971080670f8f104db0f322a49ed2f3bb5e1ef0.
2014-06-18 15:39:50 -05:00
Luke Sneeringer
65b87b9694 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:37:30 -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
ea2bb5e201 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-18 07:17:40 -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
989aa180ce Remove memcached support, alter host fields to not show some expensive
summary elements

Conflicts:
	CONTRIBUTING.md
	setup/roles/packages_el/vars/default.yml
	setup/roles/packages_ubuntu/tasks/main.yml
2014-05-19 11:09:44 -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
d614cc8472 Integrate memcached support for some host fields
Conflicts:
	setup/roles/packages_el/vars/default.yml
	setup/roles/packages_ubuntu/tasks/main.yml
2014-05-14 13:47:12 -04:00
Matthew Jones
22984f91cc Make sure we notify vars_update_on_launch from job details 2014-05-12 14:50:58 -04:00
Chris Church
fcdcf8e988 AC-1262 Add vars_prompt_on_launch field to job template. 2014-05-11 23:03:46 -04:00
Matthew Jones
79ef9e5ed5 Implement smart recursive deleting on certain inventory resources 2014-05-08 16:56:55 -04:00
Matthew Jones
44bb12c5c3 Include host name in the job event serializer 2014-05-02 13:23:45 -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
ac2cd63ab5 AC-1201 Fix UnicodeEncodeError when validating hostname:port containing unicode. 2014-04-16 23:05:57 -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
2546cbdbb6 AC-504 Capture role when available for job events. 2014-04-15 00:22:57 -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
Chris Church
55da67fa91 AC-1181 Fixed job serializer to copy default name/description from job template. 2014-04-14 23:09:02 -04:00