ansible/test/units/plugins
Ricardo Carrillo Cruz f9079274e7
Checkpoint httpapi plugin (#49929)
* Add checkpoint httpapi plugin and access rule facts module

* WIP checkpoint_access_rule module

* Add publish and install policy, plus fix empty json object request for publish

* Refactor publish and install_policy onto module_utils

* Add update resource logic

* Add checkpoint_host_facts module

* Return code and response on get_acess_rule function

* Add checkpoint_host module

* Add checkpoint_run_script module

* Add checkpoint_task_facts module

* Show all tasks if no task id is passed

Note, this is only available on v1.3 of Checkpoint WS API

* Add update logic to checkpoint host

* Add full details on get task call

* Add checkpoint httpapi plugin

* Fix pep8

* Use auth instead of sid property and return False on handle_httperror method

* Fix version in docstring

* Remove constructor

* Remove Accept from base headers

* Do not override http error handler and assign Checkpoint sid to connection _auth

There is scaffolding in the base class to autoappend the token, given
it is assigned to connection _send

* Use new connection queue message method instead of display

* Remove unused display

* Catch ValueError, since it's a parent of JSONDecodeError

* Make static methods that are not used outside the class regular methods

* Add missing self to previously static methods

* Fix logout

Was carrying copy pasta from ftd plugin

* Remove send_auth_request

* Use BASE_HEADERS constant

* Simplify copyright header on httpapi plugin

* Remove access rule module

* Remove unused imports

* Add unit test

* Fix pep8

* Add test

* Add test

* Fix pep8
2019-01-07 14:02:29 +01:00
..
action win_updates: Add post search category matching to support product matching (#45708) 2018-11-07 19:32:07 +10:00
cache Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
callback Fix for callback plugins on Python3 when a module returns dictionary keys that aren't strings 2018-12-04 23:03:48 -08:00
cliconf Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
connection Revert "enhance recv calls in network_cli (#47345)" (#47731) 2018-10-29 09:50:30 +05:30
filter ipaddr filter - return a network address when given an address with /32 subnet (#47539) 2018-11-08 11:49:42 -05:00
httpapi Checkpoint httpapi plugin (#49929) 2019-01-07 14:02:29 +01:00
inventory fix constructed functionality in openstack inventory plugin (#48833) 2018-11-27 13:01:56 -05:00
loader_fixtures Don't cache duplicate plugin names (#34420) 2018-01-04 16:47:23 -06:00
lookup Fix with_ini example and unittest 2018-12-18 12:25:02 -08:00
shell Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
strategy Save the command line arguments into a global context 2019-01-03 18:12:23 -08:00
terminal Add unit tests for junos terminal (#47103) 2018-10-16 15:14:38 +05:30
vars Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_plugins.py Misc typo fixes (#49816) 2018-12-14 15:12:58 +05:30