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
Ilgmi 03966624ba
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>
2024-06-16 09:32:55 +02:00
..
action Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
become lint and fix polkit examples (#8381) 2024-05-19 20:50:41 +02:00
cache Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
callback fix(opentelemetry): remove request from the logs (#8430) 2024-06-03 06:50:55 +02:00
connection Refer to LXD containers/VMs as instances (#7873) 2024-01-24 13:35:17 +01:00
doc_fragments #8440 Allow for API Port to be specified when using proxmox_kvm (#8441) 2024-06-08 14:04:59 +02:00
filter Feature filter replace_keys (#8446) 2024-06-14 21:54:58 +02:00
inventory inventory plugins: make wrapping variables as unsafe smarter to avoid triggering an AWX bug (#8225) 2024-04-20 09:39:42 +02:00
lookup bug(lookup/merge_variables): Fix rendering foreign variables (#8303) 2024-05-11 16:51:51 +02:00
module_utils Consul implement agent service and check (#7989) 2024-06-16 09:32:55 +02:00
modules Consul implement agent service and check (#7989) 2024-06-16 09:32:55 +02:00
plugin_utils Feature filter replace_keys (#8446) 2024-06-14 21:54:58 +02:00
test Add test fqdn_valid (#7533) 2023-11-22 09:12:00 +01:00