pivotal-cf/spring-cloud-gemfire-connector

Name: spring-cloud-gemfire-connector

Owner: Pivotal Cloud Foundry

Description: Spring Connector for GemFire/Geode/Pivotal Cloud Cache on Cloud Foundry

Created: 2015-06-15 19:52:54.0

Updated: 2018-01-29 13:12:29.0

Pushed: 2017-11-13 21:56:00.0

Homepage:

Size: 101

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Spring Cloud GemFire Connector

Spring Cloud Connector for using GemFire service on Cloud Foundry

Java Applications

Applications can use this connector to access the information in VCAP_SERVICES environment variable, necessary to connect to a GemFire cluster.

For 1.0.x

dFactory cloudFactory = new CloudFactory();
d cloud = cloudFactory.getCloud();
ireServiceInfo myService = (GemfireServiceInfo) cloud.getServiceInfo("MyService");
rvice.getUsername();
rvice.getLocators();

For 1.1.x

dFactory cloudFactory = new CloudFactory();
d cloud = cloudFactory.getCloud();
ireServiceInfo myService = (GemfireServiceInfo) cloud.getServiceInfo("MyService");
rvice.getDevUsername();
rvice.getLocators();
Spring Applications

Spring Application can use this connector to auto inject a GemFire ClientCache which enables the application to talk to the GemFire cluster.

Examples

Simple example apps are at https://github.com/gemfire/cf-gemfire-connector-examples


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.