AlanCoding
dbe3863b04
Allow setting identifier for approval nodes
2020-04-03 15:33:57 -04:00
Ryan Petrello
8b00b8c9c2
remove deprecated legacy manual inventory source support
...
see: https://github.com/ansible/awx/issues/6309
2020-04-03 10:54:43 -04:00
AlanCoding
e99500cf16
Mark test as xfail, move to unit testing
2020-04-02 14:48:33 -04:00
AlanCoding
15036ff970
Add unit tests for notification module
2020-04-02 09:14:50 -04:00
softwarefactory-project-zuul[bot]
d64b898390
Merge pull request #6491 from john-westcott-iv/second_tower_job_template_update
...
Second attempt at converting tower_job_template
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-01 14:09:22 +00:00
beeankha
9f2c9b13d7
Update unit test, extra_vars handling, and edit README
2020-03-31 16:16:11 -04:00
AlanCoding
059e744774
Address errors with login and logout in python2
...
Addresses scenarios when username and password
were used and collection obtained token
Fix error sendall() arg 1 must be string or buffer
Improve error handling related to authentication
clear the query after request and before logout
put response data in error in both cases
2020-03-30 13:48:14 -04:00
John Westcott IV
914ea54925
Make module prefer interval (if set) over min/max
...
Fix linting issues for True vs true
Fix up unit test related errors
2020-03-27 15:05:23 -04:00
AlanCoding
703345e9d8
Add alias for group children of groups
2020-03-25 11:33:13 -04:00
AlanCoding
d102b06474
Rename group-to-group field to align with API
2020-03-25 11:33:09 -04:00
AlanCoding
551fd088f5
Remove test workarounds
2020-03-24 15:42:35 -04:00
AlanCoding
a72e885274
Fix bug with association on creation
2020-03-24 15:34:52 -04:00
AlanCoding
795c989a49
fix bug processing survey spec
2020-03-23 22:00:02 -04:00
AlanCoding
5e595caf5e
Add workflow node identifier
...
Generate new modules WFJT and WFJT node
Touch up generated syntax, test new modules
Add utility method in awxkit
Fix some issues with non-name identifier in
AWX collection module_utils
Update workflow docs for workflow node identifier
Test and fix WFJT modules survey_spec
Plug in survey spec for the new module
Handle survey spec idempotency and test
add associations for node connections
Handle node credential prompts as well
Add indexes for new identifier field
Test with unicode dragon in name
2020-03-23 22:00:00 -04:00
softwarefactory-project-zuul[bot]
31fabad3e5
Merge pull request #6370 from AlanCoding/convert_tower_role
...
Initial conversion of tower_role
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-23 18:34:32 +00:00
softwarefactory-project-zuul[bot]
c9015fc0c8
Merge pull request #6361 from john-westcott-iv/tower_label_update
...
Tower label update
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-21 11:15:06 +00:00
AlanCoding
27948aa4e1
Convert tower_role to no longer use tower-cli
2020-03-20 23:28:48 -04:00
softwarefactory-project-zuul[bot]
5263d5aced
Merge pull request #6358 from AlanCoding/fix_settings
...
Fix regression in tower_settings module
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-21 01:42:19 +00:00
AlanCoding
abdcdbca76
Add label tests and flake8 fixes
2020-03-20 20:09:08 -04:00
AlanCoding
362016c91b
Fix test errors running locally with Ansible devel
2020-03-20 19:52:13 -04:00
AlanCoding
d6e94f9c6f
Fix regression in tower_settings module
2020-03-19 23:03:58 -04:00
AlanCoding
558814ef3b
tower_group relationships
...
rollback some module_utils changes
add runtime error for 404 type things
2020-03-19 13:53:08 -04:00
AlanCoding
c5297b0b86
Fix sanity error
2020-03-19 08:42:07 -04:00
softwarefactory-project-zuul[bot]
afa3b500d3
Merge pull request #6273 from AlanCoding/failure_verbosity
...
Print module standard out in test failure scenarios
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-18 17:50:16 +00:00
softwarefactory-project-zuul[bot]
c3efb13020
Merge pull request #6325 from AlanCoding/autohack
...
Automatically hack sys.path to make running tests easier
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-18 17:46:59 +00:00
AlanCoding
c054d7c3d7
Automatically hack sys.path to make running tests easier
2020-03-18 09:40:11 -04:00
softwarefactory-project-zuul[bot]
26d5d7afdc
Merge pull request #6304 from AlanCoding/workflow_role
...
Add workflow to tower_role module
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-18 03:13:37 +00:00
AlanCoding
8668f2ad46
Add workflow to tower_role
2020-03-16 22:36:27 -04:00
AlanCoding
bdd0b9e4d9
Add more tests for recent WFJT module issues
2020-03-12 15:45:25 -04:00
softwarefactory-project-zuul[bot]
1876849d89
Merge pull request #6186 from AlanCoding/wfjt_vars
...
Modernize types of WFJT module
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-12 19:43:04 +00:00
AlanCoding
a1cdc07944
Print module standard out in test failure scenarios
2020-03-12 12:26:54 -04:00
AlanCoding
5c331934e2
Fix server error creating smart inventories
2020-03-10 22:00:31 -04:00
AlanCoding
e80843846e
Modernize types of WFJT module
2020-03-10 16:07:03 -04:00
Alan Rominger
768280c9ba
[last PR stuff] + Add warning if configs specified in 2 params ( #5 )
...
* Lean on API validation for tower_inventory_source arg errors
used for
- validating needed credential is given
- missing source_project for scm sources
* Add warning when config is specified in 2 places
Fix up unit tests, address multiple comments re: backwards compatibility, redundant methods, etc.
Update new_name and variables parameters, update unit tests
2020-02-26 09:26:55 -05:00
Alan Rominger
2e4e687d69
Optional tower cli ( #3 )
...
* Allow running tests without tower_cli
* patch up test mutability
* Fix test import error, warning mock
* flake8 error
Update documentation for non-converted modules
2020-02-26 09:26:22 -05:00
John Westcott IV
0eef67713f
Only try an ID lookup if we can convert the field name_or_id to an integer
...
Fix linting issues, update tower_project unit test
2020-02-26 09:15:04 -05:00
John Westcott IV
9955ee6548
Converting tower_inventory_source
...
Fix up inventory_source module changes, fix import yaml sanity error, change inventory_source unit tests to comply with new structure.
2020-02-26 09:15:04 -05:00
John Westcott IV
1c505beba6
Converted tower_group
...
Splitting out tower_inventory_source from tower_group
Copy/Paste typo fix and README update for breaking backwards compatability
Update credential_type module and unit tests
2020-02-26 09:15:04 -05:00
John Westcott IV
f89061da41
Updating tower_org to use the new tower_api format
...
Pass sanity and unit tests, update tests
Remove placeholder test function, convert tower_host module, fix misc typos
2020-02-26 09:14:01 -05:00
John Westcott IV
e028ed878e
More tower-cli-ish parsing of config files
...
Clear up test failures/linting errors, update unit test
Update module_utils for linter, add wait time to project module
2020-02-26 09:14:00 -05:00
beeankha
7c0ad461a5
Further module conversion changes, unit test changes
...
Multiple module changes
Added on_change callback
Added head_endpoint
Added additional error returns
Respond with a try an ID message if multiple assets found by name via return_none_on_404 kwarg
Diferentiated between login and logout token errors
Added is_job_done method
2020-02-26 09:14:00 -05:00
AlanCoding
b9b6dad0b3
Add test for deprecated vault_credential
2020-01-15 09:44:28 -05:00
beeankha
f37ac1dcc9
Add extra_vars example to Job Launch module, update extra_vars type to dict,
...
update unit test, add details to Collections release notes.
2020-01-08 14:50:41 -05:00
beeankha
3cc9139c6d
Add a more specific assertion statement
2019-12-05 16:49:23 -05:00
beeankha
6d595cbda6
Add extra_vars parameter to tower_job_template module
2019-12-05 15:37:00 -05:00
AlanCoding
081a0fc04e
fix other assorted sanity failures
2019-11-26 09:45:54 -05:00
David Moreau Simard
2171823846
Finish JT.credentials functionality, add test
...
Original commit:
commit 3ec6196477135230c4b90b175310bdc2eaff36ed
Author: David Moreau Simard <dmsimard@redhat.com >
Date: Tue Oct 23 22:21:33 2018 -0400
Add support for "credentials" in the tower_job_template module
Job templates might require more than one credential.
There's credential, vault_credential, machine_credential, etc.
"credentials" is a thing, let's support it.
2019-11-21 14:30:08 -05:00
softwarefactory-project-zuul[bot]
57f9b31b2b
Merge pull request #5163 from AlanCoding/custom_venv
...
Add custom virtualenv param to various modules
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-11-21 11:45:19 +00:00
softwarefactory-project-zuul[bot]
34ba858e3b
Merge pull request #5191 from AlanCoding/tower_group_id
...
Make tower_group idempotent
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-11-21 04:26:16 +00:00
AlanCoding
5e24cee0ae
Add custom_virtualenv param to inventory source and tests
2019-11-20 22:39:12 -05:00