Martin Carlsson
01/16/2023, 3:39 AMassets
for each endpoint, and 10 load assets
for each file that should be exported to my harddrive.
Is that correct?
What do I do with the transform from xml to json? As I understand it, this is an asset. But the code is the exact same for each endpoint. Should I duplicate code and also create 10 transform assets
?Andras Somi
01/16/2023, 2:06 PM@multi_asset
which produces 10 assets, one for each endpoint, and use the logic from the resource to return the json files.Martin Carlsson
01/17/2023, 4:15 AMresources
and multi-asset
.
You wrote: if you don’t need the intermediary xml files just the transformed json, maybe you don’t even have to create an asset for them
How could I implement that? Do you mean having a the transformation part within either the extract or load asset
?Andras Somi
01/17/2023, 4:36 PM