use of org.opennms.features.graphml.service.InMemoryGraphmlRepository in project opennms by OpenNMS.
the class GraphMLRestServiceIT method afterServletStart.
@Override
protected void afterServletStart() throws Exception {
MockLogAppender.setupLogging(true, "DEBUG");
System.setProperty("opennms.home", "target/" + getClass().getSimpleName().toLowerCase());
// Register dummy graphml repository
final ServiceRegistry serviceRegistry = BeanUtils.getBean("soaContext", "serviceRegistry", ServiceRegistry.class);
serviceRegistry.register(new InMemoryGraphmlRepository(), GraphmlRepository.class);
}
Aggregations