[jboss-jira] [JBoss JIRA] (WFCORE-4948) read-resource operation does not return the version and name spaces

Yeray Borges Santana (Jira) issues at jboss.org
Wed Apr 29 06:37:00 EDT 2020


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

Yeray Borges Santana resolved WFCORE-4948.
------------------------------------------
    Resolution: Rejected


Rejected as it is working as expected.

The result returned on 6.0.0.Final was indeed an incorrect result because the returned information belongs to runtime attributes that should not be displayed by default by the {{read-resource}} operation. It was fixed by WFCORE-4183.

The following operation returns the expected information:

{noformat}
[standalone at localhost:9990 /]  /extension=org.jboss.as.jmx/subsystem=jmx:read-resource(include-runtime=true)
{
    "outcome" => "success",
    "result" => {
        "management-major-version" => 1,
        "management-micro-version" => 0,
        "management-minor-version" => 2,
        "xml-namespaces" => [
            "urn:jboss:domain:jmx:1.0",
            "urn:jboss:domain:jmx:1.1",
            "urn:jboss:domain:jmx:1.2",
            "urn:jboss:domain:jmx:1.3"
        ]
    }
}
{noformat}


> read-resource operation does not return the version and name spaces
> -------------------------------------------------------------------
>
>                 Key: WFCORE-4948
>                 URL: https://issues.redhat.com/browse/WFCORE-4948
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Management
>    Affects Versions: 7.0.0.Final
>            Reporter: Yeray Borges Santana
>            Assignee: Yeray Borges Santana
>            Priority: Major
>
> The following operation, in this case for the jmx subsystem resource, returns the version and xml-namespaces of the read resource:
> {noformat}
> [standalone at localhost:9990 /] /extension=org.jboss.as.jmx/subsystem=jmx:read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "management-major-version" => 1,
>         "management-micro-version" => 0,
>         "management-minor-version" => 2,
>         "xml-namespaces" => [
>             "urn:jboss:domain:jmx:1.0",
>             "urn:jboss:domain:jmx:1.1",
>             "urn:jboss:domain:jmx:1.2",
>             "urn:jboss:domain:jmx:1.3"
>         ]
>     }
> }
> {noformat}
> Since wildlfly-core 7.0.0.Final, this operation does not return any value: 
> {noformat}
> [standalone at localhost:9990 /] /extension=org.jboss.as.jmx/subsystem=jmx:read-resource
> {
>     "outcome" => "success",
>     "result" => {}
> }
> {noformat}
> The operation returns the same empty result for any subsystem read similarly under the extension resource.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list