Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get a flow from NiFi Registry #5

Open
dmcassel opened this issue Oct 1, 2021 · 0 comments
Open

Get a flow from NiFi Registry #5

dmcassel opened this issue Oct 1, 2021 · 0 comments

Comments

@dmcassel
Copy link

dmcassel commented Oct 1, 2021

This library looks like a great way to automate testing a flow, but it looks like it requires Java code that is separate from the flows I build in the UI. If it were able to connect to NiFi Registry and automatically build a flow from there, then the test code could focus on creating inputs and evaluating outputs. To write tests for a full flow would likely require some mocking (for instance, for a relational database service that NiFi pulls data from). But even without that, I could picture focusing a test on a particular processor group. Send some flow files to the input port, see what comes out of the output port(s).

Is this in line with the direction you'd like this project to go?

Reference

  • NiFi Registry API
  • Endpoint to get the latest version of a flow: /buckets/{bucketId}/flows/{flowId}/versions/latestGet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant