1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins
weisheng-p 3318034403
Add github_app_access_token lookup plugin (#7761)
* Add github_app_access_token lookup plugin

* Fix a typo in short_description

* Remove unused MockOpenUrl

* Fix MockJWT to be used on jwt_instance instead

* Fix a bunch of pep8 and pylint issue

* Remove JWT from requirements, also default jwt_instance and jwk_from_pem so they can be mocked

* Update version added

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update git reference in doc

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/lookup/github_app_access_token.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Expose token expiry as a configurable option

* Update BOTMETA.yml

* Update documentation

* Update example with var, so it is more readable

Co-authored-by: Felix Fontein <felix@fontein.de>

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-31 15:20:57 +01:00
..
become Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
cache Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
callback Fix Python 3.12 unit tests (#7348) 2023-10-04 23:23:11 +02:00
connection Handle remote_addr change in lxc connection plugin (#7373) 2023-10-18 20:54:24 +02:00
filter Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
inventory Add option to proxmox dynamic inventory to exclude nodes (#7461) 2023-11-26 17:23:33 +01:00
lookup Add github_app_access_token lookup plugin (#7761) 2023-12-31 15:20:57 +01:00
module_utils Bump version of main to 8.0.0; remove deprecations, deprecate some leftovers (#7358) 2023-10-09 13:31:27 +02:00
modules Add dnf_config_manager module (#7745) 2023-12-29 09:42:02 +01:00