Github user bbende commented on the issue: https://github.com/apache/nifi-registry/pull/6 @kevdoran thanks for reviewing! I pushed up another commit that changes the equals method you mentioned... I agree that as long as flow id's are globally unique, then we only need to use flow id + version for the hash/equals of the snapshot method. Regarding using the metadata objects in the REST layer... I think we should still leave the REST end-points using the original data model, and the service layer will translate from the provider API to the regular data model. I also added a "BucketItemType" in BucketItem so that if the front-end was looking at bucket item they could easily look at field to determine the type. If you are good with those changes then I am going to merge this in. Thanks!
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---