-
Notifications
You must be signed in to change notification settings - Fork 207
Add support for 'Dependency Redundancy Groups' #2860
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
base: master
Are you sure you want to change the base?
Conversation
ref/NC/805863 |
@Donien Please rebase with master and resolve conflicts |
4feb84f
to
13b93d1
Compare
@raviks789 Should be okay now. |
13b93d1
to
01c6c0c
Compare
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.
It has been decided that this PR will be merged to master, so please make the necessary updates based on the comments. Once the changes are done, please rebase with master.
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.
Restore this file.
|
||
INSERT INTO director_schema_migration | ||
(schema_version, migration_time) | ||
VALUES (189, NOW()); |
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.
Raise the schema version number to 190. And change the file name to upgrade_190.sql
.
01c6c0c
to
9a11ed5
Compare
Hi @raviks789, please have another look. Everything should be fine now after rebase and suggested changes. |
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.
Just address that one change I have requested, otherwise it looks good to me. Also rebase with master once again :)
. ' whole dependency to be fulfilled.' | ||
), | ||
'class' => "director-suggest", | ||
'data-suggestion-context' => 'dependencyredundancygroups', |
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.
'data-suggestion-context' => 'dependencyredundancygroups', | |
'data-suggestion-context' => 'dependencyRedundancyGroups', |
I know that the methods are case insensitive in PHP, but it is still desirable to match cases for consistency and readability reasons.
9a11ed5
to
2102c17
Compare
Done. Thanks again for your continued support on this, @raviks789 :) |
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.
LGTM!
Icinga2 version 2.14.0 introduced dependency redundancy groups which allow for more flexiblity when it comes to determining the "reachability" of a host (e.g. multiple DNS servers as redundant dependencies).
This PR adds a new attribute "redundancy_group" to dependencies and adjusts the web forms accordingly.
If any changes need to be made, please let me know.