Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-11627

Add JSON Schema Registry Service for ValidateJson Processor

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.19.1
    • 2.0.0-M2
    • Extensions
    • None

    Description

      For the ValidateJSON processor, add support for flowfile attribute references that will allow for a JSON schema located in the Parameter Contexts, to be referenced dynamically based on a flowfile attribute. e.g. 

      #{${schema.name}} 

       

      The benefits of adding support for attribute references are significant.  Adding this capability will allow a single processor to be used for all JSON schema validation.  Unfortunately, the current version of this processor requires a dedicated processor for every schema, i.e. 12 schemas requires 12 ValidateJSON processors.  This is very laborious to construct and maintain, and resource expensive.  

      ValidateJSON processor (https://issues.apache.org/jira/browse/NIFI-7392)

      Attachments

        Issue Links

          Activity

            People

              dstiegli1 Daniel Stieglitz
              nwchuckster Chuck Tilly
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 9h
                  9h