Graylog2 / Graylog2/graylog2-server

Extend safety of scripting api decorators

Open
#15,591 0 comments 0 reactions 2 assignees Claimed by @luk-kaminski View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.