Sevag Keosseian created NIFI-16275:
--------------------------------------

             Summary: 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


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)

Reply via email to