Commit Graph
100 Commits
Author SHA1 Message Date
beeankha ac42604aa7 Remove 'custom' as a source option from inventory_source module 2021-04-23 13:31:42 -04:00
beeankha 7c13d749b1 Change 'ansible-tower-service' to 'automation-controller-service' 2021-04-12 10:56:55 -04:00
beeankha b1119d2972 Fix format specification linting erros 2021-03-29 16:11:06 -04:00
beeankha 675286c1ac Enable ?page_size=1 in URL to fetch correct objects on schedules endpoint 2021-03-29 11:52:20 -04:00
beeankha b681d1078f Update unit test to pull in product names that are no longer hardcoded 2021-03-26 16:17:14 -04:00
beeankha f38c9e7478 Update manual project Collection integration test to be compatible with EEs 2021-03-26 15:35:52 -04:00
beeankha 81024f8dfe Remove/modify usage of tower-cli in Collections tests 2021-03-26 11:46:08 -04:00
beeankha cdb2832f05 Bump up version of iPython to be compatible with Python 3.8.5 2021-03-25 13:50:02 -04:00
beeankha e2b290ff99 Use distutils instead of semver, add/update unit tests 2021-03-25 10:39:03 -04:00
beeankha b2665c084e Loosen Collections v Tower version check 2021-03-25 10:39:03 -04:00
beeankha 586019fe8f Fix linting errors in credential input source test file 2021-03-18 15:18:57 -04:00
beeankha 39d785070c Check for the existence of ansible.txt file explicitly 2021-03-18 13:51:54 -04:00
beeankha dca29e756d Update migration file order and name 2021-03-18 13:50:19 -04:00
beeankha 2a9d728b70 Set max string length to a wayyyy bigger number just in case 2021-03-18 12:55:48 -04:00
beeankha ef6297377b Enable Ansible version to be collected from EEs 2021-03-18 12:55:48 -04:00
beeankha 60827143bb Bump up unified_jobs_table version for new column addition 2021-03-03 18:52:55 -05:00
beeankha 5b17ab6873 Enable EE collections info to be loaded as valid JSON vs stringified JSON 2021-03-03 18:52:55 -05:00
beeankha 0e80f663ab Add installed_collections column to unified job query 2021-03-03 18:52:55 -05:00
beeankha cb95de0862 Assign entire file path to variable 2021-03-03 18:52:55 -05:00
beeankha 86a3a79be4 Enable utilized EE Collections name and version info to be detected 2021-03-03 18:52:55 -05:00
beeankha 3153587c90 Clean up Collections test playbooks 2021-03-03 09:44:35 -05:00
beeankha 64b49feeee Remove functional test files that are no longer in use 2021-02-17 14:42:50 -05:00
beeankha 3ad9aa902d Fix pylint throwaway variable error 2021-02-02 08:56:42 -05:00
Bianca Henderson 143831ffd0 Add required whitespace 2020-10-21 12:21:30 -04:00
beeankha 6715ea493f Fix documentation in api lookup plugin, fix typos in integration tests 2020-07-14 09:38:26 -04:00
beeankha b457c8f133 Update a task in tower_settings integration test playbook 2020-06-08 09:57:16 -04:00
beeankha 22d1c8a59c Make edits to auth portion of Collection readme 2020-06-02 16:14:24 -04:00
beeankha 85426f76a5 Fix misc. linter errors due to the flake8-3.8.1 release
- [Ref] https://flake8.pycqa.org/en/latest/release-notes/
2020-05-29 17:58:27 -04:00
beeankha 0d7af90e8c Update Pagerduty and Grafana approval notifications 2020-05-27 13:03:28 -04:00
beeankha 8ab885de93 Update changelog 2020-05-27 09:34:51 -04:00
beeankha 1e8a9a7df3 Rename routing.yml to runtime.yml 2020-05-26 16:57:09 -04:00
beeankha 09e62df84a Fix approval notifications for PagerDuty 2020-05-26 15:47:30 -04:00
beeankha ce5272eae6 Make edits to Changelog, remove all HipChat-related params from tower_notification module 2020-05-20 16:27:01 -04:00
beeankha dea7ec7845 Update changelog and README text 2020-05-19 20:48:09 -04:00
beeankha bc4d789da0 Remove HipChat notification type 2020-05-19 15:00:27 -04:00
beeankha 438929007e Unpin specific flake8 version 2020-05-15 10:02:59 -04:00
beeankha b80127dd40 Fix up unit tests (no more double mocking) 2020-05-15 09:26:33 -04:00
beeankha 09c10a6f59 Fix linter issue 2020-05-15 09:26:33 -04:00
beeankha 6a9423626c Add field numbering specification in module_util file, update unit tests 2020-05-15 09:26:29 -04:00
beeankha 8c5d236066 Update unit tests to not pull in version warnings 2020-05-15 09:24:43 -04:00
beeankha 83bb3bba08 Move import line up 2020-05-14 18:33:11 -04:00
beeankha a3e95ab171 Fix unit test failure 2020-05-14 16:39:39 -04:00
beeankha 479ab8550d Fix misc. linter errors 2020-05-14 15:43:50 -04:00
beeankha 10be375137 Update Makefile to find correct python path for testing 2020-05-07 16:37:04 -04:00
beeankha dd49f747a0 Fix linter error 2020-05-07 14:42:47 -04:00
beeankha 677ff99eb4 Make minor changes to fix sanity test results 2020-05-07 14:42:47 -04:00
beeankha c6d77a1183 Update JT integration test 2020-05-07 12:02:08 -04:00
beeankha 8f1fccefeb Add notification association functionality to tower_workflow_job_template module, along with updated integration/unit tests 2020-05-07 11:44:43 -04:00
beeankha a3cd858665 Add JT module unit test 2020-05-06 08:47:45 -04:00
beeankha 52a272e8e4 Fix JT parameter defaults so that previously input values are not overridden by nonexistent params; update integration test 2020-05-05 16:36:10 -04:00
Bianca Henderson 12b47405f0 Merge pull request #4265 from john-westcott-iv/release_3.7.0
Restructuring modules so that lookup don't happen if deleting
2020-04-27 17:39:11 -04:00
beeankha 2d455800c4 More bulleted list formatting changes 2020-04-16 20:18:22 -04:00
beeankha 86bafb52f6 Fix collection README display 2020-04-16 16:13:12 -04:00
beeankha 8926f635df Mark send, receive, and workflow_job_template modules as deprecated
Add routing.yml file to mark modules for deprecation and pass sanity tests

Ignore sanity tests for deprecated modules
2020-04-16 11:25:38 -04:00
beeankha 3bc5975b90 Remove 'supports_check_mode' text from converted Collection modules 2020-04-15 09:37:54 -04: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
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
beeankha 1f598e1b12 Activate no_log for values in input parameter 2020-04-07 20:34:54 -04: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
beeankha f5cf7c204f Update unit test, edit credential module to pass sanity tests 2020-04-06 10:11:18 -04:00
beeankha 5d68f796aa Rebase + fix typos 2020-04-02 09:21:33 -04: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
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
beeankha 6d6322ae4d Update integration tests, update tower_wait module 2020-03-27 15:05:23 -04:00
beeankha a50b03da17 Remove unnecessary fields in associations file 2020-03-26 20:04:11 -04:00
beeankha 9f4afe6972 Fix misc. linter errors 2020-03-26 12:01:48 -04:00
beeankha ace5a0a2b3 Update module utils, part of collections conversion work 2020-03-19 13:53:08 -04:00
beeankha c4c0cace88 Fix ansible shebang error 2020-03-17 12:55:32 -04:00
beeankha 6db6c6c5ba Revert module util changes, reorder params in group module 2020-03-16 11:18:08 -04:00
beeankha 97c169780d Delete config file 2020-03-16 11:10:07 -04:00
beeankha 88c46b4573 Add updated tower_api module util file, update generator and template 2020-03-16 11:10:07 -04:00
beeankha 53d27c933e Fix linter issues 2020-03-16 11:10:07 -04:00
beeankha c340fff643 Add generator playbook for the AWX Collection modules, along with other module generation tools 2020-03-16 11:10:07 -04:00
beeankha 185c581007 Remove len() check
Remove comment

Remove quote marks from default values
2020-03-10 15:18:34 -04:00
beeankha c113c2db52 Fix username/name issue in tower_user module, update test playbook 2020-03-10 10:06:38 -04:00
beeankha b532012748 Make non-required params actually optional, fix idempotency issues 2020-02-26 09:26:55 -05:00
beeankha 1c4042340c Update documentation for modules, add deprecation warning for role, send and receive modules
Update variables in tower_inventory to be in dict format
2020-02-26 09:27:02 -05:00
beeankha 787c4af222 Change default values for dict parameter
Removing default of empty dict from variables param on group and host modules

Make modules comply with updated sanity tests
2020-02-26 09:26:58 -05:00
beeankha fcc679489e Update inventory_source module source_script parameter to be optional
Unitied comment

Fix up inventory_source example, misc comment edits
2020-02-26 09:15:04 -05:00
beeankha 232ea1e50c Properly cast verify_ssl type to a bool 2020-02-26 09:15:04 -05:00
beeankha 3423db6ed0 Attempt to make validate_certs work in Python2 2020-02-26 09:15:04 -05:00
beeankha c32452d6b6 Fix Python2 config incompatibility issue 2020-02-26 09:15:04 -05:00
beeankha 8a0432efb7 Change config file loading function, add py2 and py3 compatibility 2020-02-26 09:14:01 -05:00
beeankha 320276f8ca Remove JSONDecodeError exception, fix tower_host variable issue 2020-02-26 09:14:01 -05:00
beeankha 9fa5942791 Fix superclass syntax for < Python3 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
beeankha 11ccfd8449 Fix misc. linting errors 2020-02-12 12:34:15 -05:00
beeankha ef36b4fffd Reduce number of requests running in the try/except block 2020-01-17 15:08:05 -05:00
beeankha 792f68eaec When Job Template is not found, fail more gracefully 2020-01-17 11:40:41 -05:00
beeankha fa043100bd Add info to changelog 2020-01-16 08:35:56 -05:00
beeankha db0d748302 Also check for survey_enabled parameter 2020-01-16 08:35:56 -05:00
beeankha e8a95a1dac Fail the task if extra_vars is set on launch but ask_extra_vars is not set to True on the Job Template 2020-01-16 08:35:56 -05:00