Skip to content

Commit

Permalink
EnableConfigurationProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhorridge committed May 14, 2024
1 parent 44767aa commit 1ef9b95
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

import edu.stanford.protege.webprotege.common.WebProtegeCommonConfiguration;
import edu.stanford.protege.webprotege.ipc.WebProtegeIpcApplication;
import edu.stanford.protege.webprotege.ipc.impl.RabbitMqProperties;
import edu.stanford.protege.webprotege.jackson.WebProtegeJacksonApplication;
import io.minio.MinioClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import({WebProtegeCommonConfiguration.class, WebProtegeIpcApplication.class, WebProtegeJacksonApplication.class})
@EnableConfigurationProperties(RabbitMqProperties.class)
public class WebProtegeFileSubmissionServiceApplication {

public static void main(String[] args) {
Expand All @@ -29,5 +32,4 @@ MinioClient minioClient(MinioProperties properties) {
StorageService storageService(MinioClient minioClient, MinioProperties properties) {
return new StorageService(minioClient, properties);
}

}

0 comments on commit 1ef9b95

Please sign in to comment.