Commit Graph

775 Commits

Author SHA1 Message Date
AlanCoding
a36a141141 fuller validation for host_filter 2017-08-31 23:10:09 -04:00
Ryan Petrello
5f416cce74 Merge pull request #365 from ryanpetrello/fix-7521
include extra_credentials data in summary fields for JT/Job detail view
2017-08-31 09:53:21 -04:00
Ryan Petrello
7192d5c4bb include extra_credentials data in summary fields for JT/Job detail view
see: https://github.com/ansible/ansible-tower/issues/7521
2017-08-30 11:56:24 -04:00
AlanCoding
20e82eba42 more coherent source_script & inv validation 2017-08-30 08:31:08 -04:00
Alan Rominger
ba8326285e Merge pull request #337 from AlanCoding/capacity_fix
correct capacity algorithm for task manager
2017-08-28 16:49:19 -04:00
AlanCoding
5327a4c622 Use global capacity algorithm in serializer
The task manager was doing work to compute currently consumed
capacity, this is moved into the manager and applied in the
same form to the instance group list.
2017-08-28 12:07:47 -04:00
AlanCoding
495d6e9887 remove job start endpoint in v2 2017-08-28 11:12:13 -04:00
Aaron Tan
baa7478ff0 Add pending_deletion check to job relaunch validation 2017-08-25 15:34:32 -04:00
adamscmRH
9b84670cf0 Removes auth field from Access List serializer 2017-08-21 10:43:28 -04:00
Aaron Tan
fd8da1e7ce Add missing super call in NotificationTemplateSerializer 2017-08-15 11:10:55 -04:00
Alan Rominger
fe66d161b2 Merge pull request #140 from AlanCoding/poly_why
hack to work around Django-polymorphic prefetch_related bug
2017-08-07 14:24:17 -04:00
AlanCoding
45a58b24a6 allow insights_system_id to self-enforce its read_only property 2017-08-04 15:54:56 -04:00
Aaron Tan
19bd051011 Merge pull request #165 from jangsutsr/7352_prevent_setting_scm_fields_for_non_scm_is
Prevent setting SCM fields for non-SCM inventory sources
2017-08-03 18:04:13 -04:00
Alan Rominger
22d538702a Merge pull request #147 from AlanCoding/underscores
add underscores to Role serializer resource_type
2017-08-03 09:01:18 -04:00
Aaron Tan
195c0bdfe4 Prevent setting SCM fields for non-SCM inventory sources 2017-08-02 17:22:15 -04:00
Chris Meyers
22aa251a24 Merge pull request #127 from chrismeyersfsu/fix-6559
remove conditional inventory sources POST
2017-08-02 12:25:50 -04:00
Chris Meyers
6cc5f14e16 remove conditional inventory sources POST
* Move logic from validator down to model
* Allow only 1 inventory source of type scm with
update_on_project_update set to True; for each inventory
2017-08-02 11:49:10 -04:00
AlanCoding
321591515c hack to work around Django-polymorphic select_related bug 2017-08-02 09:32:13 -04:00
AlanCoding
4d8faa7265 add underscores to Role serializer resource_type 2017-08-02 08:27:25 -04:00
Alan Rominger
24d173c74f Revert "add job_type to job summary fields" 2017-08-01 12:36:36 -04:00
Alan Rominger
9d1853f6df Merge pull request #117 from AlanCoding/add_job_type
add job_type to job summary fields
2017-07-31 12:12:08 -04:00
Jim Ladd
98d2ca5b16 Vault credential should have ssh type for v1 job templates (#119) 2017-07-31 11:41:14 -04:00
AlanCoding
83dca62e16 add job_type to job summary fields 2017-07-31 10:34:04 -04:00
adamscmRH
3dcd6ef2c2 Blocks creation of Hosts, Groups, and IS for Smart Inventories
* Updated View unit tests

* Refactored Validators

* Validator Fix for Blocking
2017-07-28 16:24:09 -04:00
Ryan Petrello
b0f5d2f82d allow Job Templates to launch with *only* a vault credential
see: https://github.com/ansible/ansible-tower/issues/7252
2017-07-24 11:42:35 -04:00
Alan Rominger
8dc89d913e Merge pull request #7189 from AlanCoding/dont_update_me_bro
Tell user how to use update_on_launch with source_project
2017-07-20 10:25:08 -04:00
Alan Rominger
c038116626 Merge pull request #7095 from AlanCoding/schedule_validation
Add various validation for schedule extra_data
2017-07-20 09:30:29 -04:00
AlanCoding
828821ada6 tell user how to use update_on_launch with source_project 2017-07-20 08:49:46 -04:00
Ryan Petrello
b98d384671 filter CredentialType OPTIONS *and* help text for kind requirements
see: #7115
see: #6959
2017-07-18 17:51:07 -04:00
AlanCoding
1e9a0e5814 Change 'can not' to cannot (by request) 2017-07-18 09:01:09 -04:00
AlanCoding
ed7e558575 add various validation for schedule extra_data 2017-07-15 20:47:24 -04:00
AlanCoding
850f03331b tweaks to SCM inventory related validation errors 2017-07-14 15:48:29 -04:00
AlanCoding
f1acb6b79d fix double nesting of error message in dictionary 2017-07-14 08:01:57 -04:00
Aaron Tan
636147f7f0 Stablize summary field display for host serializer. 2017-07-13 16:30:47 -04:00
AlanCoding
6f84cb8784 fix bug just introduced by source_project validation 2017-07-12 13:00:29 -04:00
AlanCoding
2c81a2489e prohibit direct creation of manual inventory sources 2017-07-12 12:29:56 -04:00
Alan Rominger
4afb65f447 Merge pull request #6909 from AlanCoding/no_manual_source_proj
Disallow manual projects for SCM inventory
2017-07-12 12:08:19 -04:00
AlanCoding
777b1c3023 make inventory source naming consistent with v1 2017-07-11 16:15:33 -04:00
Ryan Petrello
bc869284f7 Merge pull request #6968 from ryanpetrello/fix-6959
fix a few issues in credential type kind validation
2017-07-11 13:30:07 -04:00
Ryan Petrello
09055f9c2f fix a few issues in credential type kind validation
- fix a typo from `network` to `net`
- properly update OPTIONS for CredentialTypes to reflect allowed `kind`
  values for POST/PUT/

see: #6959
2017-07-11 09:43:55 -04:00
Alan Rominger
b8b2d8695e Merge pull request #6912 from AlanCoding/schedule_scm_inv
Allow scheduling of SCM inventory sources (with exception)
2017-07-10 21:55:16 -04:00
Ryan Petrello
31829038bd prevent creation of custom credential types that != 'cloud || network`
see: #6959
2017-07-10 16:34:25 -04:00
adamscmRH
b5d0224720 Adds on_launch --diff on api 2017-07-07 15:23:13 -04:00
adamscmRH
ecef799a5a adds Playbook & AdHoc Diff 2017-07-07 15:23:13 -04:00
adamscmRH
d57bc3b59c Add --diff feature to API 2017-07-07 15:23:13 -04:00
Ryan Petrello
5fde6ead42 properly copy prompted vault passwords on job launch
see: #6924
2017-07-07 13:15:17 -04:00
AlanCoding
a2e88a9cdf include vault_credentials in passwords and launch summary 2017-07-07 07:57:34 -04:00
AlanCoding
687074a3d7 allow reasonable scheduling of SCM inventory sources 2017-07-06 16:24:26 -04:00
AlanCoding
bb3c4c78f8 do not allow inv src source_project of manual type 2017-07-06 15:44:21 -04:00
Bill Nottingham
f8515857b2 Remove assorted references to Tower.
Reword and remove references to Tower so they don't need parameterized.
2017-07-05 16:42:47 -04:00