mtien-apache commented on pull request #319:
URL: https://github.com/apache/nifi-registry/pull/319#issuecomment-828895145
Pushed 2 commits:
- Handled the scenario when an invalid snapshot file is uploaded during
Import New Flow @andrewmlim
- Refactored client side API import methods
- In the upload file methods, I removed `formData` and now passing the
file as an API param. Also using HTTP headers to pass additional data
- In `uploadFlow`, I'm now making multiple calls to the server that
re-uses the existing `BucketFlowResource.createFlow` method
- Refactored server side import methods
- Removed `BucketFlowResource.importFlow`
- Refactored logic from `BucketFlowResource.importVersionedFlow` to the
service facade
UI changes:
- Fixed remaining UI style issues
- In the 'Import New Flow' dialog, the initial value for the Bucket dropdown
menu is set to the Bucket the user is currently viewing. Otherwise, no value is
set when viewing all buckets.
- Added messages to inform the user why the 'Import New Flow' button is
displayed
- One displays a message in the center of the page when there are no
existing buckets
- Another message is displayed under the button buckets exist but the
user does not have any write permissions
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]