Hello,
I've added src/main/resources/bootstrap.properties (as documentation says) with
spring.profiles.active=native
spring.cloud.config.server.native.searchLocations=file:///etc/cas/config
I understand, the result would be the same as without this bootstrap.properties file, for example
http://localhost:8080/cas/status would be not allowed because the configuration in etc/cas/config/cas.properties
cas.adminPagesSecurity.ip=127\.0\.0\.1
(build.sh copies it to /etc/cas/config/cas.properties)
To reproduce
2) Change to branch 5
3) execute "./build.sh run"
5) exit "./build.sh run"
6) add src/main/resources/bootstrap.properties with
spring.profiles.active=native
spring.cloud.config.server.native.searchLocations=file:///etc/cas/config
7) execute "./build.sh run"
I think, this is because in the 7 /etc/cas/config/cas.properties is not read
I've also tried to copy etc/cas/config/cas.properties to src/main/resources/config/cas.properties and change bootstrap.properties to
spring.profiles.active=native
spring.cloud.config.server.native.searchLocations=classpath:/config
But no luck, the same results
Regards,
Rafa