Feature #3373
closedTask #3374: Migrate all core modules from legacy Mentat
Task #3376: Polish mentat-inspector.py module
mentat-inspector.py - Provide default values for action arguments
100%
Description
Currently all action arguments are mandatory. Provide configurable default values wherever possible, so that the configuration does nt have to be repeated.
Updated by Jan Mach over 7 years ago
- Priority changed from Normal to High
- Parent task set to #3376
Updated by Jan Mach over 7 years ago
- Status changed from New to In Progress
- Priority changed from High to Normal
I have implemented general mechanism for providing default values to non-existent action arguments. It is already used for overwrite and unique arguments of tag and set actions. Default values for report action are still coming, I need more time to think it through, so it can be used throughout the whole system.
Updated by Pavel Kácha over 7 years ago
Just a note (and maybe irrelevant, I haven't checked in deep) - don't forget, that default value can be per rule, not only per daemon - for example it makes sense to put the name of the matching rule to the subject of the mailed message.
Updated by Jan Mach about 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
This feature is fully implemented in production code.