Improve ut coverage
SUMMARY
Add more testcases for ipaddr filter
ISSUE TYPE
COMPONENT NAME
ipaddr.py
ADDITIONAL INFORMATION
Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
Reviewed-by: Ashwini Mhatre <mashu97@gmail.com>
Reviewed-by: Sagar Paul <sagpaul@redhat.com>
Add 'netaddr' To 'requirements.txt' For Unit Tests
This enables 'ansible-test --docker' and 'ansible-test --venv' to be able to leverage 'netaddr' and pass tests
SUMMARY
This adds the 'netaddr' python module to the requirements specific to unit tests. This allows 'ansible-test' to work for '--docker' and '--venv' without manual intervention.
I also re-ordered the current list to be alphabetical.
Fixes#142
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
Unit tests in ansible.utils for ipsubnet
ADDITIONAL INFORMATION
git clone https://github.com/ansible-collections/ansible.utils.git
cd ansible.utils
ansible-galaxy collection build .
ansible-galaxy collection install -p . ansible-utils-\*.tar.gz
ansible-test units --docker base tests/unit/plugins/filter/test_ipsubnet.py --requirements --verbose
Reviewed-by: Ashwini Mhatre <mashu97@gmail.com>
Add plugin Reduce_on_network
SUMMARY
ISSUE TYPE
New Module Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Nathaniel Case <this.is@nathanielca.se>
Reviewed-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
Reviewed-by: None <None>
Add next nth usable filter plugin
SUMMARY
ISSUE TYPE
New Module Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Rohit Thakur <rohitthakur2590@outlook.com>
Reviewed-by: None <None>
Reviewed-by: Nathaniel Case <this.is@nathanielca.se>
Add ipsubnet filter plugin
SUMMARY
ISSUE TYPE
New Module Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Nathaniel Case <this.is@nathanielca.se>
Reviewed-by: None <None>
Add IPV6 filter plugin
SUMMARY
ISSUE TYPE
New Module Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Nathaniel Case <this.is@nathanielca.se>
Reviewed-by: None <None>
Update validate to use 2.11 ArgumentSpecValidator if available
SUMMARY
fixes: #85
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Bradley A. Thornton <bthornto@redhat.com>
Reviewed-by: Ashwini Mhatre <mashu97@gmail.com>
Reviewed-by: None <None>
Add support for the validation of formats to the json schema validator
SUMMARY
fixes: #81
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Ganesh Nalawade <None>
* Initial commit
* Add validate lookup/filter/test plugin
* Update agrspec validation logic
* Add validate lookup/filter/test plugin
* minor updates
* remve unwanted code
* doc update
* update jsonschema validator plugin
* Add validate sub-plugin configurable option
* fix black failures
* fix ansible-test validate module issue
* fix santiy issues
* more santiy fixes
* remove GA black formatting
* add black
* fix black formatting
* fix black issues
* Add integration test and fix review comments
* add jsonschema to requirments
* fix ci issues
* update GA to install requirments
* fix GA to install requirments
* move ValidateBase to base file
* fix library not found issue in CI
* add unit test
* update_fact plugin + units
* Update README, add doc
* Add some update_fact integration tests
* Add missing test for not (index_of)
* Update fact doc updates
* Update rst from doc
* Examples as yaml
* Some developer notes (#11)
Co-authored-by: cidrblock <brad@thethorntons.net>
* Updated self._task.args from updated_data provided back from aav
* Argspec default fix (#12)
* Return data updated with default values from aav.validate()
* Update aav docs
Co-authored-by: cidrblock <brad@thethorntons.net>
* update_fact plugin + units
* Update README, add doc
* Add some update_fact integration tests
* Add missing test for not (index_of)
* Update fact doc updates
* Update rst from doc
* Examples as yaml
* Updated self._task.args from updated_data provided back from aav
* recheck
* Plugin cleanup (#14)
* WIP
* Add argspec validation to plugins, restructure tests
* Update docs
* Pre PY3.8 compat changes
* Run black to fix quotes
* Seems the order of missing keys varies between 2.9 and 2.10
* More error ordering issues fixed during argspec validation
* More black, wrong version
Co-authored-by: cidrblock <brad@thethorntons.net>
* update_fact plugin + units
* Update README, add doc
* Add some update_fact integration tests
* Update fact doc updates
* Update rst from doc
* Examples as yaml
* Updated self._task.args from updated_data provided back from aav
* recheck
Co-authored-by: cidrblock <brad@thethorntons.net>
* WIP
* Add argspec validation to plugins, restructure tests
* Update docs
* Pre PY3.8 compat changes
* Run black to fix quotes
* Seems the order of missing keys varies between 2.9 and 2.10
* More error ordering issues fixed during argspec validation
* More black, wrong version
Co-authored-by: cidrblock <brad@thethorntons.net>