This PR is built upon PR #300 Adds support for multiple datasinks in one route
Userstory:
As a data integrator
I want to integrate a single datasource with multiple properties
so that I can break down complex data objects into single SMEs
Rules:
Only one Data point per datasource is in scope (multiple datapoints from same datasource in separate outputs is not in scope)
Changes
reworks routes configuration
adds optional attribute datasinkMappingConfiguration to routes.json
this maps a datasink (as key) to an array of dataTransformers (as value)
datasinks and -transformers additionally should be defined as before seperate arrays (to avoid breaking changes)
If there were specifiedmore data sinks in the array than in the datasinkMappingConfiguration, these sinks receive the unmodified data from the datasource
If there were specifiedmore dataTransformers in the array than in the datasinkMappingConfiguration the additional data transforers are ignored.
If no datasinkMappingConfiguration is provided, all provided data transfoemer will be applyed equally for each datasink.
This PR is built upon PR #300 Adds support for multiple datasinks in one route
Userstory:
As a data integrator I want to integrate a single datasource with multiple properties so that I can break down complex data objects into single SMEs
Rules:
Changes
datasinkMappingConfiguration
to routes.jsonExample Configuration: