[jboss-jira] [JBoss JIRA] (WFCORE-4440) Changes made via CLI in static-discovery are not reflected in host.xml
Teresa Miyar Gil (Jira)
issues at jboss.org
Thu May 30 03:17:00 EDT 2019
[ https://issues.jboss.org/browse/WFCORE-4440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Teresa Miyar Gil reassigned WFCORE-4440:
----------------------------------------
Assignee: Teresa Miyar Gil (was: Jeff Mesnil)
> Changes made via CLI in static-discovery are not reflected in host.xml
> ----------------------------------------------------------------------
>
> Key: WFCORE-4440
> URL: https://issues.jboss.org/browse/WFCORE-4440
> Project: WildFly Core
> Issue Type: Bug
> Components: Management
> Affects Versions: 8.0.0.Final, 9.0.0.Beta3
> Reporter: Brian Stansberry
> Assignee: Teresa Miyar Gil
> Priority: Major
>
> The value from this operation is not persisted in the host xml file, nor is it reflected in a read-resource response:
> /host=slave/core-service=discovery-options/static-discovery=primary:write-attribute(name=port,value=9999)
> It also doesn't put the HC in reload-required state.
> This works:
> /host=slave/core-service=discovery-options:write-attribute(name=options,value=[{static-discovery={name=primary,protocol="${jboss.domain.master.protocol:remote+http}",host="${jboss.domain.master.address}",port=9999}}]
> The /host=slave/core-service=discovery-options/static-discovery=* resources are meant to be a kind of alias for elements in that 'options' list to make it easier to manipulate the details. But that linkage has a bug. (Probably several.)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list