[jboss-jira] [JBoss JIRA] (WFCORE-1776) CLI gui returns null for specific command with access-control parameter while console CLI returns valid result
Alexey Loubyansky (JIRA)
issues at jboss.org
Fri Sep 9 11:03:02 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky moved JBEAP-5946 to WFCORE-1776:
--------------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-1776 (was: JBEAP-5946)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: CLI
(was: CLI)
Affects Version/s: (was: 7.0.1.CR1)
(was: 7.1.0.DR4)
> CLI gui returns null for specific command with access-control parameter while console CLI returns valid result
> --------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-1776
> URL: https://issues.jboss.org/browse/WFCORE-1776
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Reporter: Alexey Loubyansky
> Assignee: Alexey Loubyansky
>
> I tried to click through CLI GUI, particullary interested in webservices subsystem.
> I navigated through the tree into {{/subsystem=webservices/endpoint-config=*}}, right-click and chose {{ead-resource-description}}.
> It generated this command, but after executing through GUI, it returns null:
> {code}
> /subsystem=webservices/endpoint-config=*/:read-resource-description(recursive=false,access-control=none)
> null
> {code}
> The same command in console CLI return valid resut:
> {code:java}
> [standalone at localhost:9990 /] /subsystem=webservices/endpoint-config=*/:read-resource-description(recursive=false,access-control=none)
> {
> "outcome" => "success",
> "result" => [{
> "address" => [
> ("subsystem" => "webservices"),
> ("endpoint-config" => "*")
> ],
> "outcome" => "success",
> "result" => {
> "description" => "Webservice endpoint configuration",
> "attributes" => {},
> "operations" => undefined,
> "notifications" => undefined,
> "children" => {
> "pre-handler-chain" => {
> "description" => "Pre handler chain",
> "model-description" => undefined
> },
> "post-handler-chain" => {
> "description" => "Post handler chain",
> "model-description" => undefined
> },
> "property" => {
> "description" => "Configuration property",
> "model-description" => undefined
> }
> }
> }
> }]
> }
> {code}
> The problem seems to be related to the {{access-control=none}} parameter, because without it both GUI and console return the same valid result
> {code:java}
> /subsystem=webservices/endpoint-config=*/:read-resource-description(recursive=false)
> {
> "outcome" => "success",
> "result" => [{
> "address" => [
> ("subsystem" => "webservices"),
> ("endpoint-config" => "*")
> ],
> "outcome" => "success",
> "result" => {
> "description" => "Webservice endpoint configuration",
> "attributes" => {},
> "operations" => undefined,
> "notifications" => undefined,
> "children" => {
> "pre-handler-chain" => {
> "description" => "Pre handler chain",
> "model-description" => undefined
> },
> "post-handler-chain" => {
> "description" => "Post handler chain",
> "model-description" => undefined
> },
> "property" => {
> "description" => "Configuration property",
> "model-description" => undefined
> }
> }
> }
> }]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list