[ 
https://issues.apache.org/jira/browse/GEODE-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16586199#comment-16586199
 ] 

ASF subversion and git services commented on GEODE-1507:
--------------------------------------------------------

Commit 635567243a8ba667f04491aa5cfc80e4468822b2 in geode's branch 
refs/heads/feature/Micrometer from Juan José Ramos
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=6355672 ]

GEODE-5531/GEODE-1507: Variable Substitution in GFSH (#2291)

* `Gfsh.executeCommand` now substitutes all variables (overriding 
`AbstractShell.executeCommand`) before delegating
the execution to the parent class (as `Gfsh.executeScriptLine` does).
* Fixed Performance Tests


> gfsh variable substitution does not work
> ----------------------------------------
>
>                 Key: GEODE-1507
>                 URL: https://issues.apache.org/jira/browse/GEODE-1507
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Jens Deppe
>            Assignee: Juan José Ramos Cassella
>            Priority: Major
>             Fix For: 1.7.0
>
>
> {noformat}
> gfsh>set variable --name=foo --value=bar
> Value for variable foo is now: bar.
> gfsh>echo --string="Hello ${foo}"
> Hello ${foo}
> {noformat}
> The problem has come in with spring-shell and jline replacement. 
> {{Gfsh.executeCommand}} was replaced with {{Gfsh.executeScriptLine}} which 
> ends up never being called unless a script is executed with {{run --file}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to