directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Zheng (JIRA)" <>
Subject [jira] [Commented] (DIRKRB-511) Load configuration content when adding the resource
Date Thu, 24 Dec 2015 07:40:49 GMT


Kai Zheng commented on DIRKRB-511:

With this change there would be no good place to call the following. I guess we would not
need {{propNames}} now in {{ConfigImpl}} since configuration items are loaded immediately
once the resource is added.

    private void reloadNames() {
        if (propNames != null) {
        propNames = new HashSet<String>(properties.keySet());
        for (Config config : configs) {

> Load configuration content when adding the resource
> ---------------------------------------------------
>                 Key: DIRKRB-511
>                 URL:
>             Project: Directory Kerberos
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-RC2
>            Reporter: YanYan
>            Assignee: YanYan
>         Attachments: DIRKRB-511-v1.patch
> Currently when loading Config resources, we only load in the resource name, and actually
load in the content at the time we first launch a query, etc, getDefaultRealm().
> In order to reduce errors when loading contents and discover errors as soon as possible,
we will load the resource name and contents in one step.

This message was sent by Atlassian JIRA

View raw message