use of io.crnk.test.mock.repository.ScheduleRepositoryImpl in project crnk-framework by crnk-project.
the class MetaModuleProducer method createRepositoryModule.
@Produces
@ApplicationScoped
public Module createRepositoryModule() {
SimpleModule module = new SimpleModule("mock");
module.addRepository(new ScheduleRepositoryImpl());
module.addRepository(new ProjectRepository());
module.addRepository(new TaskRepository());
module.addRepository(new ProjectToTaskRepository());
module.addRepository(new ScheduleToTaskRepository());
module.addRepository(new TaskSubtypeRepository());
module.addRepository(new TaskToProjectRepository());
module.addRepository(new TaskToScheduleRepo());
return module;
}
Aggregations