use of org.finos.waltz.service.app_group.FavouritesService in project waltz by khartec.
the class AppGroupHarness method main.
public static void main(String[] args) throws InsufficientPrivelegeException {
System.out.println("--- start");
ApplicationIdSelectorFactory appSelectorFactory = new ApplicationIdSelectorFactory();
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
DSLContext dsl = ctx.getBean(DSLContext.class);
FavouritesService service = ctx.getBean(FavouritesService.class);
Collection<AppGroupEntry> appGroupEntries = service.addApplication("jessica.woodland-scott@db.com", 15792);
System.out.println("--- done");
}
Aggregations