use of com.hedera.mirror.importer.downloader.CommonDownloaderProperties in project hedera-mirror-node by hashgraph.
the class MirrorDateRangePropertiesProcessorTest method setUp.
@BeforeEach
void setUp() {
mirrorProperties = new MirrorProperties();
mirrorProperties.setNetwork(MirrorProperties.HederaNetwork.TESTNET);
CommonDownloaderProperties commonDownloaderProperties = new CommonDownloaderProperties(mirrorProperties);
var balanceDownloaderProperties = new BalanceDownloaderProperties(mirrorProperties, commonDownloaderProperties);
var eventDownloaderProperties = new EventDownloaderProperties(mirrorProperties, commonDownloaderProperties);
var recordDownloaderProperties = new RecordDownloaderProperties(mirrorProperties, commonDownloaderProperties);
downloaderPropertiesList = List.of(balanceDownloaderProperties, eventDownloaderProperties, recordDownloaderProperties);
mirrorDateRangePropertiesProcessor = new MirrorDateRangePropertiesProcessor(mirrorProperties, downloaderPropertiesList, accountBalanceFileRepository, eventFileRepository, recordFileRepository);
balanceDownloaderProperties.setEnabled(true);
eventDownloaderProperties.setEnabled(true);
recordDownloaderProperties.setEnabled(true);
}
Aggregations