Graylog2 / Graylog2/graylog2-server
Extend safety of scripting api decorators
Open
feature
improvement
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 218
Description
The scripting api decorators (.title, .id) operate only on some fields and there are no guarantees that we have no duplicated handling (=two decorators delivering two values that we'd need to combine). The handling is currently quite naive - select first accepting the field and decorator, return its decorated value, ignore the rest. We should be able to handle these situations better, maybe recognize error conditions during compile or startup time already and make the handling more robust.
Contributor guide
Assessment
This issue has not been assessed yet.