Search in sources :

Example 1 with RoadmapService

use of org.finos.waltz.service.roadmap.RoadmapService in project waltz by khartec.

the class RoadmapHarness method main.

public static void main(String[] args) {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
    RoadmapDao roadmapDao = ctx.getBean(RoadmapDao.class);
    RoadmapService roadmapService = ctx.getBean(RoadmapService.class);
    Collection<RoadmapAndScenarioOverview> relns = roadmapService.findRoadmapsAndScenariosByFormalRelationship(mkRef(EntityKind.ORG_UNIT, 2700));
    System.out.println(relns);
}
Also used : AnnotationConfigApplicationContext(org.springframework.context.annotation.AnnotationConfigApplicationContext) RoadmapDao(org.finos.waltz.data.roadmap.RoadmapDao) RoadmapAndScenarioOverview(org.finos.waltz.model.roadmap.RoadmapAndScenarioOverview) RoadmapService(org.finos.waltz.service.roadmap.RoadmapService)

Aggregations

RoadmapDao (org.finos.waltz.data.roadmap.RoadmapDao)1 RoadmapAndScenarioOverview (org.finos.waltz.model.roadmap.RoadmapAndScenarioOverview)1 RoadmapService (org.finos.waltz.service.roadmap.RoadmapService)1 AnnotationConfigApplicationContext (org.springframework.context.annotation.AnnotationConfigApplicationContext)1