use of com.hedera.services.bdd.suites.utils.validation.domain.ValidationConfig in project hedera-services by hashgraph.
the class ValidationScenarios method readConfig.
private static void readConfig() {
var yamlIn = new Yaml(new Constructor(ValidationConfig.class));
try {
System.out.println("Config loc: " + params.getConfigLoc());
validationConfig = yamlIn.load(Files.newInputStream(Paths.get(params.getConfigLoc())));
} catch (IOException e) {
log.error("Could not locate '{}' exiting!", params.getConfigLoc(), e);
System.exit(1);
}
}
Aggregations