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

Ferenc Kis commented on NIFI-12644:
-----------------------------------

[~valikii] ,

thanks for raising this issue.

The observation is correct: the current documentation does not reflect a proper 
solution to migrate flows between NiFI and MiNiFi.

In version 2.0 many things are deprecated like flow xml format, flow templates, 
variables, etc. Also these are deprecated MiNiFi as well. Although some of the 
features are complete, some still need to be addressed, like the exporting 
flows from NiFi to MiNiFI. Similarly to version 1.x this feature is intended to 
take place in minifi-toolkit - like the retired template conversion 
funcionality.

The goal of the milestone releases is to contain major changes and provide an 
insight to the features. Based on feedback from the community these features 
can be improved and issues can be fixed before the final release happens.

Both the migration feature and the document update are planned to be added in 
the next milestone release. We kindly ask for you patience, or you are welcome 
to contribute the improvement as well. Meanwhile you can use the workaround for 
the issue as [~ferdei] advised.

> Exported json flows does not match minifi json schema
> -----------------------------------------------------
>
>                 Key: NIFI-12644
>                 URL: https://issues.apache.org/jira/browse/NIFI-12644
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: MiNiFi
>    Affects Versions: 2.0.0-M1
>            Reporter: Valiantsin Shukaila
>            Priority: Major
>         Attachments: flow-exported-from-nifi2.json, 
> minifi-example-flow-from-tests.json
>
>
> In documentation for Minifi java agent project it is mentioned that in order 
> to import process flow, now it is necessary to export nifi flow as json and 
> put it in minifi. here link to doc: 
> [https://github.com/apache/nifi/blob/main/minifi/minifi-docs/src/main/markdown/minifi-java-agent-quick-start.md]
> But in fact the JSON formats compeltelly do not match. Minifi expect format 
> of legacy nifi flow templates just in JSON. But exported nifi flows is 
> something very much different.
> Therefore it is not really possible to import flows from nifi-2.0 version to 
> minifi 2.0 version.
> It is only possible to export template from nifi 1.2.x version and convert it 
> into json format for minifi-2.0 version.
> for file differences please see attached files.



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

Reply via email to