Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 7a9d7c8056b7a11707496cf0d61f79dd5905c929
https://github.com/Checkmk/checkmk/commit/7a9d7c8056b7a11707496cf0d61f79dd5…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2024-02-28 (Wed, 28 Feb 2024)
Changed paths:
M packages/cmk-server-side-calls/cmk/server_side_calls/v1/_special_agents.py
Log Message:
-----------
server side calls: remove NAME_PREFIX from SpecialAgentConfig
Change-Id: I0fa8aaf438dfb25cd085d970407d07f0c4f67670
Commit: 37d643548eb5798c83966e9c23577b91f4526677
https://github.com/Checkmk/checkmk/commit/37d643548eb5798c83966e9c23577b91f…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2024-02-28 (Wed, 28 Feb 2024)
Changed paths:
M cmk/base/server_side_calls/_active_checks.py
M cmk/base/server_side_calls/_special_agents.py
M packages/cmk-server-side-calls/cmk/server_side_calls/v1/_active_checks.py
M packages/cmk-server-side-calls/cmk/server_side_calls/v1/_special_agents.py
M packages/cmk-server-side-calls/tests/v1/test_active_checks.py
M packages/cmk-server-side-calls/tests/v1/test_special_agents.py
M tests/unit/cmk/plugins/cisco/server_side_calls/test_prime.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_azure.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_azure_status.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_bi_aggr.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_check_form_submit.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_check_sftp.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_check_smtp.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_check_uniserv.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_cisco_meraki.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_datadog.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_disk_smb.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_ftp.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_gcp.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_http.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_icmp.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_jenkins.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_kube.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_ldap.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_mobileiron.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_notify_count.py
M tests/unit/cmk/plugins/collection/server_side_calls/test_prometheus.py
M tests/unit/cmk/plugins/elasticsearch/server_side_calls/test_active_check.py
M tests/unit/cmk/plugins/elasticsearch/server_side_calls/test_agent_elasticsearch.py
M tests/unit/cmk/plugins/fritzbox/server_side_calls/test_agent_fritzbox.py
M tests/unit/cmk/plugins/mail/server_side_calls/test_mail.py
M tests/unit/cmk/plugins/mail/server_side_calls/test_mail_loop.py
M tests/unit/cmk/plugins/mail/server_side_calls/test_mailboxes.py
M tests/unit/cmk/plugins/proxmox_ve/server_side_calls/test_special_agent.py
M tests/unit/cmk/plugins/ssh/server_side_calls/test_check_by_ssh.py
M tests/unit/cmk/plugins/three_par/server_side_calls/test_three_par.py
Log Message:
-----------
server side calls: make ActiveCheckConfig and SpecialAgentConfig callable
parameter_parser and commands_function are only used in combination,
so exposing both isn't necessary.
Making config classes callable makes them easier to use, e.g. in tests.
Change-Id: Ic6c09d19cecb77b34326d3a2043190cb217461b0
Compare:
https://github.com/Checkmk/checkmk/compare/651f7d1355dd...37d643548eb5
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications