Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.3.0
-
None
-
None
Description
Our API doesn't really support config files.
I have been telling people that they must be able to specify a config file for Daffodil as well as the schema, but this is not enough because the Daffodil API doesn't currently allow for processing the entire config file via its API.
External variable bindings can be supplied via a config file, but loading that will ignore tunables specified in the same config file. An application must still parse that config file itself to pull out the tunables to feed those to daffodil one by one or as a Map data structure.
(The TDML runner does this.)
There needs to be one API call (in JAPI and SAPI) to specify the config file, possibly with also a way to specify the config as a single long string.