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/plugins/module_utils
patchback[bot] 2d26fba0b9
[PR #7989/03966624 backport][stable-9] Consul implement agent service and check (#8513)
Consul implement agent service and check (#7989)

* Implement agent service and check (#7987)

* implement update of service and check

* update tests
update documentation

* update documentation

* add consul_agent_check/service to action_groups

check if unique_identifier of name is in params to get object

add suggested improvements

* update sanity

* fix sanity issues
update documentation

* fix naming

* fix naming

check if response_data has data

* fix sanity extra-docs

* add as ignore maintainer in BOTMETA.yml
update version_added to 8.4

* fix sanity

* add to maintainers

* Update plugins/modules/consul_agent_check.py

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

* Update plugins/modules/consul_agent_check.py

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

* Update plugins/modules/consul_agent_check.py

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

* update version_added

* if create and update return no object as result we read the object again

* get_first_appearing_identifier check the params for the given identifier and return it to simplify id vs name

* add unique_identifiers as a new property and a method to decide which identifier should be used

* fix sanity

* add self to team consul
remove params with no values
add operational_attributes that inherited classes can set them
get identifier value from object

* fix sanity
fix test

* remove the possibility to add checks with consul_agent_check.
check if service has changed

* remove tests for idempotency check because for checks it is not possible

* remove unique_identifier from consul.py
change unique_identifier to unique_identifiers

* get id from params

* Revert "remove unique_identifier from consul.py"

This reverts commit a4f0d0220dd23e95871914b152c25ff352097a2c.

* update version to 8.5

* Revert "Revert "remove unique_identifier from consul.py""

This reverts commit d2c35cf04c8aaf5f0175d772f862a796e22e35d4.

* update description
update test

* fix sanity tests

* fix sanity tests

* update documentation for agent_check

* fix line length

* add documentation

* fix sanity

* simplified check for Tcp

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* check duration with regex

* fix

* update documentation

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit 03966624ba)

Co-authored-by: Ilgmi <michael.ilg@mailbox.org>
2024-06-16 10:10:45 +02:00
..
identity/keycloak Keycloak client role scope (#8252) 2024-04-21 20:10:03 +02:00
mh MH: deprecate features (#8280) 2024-04-29 17:27:06 +02:00
net_tools/pritunl
oracle
remote_management/lxca
source_control
storage
_filelock.py
_mount.py
_stormssh.py
alicloud_ecs.py
btrfs.py
cloud.py
cmd_runner.py [PR #8479/71f96748 backport][stable-9] cmd_runner mod util: improvements (#8504) 2024-06-14 07:55:02 +02:00
consul.py [PR #7989/03966624 backport][stable-9] Consul implement agent service and check (#8513) 2024-06-16 10:10:45 +02:00
csv.py
database.py
datetime.py Avoid deprecated utcnow() (#8222) 2024-04-20 09:26:08 +02:00
deps.py
dimensiondata.py
django.py [PR #8412/54df0c9b backport][stable-9] django_createcachetable: new module (#8449) 2024-06-01 22:54:20 +02:00
gandi_livedns_api.py feat(gandi_livedns): support personal access tokens (#8337) 2024-05-18 15:42:11 +02:00
gconftool2.py
gio_mime.py
gitlab.py gitlab modules: deprecate basic auth method (#8383) 2024-05-19 20:47:54 +02:00
heroku.py
homebrew.py homebrew: Move repeated logic from homebrew modules into module_utils (#8324) 2024-05-11 16:52:43 +02:00
hwc_utils.py
ibm_sa_utils.py
ilo_redfish_utils.py
influxdb.py
ipa.py module_utils/ipa.py: fix regex when parsing version (#8175) 2024-04-09 07:40:10 +02:00
jenkins.py
known_hosts.py
ldap.py Simplify regex for identifying order number in DN (#7646) (#7697) 2024-01-29 19:08:34 +01:00
linode.py
locale_gen.py
lxd.py
manageiq.py
memset.py
module_helper.py MH: deprecate features (#8280) 2024-04-29 17:27:06 +02:00
ocapi_utils.py
oneandone.py
onepassword.py
oneview.py
online.py
opennebula.py
pipx.py
proxmox.py [PR #8441/d2d7deb4 backport][stable-9] #8440 Allow for API Port to be specified when using proxmox_kvm (#8478) 2024-06-08 14:59:27 +02:00
puppet.py 8281: puppet waitforlock (#8282) 2024-05-04 15:26:56 +02:00
pure.py
python_runner.py PythonRunner: a command runner for python (#8289) 2024-04-29 17:26:14 +02:00
redfish_utils.py [PR #8434/961767e2 backport][stable-9] Redfish: Add options to check the availability of the service (#8457) 2024-06-03 07:15:58 +02:00
redhat.py [9.0.0] Remove deprecated modules and features (#8198) 2024-04-22 18:28:22 +02:00
redis.py
rundeck.py Added parameter to select Content-Type when accessing the Rundeck API (#7684) 2024-05-12 09:21:39 +02:00
saslprep.py
scaleway.py Avoid deprecated utcnow() (#8222) 2024-04-20 09:26:08 +02:00
snap.py
ssh.py
univention_umc.py
utm_utils.py
vardict.py [PR #8411/ec886203 backport][stable-9] multiple modules: use new vardict in module (#8419) 2024-05-26 14:13:46 +02:00
version.py
vexata.py
wdc_redfish_utils.py
xenserver.py
xfconf.py