-
Notifications
You must be signed in to change notification settings - Fork 92
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
Move default filtered events to settings #901
base: master
Are you sure you want to change the base?
Move default filtered events to settings #901
Conversation
config/settings.yml
Outdated
:ems_openstack_network: | ||
:blacklisted_event_names: | ||
- scheduler.run_instance.start | ||
- scheduler.run_instance.scheduled | ||
- scheduler.run_instance.end | ||
:ems_openstack_infra: | ||
:blacklisted_event_names: | ||
- identity.authenticate |
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.
alpha sort
:ems_openstack_network: | |
:blacklisted_event_names: | |
- scheduler.run_instance.start | |
- scheduler.run_instance.scheduled | |
- scheduler.run_instance.end | |
:ems_openstack_infra: | |
:blacklisted_event_names: | |
- identity.authenticate | |
:ems_openstack_infra: | |
:blacklisted_event_names: | |
- identity.authenticate | |
:ems_openstack_network: | |
:blacklisted_event_names: | |
- scheduler.run_instance.start | |
- scheduler.run_instance.scheduled | |
- scheduler.run_instance.end |
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.
one very minor comment
%w( | ||
identity.authenticate | ||
) | ||
Settings.ems.ems_openstack_infra.blacklisted_event_names |
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.
Should this be?
Settings.ems.ems_openstack_infra.blacklisted_event_names | |
Settings.ems["ems_#{ems_type}"].blacklisted_event_names |
Asking because the other PRs don't have any code changes in this method, so I suspect you need it here?
scheduler.run_instance.scheduled | ||
scheduler.run_instance.end | ||
) | ||
Settings.ems.ems_openstack_network.blacklisted_event_names |
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.
Same here?
340ad0c
to
ffc570a
Compare
@miq-bot cross-repo-tests ManageIQ/manageiq, ManageIQ/manageiq-providers-ibm_power_vc#126, ManageIQ/manageiq-providers-ibm_cic#56 |
From Pull Request: ManageIQ/manageiq-providers-openstack#901
Dependents:
ManageIQ/manageiq#19707