nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-6380) Implement Parameter Context Backend
Date Fri, 02 Aug 2019 14:49:04 GMT

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

ASF subversion and git services commented on NIFI-6380:
-------------------------------------------------------

Commit 4f50f30ad7329540a707be835c23acee86d4cfb4 in nifi's branch refs/heads/master from Mark
Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4f50f30 ]

NIFI-6380: Introduced the notion of Parameters and Parameter Contexts to the code base.
- Added nifi-parameter module
- Added Parameter to nifi-api
- Added ParameterContext and ParameterLookup
- Updated EL to support Parameters
- Updated backend so that any property can make use of Parameters
- Added web endpoint for Parameter Contexts
- Updated Templates to make use of Parameter Contexts
- Updated Versioned Flows to make use of Parameter Contexts
- Updated Stateless NiFi to support Parameters and take Parameters as part of the configuration,
not Variables.

NIFI-6380: Addressed review feedback and fixed bugs; added additional unit and integration
tests to verify

NIFI-6380: Added Description to Parameter Context

NIFI-6380: Fixed checkstyle violations

NIFI-6380: Fixed bug that caused updating a Parameter Context to fail if the name is provided
and unchanged

NIFI-6380: If parameter is being deleted, don't worry about its sensitivity flag. This addresses
a bug where the deletion of a Sensitive Parameter would require that the Parameter be submitted
with a value of null and a sensitivity flag of true; else it would provide an error indicating
that the parameter can't be changed from sensitive to non-sensitive. Now, the sensitivity
flag is ignored.

NIFI-6380: Fixed bug around unsetting Process Group's Parameter Context

NIFI-6380: Moved lastRefreshed timestamp from ParameterContextDTO to ParameterContextsEntity
and renamed to currentTime to match the pattern of ControllerServicesEntity rather than FlowHistory.
Added parameterContextId to ProcessGroupFlowDTO

NIFI-6380: Added additional integration tests around escaped parameter references

NIFI-6380: Additional tests and bug fix for referencing EL from within another EL Expression

NIFI-6380: Created ParameterEntity to house a 'canWrite' flag for parameters and updated ParameterContext
to use it. Updated ParameterContextUpdateRequestDTO to include a Set<AffectedComponentEntity>
indicating the components that are affected by the update

NIFI-6380: Addressed review feedback

NIFI-6380: Addressed additional review feedback, mostly around code cleanup

NIFI-6380: Bug fix

NIFI-6380: Addressed more review feedback; fixed a couple of minor bugs encountered when testing

NIFI-6380: Bug fix around Parameter escaping for properties that support Expression Language.
Fixed inconcsistency in Authorization hierarchy between /parameter-contexts/1234 and /parameter-contexts
 to ensure that the parent of /parameter-contexts is /controller, regardless of how we arrive
at the /parameter-contexts resource

NIFI-6380: Fixed but around using ProcessContext#newPropertyValue(String) that previously
resulted in causing the Parameters to be evaluated a second time, thereby ignoring escape
characters. Updated Integration Test to verify behavior. Also fixed bug in LoadBalanceQueueIT
as it was a one-liner and noticed it while running tests to verify other behavior

NIFI-6380: Ensure that if Processor or Controller Services references or de-references a Parameter
that user making the change has READ policy on the Parameter Context

NIFI-6380: Verify permissions on Parameter Context when creating processor/controller service
and when moving between groups, insantiating template, reverting/change flow version

NIFI-6380: Addressed problem that resulted from rebasing against master; fixed bug in showing
the Affected Components for a particular Parameter Context Update

NIFI-6380: Fixed NPE that occurs when attempting to update controller-level Controller Service

NIFI-6380: Updated validation error text when referencing parameter from controller-level
controller service or reporting task

NIFI-6380: Ensuring permissions for copy/paste when components reference parameters.

NIFI-6380: Do not require READ policy on Parameter Context in order to un-reference a parameter,
only to reference one.

NIFI-6380: Restricted parameter names to match those in the Feature Proposal. Fixed bug that
allowed copy & paste of a PG for which user does not have READ policy for a child/descendant
PG's parameter context

This closes #3536


> Implement Parameter Context Backend
> -----------------------------------
>
>                 Key: NIFI-6380
>                 URL: https://issues.apache.org/jira/browse/NIFI-6380
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 12h 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message