disconf icon indicating copy to clipboard operation
disconf copied to clipboard

disconf 与spring boot相关注解如何集成

Open huluohu opened this issue 8 years ago • 5 comments

spring boot中的@ConditionalOnProperty @ConfigurationProperties这些注解能够读到disconf下载下来的配置吗?

huluohu avatar Oct 24 '16 05:10 huluohu

disconf,spring cloud config 虽然是相同功能的组件,但是用了spring cloud config 的怎么更好的使用disconf?运维还是很方便处理的

liguo204 avatar Nov 01 '16 06:11 liguo204

同问。自带demo的“disconf-spring-boot-web”并不能说明disconf与spring-boot很好的集成。

0xbillw avatar Nov 29 '16 09:11 0xbillw

与spring boot集成的时候并不能很好的支持spring boot的多profile,disconf.properties里面引用不到application.properties的配置

hbbtym avatar Jan 19 '17 06:01 hbbtym

同问楼上,disconf.properties 在 spring boot 中,如何支持多个profile,即在不同环境下,使用不同的disconf.properties

QiuMing avatar Jul 11 '17 04:07 QiuMing

请教下大家:像dubbo、mysql、redis等相关的配置,之前是外挂配置,例如外挂为:dubbo.properties、mysql.properties、redis.properties,application.properties文件使用了变量引用,引用外挂配置文件的属性,现在要将这些外挂文件由配置中心托管,如何让这些托管文件先于application.properties加载前就下载到classpath中,否则项目启动总是提示找不到dubbo.properties、mysql.properties、redis.properties文件。

chshzh2000 avatar Dec 21 '18 02:12 chshzh2000