[
https://issues.apache.org/jira/browse/NIFI-16275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18110754#comment-18110754
]
ASF subversion and git services commented on NIFI-16275:
--------------------------------------------------------
Commit e505be833d447c5b879be0d7a9410d21f2706827 in nifi's branch
refs/heads/main from skeossei
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e505be833d4 ]
NIFI-16275 Add Parameter Context regression coverage (#11610)
Verify deleting a local override reveals its inherited value and updating a
referenced local Parameter preserves the raw reference expression.
> Add Parameter Context regression coverage for local overrides and references
> ----------------------------------------------------------------------------
>
> Key: NIFI-16275
> URL: https://issues.apache.org/jira/browse/NIFI-16275
> Project: Apache NiFi
> Issue Type: Test
> Components: Core Framework
> Reporter: Sevag Keosseian
> Assignee: Sevag Keosseian
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> NIFI-16226 corrected Parameter Context updates when adding provider-backed
> inheritance in a cluster. Additional system-test coverage should protect two
> adjacent Parameter update behaviors exercised by the same effective-Parameter
> enrichment path.
> The tests should verify:
> * Deleting a local Parameter that overrides an inherited Parameter removes
> the local definition and reveals the inherited value.
> * Updating a locally referenced Parameter preserves the referencing
> Parameter's raw expression, such as `#\{X}`, instead of persisting its
> resolved value.
> Both scenarios should run through `ParameterContextIT`, which also causes
> them to run in clustered mode through `ClusteredParameterContextIT`.
> Acceptance Criteria:
> * A child Parameter Context defines a local Parameter with the same name as a
> Parameter inherited from its parent.
> * Deleting the local override leaves no local definition and exposes the
> inherited parent value in the effective view.
> * Updating `X` in a context containing `Y = #\{X}` persists the new value of
> `X` while retaining the raw `#\{X}` value for `Y`.
> * The tests pass in standalone and clustered system-test configurations.
> * No production-code changes or new dependencies are required.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)