[metadata] Remove metadata from empty enriched items#848
[metadata] Remove metadata from empty enriched items#848animeshk08 wants to merge 3 commits intochaoss:mainfrom
Conversation
|
Hi @valeriocos. I have checked the enrichers for all the backends. Even though most of the backend override the Please have a look at this PR :) Also, I will update the tests and separate the commits tomorrow :) |
Pull Request Test Coverage Report for Build 2135
💛 - Coveralls |
This commit updates the enricher to prevent addition of metadata fields to empty enriched items. Signed-off-by: Animesh Kumar <animuz111@gmail.com>
This commit prevents addition of repository label and metadata filter raw to items which are not to be enrihced. This results in creation of empty items which are not uploaded to ElasticSearch. Tests have been added accrodingly. Signed-off-by: Animesh Kumar <animuz111@gmail.com>
This commit prevents addition of repository label and metadata filter raw to items which are not to be enrihced. This results in creation of empty items which are not uploaded to ElasticSearch. Tests have been added accrodingly. Signed-off-by: Animesh Kumar <animuz111@gmail.com>
5e5a03c to
0036e06
Compare
|
Hi, @valeriocos. Please have a look at this PR :)
|
|
Hi @animeshk08 , sorry for the late reply! ^^ We are testing it in the pre-production environment, and the initial tests are good. |
|
Thank you for the quick reply @valeriocos. Let me know when there are any updates. |
Fixes: #846
This commit updates the enricher for
github and gitlab to prevent addition of
metadata fields to empty enriched items
Signed-off-by: Animesh Kumar animuz111@gmail.com