You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2024/01/17 23:20:00 UTC

[jira] [Commented] (NIFI-11627) Add JSON Schema Registry Service for ValidateJson Processor

    [ https://issues.apache.org/jira/browse/NIFI-11627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17807928#comment-17807928 ] 

Daniel Stieglitz commented on NIFI-11627:
-----------------------------------------

[~exceptionfactory] Can this also be marked for inclusion in 1.25?

> Add JSON Schema Registry Service for ValidateJson Processor
> -----------------------------------------------------------
>
>                 Key: NIFI-11627
>                 URL: https://issues.apache.org/jira/browse/NIFI-11627
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: 1.19.1
>            Reporter: Chuck Tilly
>            Assignee: Daniel Stieglitz
>            Priority: Major
>              Labels: backport-needed
>             Fix For: 2.0.0-M2
>
>          Time Spent: 9h
>  Remaining Estimate: 0h
>
> 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. 
> {code:java}
> #{${schema.name}} {code}
>  
> 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)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)