[JBoss JIRA] (WFCORE-1985) :read-resource-description operation should consistently order resources by alphabet
by Ken Wills (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1985?page=com.atlassian.jira.plugi... ]
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:
{{test}}
{{
[standalone@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@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:
{{
[standalone@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@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?
> :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)
9 years, 8 months
[JBoss JIRA] (WFCORE-1985) :read-resource-description operation should consistently order resources by alphabet
by Ken Wills (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1985?page=com.atlassian.jira.plugi... ]
Ken Wills commented on WFCORE-1985:
-----------------------------------
Well, I'm not sure exactly about "consistent" here, so just to be clear:
{quote}
[standalone@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@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)
9 years, 8 months
[JBoss JIRA] (WFCORE-1985) :read-resource-description operation should consistently order resources by alphabet
by Ken Wills (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1985?page=com.atlassian.jira.plugi... ]
Ken Wills edited comment on WFCORE-1985 at 11/14/16 8:23 PM:
-------------------------------------------------------------
Well, I'm not sure exactly about "consistent" here, so just to be clear:
{quote}
[standalone@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@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?
was (Author: luck3y):
Well, I'm not sure exactly about "consistent" here, so just to be clear:
{quote}
[standalone@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@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)
9 years, 8 months
[JBoss JIRA] (WFCORE-1985) :read-resource-description operation should consistently order resources by alphabet
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1985?page=com.atlassian.jira.plugi... ]
Brian Stansberry commented on WFCORE-1985:
------------------------------------------
Ok, let's leave this alone for now. NameAndGroup sorting is reasonable. It's a conscious grouping of related items.
> :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)
9 years, 8 months
[JBoss JIRA] (WFCORE-1985) :read-resource-description operation should consistently order resources by alphabet
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1985?page=com.atlassian.jira.plugi... ]
Brian Stansberry edited comment on WFCORE-1985 at 11/14/16 8:12 PM:
--------------------------------------------------------------------
Ok, let's leave this alone for now. NameAndGroup sorting is reasonable. It's a conscious grouping of related items. It's also consistent with how read-resource orders.
was (Author: brian.stansberry):
Ok, let's leave this alone for now. NameAndGroup sorting is reasonable. It's a conscious grouping of related items.
> :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)
9 years, 8 months
[JBoss JIRA] (WFCORE-1985) :read-resource-description operation should consistently order resources by alphabet
by Ken Wills (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1985?page=com.atlassian.jira.plugi... ]
Ken Wills commented on WFCORE-1985:
-----------------------------------
This appears to be due to AttributeDefinition::NameAndGroup sorting by group name, then attribute using compareTo().
For the IIOP config in particular, there are several different groups returned, "as-context", "initializers", "tcp" etc.
I'm not 100% certain these groups are correct in this case (they look fine to me though.) Should these all be in the IIOP group or something like that, or do we need to think about how NameAndGroup orders?
> :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)
9 years, 8 months
[JBoss JIRA] (WFCORE-1935) Add :read-attribute-description operation
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1935?page=com.atlassian.jira.plugi... ]
Brian Stansberry commented on WFCORE-1935:
------------------------------------------
This should be implemented by adding an internal read-resource-description step and then extracting the attribute description from the response.
> Add :read-attribute-description operation
> -----------------------------------------
>
> Key: WFCORE-1935
> URL: https://issues.jboss.org/browse/WFCORE-1935
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Domain Management
> Reporter: Pavel Jelinek
> Assignee: Brian Stansberry
> Labels: user_experience
>
> In resource with many attributes which may or may not be ordered in _:read-resource-description_ operation result it's very hard to find description of a particular attribute.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (WFCORE-1985) :read-resource-description operation should consistently order resources by alphabet
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1985?page=com.atlassian.jira.plugi... ]
Brian Stansberry commented on WFCORE-1985:
------------------------------------------
My assumption here is this is a simple matter of ordering in the RRD handler. If that's wrong, let me know.
> :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)
9 years, 8 months
[JBoss JIRA] (WFCORE-1985) :read-resource-description operation should consistently order resources by alphabet
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1985?page=com.atlassian.jira.plugi... ]
Brian Stansberry moved JBEAP-7265 to WFCORE-1985:
-------------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-1985 (was: JBEAP-7265)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
(was: Domain Management)
(was: User Experience)
Affects Version/s: (was: 7.1.0.DR7)
> :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: Brian Stansberry
>
> 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)
9 years, 8 months