[
https://issues.apache.org/jira/browse/KARAF-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262511#comment-13262511
]
Xiaoli Ding commented on KARAF-1404:
------------------------------------
Seems cluster command 'cluster:config-proplist' only output edited properties
when PID is in blacklist.if PID is not in blacklist,it is ok as expected and
outout all properties.
> Cluster command 'cluster:config-proplist' only output edited properties
> -----------------------------------------------------------------------
>
> Key: KARAF-1404
> URL: https://issues.apache.org/jira/browse/KARAF-1404
> Project: Karaf
> Issue Type: Bug
> Components: cellar-config
> Affects Versions: cellar-2.2.3
> Environment: Karaf-2.2.7-SNAPSHOT
> Reporter: Xiaoli Ding
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: cellar-3.0.0, cellar-2.2.4
>
>
> 1.Start Karaf and install cellar
> 2.using default properties of org.apache.karaf.cellar.groups.cfg:
> {panel}
> default.config.whitelist.inbound=*
> default.config.whitelist.outbound=*
> default.config.blacklist.inbound=org.apache.cxf.dosgi.discovery.zookeeper.server,org.apache.karaf.cellar.groups,org.apache.karaf.cellar.instance,org.apache.karaf.cellar.node,org.apache.karaf.management,org.ops4j.pax.web,org.talend.esb.locator,org.apache.karaf.shell,org.talend.remote.jobserver.server
> default.config.blacklist.outbound=org.apache.cxf.dosgi.discovery.zookeeper.server,org.apache.karaf.cellar.groups,org.apache.karaf.cellar.instance,org.apache.karaf.cellar.node,org.apache.karaf.management,org.ops4j.pax.web,org.talend.esb.locator,org.apache.karaf.shell,org.talend.remote.jobserver.server
> default.config.sync=true
> default.features.whitelist.inbound=*
> default.features.whitelist.outbound=*
> default.features.blacklist.inbound=cellar,jetty,http,tesb-locator-client,tesb-sam-server,tesb-derby-starter
> default.features.blacklist.outbound=cellar,jetty,http,tesb-locator-client,tesb-sam-server,tesb-derby-starter
> default.features.sync=true
> default.features.repositories.sync=true
> {panel}
> 3.then i excute the following cluster commands
> {panel}
> karaf@trun> cluster:config-proplist default org.apache.karaf.cellar.groups
> Property list for configuration PID org.apache.karaf.cellar.groups for group
> default
> Key Value
> {panel}
> can not output the properties of org.apache.karaf.cellar.groups
> 4.then excute:
> {panel}
> karaf@trun> cluster:config-propset default org.apache.karaf.cellar.groups
> default.features.repositories.sync false
> karaf@trun> cluster:config-proplist default org.apache.karaf.cellar.groups
> Property list for configuration PID org.apache.karaf.cellar.groups for group
> default
> Key Value
> default.features.repositories.sync false
> {panel}
> now only output the edited properties
> it is not my expectation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira