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

Otto Fowler commented on NIFI-5673:
-----------------------------------

I am sure you already know how you are going to do this, but in my 
[bundles-lib]([https://github.com/palindromicity/bundles)] I support this for 
manual cases ( like installing from a ui ).

The way I did it was to make the InitialContext classes represent an 
operational context ( IE> I am building the context on demand for a whole 
directory like at start up or I am building it for a single NAR ), and to 
support merging contexts.

I look forward to seeing what you come up with.

[https://github.com/palindromicity/bundles/blob/master/src/test/java/com/github/palindromicity/bundles/BundleClassLoadersContextTest.java]

 

https://github.com/palindromicity/bundles/blob/master/src/test/java/com/github/palindromicity/bundles/ExtensionManagerContextTest.java

 

> Support auto loading of new NARs
> --------------------------------
>
>                 Key: NIFI-5673
>                 URL: https://issues.apache.org/jira/browse/NIFI-5673
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>
> We should be able to detect when new NARs have been added to any of the NAR 
> directories and automatically load them and make the components available for 
> use without restarting the whole NiFi instance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to