You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2019/09/24 15:22:31 UTC
[GitHub] [nifi-registry] bbende opened a new pull request #230: NIFIREG-321 Integrate revision concept into UI, REST API, and service…
bbende opened a new pull request #230: NIFIREG-321 Integrate revision concept into UI, REST API, and service…
URL: https://github.com/apache/nifi-registry/pull/230
… layers.
This PR has a significant refactoring to some of the REST resources and service layer. The idea is for all REST resources to call the ServiceFacade which is the entry point for a database transaction. The ServiceFacade then applies authorization, validation, and revision checking.
This also allows us to remove the locking mechanisms in the services, since the locking will now be based on optimistic-locking in the database.
A follow on PR will add database implementations of UserGroupProvider and AccessPolicyProvider, which when combined with the DatabaseFlowPersistenceProvider and the metadata database, will provide a way for all data to be managed in the database as part of a single transaction.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services