[ 
https://issues.apache.org/jira/browse/NIFIREG-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16251911#comment-16251911
 ] 

ASF GitHub Bot commented on NIFIREG-53:
---------------------------------------

GitHub user bbende opened a pull request:

    https://github.com/apache/nifi-registry/pull/38

    NIFIREG-53 Data Model Clean Up

    - Added author field to snapshot metadata
    - Removed unused relationships such as bucket.getVersionedFlows() and 
flow.getSnapshots()
    - Added VersionedFlow and Bucket to VersionedFlowSnapshot

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bbende/nifi-registry NIFIREG-53

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi-registry/pull/38.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #38
    
----
commit 765d26a1d58fe2107d3d76ffaf1e17270fdbb554
Author: Bryan Bende <[email protected]>
Date:   2017-11-13T20:41:48Z

    NIFIREG-53 Adding author to VersionedFlowSnapshotMetadata and storing in DB 
as created_by

commit d9242e9880014448e8747234e53b61f9a42eaebc
Author: Bryan Bende <[email protected]>
Date:   2017-11-13T21:00:42Z

    NIFIREG-53 Removing getVersionedFlows() from Bucket

commit a99da0db7c53e41485a9562b307876f150ea4ad3
Author: Bryan Bende <[email protected]>
Date:   2017-11-13T21:45:46Z

    NIFIREG-53 Removed getSnapshotMetadata() from VersionedFlow

commit 7f6102159ed4f8818a15256f05fec1a1fbae5541
Author: Bryan Bende <[email protected]>
Date:   2017-11-14T18:30:28Z

    NIFIREG-53 Adding VersionedFlow and Bucket to VersionedFlowSnapshot when it 
is retrieved by version or latest

----


> Clean up data model
> -------------------
>
>                 Key: NIFIREG-53
>                 URL: https://issues.apache.org/jira/browse/NIFIREG-53
>             Project: NiFi Registry
>          Issue Type: Improvement
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>
> We should consider removing the top down relationships that are no longer 
> being used such as bucket.getFlows() and flow.getSnapshots(), and we should 
> also let VersionedFlowSnapshot have a reference back to the flow and to the 
> bucket. In addition, we need to track the user that created a snapshot.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to