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

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

Commit 2f2a73cdd26c83d70fe201681e1642b508124489 in geode's branch 
refs/heads/develop from [~sai.boorlaga...@gmail.com]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=2f2a73c ]

GEODE-4384: gfsh command to destroy jndi binding (#1588)

    support for --if-exists option

> gfsh command to destroy jndi binding
> ------------------------------------
>
>                 Key: GEODE-4384
>                 URL: https://issues.apache.org/jira/browse/GEODE-4384
>             Project: Geode
>          Issue Type: Sub-task
>          Components: docs, gfsh
>            Reporter: Barbara Pruijn
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.6.0
>
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> 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 delete a datasource using the gfsh command {{destroy 
> jndi-binding --name=jndi-binding-name}}
>  Then the datasource will be deleted from the cluster and the binding will be 
> deleted without the user having to restart the existing server(s).
> 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