From bc52aae05b488a867a43a05dd2e43e29a52de8a9 Mon Sep 17 00:00:00 2001 From: Jose Javier Merchante Date: Fri, 22 Jul 2022 14:44:51 +0200 Subject: [PATCH] Restore changelog entries from release candidate Signed-off-by: Jose Javier Merchante --- ...ntry_points_to_support_plugin_mechanism.yml | 18 ++++++++++++++++++ ...-the-study-aliases-are-now-configurable.yml | 9 +++++++++ .../[slack]-handle-fields-in-data.file.yml | 9 +++++++++ 3 files changed, 36 insertions(+) create mode 100644 releases/unreleased/Use_entry_points_to_support_plugin_mechanism.yml create mode 100644 releases/unreleased/[enriched]-the-names-of-the-study-aliases-are-now-configurable.yml create mode 100644 releases/unreleased/[slack]-handle-fields-in-data.file.yml diff --git a/releases/unreleased/Use_entry_points_to_support_plugin_mechanism.yml b/releases/unreleased/Use_entry_points_to_support_plugin_mechanism.yml new file mode 100644 index 000000000..daa2dd98a --- /dev/null +++ b/releases/unreleased/Use_entry_points_to_support_plugin_mechanism.yml @@ -0,0 +1,18 @@ +title: Entry points to support enriching plugin mechanism +category: added +author: ChenqiShan , LinHaiming +issue: +notes: > + This plugin mechanism allows ELK to use third-party enriching backends. + Developers only need to include the next snippet in their package configuration + and ELK will import them as any other core backend. + ``` + entry_points={"grimoire_elk": "mybackend = package.subpackage:get_connectors"}, + ``` + **NOTE**: In the previous example, `get_connectors` is a function that returns + the backend classes needed to enrich a datasource. Take the next snipped + as an example: + ``` + def get_connectors(): + return {"backend": [MyBackend, MyBackendOcean, MyBackendEnrich, MyBackendCommand]} + ``` diff --git a/releases/unreleased/[enriched]-the-names-of-the-study-aliases-are-now-configurable.yml b/releases/unreleased/[enriched]-the-names-of-the-study-aliases-are-now-configurable.yml new file mode 100644 index 000000000..a0ea689b2 --- /dev/null +++ b/releases/unreleased/[enriched]-the-names-of-the-study-aliases-are-now-configurable.yml @@ -0,0 +1,9 @@ +--- +title: 'Configurable study aliases' +category: added +author: Quan Zhou +issue: null +notes: > + Before this fix, the name of the study aliases was hard coded. + From now on, these values can be configured by passing them as + parameters. diff --git a/releases/unreleased/[slack]-handle-fields-in-data.file.yml b/releases/unreleased/[slack]-handle-fields-in-data.file.yml new file mode 100644 index 000000000..0716fbcef --- /dev/null +++ b/releases/unreleased/[slack]-handle-fields-in-data.file.yml @@ -0,0 +1,9 @@ +--- +title: '[raw/slack] Handle fields in "data.file"' +category: fixed +author: Quan Zhou +issue: null +notes: > + Avoid the 'Failed to insert data to ES' error when a + document contains at least one immense term in 'data.file' + (whose UTF8 encoding is longer than the max length 32766).