[jboss-jira] [JBoss JIRA] (WFCORE-3059) suggest-capabilities returns suffix when the capability contains a dot

Michal Petrov (JIRA) issues at jboss.org
Thu Jul 20 09:43:00 EDT 2017


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

Michal Petrov reassigned WFCORE-3059:
-------------------------------------

    Assignee: Michal Petrov


> suggest-capabilities returns suffix when the capability contains a dot
> ----------------------------------------------------------------------
>
>                 Key: WFCORE-3059
>                 URL: https://issues.jboss.org/browse/WFCORE-3059
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Claudio Miranda
>            Assignee: Michal Petrov
>
> Given the following operation to add credential-store. 
> {code}
> /profile=full/subsystem=elytron/credential-store=store.foo:add(relative-to=jboss.server.data.dir, credential-reference={clear-text=pass123},create)
> /profile=full/subsystem=elytron/credential-store=store2:add(relative-to=jboss.server.data.dir, credential-reference={clear-text=pass123},create)
> {code}
> There is a problem related to the naming used in "store.foo", the suggest-capabilities operation will return only the suffix "foo" instead of the resource name "store.foo"
> {code}
> /host=master/core-service=capability-registry:suggest-capabilities(name=org.wildfly.security.credential-store,dependent-address=[("profile" => "full"),("subsystem" => "elytron"),("credential-store" => "*")])
> {
>     "outcome" => "success",
>     "result" => [
>         "store2",
>         "foo"
>     ]
> }
> {code}
> This presents a problem for capability-reference, as the auto complete on CLI (using tab) and Web Console returns "foo" and "store2" as value.



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


More information about the jboss-jira mailing list