aperepel / nifi-api-deploy

Demonstrates NiFi template deployment and configuration via a REST API
Apache License 2.0
68 stars 37 forks source link

Using nifi-api-deploy for Integration Testing #34

Open obaidsalikeen opened 8 years ago

obaidsalikeen commented 8 years ago

This is not an issue, but more of a discussion:

Can we use nifi-api-deploy to feed data into a dataflow and ideally verify the output? To elaborate the usecase : Lets say I have a template, input data (text file etc) and output data (text file). I would use the nifi-api-deploy to deploy the flow, run tests (meaning feed data to the flow and verify the outcome) and in the end un-deploy (let me know if there is already an easy way to achieve the same).

This approach would let you tests your flow, rather then writing code to test your flow and making extra efforts to keep the test code in sync with flow(xml). Will look forward for your comments.