-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update configSchema.xml #7
base: master
Are you sure you want to change the base?
Conversation
disable the dynamic configuration reload default
@yairogen Could you please take a look? Why is it on by default? what will happen if we'll turn it off. |
Hi Yair, :)! ok. we don't mind to keep this feature. however, we would like to extend the PR to the following: to allow us to control (by default as part of our configSchema.xml) what will be our default setting for our services. That is, to load the configuration properties from the resources 'configSchema.xml' in an order that will give our services configSchema.xml priority. We tried override this configuration in our configSchema. but the CompositeConfiguration class does 'getProperty' first on the configuration-lib configSchema and keep returning the default origin value. overriding it only as part of config.properties is error prune on our behalf.
The firstmatching is in the origin order of the configList instead of opposite. if i open such PR will you approve? |
@yairogen tagging Yair :) |
Thanks @KerenSi ;) |
Create the pr and I'll take a look
…On Mon, Jul 16, 2018, 12:58 KerenSi ***@***.***> wrote:
@yairogen <https://github.com/yairogen> tagging Yair :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEh04-An_6gwxXw8OC3XqQ8K-OYuZPjHks5uHGOwgaJpZM4VGx-i>
.
|
ok. i see now it is internal getProperty of apache ConfigurationConfiguration extension .so it will require managing the configList in reversed order. will take me more than couple of minutes to do the actual change. hopefully i will get to it by the end of this week b'h. |
reverse order will probably prevent the external config from overriding
config from jar. not good.
…On Mon, Jul 16, 2018 at 1:21 PM sasaraf ***@***.***> wrote:
ok. i see now it is internal getProperty of apache
ConfigurationConfiguration extension .so it will require managing the
configList in reversed order. will take me more than couple of minutes to
do the actual change. hopefully i will get to it by the end of this week
b'h.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEh04wEXpPLcm4HCRu8b1myGX4saRYoHks5uHGkRgaJpZM4VGx-i>
.
|
the config.properties will be kept always on top. you are right. we should
pay notice it is the case. i refer to all other jars. thanks for the
clarification.
…On Tue, Jul 17, 2018 at 9:02 AM Yair Ogen ***@***.***> wrote:
reverse order will probably prevent the external config from overriding
config from jar. not good.
On Mon, Jul 16, 2018 at 1:21 PM sasaraf ***@***.***> wrote:
> ok. i see now it is internal getProperty of apache
> ConfigurationConfiguration extension .so it will require managing the
> configList in reversed order. will take me more than couple of minutes to
> do the actual change. hopefully i will get to it by the end of this week
> b'h.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#7 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AEh04wEXpPLcm4HCRu8b1myGX4saRYoHks5uHGkRgaJpZM4VGx-i
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASRHDZBhlTYOLy5K0HRtOEx8HLBmp4RIks5uHX3igaJpZM4VGx-i>
.
|
disable the dynamic configuration reload default