joewitt opened a new pull request, #11955:
URL: https://github.com/apache/nifi/pull/11955
## Summary
- Canvas search (`GET /nifi-api/flow/search-results`) now uses
`ProcessorNode.getEffectivePropertyValues()` in `StandardSearchContext`, so
Parameter Context values are substituted the same way runtime evaluation is.
- Searchable processors such as ExecuteScript can read a parameterized
Script File (for example `#{scripts.dir}/file.groovy`) instead of opening
`/file.groovy` and logging `FileNotFoundException`.
- Sensitivity matching stays with the existing
`getEffectivePropertyValues()` rules: a parameter is only resolved when its
sensitivity matches the property. Unresolved references remain the literal
`#{name}`.
## Test plan
- [x] `./mvnw -pl nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api
test -Dtest=TestStandardSearchContext,SearchableMatcherTest`
JIRA: https://issues.apache.org/jira/browse/NIFI-16616
Made with [Cursor](https://cursor.com)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]