Giving you a bit more of information, having a look into https://apereo.github.io/cas/5.1.x/installation/Configuration-Properties.html looks like what I want is "native" but, where should I place my config files? under cas/src/main/resources or in the standalone directory?
On Mon, 14 Aug 2017 at 12:25 David Rodriguez Gonzalez < [email protected]> wrote: > yeah, but why if I pass the first one, instead of the last one, through > command line args? > I have it working in a different project, so I was wondering if there is > something going on with CAS > > On Mon, 14 Aug 2017 at 12:21 <[email protected]> wrote: > >> 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 >>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFGxCisLOL8eWAZjsSq4UDNXJHp%3DYi%3Dre8hfA0A8MhfXb7AgkA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> - 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 >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/D5BBD223FBD5BCE6.0124EC43-BCF3-4D6C-B93E-B34939EFA4D7%40mail.outlook.com?utm_medium=email&utm_source=footer> >> . >> > -- - 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/CAFGxCittRE7MpN5V%3DvRLPZtPVJj5huHNu_m03tWLuTmQ%3DEUi0g%40mail.gmail.com.
