[
https://issues.apache.org/jira/browse/NIFI-14457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944387#comment-17944387
]
Oleksandr Shpak commented on NIFI-14457:
----------------------------------------
Additional info:
[BaseX GitHub repository|https://github.com/BaseXdb/basex]
> 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
>
> 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)