[
https://issues.apache.org/jira/browse/NIFI-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419531#comment-15419531
]
ASF subversion and git services commented on NIFI-1876:
-------------------------------------------------------
Commit 572dfed78a579150adcedf416c600aaba0ab7efc in nifi's branch
refs/heads/master from [~jtstorck]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=572dfed ]
NIFI-1876 Implements merging of responses to successful requests based on
authorization, returning the most restrictive response - Added
StandardHttpResponseMergerSpec for testing response merging - Added Permissible
interface - Added nifi-api/controller/archive to ProcessGroupEndpointMerger -
Removed AbstractMultiEntityEndpoint.java, not used anymore - Implemented
reponse merging for GET requests where there are some successful and
problematic responses, returning most restrictive one. - Updated nf-settings.js
with ControllerConfigurationEntity property rename from controllerConfiguration
to component - Implemented merging of status DTOs based on read permission
NIFI-2264 Implemented merging of status history results based on readability
permissions - Added StatusHistoryEndpointMergerSpec to test merging of status
history based on read permission
NIFI-1876 Added merging for labels, funnels, and controller service references.
NIFI-1876 Added Label and Funnel merging to FlowMerger.java
NIFI-1876 Added replication of request for process group controller services
- Updated merging code for Status and Status History based on read permissions
NIFI-1876 Fixed issue with node status snapshots all looking like they came
from one node
Updated ProcessGroupStatusSnapshotDTO to contain status snapshot entities to
retain readability permission
Added entity classes for ConnectionStatusSnapshotDTO, PortStatusSnapshotDTO,
ProcessGroupStatusSnapshotDTO, ProcessorStatusSnapshotDTO, and
RemoteProcessGroupStatusSnapshotDTO
Updated PropertyDescriptorDTO to contain AllowableValueEntity to retain
readability permission
Added entity class for AllowableValueDTO
Moved AllowableValueDTO to its own top-level class
Updated DtoFactory to get permissions for status snapshot entities
Updated StatusMerger to merge status snapshot entities
Signed-off-by: jpercivall <[email protected]>
> Clustering - Merge all responses based on authorization
> -------------------------------------------------------
>
> Key: NIFI-1876
> URL: https://issues.apache.org/jira/browse/NIFI-1876
> Project: Apache NiFi
> Issue Type: Sub-task
> Components: Core Framework
> Reporter: Matt Gilman
> Assignee: Jeff Storck
> Fix For: 1.0.0
>
>
> Each node in a cluster may have a different view of the authorization access
> policies simply to in the timing of updates. Because of this, all requests
> need to be merged accordingly.
> Requests are directed at a specific resource. These would result in some 403
> responses.
> Some requests are contain a filtered view of a number of resources. These
> would need to be updated to return the most restrictive set of responses.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)