Dynamic configuration allows DPU to be configured dynamically over one of its input data unit (configuration input data unit). If the DPU supporting dynamic configuration receives certain configuration over its configuration input data unit, it is used instead of stored configuration for the given DPU. Dynamic configuration is defined in RDF data format.
Dynamic configuration support may be added to the DPU by defining
and defining one of the input data units to the DPU as configuration data unit:
Sample main class using dynamic configuration: https://github.com/UnifiedViews/Plugins/blob/master/e-filesDownload/src/main/java/eu/unifiedviews/plugins/extractor/filesdownload/FilesDownload.java
Further, config class of the DPU has to be annotated, so that it is clear how the RDF classes and properties are mapped to config class and attributes of the config class.For details, please see sample config annotated: https://github.com/UnifiedViews/Plugins/blob/master/e-filesDownload/src/main/java/eu/unifiedviews/plugins/extractor/filesdownload/FilesDownloadConfig_V1.java
The RDF configuration e-filesDownload supports: https://github.com/UnifiedViews/Plugins/blob/97bcdcfc24da88411cbdf61000756a1ab5ec9752/e-filesDownload/doc/About.md
- Do not use blank nodes in the RDF configuration dynamically configuring target DPU
- For collections of items use LinkedList