Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better rule arguments parsing and default values #231

Closed
wants to merge 1,070 commits into from

Conversation

geof77
Copy link
Contributor

@geof77 geof77 commented Jan 17, 2023

This PR improves arguments checking and documentation:

  • detailed documentation for all supported parameters
  • update the examples and their syntax
  • apply default values so the user can omit conditions and properties suboptions or even entirely
  • validate the format of folder and documentation_url
  • enforce complete expressions for host_name, host_tags, host_labels and service_labels
  • take care of parameters with empty values causing API errors

Related issues: #181 #182

Pull request type

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

robin-checkmk and others added 30 commits November 18, 2022 13:48
Fix Checkmk#188: Better readable API error in Downtime module.
…-certs

Clean up documentation and wording
…kmk-version

Update Checkmk versions in tests
Add support for new password hashing algorithm to agent role
…ss-hashing

Revert "Add support for new password hashing algorithm to agent role"
Add support for new password hashing algorithm to agent role
robin-checkmk and others added 17 commits February 3, 2023 10:55
Fix become for service discovery in agent role
module downtimes: better parameter handling
…tion

Update release action with current syntax
Use safe_eval instead of temporary rules for comparison
* Added configuration setting for force_foreign_changes

---------

Co-authored-by: Robin Gierse <93658105+robin-tribe29@users.noreply.github.com>
@github-actions
Copy link

This pull request has been stale for 60 days. It will close in 7 days.

@github-actions github-actions bot added the stale Stale issues and pull requests. label Apr 11, 2023
@lgetwan
Copy link
Contributor

lgetwan commented Apr 13, 2023

@geof77 Is this PR still a draft?

@geof77
Copy link
Contributor Author

geof77 commented Apr 13, 2023

@lgetwan : yes, I would need help testing it thouroughly and it certainly needs a bit of polish...

@github-actions github-actions bot removed the stale Stale issues and pull requests. label Apr 14, 2023
@lgetwan
Copy link
Contributor

lgetwan commented Apr 14, 2023

Two weeks ahead, I have some gaps in my calendar. I hope I can have a look at this, then.

@robin-checkmk robin-checkmk added the release:0.22.0 Affects the mentioned release. label Apr 14, 2023
@robin-checkmk robin-checkmk removed the release:0.22.0 Affects the mentioned release. label May 12, 2023
@robin-checkmk
Copy link
Member

@geof77 could you take a look at the conflicts and fix them? Thanks!

@github-actions
Copy link

This pull request has been stale for 60 days. It will close in 7 days.

@github-actions github-actions bot added the stale Stale issues and pull requests. label Jul 22, 2023
@github-actions github-actions bot closed this Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module:rule This affects the rule module stale Stale issues and pull requests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants