mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
8a231e4b36
New Module: Keycloak ClientSecret with PR changes (#5606)
* feat(plugins/keycloak): add get and create util function for client secret
* feat(plugins/keycloak): add client secret module
* chore: add maintainer in BOTMETA
* Update plugins/modules/identity/keycloak/keycloak_clientsecret.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Make changes to keycloak_clientsecret from PR
* Add SPDX identifier for keycloak_clientsecret
* Add copyright in keycloak_clientsecret for REUSE
* Add integration test for keycloak_clientsecret
* rm clientsecret from keycloak_clientsecret result
- end_state used instead
* keycloak_clientsecret: Undo meta/runtime.yml change
* Fix sanity tests for keycloak_clientsecret
* New keycloak_clientsecret_info module
- Replaces keycloak_clientsecret
- Module definition and some common logic moved into module_utils
- Update documentation, tests, etc.
- Add myself as author
* Misc fixes to keycloak_clientsecret_info
* Add keycloak_clientsecret_regenerate module
* keycloak_clientsecret* Update .github/BOTMETA.yml
* keycloak_clientsecret_regenerate: Fix sanity tests
* Fix README for keycloak_clientsecret integration test
* Separate out keycloak_clientsecret module_utils
* Keycloak_clientsecret module_utils: boilerplate
* Update plugins/modules/keycloak_clientsecret_info.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/keycloak_clientsecret_info.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/keycloak_clientsecret_info.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/keycloak_clientsecret_info.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/keycloak_clientsecret_info.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/keycloak_clientsecret_info.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* keycloak_clientsecret: Add no_log to examples and docs
* keycloak_clientsecret: Update BOTMETA
* Update .github/BOTMETA.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: fynncfchen <fynn.cfchen@gmail.com>
Co-authored-by: Fynnnnn <ethan.cfchen@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 7ea544a624
)
Co-authored-by: John Cant <a.johncant@gmail.com>
17 lines
703 B
Markdown
17 lines
703 B
Markdown
<!--
|
|
Copyright (c) Ansible Project
|
|
GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
-->
|
|
|
|
The integration test can be performed as follows:
|
|
|
|
```
|
|
# 1. Start docker-compose:
|
|
docker-compose -f tests/integration/targets/keycloak_clientsecret_regenerate/docker-compose.yml stop
|
|
docker-compose -f tests/integration/targets/keycloak_clientsecret_regenerate/docker-compose.yml rm -f -v
|
|
docker-compose -f tests/integration/targets/keycloak_clientsecret_regenerate/docker-compose.yml up -d
|
|
|
|
# 2. Run the integration tests:
|
|
ansible-test integration keycloak_clientsecret_regenerate --allow-unsupported -v
|
|
```
|