Search in sources :

Example 1 with ChangeUnitViewService

use of org.finos.waltz.service.change_unit.ChangeUnitViewService in project waltz by khartec.

the class ChangeSetHarness method main.

public static void main(String[] args) throws ParseException {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
    ChangeUnitViewService service = ctx.getBean(ChangeUnitViewService.class);
    Collection<PhysicalFlowChangeUnitViewItem> physical_flow_change_set = service.findPhysicalFlowChangeUnitsByChangeSetId(2);
    System.out.println(physical_flow_change_set);
}
Also used : AnnotationConfigApplicationContext(org.springframework.context.annotation.AnnotationConfigApplicationContext) ChangeUnitViewService(org.finos.waltz.service.change_unit.ChangeUnitViewService) PhysicalFlowChangeUnitViewItem(org.finos.waltz.model.change_unit.PhysicalFlowChangeUnitViewItem)

Aggregations

PhysicalFlowChangeUnitViewItem (org.finos.waltz.model.change_unit.PhysicalFlowChangeUnitViewItem)1 ChangeUnitViewService (org.finos.waltz.service.change_unit.ChangeUnitViewService)1 AnnotationConfigApplicationContext (org.springframework.context.annotation.AnnotationConfigApplicationContext)1