Numass server test
This commit is contained in:
parent
15314d2d07
commit
b027f9b7e7
@ -35,7 +35,7 @@ public class TestServer {
|
|||||||
context.getLogger().info("Starting test numass storage servlet in '{}'", path);
|
context.getLogger().info("Starting test numass storage servlet in '{}'", path);
|
||||||
|
|
||||||
NumassStorage storage = NumassStorage.buildLocalNumassRoot(new File(path), true, true);
|
NumassStorage storage = NumassStorage.buildLocalNumassRoot(new File(path), true, true);
|
||||||
serverManager.addObject("numass", storage, st -> new NumassStorageHandler(serverManager, st));
|
serverManager.addObject("numass", storage, NumassStorageHandler::new);
|
||||||
|
|
||||||
serverManager.startSetver();
|
serverManager.startSetver();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user