[ https://issues.apache.org/jira/browse/NIFI-14457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomasz Korniszuk updated NIFI-14457: ------------------------------------ Attachment: image-2025-04-15-19-08-42-359.png > New processor to run xQuery on BaseX > ------------------------------------ > > Key: NIFI-14457 > URL: https://issues.apache.org/jira/browse/NIFI-14457 > Project: Apache NiFi > Issue Type: Wish > Components: Extensions > Reporter: Oleksandr Shpak > Assignee: Tomasz Korniszuk > Priority: Major > Attachments: image-2025-04-15-19-08-42-359.png > > > h2. About BaseX > [BaseX|https://basex.org] is a powerful tool that allows to process not only > XML, but also JSON, CSV, generate binary data, etc. It's stable and actively > developing product that supports all xQuery 4.0 features and even more. > Written in Java. > h2. Processor(-s) requirements > * FlowFile content should be passed as a context to the xquery script as > string > * xQuery script content is required to run the processor > * User should be able to choose the strategy of attributes mapping > ** Map all attributes as external variables > ** Map only specific list of attributes as external variables > ** Don't pass attributes > * By analogy with invokeHttp processor the output can be assigned to the > specific attribute > * The next relationships should be available for this processor > ** success > ** failure > ** original > * The script response should replace the original FlowFile in case of > success. -- This message was sent by Atlassian Jira (v8.20.10#820010)