-
Notifications
You must be signed in to change notification settings - Fork 297
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
intelmq.lib.bot.Bot.set_request_parameters doesn't honor defaults.conf #1594
Comments
intelmq.lib.bot.Bot.set_request_parameters
doesn't honor defaults.conf
The method uses |
@wagner-certat Thank you for the explanation. However it still feel unintuitive. I would like to suggest having a dedicated method |
I don't think we can get rid of internal fallback defaults. Just think of the case that the configurations files are "unreachable" and the tools need to abort in a proper way including logging. But: handling of internal fall-back parameters, the default configuration and higher levels of parameters (bot-level default values and runtime configuration) can / should be improved. |
Line 768 in e489bee
And the HTTPMixin as well of course: /~https://github.com/certtools/intelmq/blob/develop/intelmq/lib/mixins/http.py -> Solved |
The expected order of configuration:
runtime.conf
if presentdefaults.conf
if presentThis function sets it's own default values if bot parameters from
runtime.conf
are not present and doesn't usedefaults.conf
values.The text was updated successfully, but these errors were encountered: