Commit Graph
100 Commits
Author SHA1 Message Date
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
beeankha b19e5aab28 Raise AnsibleParserError via a custom exception 2020-01-09 15:30:23 -05:00
beeankha 0c696bfd96 Add new CollectionsParserError class for exceptions 2020-01-09 09:14:47 -05:00
beeankha 63ffff3b76 Import request into module_utils instead 2020-01-09 09:14:47 -05:00
beeankha c532c6fe61 Update parameters, add whitespace 2020-01-09 09:14:47 -05:00
beeankha 61c2968a7c Fix module-specific lint errors 2020-01-09 09:14:47 -05:00
beeankha d9e41547a1 Refactor Inventory Plugin module to import from module_utils 2020-01-09 09:14:47 -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 f00344f8b4 Enable easier building of playbooks for local Collections module testing 2019-12-20 15:24:06 -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
beeankha 334c63388b Revert original quotation mark configuration for non-approval default msg and body 2019-12-05 12:11:56 -05:00
beeankha 32f6f87463 Change quotation mark format for sconsistency and also to comply with qa tests 2019-12-05 12:11:50 -05:00
beeankha 0d92b2e703 Enable approval-related email notifications to send properly 2019-12-05 12:11:43 -05:00
beeankha d6e5eb356b Revert original quotation mark configuration for non-approval default msg and body 2019-12-05 09:25:32 -05:00
beeankha b46a2b43b0 Change quotation mark format for sconsistency and also to comply with qa tests 2019-12-05 09:25:23 -05:00
beeankha 6f54044cc6 Enable approval-related email notifications to send properly 2019-12-05 09:25:10 -05:00
beeankha 3ed5d6ec65 Make integrations pass even with manual SCM type 2019-11-25 15:16:41 -05:00
beeankha c6d2fa86c7 Fix typo under 'options' 2019-11-20 11:15:18 -05:00
beeankha eff46dbc71 Make playbook wait for project sync...
...*before* running the associated job template.

Set "wait" default to True so CI doesn't time out

Change default back to "False", put in new "if"...

...block, explicitly set "wait" to "False" in test file.

Change if block

Update README

Update 'wait' option description
2019-11-20 08:43:19 -05:00
beeankha 62e4ebb85d Minor change to README, plus a rebase. 2019-10-16 09:50:00 -04:00
beeankha aa4f5ccca9 Add blank line (flake8) 2019-10-16 09:50:00 -04:00
beeankha fdddba18be Update code to be compatible with py2 2019-10-16 09:50:00 -04:00
beeankha ad89c5eea7 Enable approval notification support for CLI 2019-10-16 09:50:00 -04:00
beeankha 02b13fd4ae Enable notifications to send at org level, ...
... and list the URL in body of approval notification messages.
2019-10-07 15:34:09 -04:00
beeankha 9ed4e1682d Remove redundant whitespace 2019-09-27 15:48:00 -04:00
beeankha 5aa6a94710 Enable approval notifications to show up at...
...workflow jobs notifications endpoint
2019-09-27 15:48:00 -04:00
beeankha 96689f45c8 Update approval notification message 2019-09-27 15:48:00 -04:00
beeankha ce6a276e1f Update migration file 2019-09-27 15:48:00 -04:00