Hello, In terms of automated testing, anything that you can do in the UI can also be done via the REST API [1]. So you could write scripts/code to create a process group, then instantiate processors, connect them, start them, send in known data, and check the output somewhere.
As far as deployment, this is an area that the community is currently working to improve [2]. Currently you can use templates as a deployment vehicle [3][4], or you can copy the whole flow.xml.gz from one environment to the other, assuming you want to completely move the whole canvas from one environment to the other (depends on sensitive properties encryption key being the same in each environment). This is definitely an area that will significantly improve in the future, and we are happy to hear and discuss on feedback on the feature proposals. Thanks, Bryan [1] https://nifi.apache.org/docs/nifi-docs/rest-api/index.html [2] https://cwiki.apache.org/confluence/display/NIFI/Configuration+Management+of+Flows [3] https://github.com/aperepel/nifi-api-deploy [4] https://github.com/ijokarumawak/nifi-deploy-process-group On Fri, Feb 24, 2017 at 7:54 AM, Anshuman Ghosh <[email protected]> wrote: > Hello team, > > Greetings of the day! > > This is Anshu here and we in our organization have started with Apache NiFi > recently. > I must appreciate the features and ease of usage of this tool and the > community response, however I have couple of questions since we are in the > beginning. > It would really be great if we can get some guidance on this. > > *Brief about our use case. * > - We need to consume data from one/ more Kafka topics. > - Need to transform data on the fly. > - Need to write to HDFS finally with some partition logic. > > *What are we looking for?* > - Please guide us on how to automate our end to end testing. > - How to handle deployment in NiFi. If we develop and test a flow in lower > environments, is there a way to package them together and deploy them in > higher environment? > > Thanking you in advance! > Should there be any information required from my side, please do let me > know. > > > > ______________________ > > *Kind Regards,* > *Anshuman Ghosh* > *Contact - +49 179 9090964*
