markap14 commented on PR #8101:
URL: https://github.com/apache/nifi/pull/8101#issuecomment-1838801991

   I agree, we definitely want to avoid adding any sort of framework-specific 
dependencies to the nifi-expression-language module. Ideally, though, I think 
we should actually avoid updating the Expression Language at all. There's no 
need to expose a new function for this, but instead just update 
`NarClassLoaders.InitContext` so that when it sets the framework bundle it also 
sets a system property: `System.setProperty("nifi.version", 
frameworkBundle.getBundleDetails().getCoordinate().getVersion());`
   This should make it available to the Expression Language as 
`${'nifi.version'}`


-- 
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]

Reply via email to