Search in sources :

Example 1 with AssessmentRatingViewService

use of org.finos.waltz.service.assessment_rating.AssessmentRatingViewService in project waltz by khartec.

the class AssessmentHarness method main.

public static void main(String[] args) throws ParseException {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
    AssessmentRatingViewService viewSvc = ctx.getBean(AssessmentRatingViewService.class);
    Set<AssessmentRatingDetail> assessments = viewSvc.findFavouriteAssessmentsForEntityAndUser(mkRef(EntityKind.APPLICATION, 20506L), "jessica.woodland-scott@db.com");
    System.out.println("done");
}
Also used : AnnotationConfigApplicationContext(org.springframework.context.annotation.AnnotationConfigApplicationContext) AssessmentRatingViewService(org.finos.waltz.service.assessment_rating.AssessmentRatingViewService) AssessmentRatingDetail(org.finos.waltz.model.assessment_rating.AssessmentRatingDetail)

Aggregations

AssessmentRatingDetail (org.finos.waltz.model.assessment_rating.AssessmentRatingDetail)1 AssessmentRatingViewService (org.finos.waltz.service.assessment_rating.AssessmentRatingViewService)1 AnnotationConfigApplicationContext (org.springframework.context.annotation.AnnotationConfigApplicationContext)1