Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
In cache.xml user can specify jndi binding like so:
<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>
A user should be able to create a datasource using the gfsh command create jndi-binding <options>
Then a datasource will be created with the supplied options and the binding will be created 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
Attachments
Issue Links
- Blocked
-
GEODE-4864 Document new gfsh create jndi binding command
- Closed
- links to