[jboss-jira] [JBoss JIRA] (WFCORE-4440) Changes made via CLI in static-discovery are not reflected in host.xml

Martin Stefanko (Jira) issues at jboss.org
Mon Jul 29 07:08:01 EDT 2019


     [ https://issues.jboss.org/browse/WFCORE-4440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Stefanko updated WFCORE-4440:
------------------------------------
    Labels: downstream_dependency  (was: )


> 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
>              Labels: downstream_dependency
>             Fix For: 10.0.0.Beta1
>
>
> 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