metafacture-core icon indicating copy to clipboard operation
metafacture-core copied to clipboard

Lookup/Blacklist/whitelist straight with external file

Open TobiasNx opened this issue 3 years ago • 0 comments

If you want to use lookup, blacklist or whitelist with an external file, you need to create a filemap in the maps:

<maps>
  <filemap name="xyz" file="c:/git/metafacture/xyz.tsv" />
</maps>
<data source="litA">
  <whitelist map="xyz">
</data>

It would be great if it could work like lookup in FIX (https://github.com/metafacture/metafacture-fix/commit/283075c161d8262cbfe40cec905ac160c799209e) were you could use the attribute in= to straightly reference the external file.

<data source="litA">
  <whitelist in:"c:/git/metafacture/xyz.tsv">
</data>

So that you do not have to create a maps collection everytime you would use a list just once.

TobiasNx avatar Jun 23 '21 08:06 TobiasNx