diff options
author | Ricardo Carrillo Cruz <ricardo.carrillo.cruz@gmail.com> | 2019-01-07 14:02:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-07 14:02:29 +0100 |
commit | f9079274e776ac5167754720d64112a6ab86b29d (patch) | |
tree | 7a45508c08bc6986f3177059d5faebb598f5a9c4 /test/integration/targets/lookups/templates | |
parent | Fix searchpath in the template lookup (#50488) (diff) | |
download | ansible-f9079274e776ac5167754720d64112a6ab86b29d.tar.xz ansible-f9079274e776ac5167754720d64112a6ab86b29d.zip |
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
Diffstat (limited to 'test/integration/targets/lookups/templates')
0 files changed, 0 insertions, 0 deletions