Re: [cas-user] CAS, config server and bootstrap outside war file

2020-11-17 Thread Matthieu Marc
Thank you Ray, But unfortunately, it is not working for me. When adding -Dspring.config.additional-location and/or -Dspring.cloud.config.uri, the application will not retrieve the configuration from the config server. But. I find that using this configuration : spring.cloud.bootstrap.location

Re: [cas-user] CAS, config server and bootstrap outside war file

2020-11-16 Thread Ray Bon
Matthieu, In our tomcat bin directory, we have a file called setenv.sh with a couple lines like this (among others) CATALINA_OPTS="$CATALINA_OPTS -Dspring.config.additional-location=/home/uvtomcat/config/bootstrap.yml" CATALINA_OPTS="$CATALINA_OPTS

[cas-user] CAS, config server and bootstrap outside war file

2020-11-16 Thread Matthieu Marc
Hi everyone, I am working on CAS 6.1.5 and I configured a spring configuration server for my spring-boot applications. The spring config server is working as expected for my CAS instance : I wrote the bootstrap.properties file and put it in the src/main/resources directory before building with