[jboss-jira] [JBoss JIRA] (WFLY-2946) Improve 'cd' behavior in batch mode
Alexey Loubyansky (JIRA)
issues at jboss.org
Tue Aug 12 18:22:29 EDT 2014
[ https://issues.jboss.org/browse/WFLY-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992463#comment-12992463 ]
Alexey Loubyansky commented on WFLY-2946:
-----------------------------------------
Could there be operations called other than 'add' that (theoretically at least) could create new paths?
For the CLI (or any other tool) to be sure about its assumptions, it needs hints from the operation description, i.e. the metadata.
I think, I don't mind --no-validation. One thing to take into account is that the name of the argument will be a reserved argument CLI name, so commands will not be allowed to have an argument with that name but a different meaning.
> Improve 'cd' behavior in batch mode
> -----------------------------------
>
> Key: WFLY-2946
> URL: https://issues.jboss.org/browse/WFLY-2946
> Project: WildFly
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: CLI
> Affects Versions: 8.0.0.Final
> Reporter: Brian Stansberry
> Assignee: Alexey Loubyansky
>
> See discussion at https://community.jboss.org/message/858108#858108 for background.
> The problem is the 'cd' behavior discussed in my comment. A 'cd' in batch mode seems to have triggered the CLI validating the location (or some other op against the address), which fails since the previous batch step that created the location hasn't executed.
> Would it be better to simply accept the address in batch mode, or somehow be a bit smarter?
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list