Enable creating an API using Spring Web #5

Merged
niat8586 merged 39 commits from spring into develop 2024-11-06 11:23:29 +01:00
Showing only changes of commit 67b596753a - Show all commits

View File

@ -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.OAuthServiceImpl;
import se.su.dsv.scipro.oauth.OAuthSettings; import se.su.dsv.scipro.oauth.OAuthSettings;
import se.su.dsv.scipro.peer.CommentServiceImpl; 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.PeerPortalImpl;
import se.su.dsv.scipro.peer.PeerRequestRepository; import se.su.dsv.scipro.peer.PeerRequestRepository;
import se.su.dsv.scipro.peer.PeerRequestService; import se.su.dsv.scipro.peer.PeerRequestService;
@ -1056,4 +1058,9 @@ public class CoreConfig {
{ {
return new Notifications(notificationController, notificationService, eventBus); return new Notifications(notificationController, notificationService, eventBus);
} }
@Bean
public CommentThreadServiceImpl commentThreadService(CommentThreadRepo commentThreadRepository) {
return new CommentThreadServiceImpl(commentThreadRepository);
}
} }