nifi/nifi-external/nifi-example-bundle
Alexander T da593a2e8e Update WriteResourceToStream.java
Thread.currentThread().getContextClassLoader().getResourceAsStream(...) works in UnitTest, but not if the NAR is deployed in /extensions folder. If you want to use the processer the resource 'file.txt' is not found.
I changed this to 'getClass().getClassLoader()...' and its working as UnitTest and when deployed

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #3381
2019-04-08 13:18:00 -04:00
..
nifi-nifi-example-nar NIFI-6029-RC2 prepare for next development iteration 2019-02-16 21:50:35 -05:00
nifi-nifi-example-processors Update WriteResourceToStream.java 2019-04-08 13:18:00 -04:00
pom.xml NIFI-6029-RC2 prepare for next development iteration 2019-02-16 21:50:35 -05:00