Enable creating an API using Spring Web #5
@ -127,6 +127,8 @@ import se.su.dsv.scipro.notifications.settings.service.ReceiverConfigurationServ
|
||||
import se.su.dsv.scipro.oauth.OAuthServiceImpl;
|
||||
import se.su.dsv.scipro.oauth.OAuthSettings;
|
||||
import se.su.dsv.scipro.peer.CommentServiceImpl;
|
||||
import se.su.dsv.scipro.peer.CommentThreadRepo;
|
||||
import se.su.dsv.scipro.peer.CommentThreadServiceImpl;
|
||||
import se.su.dsv.scipro.peer.PeerPortalImpl;
|
||||
import se.su.dsv.scipro.peer.PeerRequestRepository;
|
||||
import se.su.dsv.scipro.peer.PeerRequestService;
|
||||
@ -1056,4 +1058,9 @@ public class CoreConfig {
|
||||
{
|
||||
return new Notifications(notificationController, notificationService, eventBus);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public CommentThreadServiceImpl commentThreadService(CommentThreadRepo commentThreadRepository) {
|
||||
return new CommentThreadServiceImpl(commentThreadRepository);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user