[
https://issues.apache.org/jira/browse/NIFIREG-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140662#comment-16140662
]
ASF GitHub Bot commented on NIFIREG-11:
---------------------------------------
GitHub user bbende opened a pull request:
https://github.com/apache/nifi-registry/pull/6
NIFIREG-11 Data model refactoring
Created BucketMetadata, FlowMetadata, and FlowSnapshotMetadata interfaces
and their respective standard implementations, and updated the provider API to
return these interfaces.
Also made slight refactorings to the standard data model:
- Bucket now has a Set of VersionedFlows
- BucketObject renamed to BucketItem
- Created VersionedFlowSnapshotMetadata to represent a snapshot without the
contents
- Changed VersionedFlow to have a Set of VersionedFlowSnapshotMetadata
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bbende/nifi-registry data-model-refactoring
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi-registry/pull/6.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 #6
----
commit 227773ff0b0e12821700175d86f0398420c70ba0
Author: Bryan Bende <[email protected]>
Date: 2017-08-24T14:24:08Z
Introducing BucketItem and VersionedFlowSnapshotMetadata
commit 4312e647bba086f5bb092abbf092196a67b938c8
Author: Bryan Bende <[email protected]>
Date: 2017-08-24T20:34:17Z
NIFIREG-11 Creating metadata class in provider API to decouple data model
----
> Refactor Domain Model
> ---------------------
>
> Key: NIFIREG-11
> URL: https://issues.apache.org/jira/browse/NIFIREG-11
> Project: NiFi Registry
> Issue Type: Improvement
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Minor
> Fix For: 0.0.1
>
>
> We should create a separate object model for the provider API so that those
> objects can be decoupled from the standard data model.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)