TLDR; You can't.
The config server of Spring Cloud works sort of like this, in general, when
dealing with an external location/native:
- application.properties is the set of settings that applies to all
applications.
- X.properties is the set of settings that affect application X where the
application names itself as X.
Given that you only have one application "CAS", the two mostly just deal
with the same thing and there is no hierarchy. While there is no use case
for overriding stuff, you can nonetheless use that behavior to break up the
config in two halves. But, if you were to externalize the configuration
server and if you had multiple applications all leveraging the same
configuration server, then you could let it load up *.properties files from
the external location (as it does now) and then each application would then
use application.properties and its own X.properties. so 30 applications for
instance, all sharing a single application.properties and yet overriding
things inside it on a per X.properties basis.
Makes sense?
I realize that the docs are rather misleading; they tend to in this case
generically describe the capabilities of the configuration server, and not
so much the its specific utilization by CAS. Shall clarify.
Also, I am almost sure there are ways where you could let a single
application load up and use many config files and break things down ad
infinitum. You'd need to play around with Spring Cloud to see how that can
be possible.
--Misagh
--
- 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
cas-user+u...@apereo.org.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/87080575-7546-4b45-6b0f-14b694000771%40ndsu.edu.