Package mops.businesslogic.config
Class DummyDataSeeding
- java.lang.Object
-
- mops.businesslogic.config.DummyDataSeeding
-
@Configuration @Profile("dev") public class DummyDataSeeding extends java.lang.ObjectSetups data for development.
-
-
Constructor Summary
Constructors Constructor Description DummyDataSeeding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.ApplicationRunnerinit(GroupService groupService, FileInfoService fileInfoService, FileRepository fileRepository, DirectoryService directoryService)Initializes application runner.
-
-
-
Method Detail
-
init
@Bean public org.springframework.boot.ApplicationRunner init(GroupService groupService, FileInfoService fileInfoService, FileRepository fileRepository, DirectoryService directoryService)
Initializes application runner.- Parameters:
groupService- group servicefileInfoService- file info servicefileRepository- connection to the MinIO file repositorydirectoryService- directory service- Returns:
- an ApplicationRunner
-
-