use of com.accenture.trac.common.storage.local.LocalFileStorage in project tracdap by finos.
the class FileStorageReadWriteTest method setupStorage.
@BeforeEach
void setupStorage() {
var storageProps = new Properties();
storageProps.put(IStorageManager.PROP_STORAGE_KEY, "TEST_STORAGE");
storageProps.put(LocalFileStorage.CONFIG_ROOT_PATH, storageDir.toString());
storage = new LocalFileStorage(storageProps);
execContext = new ExecutionContext(new DefaultEventExecutor(new DefaultThreadFactory("t-events")));
}
use of com.accenture.trac.common.storage.local.LocalFileStorage in project tracdap by finos.
the class FileStorageReadWriteStability method setupStorage.
@BeforeAll
static void setupStorage() {
var storageProps = new Properties();
storageProps.put(IStorageManager.PROP_STORAGE_KEY, "TEST_STORAGE");
storageProps.put(LocalFileStorage.CONFIG_ROOT_PATH, storageDir.toString());
storage = new LocalFileStorage(storageProps);
execContext = new ExecutionContext(new DefaultEventExecutor(new DefaultThreadFactory("t-events")));
}
use of com.accenture.trac.common.storage.local.LocalFileStorage in project tracdap by finos.
the class FileStorageOperationsTest method setupStorage.
@BeforeEach
void setupStorage() {
var storageProps = new Properties();
storageProps.put(IStorageManager.PROP_STORAGE_KEY, "TEST_STORAGE");
storageProps.put(LocalFileStorage.CONFIG_ROOT_PATH, storageDir.toString());
storage = new LocalFileStorage(storageProps);
execContext = new ExecutionContext(new DefaultEventExecutor(new DefaultThreadFactory("t-events")));
}
Aggregations