According to 
https://docs.spring.io/spring-boot/docs/current/reference/html/howto-properties-and-configuration.html#howto-change-configuration-depending-on-the-environment
last active profile in a yaml document always wins. 
D. 
                
                

                
        




On Mon, Aug 14, 2017 at 5:15 AM -0400, "David Rodriguez Gonzalez" 
<[email protected]> wrote:










Hi everyone,
We are setting up CAS 5.1.2 profiles in order to configure properties per 
environment.Although Spring is reading the profile we are passing through 
command line and that are properly defined in the application.yml, the last 
profile defined in the yaml file is chosen to get the properties from.
Any ideas? How are you doing it?
Thank you|David





-- 

- CAS gitter chatroom: https://gitter.im/apereo/cas

- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html

- CAS documentation website: https://apereo.github.io/cas

- CAS project website: https://github.com/apereo/cas

--- 

You received this message because you are subscribed to the Google Groups "CAS 
Community" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].

To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFGxCisLOL8eWAZjsSq4UDNXJHp%3DYi%3Dre8hfA0A8MhfXb7AgkA%40mail.gmail.com.






-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/D5BBD223FBD5BCE6.0124EC43-BCF3-4D6C-B93E-B34939EFA4D7%40mail.outlook.com.

Reply via email to