[
https://issues.apache.org/jira/browse/SCB-526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456038#comment-16456038
]
liubao commented on SCB-526:
----------------------------
In order to do this, need to change ConfigUtil to install configurations first
and than init dynamic source. Because there dynamic source initialization may
need to read configurations in other modules, e.g. authentication. These
modules can not get local configuration reference. After change this, users can
use Dynamic Property api to read configurations from local configuration.
> When creating dynamic configuration, we need to fetch once for the
> configuration when startup
> ---------------------------------------------------------------------------------------------
>
> Key: SCB-526
> URL: https://issues.apache.org/jira/browse/SCB-526
> Project: Apache ServiceComb
> Issue Type: Improvement
> Reporter: liubao
> Assignee: liubao
> Priority: Major
>
> Currently, dynamic config is fetched asynchronously, and when users use
> dynamic configuration for following scenario will fail:
> # make some environment, e.g. credentials
> # spring @Value mechanism
> and so on.
>
> When users put these configurations to some dynamic configuration server,
> they can assume server is running OK, and if try to fetch will give the
> correct response.
>
> So it's very useful to fetch configurations once when boot up.
>
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)