[ 
https://issues.apache.org/jira/browse/GEODE-4386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Barbara Pruijn updated GEODE-4386:
----------------------------------
    Description: 
In cache.xml user can specify jndi binding like so:
{code:java}
  <jndi-bindings>
      <jndi-binding jndi-name="DemoDatasource" type="SimpleDataSource"
          jdbc-driver-class="org.postgresql.Driver" user-name="gpadmin"
          password="changeme" 
connection-url="jdbc:postgresql://localhost:5432/gemfire_db">
      </jndi-binding>
  </jndi-bindings>
{code}
A user should be able to describe a datasource using the gfsh command 
{{describe jndi-binding --name=jndi-binding-name}}
 Then list the particular datasource with attributes and don't display the 
password.

 The
{code:java}
describe  jndi-binding{code} command should be able to describe any 
jndi-binding that is output by the {code} list jndi-binding{code} command. The 
output of the {code} describe jndi-binding{code} needs to indicate whether a 
binding is active or not.



Please look at Geode's schema for a list of attributes that can be set: 
[https://github.com/apache/geode-site/blob/master/website/content/schema/cache/cache-1.0.xsd#L1331]

  was:
In cache.xml user can specify jndi binding like so:
{code:java}
  <jndi-bindings>
      <jndi-binding jndi-name="DemoDatasource" type="SimpleDataSource"
          jdbc-driver-class="org.postgresql.Driver" user-name="gpadmin"
          password="changeme" 
connection-url="jdbc:postgresql://localhost:5432/gemfire_db">
      </jndi-binding>
  </jndi-bindings>
{code}
A user should be able to describe a datasource using the gfsh command 
{{describe jndi-binding --name=jndi-binding-name}}
Then list the particular datasource with attributes and don't display the 
password

Please look at Geode's schema for a list of attributes that can be set: 
[https://github.com/apache/geode-site/blob/master/website/content/schema/cache/cache-1.0.xsd#L1331]


> gfsh command to describe jndi binding
> -------------------------------------
>
>                 Key: GEODE-4386
>                 URL: https://issues.apache.org/jira/browse/GEODE-4386
>             Project: Geode
>          Issue Type: Sub-task
>          Components: docs, gfsh
>            Reporter: Barbara Pruijn
>            Priority: Major
>
> In cache.xml user can specify jndi binding like so:
> {code:java}
>   <jndi-bindings>
>       <jndi-binding jndi-name="DemoDatasource" type="SimpleDataSource"
>           jdbc-driver-class="org.postgresql.Driver" user-name="gpadmin"
>           password="changeme" 
> connection-url="jdbc:postgresql://localhost:5432/gemfire_db">
>       </jndi-binding>
>   </jndi-bindings>
> {code}
> A user should be able to describe a datasource using the gfsh command 
> {{describe jndi-binding --name=jndi-binding-name}}
>  Then list the particular datasource with attributes and don't display the 
> password.
>  The
> {code:java}
> describe  jndi-binding{code} command should be able to describe any 
> jndi-binding that is output by the {code} list jndi-binding{code} command. 
> The output of the {code} describe jndi-binding{code} needs to indicate 
> whether a binding is active or not.
> Please look at Geode's schema for a list of attributes that can be set: 
> [https://github.com/apache/geode-site/blob/master/website/content/schema/cache/cache-1.0.xsd#L1331]



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

Reply via email to