Commit Graph

112 Commits

Author SHA1 Message Date
Matthew Jones
7e109cb95d Track source_script in summary and related fields for relevant inventory sources 2014-11-25 15:28:52 -05:00
Chris Church
ad856391f6 Use select_related and other misc fixes to improve performance and reduce queries. 2014-11-24 21:12:21 -05:00
Matthew Jones
8b46bc3829 Fix up OPTIONS requests relative to system jobs on some endpoints 2014-11-18 12:02:48 -05:00
Chris Church
a9c6dadc1a Remove extra print statements, minor contributing updates. 2014-11-11 18:09:01 -05:00
Matthew Jones
8bf66f01c4 Add System Job to OPTIONS get for job types under unified jobs 2014-11-11 15:51:13 -05:00
Matthew Jones
9873bd2bc2 Add created_by and modified_by to some serializers 2014-11-07 10:45:53 -05:00
Matthew Jones
ede6142cea New permission for users and teams that allow creating job templates,
this makes Deployment permissions more granular.  Includes unit tests
and a migration to promote existing "run" permissions to "create".

Also some slight doc updates to denote that this implies "run" and "check"
2014-10-31 15:04:46 -04:00
Matthew Jones
ce50376c7f Updating job list api endpoints to be able to display system jobs if you
can see them and any have run
2014-10-17 14:56:40 -04:00
Matthew Jones
103929c9ee Allow passing variables with schedules to support extra data on system jobs 2014-10-17 14:41:00 -04:00
Matthew Jones
6ed9705d91 Small fix for system job serializer 2014-10-14 13:56:58 -04:00
Matthew Jones
fbf9a4957e Initial system job implementation 2014-10-14 11:11:17 -04:00
Matthew Jones
06c75aeecf Implement API side for custom inventory script support with endpoints
and unit tests
2014-09-30 11:50:50 -04:00
Matthew Jones
259e48df3e Add survey bits to summary fields on job templates.... change "title" to
"name" on survey metadata.
2014-09-22 11:11:18 -04:00
Chris Church
e427234aec Implements https://trello.com/c/bEMQtVjz - API/UI changes to support su username/password. Adds force_handlers, skip_tasks and start_at_task options to jobs, only exposed via API. 2014-09-11 17:34:38 -04:00
Matthew Jones
514cd4a1db Initial api side implementation of the survey spec 2014-09-09 11:08:40 -04:00
Matthew Jones
b5763f078d Add relaunch capability to a job. fill in related links for various serializers 2014-09-05 14:02:55 -04:00
Matthew Jones
0f67f6d57c Fix an issue where we were incorrectly trying to deserialize variables
contained in the inventory activity stream change reported in:

https://trello.com/c/5eIrrOvY
2014-08-21 13:13:01 -04:00
Matthew Jones
046561ecaa add counter to jobevent object sourced from callback ansible plugin 2014-08-19 15:50:41 -04:00
Luke Sneeringer
7721a52584 Make schedules accept gce/vmware/wa credentials. 2014-08-13 12:00:42 -04:00
Chris Church
b3aac6bb9e Update status choices for projects, inventory sources and job templates to only return options applicable to the specific object type. 2014-08-13 00:11:57 -04:00
Luke Sneeringer
6747d0690a Suppress warnings on CentOS when installing gmp
...and other warnings.

https://trello.com/c/heqXqTNM/187-centos-6-5-gmp-error-during-run-requires-setup-playbook-improvements
2014-08-08 11:38:33 -05:00
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
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
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
041513ef61 Add play and tasks linkage to job related fields 2014-06-19 13:53:49 -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
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
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
Chris Church
ac2cd63ab5 AC-1201 Fix UnicodeEncodeError when validating hostname:port containing unicode. 2014-04-16 23:05:57 -04:00
Chris Church
2546cbdbb6 AC-504 Capture role when available for job events. 2014-04-15 00:22:57 -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
Matthew Jones
2fe1ae189a Fix issue AC-1152... disallow creating a schedule for non-cloud
inventory sources
2014-04-07 13:35:40 -04:00
Matthew Jones
3481366fcf Include more detail about schedules in activity streams by linking to
their parent object in summary_fields and related
2014-04-06 11:58:56 -04:00
Matthew Jones
b222fc02ee Add finished datetime detail to last_job and recent_jobs summary
fields.  Closes AC-1135
2014-04-04 17:04:32 -04:00
Chris Church
9a7d77ffe3 AC-1121 Renamed job_type to unified_job_type on summary fields for schedules. 2014-04-03 13:42:01 -04:00
Matthew Jones
711c1824a3 Fix issue AC-1112... disallow multiple dtstart and rrule segments 2014-04-03 13:14:53 -04:00
Matthew Jones
d190aa3001 Wrap up rrule validation for scheduler 2014-04-02 11:44:49 -04:00
Chris Church
0b3d056c16 Always use JSON renderer for OPTIONS requests in browsable API, override default renderer. 2014-04-01 20:51:15 -04:00
Chris Church
86599cf1e3 Add API resource for unified job stdout with HTML output of ANSI color codes. 2014-04-01 20:15:43 -04:00
Matthew Jones
4069a33ab0 Scheduler unit tests 2014-04-01 17:12:46 -04:00
Chris Church
5f2356a4fd AC-1040 Change type to job_type when unified_job_template is included in summary_fields. 2014-04-01 16:49:50 -04:00
Matthew Jones
7bc7362299 Complete rrule validation 2014-04-01 11:22:42 -04:00