AlanCoding
482c159ac6
prohibit config callback with no inventory
2018-04-03 10:56:35 -04:00
Ryan Petrello
8955e6bc1c
normalize custom_virtualenv empty values to null
...
see: https://github.com/ansible/ansible-tower/issues/7923
2018-03-05 17:05:10 -05:00
Ryan Petrello
1e8c89f536
implement support for per-playbook/project/org virtualenvs
...
see: https://github.com/ansible/awx/issues/34
2018-01-09 22:47:01 -05:00
AlanCoding
9fe524cd20
adjust assertions about JT credentials to be correct
2017-11-21 10:03:57 -05:00
Ryan Petrello
28ce9b700e
replace all Job/JT relations with a single M2M credentials relation
...
Includes backwards compatibility for now-deprecated .credential,
.vault_credential, and .extra_credentials
This is a building block for multi-vault implementation and Alan's saved
launch configurations (both coming soon)
see: https://github.com/ansible/awx/issues/352
see: https://github.com/ansible/awx/issues/169
2017-11-14 12:49:12 -05:00
Chris Meyers
802f722e95
do not accept array as extra_vars
...
related to #5645
* Since we pass extra_vars to ansible as -e; we require that the top
most data-structure be a key-value. NOT an array.
2017-07-19 17:07:50 -04:00
Chris Meyers
318b1aebd1
remove special scan job logic
2017-07-05 10:32:45 -04:00
Ryan Petrello
97562fc4df
block job template launches when an inventory is being deleted
...
see: #4382
2017-06-22 15:33:55 -04:00
Ryan Petrello
d4afa41acb
key prompting of all credentials off of ask_credential_on_launch
...
see: #6371
2017-06-12 12:26:58 -04:00
AlanCoding
c6a3a7cc34
JT RBAC edits for extra_credentials and vault_credential
2017-05-12 17:13:58 -04:00
Ryan Petrello
53c3ece32b
add prompting for JT.extra_credentials
...
see: #2913
2017-05-11 07:29:53 -04:00
Ryan Petrello
b7b9fb531e
properly support (cloud|network)_credential for JT update *and* create
...
fix a bug which caused `POST /api/v1/job_templates/` to not properly set
`JobTemplate.extra_credentials`.
see: #5807
2017-05-08 13:50:28 -04:00
Ryan Petrello
f3591b81a7
more multicredential JobTemplate changes
...
* allow for filtering Jobs and JobTemplates by v1 `cloud_credential` and
`network_credential` fields
* properly validate uniqueness of `extra_credentials` types
see: #5807
2017-05-04 16:18:48 -04:00
Ryan Petrello
d0a848d49a
Add a new extra_credentials endpoint for Jobs and JobTemplates
...
additionally, add backwards compatible support for `cloud_credential`
and `network_credential` in /api/v1/job_templates/ and /api/v1/jobs/.
see: #5807
2017-05-03 13:38:10 -04:00
Ryan Petrello
95ea370e5e
add API versioning for /api/v2/
2017-03-30 15:11:12 -04:00
Ryan Petrello
d97ff57cda
prohibit API payloads that represent something other than a JSON object
...
The JSON serializer for our API uses ``json.loads``, which permits *any*
valid JSON (including bare integers, boolean values, etc). Lots of our
code, however, assumes that inbound JSON content will be a dict.
see: #4756
2017-02-28 13:23:03 -05:00
AlanCoding
f07cd69012
corresponding test for dict extra_vars bug
2017-01-06 10:09:01 -05:00
Aaron Tan
9e4655419e
Fix flake8 E302 errors.
2016-11-15 20:59:39 -05:00
AlanCoding
7da6d2978a
remove test imports
2016-10-24 21:30:03 -04:00
AlanCoding
3b4b1412fc
fix tests for project playbook mocking
2016-10-24 21:04:01 -04:00
AlanCoding
9da00c2d38
RBAC copy/edit displays test refactor
2016-09-07 17:08:07 -04:00
AlanCoding
6559118f40
tests for saving survey passwords to job
2016-08-08 13:06:07 -04:00
AlanCoding
0271aa611c
add field to JT for asking to skip tags
2016-08-01 16:49:34 -04:00
Matthew Jones
df1c1ae473
Fix up flake8
2016-07-15 12:50:59 -04:00
Matthew Jones
eb97b8c916
Switch disallowed object delete to 409
...
In the case of running job conflicts
2016-07-15 11:47:02 -04:00
AlanCoding
7b0f20e90d
job template serializer can_add calc to avoid lookups of known related objects
2016-06-28 10:18:30 -04:00
Wayne Witzel III
112d271ccb
combining job_template api tests
2016-06-07 10:13:51 -04:00
Matthew Jones
b0de8038d0
Fix validation issues for scan job templates
...
Also adding some jobtemplate serializer-based validation unit tests
2016-06-06 12:01:56 -04:00
AlanCoding
74beca5b74
cleanup of Job Template tests and fixtures
2016-05-31 16:03:03 -04:00
AlanCoding
1a4c92f027
make some JT tests unit tests and update others
2016-05-31 14:34:51 -04:00
AlanCoding
07cc99b4c7
start updating tests to JT factory
2016-05-31 14:34:51 -04:00
AlanCoding
cfd9d5d4f1
Refactor of JT related field checking
2016-05-31 14:34:51 -04:00
Wayne Witzel III
db93fdab4a
exercise role signal for job_template type
2016-05-26 15:26:55 -04:00