mirror of https://github.com/apache/nifi.git
NIFI-7531 - changed RW to RO access requirement on autoload NARs directory
This commit is contained in:
parent
2c45a80ef4
commit
7f0b188be4
|
@ -53,7 +53,7 @@ public class NarAutoLoader {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
FileUtils.ensureDirectoryExistAndCanReadAndWrite(autoLoadDir);
|
FileUtils.ensureDirectoryExistAndCanRead(autoLoadDir);
|
||||||
|
|
||||||
final WatchService watcher = FileSystems.getDefault().newWatchService();
|
final WatchService watcher = FileSystems.getDefault().newWatchService();
|
||||||
|
|
||||||
|
|
|
@ -33,9 +33,9 @@ import java.util.stream.Collectors;
|
||||||
|
|
||||||
import static org.hamcrest.CoreMatchers.containsString;
|
import static org.hamcrest.CoreMatchers.containsString;
|
||||||
import static org.hamcrest.CoreMatchers.hasItem;
|
import static org.hamcrest.CoreMatchers.hasItem;
|
||||||
|
import static org.hamcrest.MatcherAssert.assertThat;
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
import static org.junit.Assert.assertThat;
|
|
||||||
import static org.junit.Assume.assumeTrue;
|
import static org.junit.Assume.assumeTrue;
|
||||||
|
|
||||||
public class TestLoadNativeLibFromNar extends AbstractTestNarLoader {
|
public class TestLoadNativeLibFromNar extends AbstractTestNarLoader {
|
||||||
|
|
|
@ -34,9 +34,9 @@ import java.util.stream.Collectors;
|
||||||
|
|
||||||
import static org.hamcrest.CoreMatchers.containsString;
|
import static org.hamcrest.CoreMatchers.containsString;
|
||||||
import static org.hamcrest.CoreMatchers.hasItem;
|
import static org.hamcrest.CoreMatchers.hasItem;
|
||||||
|
import static org.hamcrest.MatcherAssert.assertThat;
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
import static org.junit.Assert.assertThat;
|
|
||||||
import static org.junit.Assume.assumeTrue;
|
import static org.junit.Assume.assumeTrue;
|
||||||
|
|
||||||
public class TestLoadNativeLibViaSystemProperty extends AbstractTestNarLoader {
|
public class TestLoadNativeLibViaSystemProperty extends AbstractTestNarLoader {
|
||||||
|
|
Loading…
Reference in New Issue