[jboss-jira] [JBoss JIRA] (WFCORE-1985) :read-resource-description operation should consistently order resources by alphabet

Ken Wills (JIRA) issues at jboss.org
Mon Nov 14 20:25:00 EST 2016


    [ https://issues.jboss.org/browse/WFCORE-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13322365#comment-13322365 ] 

Ken Wills edited comment on WFCORE-1985 at 11/14/16 8:24 PM:
-------------------------------------------------------------

Well, I'm not sure exactly about "consistent" here, so just to be clear:

{{
[standalone at localhost:9990 /] /subsystem=iiop-openjdk:read-resource()
{
    "outcome" => "success",
    "result" => {
        "add-component-via-interceptor" => true,
        "auth-method" => "username_password",
        "caller-propagation" => "none",
        "client-requires" => "None",
        "client-supports" => "MutualAuth",
        "confidentiality" => "none",
        "detect-misordering" => "none",
        "detect-replay" => "none",
        "export-corbaloc" => true,
        "giop-version" => "1.2",
        "high-water-mark" => undefined,
        "integrity" => "none",
        "number-to-reclaim" => undefined,
        "persistent-server-id" => "1",
        "properties" => undefined,
        "realm" => undefined,
        "required" => false,
        "root-context" => "JBoss/Naming/root",
        "security" => "identity",
        "security-domain" => undefined,
        "server-requires" => "None",
        "server-supports" => "MutualAuth",
        "socket-binding" => "iiop",
        "ssl-socket-binding" => "iiop-ssl",
        "support-ssl" => false,
        "transactions" => "spec",
        "trust-in-client" => "none",
        "trust-in-target" => "none"
    }
}

[standalone at localhost:9990 /] /subsystem=iiop-openjdk:read-resource-description()
(snip for brevity)
"auth-method"
"realm"
"required"
"security" 
"transactions"
"export-corbaloc"
"root-context"
"giop-version"
"persistent-server-id"
"socket-binding"
[etc]
}}

Perhaps read-resource has an issue with NameAndGroup ordering, if the group-name one is correct?


was (Author: luck3y):
Well, I'm not sure exactly about "consistent" here, so just to be clear:

{quote}
[standalone at localhost:9990 /] /subsystem=iiop-openjdk:read-resource()
{
    "outcome" => "success",
    "result" => {
        "add-component-via-interceptor" => true,
        "auth-method" => "username_password",
        "caller-propagation" => "none",
        "client-requires" => "None",
        "client-supports" => "MutualAuth",
        "confidentiality" => "none",
        "detect-misordering" => "none",
        "detect-replay" => "none",
        "export-corbaloc" => true,
        "giop-version" => "1.2",
        "high-water-mark" => undefined,
        "integrity" => "none",
        "number-to-reclaim" => undefined,
        "persistent-server-id" => "1",
        "properties" => undefined,
        "realm" => undefined,
        "required" => false,
        "root-context" => "JBoss/Naming/root",
        "security" => "identity",
        "security-domain" => undefined,
        "server-requires" => "None",
        "server-supports" => "MutualAuth",
        "socket-binding" => "iiop",
        "ssl-socket-binding" => "iiop-ssl",
        "support-ssl" => false,
        "transactions" => "spec",
        "trust-in-client" => "none",
        "trust-in-target" => "none"
    }
}
{quote}

{quote}

[standalone at localhost:9990 /] /subsystem=iiop-openjdk:read-resource-description()
(snip for brevity)
"auth-method"
"realm"
"required"
"security" 
"transactions"
"export-corbaloc"
"root-context"
"giop-version"
"persistent-server-id"
"socket-binding"
[etc]
{quote}

Perhaps read-resource has an issue with NameAndGroup ordering, if the group-name one is correct?

> :read-resource-description operation should consistently order resources by alphabet
> ------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1985
>                 URL: https://issues.jboss.org/browse/WFCORE-1985
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Michal Jurc
>            Assignee: Ken Wills
>
> While {{:read-resource-description}} returns an ordered list of resources with their descriptions for most resources, some resources do not return result consistent with this (resources ordered by alphabet).
> Affected resources:
> * {{/subsystem=iiop-openjdk:read-resource-description()}} returns unordered list of resources and their descriptions, while {{/subsystem=iiop-openjdk:read-resource()}} returns ordered list



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list