[
https://issues.jboss.org/browse/WFLY-6782?page=com.atlassian.jira.plugin....
]
Radoslav Husar commented on WFLY-6782:
--------------------------------------
I agree above/below-protocol (before/after would be a bit more vague as it's not clear
in which representation; above/below is more suited with jgroups terminology) would
improve :add command usability, although I don't think it would justify the effort
unless there is an explicit request for it. Surely you could open a Jira with PM.
Moreover, in jgroups its possible to have the same protocol multiple times which would
defeat the purpose completely (although, this is not allowed in wildfly iiuc). Also note
that the "add-index" attribute is a generic concept for ordered children
resource, not a jgroups subsystem specific one, although, it's the only usage of it at
the moment.
Unable to add JGroups protocol at a given index via CLI
-------------------------------------------------------
Key: WFLY-6782
URL:
https://issues.jboss.org/browse/WFLY-6782
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 8.2.1.Final, 9.0.2.Final, 10.0.0.Final
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Fix For: 10.1.0.Final
Unable to use this via CLI, tests pass since they use management client which won't
check against the operation description:
{noformat}
[standalone@localhost:9990 /]
/subsystem=jgroups/stack=tcp/protocol=JDBC_PING:add(add-index=4)
'add-index' is not found among the supported properties: [socket-binding, module,
properties, type]
{noformat}
add index is missing in the description, after the fix:
{noformat}
[standalone@localhost:9990 /]
/subsystem=jgroups/stack=tcp/protocol=MPING:read-operation-description(name=add
{
"outcome" => "success",
"result" => {
"operation-name" => "add",
"description" => "Add a protocol to a protocol stack.",
"request-properties" => {
"add-index" => {
"type" => INT,
"description" => "If specified inserts the protocol at
the given (zero-based) index. If null it will add at the end.",
"expressions-allowed" => false,
"required" => false,
"nillable" => true
},
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)