|
@@ -5,6 +5,7 @@ import org.springframework.boot.SpringApplication
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication
|
|
|
import org.springframework.context.annotation.Profile
|
|
|
import org.springframework.context.annotation.PropertySource
|
|
|
+import org.springframework.context.annotation.PropertySources
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling
|
|
|
import org.springframework.stereotype.Service
|
|
|
import org.springframework.web.bind.annotation.RequestMapping
|
|
@@ -15,7 +16,7 @@ import javax.inject.Inject
|
|
|
|
|
|
@SpringBootApplication
|
|
|
@EnableScheduling
|
|
|
-@PropertySource("classpath:application.yaml")
|
|
|
+@PropertySources(value = [PropertySource("classpath:application-default.yaml")])
|
|
|
class FreiApp{
|
|
|
|
|
|
@PostConstruct
|