Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting DFDL external variables #16

Merged

Commits on Jan 29, 2024

  1. Add support for setting DFDL external variables

    The name/value of NiFi dynamic properties are now treated as DFDL
    external variables. Property values are allowed to be NiFi expressions,
    which are evaluated and set as the variable values. If a property value
    evaluates to the empty string, it is ignored--this helps when a NiFi
    expression determines that a variable does not apply for a schema, since
    DFDL requires that all variables passed in externally must be valid for
    the schema. This does mean it is not possible to have a variable with
    the value of an empty string, but this should be rare and worked around.
    
    This also refactored exceptions, so that functions throw correct
    exceptions instead of turning everything into an IOException, which
    worked but is not technically correct.
    
    Also added a new "External Variables" section to additional details
    pages documening this capability, and cleaned up the additional details
    pages.
    stevedlawrence committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    6a2c1a5 View commit details
    Browse the repository at this point in the history