nifi/nifi-external
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-external

The nifi-external module is a location where components can be developed by the NiFi team that are not intended to be used directly by NiFi but are to be used within other frameworks in order to integrate with NiFi.