-
Notifications
You must be signed in to change notification settings - Fork 308
added better idempotency for zabbix-service #1412
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
Conversation
@ljvdhooft |
…x into zabbix-service
formatted service_ids as list
- from "extend" to ["serviceid"] this is for the comparison between the existing child/parent service and the passed child/parent service - added sorting by serviceid
hi, please check again. Tests passed locally |
branches: | ||
- dev | ||
- main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1412 +/- ##
==========================================
- Coverage 79.05% 78.71% -0.34%
==========================================
Files 47 47
Lines 5958 6010 +52
Branches 1539 1566 +27
==========================================
+ Hits 4710 4731 +21
- Misses 768 782 +14
- Partials 480 497 +17 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Retired in favour of #1538 |
SUMMARY
This adds better idempotency that checks every parameter for change and updates only the changed ones. Also fixes a small bug that requires the "propagation_value" if "propagation_rule" is not set, because "propagation_rule" had a default value. This has been removed so that if both parameters are not used an error won't raise.
ISSUE TYPE