karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-5298) config:update doesn't create the cfg file in the etc folder
Date Thu, 10 Aug 2017 05:14:02 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16121064#comment-16121064
] 

Jean-Baptiste Onofré commented on KARAF-5298:
---------------------------------------------

Problem has been introduced by the following commit in {{ConfigRepositoryImpl}}:

{code}
commit 3cd6866bf9eb8d19b186441390d1e6d8719e652a
Author: Guillaume Nodet <gnodet@apache.org>
Date:   Wed Apr 5 17:53:15 2017 +0200

    [KARAF-5074] Upgrade to Felix Utils 1.10, FileInstall 3.6 and use the new TypedProperties
{code}

I'm fixing/reverting the code in {{ConfigRepositoryImpl}} to actually call {{updateStorage}}
method.

> config:update doesn't create the cfg file in the etc folder
> -----------------------------------------------------------
>
>                 Key: KARAF-5298
>                 URL: https://issues.apache.org/jira/browse/KARAF-5298
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-config
>    Affects Versions: 4.2.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.2.0
>
>
> In previous Karaf versions, {{config:update}} command creates the {{cfg}} file in the
{{etc}} folder (if needed). For instance, it's possible to do:
> {code}
> karaf@root()> config:edit net.test
> karaf@root()> config:property-set foo bar
> karaf@root()> config:update
> {code}
> and then, {{etc/net.test.cfg}} is created.
> However, in Karaf 4.2.x, the configuration is created in memory, but the {{cfg}} file
is not created.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message