use of org.finos.waltz.data.logical_flow.LogicalFlowStatsDao in project waltz by khartec.
the class LogicalFlowStatsHarness method main.
public static void main(String[] args) throws ParseException {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
DSLContext dsl = ctx.getBean(DSLContext.class);
LogicalFlowStatsDao dao = ctx.getBean(LogicalFlowStatsDao.class);
Map<FlowDirection, Set<FlowInfo>> flowInfoByDirection = dao.getFlowInfoByDirection(mkRef(EntityKind.APPLICATION, 20506L), null);
System.out.println("--done");
}
Aggregations