Commit Graph

244 Commits

Author SHA1 Message Date
AlanCoding a79f2ff07a Update AWX collection docs for release 11.0.0 2020-04-14 12:06:26 -04:00
softwarefactory-project-zuul[bot] eeab4b90a5 Merge pull request #6568 from AlanCoding/whoops_not_changed
Do not set changed=True if the object did not change

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-10 00:16:02 +00:00
beeankha 4acdf8584b Update workflow_launch module and test playbook 2020-04-09 15:12:49 -04:00
beeankha cf607691ac Pass data and errors more clearly, change extra_vars to be a dict, update test playbook to have a task utilizing extra_vars 2020-04-09 12:40:13 -04:00
beeankha d7adcfb119 Revert unnecessary changes made to test playbook during rebase 2020-04-09 12:38:06 -04:00
beeankha 97d26728e4 Fix one more linter issue 2020-04-09 12:38:06 -04:00
John Westcott IV 6403895eae Puting tasks back to natural order 2020-04-09 12:38:06 -04:00
beeankha 8b26ff1fe6 Fix linter errors 2020-04-09 12:38:06 -04:00
beeankha 9ddd020348 Fix sanity tests and edit test playbook 2020-04-09 12:38:06 -04:00
John Westcott IV a2d1c32da3 Initial commit of tests for tower_workflow_launch 2020-04-09 12:38:06 -04:00
AlanCoding fd93964953 Changed status tweaks for API validation and encryption
API validation topic:
 - do not set changed=True if the object did not actually change
 - deals with cases where API manipulates data before saving

Warn if encrypted data prevent accurate changed status

Handle false changed case of tower_user password
  password field not present in data

Test changed=True warning with JT/WFJT survey spec defaults
  case for list data in JSON
2020-04-09 09:58:12 -04:00
softwarefactory-project-zuul[bot] e8fb466f0f Merge pull request #6646 from beeankha/credential_module_no_log
Activate no_log for Values in input Parameter of tower_credential Module

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 14:18:08 +00:00
softwarefactory-project-zuul[bot] a26c0dfb8a Merge pull request #6629 from AlanCoding/one_token_to_rule_them_all
Document and align the env var for OAuth token

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 06:09:29 +00:00
beeankha 1f598e1b12 Activate no_log for values in input parameter 2020-04-07 20:34:54 -04:00
softwarefactory-project-zuul[bot] 285e9c2f62 Merge pull request #6635 from AlanCoding/no_tower_cli
Remove tower-cli from Zuul CI for AWX collection

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-07 20:46:45 +00:00
AlanCoding 0e8f2307fc Remove tower-cli from Zuul CI for AWX collection 2020-04-07 13:31:06 -04:00
AlanCoding bcfd2d6aa4 Silence deprecation warnings from tower_credential 2020-04-07 13:24:34 -04:00
AlanCoding 45df5ba9c4 Manually document tower host default 2020-04-07 10:18:55 -04:00
AlanCoding b90a296d41 Document and align the env var for OAuth token 2020-04-07 10:00:02 -04:00
AlanCoding da661e45ae Remove unnecessary module parameters
remove cases of required=False, the default
remove str type specifier which, the default
remove supports check mode, not changeable
2020-04-06 22:08:41 -04:00
softwarefactory-project-zuul[bot] 0b433ebb1c Merge pull request #6609 from beeankha/wfjt_module_inventory_fix
Resolve Name to ID Properly in WFJT Module

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-06 23:42:34 +00:00
beeankha e346493921 Add inventory param to the wfjt module test playbook 2020-04-06 15:21:57 -04:00
beeankha bd39fab17a Resolve name to ID correctly in workflow jt module 2020-04-06 15:08:01 -04:00
beeankha b0f68d97da Update comment in test playbook: 2020-04-06 12:38:46 -04:00
John Westcott IV c1bb62cc36 Removing recursive check, allowwing old pattern to commence 2020-04-06 10:11:18 -04:00
beeankha f5cf7c204f Update unit test, edit credential module to pass sanity tests 2020-04-06 10:11:18 -04:00
John Westcott IV 6d08e21511 Resolving comment and updating tests 2020-04-06 10:11:18 -04:00
John Westcott IV 8b881d195d Change lookup to include organization 2020-04-06 10:11:18 -04:00
John Westcott IV 5c9ff51248 Change compare_fields to static method 2020-04-06 10:11:18 -04:00
AlanCoding 3f64768ba8 loosen some credential test assertions 2020-04-06 10:11:18 -04:00
John Westcott IV fd24918ba8 Initial conversion of tower_credential 2020-04-06 10:11:18 -04:00
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
beeankha 5d68f796aa Rebase + fix typos 2020-04-02 09:21:33 -04:00
AlanCoding 15036ff970 Add unit tests for notification module 2020-04-02 09:14:50 -04:00
John Westcott IV 32783f7aaf Fixing linting errors 2020-04-02 09:14:50 -04:00
John Westcott IV 8699a8fbc2 Resolving comments on PR
Made notification type optional

Fixed examples to use notification_configuration

Fixed defaults for headers to prevent deprication warning

Removed default on messages
2020-04-02 09:14:49 -04:00
John Westcott IV b4cde80fa9 Updating example to match test 2020-04-02 09:14:49 -04:00
John Westcott IV eb4db4ed43 Adding field change to readme and example and test of custom messages 2020-04-02 09:14:49 -04:00
John Westcott IV 649aafb454 Initial conversion of tower_notification 2020-04-02 09:14:49 -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 bb184f8ffb Update booleans to pass linter 2020-04-01 08:58:28 -04:00
beeankha 9f2c9b13d7 Update unit test, extra_vars handling, and edit README 2020-03-31 16:16:11 -04:00
Caleb Boylan 04ccff0e3f Collection: add tower_group child group tests 2020-03-31 09:43:53 -07:00
John Westcott IV 4b76332daf Added notification of removal of extra_vars_path 2020-03-30 23:35:11 -04:00
John Westcott IV db38339179 Second attempt at converting tower_job_template 2020-03-30 23:35: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
beeankha 230949c43c Fix timeout error 2020-03-27 15:44:23 -04:00
beeankha 2e8f9185ab Fix default value errors for cases of None for min/max_interval 2020-03-27 15:05:23 -04:00