You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Sai Boorlagadda (JIRA)" <ji...@apache.org> on 2018/04/12 14:50:00 UTC

[jira] [Comment Edited] (GEODE-4874) Inconsistency in gfsh help for create jndi-binding

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

Sai Boorlagadda edited comment on GEODE-4874 at 4/12/18 2:49 PM:
-----------------------------------------------------------------

Repeation of *command* before mandatory parameters seems to be common among commands with multiple mandatory parameters.

{code:java}
Eg:
gfsh>put --
put --key put --region put --value
{code}

Once all mandatory parameters are provided then the tab completion shows all available options:

{code:java}
gfsh>create jndi-binding --name=someName --connection-url=someUrl --jdbc-driver-class=someClass --type=SIMPLE --
--blocking-timeout-seconds   --conn-pooled-datasource-class    --datasource-config-properties    
--idle-timeout-seconds    --if-not-exists      --init-pool-size   --login-timeout-seconds  --managed-conn-factory-class       --max-pool-size   --password    --transaction-type    --username    --xa-datasource-class      
{code}
      





was (Author: sboorlagadda):
Repeati of *command* before mandatory parameters seems to be common among commands with multiple mandatory parameters.

{code:java}
Eg:
gfsh>put --
put --key put --region put --value
{code}

Once all mandatory parameters are provided then the tab completion shows all available options:

{code:java}
gfsh>create jndi-binding --name=someName --connection-url=someUrl --jdbc-driver-class=someClass --type=SIMPLE --
--blocking-timeout-seconds   --conn-pooled-datasource-class    --datasource-config-properties    
--idle-timeout-seconds    --if-not-exists      --init-pool-size   --login-timeout-seconds  --managed-conn-factory-class       --max-pool-size   --password    --transaction-type    --username    --xa-datasource-class      
{code}
      




> Inconsistency in gfsh help for create jndi-binding 
> ---------------------------------------------------
>
>                 Key: GEODE-4874
>                 URL: https://issues.apache.org/jira/browse/GEODE-4874
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>    Affects Versions: 1.5.0
>            Reporter: Karen Smoler Miller
>            Priority: Minor
>
> I see an error and an inconsistency when trying to use the gfsh help functionality for create jndi-binding.
> Tab completion of
> create jndi-binding
> outputs
>  gfsh>create jndi-binding –
>  create jndi-binding --connection-url
>  create jndi-binding --jdbc-driver-class
>  create jndi-binding --name
>  create jndi-binding --type
> This is inconsistent with the output of other tab completions, which just give the options, and do not repeat the "create jndi-binding" portion of the command.
>  



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