Replace references to 'Pivotal GemFire' with 'VMware Tanzu GemFire'.
Fix compiler syntax errors in code snippets. Introduce documentation variables where applicable. Format source code. Optimize imports.
This commit is contained in:
@@ -36,8 +36,8 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link EnableAutoConfiguration auto-configuration} class used to configure the Apache Geode
|
||||
* / Pivotal GemFire {@link ClientCache} application or peer {@link Cache} member node name
|
||||
* (i.e. {@literal gemfire.name}) with the Spring Boot {@literal spring.application.name} property.
|
||||
* {@link ClientCache} application or peer {@link Cache} member node name (i.e. {@literal gemfire.name})
|
||||
* with the Spring Boot {@literal spring.application.name} property.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.Cache
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.geode.boot.autoconfigure.configuration.GemFirePropert
|
||||
/**
|
||||
* Spring Boot {@link EnableAutoConfiguration auto-configuration} class used to configure Spring Boot
|
||||
* {@link ConfigurationProperties @ConfigurationProperites} classes and beans from the Spring {@link Environment}
|
||||
* containing Apache Geode / Pivotal GemFire configuration properties.
|
||||
* containing Apache Geode configuration properties.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.data.gemfire.CacheFactoryBean;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableLogging;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link EnableAutoConfiguration Auto-Configuration} for Apache Geode and Pivotal GemFire logging.
|
||||
* Spring Boot {@link EnableAutoConfiguration Auto-Configuration} for Apache Geode logging.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.boot.autoconfigure.EnableAutoConfiguration
|
||||
|
||||
@@ -65,8 +65,8 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link EnableAutoConfiguration auto-configuration} class used to configure a {@link GemfireTemplate}
|
||||
* for each Apache Geode / Pivotal GemFire {@link Region} declared/defined in
|
||||
* the Spring {@link ConfigurableApplicationContext} in order to perform {@link Region} data access operations.
|
||||
* for each Apache Geode {@link Region} declared/defined in the Spring {@link ConfigurableApplicationContext}
|
||||
* in order to perform {@link Region} data access operations.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
|
||||
@@ -48,7 +48,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link EnableAutoConfiguration auto-configuration} for configuring either Apache Geode
|
||||
* or Pivotal GemFire as an (HTTP) {@link Session} state management provider in Spring Session.
|
||||
* as an (HTTP) {@link Session} state management provider in Spring Session.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -32,8 +32,8 @@ import org.springframework.session.data.gemfire.config.annotation.web.http.GemFi
|
||||
/**
|
||||
* Spring Boot {@link EnableAutoConfiguration auto-configuration} class used to configure Spring Boot
|
||||
* {@link ConfigurationProperties @ConfigurationProperites} classes and beans from the Spring {@link Environment}
|
||||
* containing Spring Session configuration properties used to configure either Apache Geode or Pivotal GemFire
|
||||
* to manage (HTTP) Session state.
|
||||
* containing Spring Session configuration properties used to configure either Apache Geode to manage (HTTP) Session
|
||||
* state.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
|
||||
@@ -33,8 +33,8 @@ import org.springframework.geode.boot.autoconfigure.configuration.support.Securi
|
||||
import org.springframework.geode.boot.autoconfigure.configuration.support.ServiceProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} for well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* Spring Boot {@link ConfigurationProperties} for well-known, documented Spring Data for Apache Geode(SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* This class assists the application developer in the auto-completion / content-assist of the well-known, documented
|
||||
* SDG {@link Properties}.
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration;
|
||||
|
||||
import org.apache.geode.cache.RegionShortcut;
|
||||
@@ -23,9 +22,8 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Spring Session for Apache Geode or Pivotal GemFire
|
||||
* (SSDG) in order to manage (HTTP) Session state with Spring Session, backed by either Apache Geode
|
||||
* or Pivotal GemFire.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Spring Session for Apache Geode (SSDG) in order to
|
||||
* manage (HTTP) Session state with Spring Session, backed by Apache Geode.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.boot.context.properties.ConfigurationProperties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -27,11 +26,11 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode / Pivotal GemFire peer {@link Cache},
|
||||
* {@link ClientCache} and {@link CacheServer} objects.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode peer {@link Cache}, {@link ClientCache}
|
||||
* and {@link CacheServer} objects.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -25,10 +24,10 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.data.gemfire.server.SubscriptionEvictionPolicy;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode / Pivotal GemFire {@link CacheServer}.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode {@link CacheServer}.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -23,9 +22,9 @@ import org.apache.geode.cache.client.ClientCache;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode / Pivotal GemFire {@link ClientCache}.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode {@link ClientCache}.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode
|
||||
* (SDG) {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -23,11 +22,11 @@ import org.apache.geode.cache.client.ClientCache;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode / Pivotal GemFire {@link ClientCache}
|
||||
* Security (authentication & authorization).
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode {@link ClientCache} Security
|
||||
* (authentication & authorization).
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -26,10 +25,10 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure the {@link DataPolicy} of all {@link Region Regions}
|
||||
* in an Apache Geode / Pivotal GemFire cluster.
|
||||
* in an Apache Geode cluster.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -24,10 +23,9 @@ import org.apache.geode.cache.DiskStoreFactory;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode / Pivotal GemFire
|
||||
* {@link DiskStore DiskStores}.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode {@link DiskStore DiskStores}.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode
|
||||
* (SDG) {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -25,10 +24,10 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure the application base {@link Package package}
|
||||
* containing the application entity classes. The entity classes are then used to create and configure
|
||||
* Apache Geode / Pivotal GemFire {@link Region Regions}.
|
||||
* Apache Geode {@link Region Regions}.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -23,14 +22,13 @@ import org.apache.geode.distributed.Locator;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an embedded Apache Geode / Pivotal GemFire
|
||||
* {@link Locator}.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an embedded Apache Geode {@link Locator}.
|
||||
*
|
||||
* A {@link Locator} enables location services used by nodes to join an existing cluster as a peer member
|
||||
* and is also used by clients to discover servers in the cluster.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -21,9 +20,9 @@ import java.util.Properties;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode / Pivotal GemFire logging.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode logging.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode
|
||||
* (SDG) {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -21,10 +20,9 @@ import java.util.Properties;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode / Pivotal GemFire management services,
|
||||
* such as HTTP.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode management services, such as HTTP.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode
|
||||
* (SDG) {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -21,12 +20,11 @@ import java.util.Properties;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an embedded Apache Geode / Pivotal GemFire
|
||||
* {@literal Manager}.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an embedded Apache Geode {@literal Manager}.
|
||||
*
|
||||
* A {@literal Manager} allows users to manage a cluster with tools like {@literal Gfsh} or {@literal Pulse}.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode
|
||||
* (SDG) {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -21,17 +20,15 @@ import java.util.Properties;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode / Pivotal GemFire
|
||||
* {@literal PDX} serialization.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode {@literal PDX} serialization.
|
||||
*
|
||||
* PDX serialization is an alternative serialization format to Java Serialization provided by
|
||||
* Apache Geode / Pivotal GemFire. PDX enables interoperability with native language clients (e.g. C++),
|
||||
* enables objects stored in GemFire/Geode to be queried without causing deserialization and is a more efficient
|
||||
* format than Java Serialization. While PDX is more robust in some ways, it is less robust in others. For example,
|
||||
* PDX does not handle cyclic references in the object graph.
|
||||
* PDX serialization is an alternative serialization format to Java Serialization provided by Apache Geode. PDX enables
|
||||
* interoperability with native language clients (e.g. C++), enables objects stored in GemFire/Geode to be queried
|
||||
* without causing deserialization and is a more efficient format than Java Serialization. While PDX is more robust
|
||||
* in some ways, it is less robust in others. For example, PDX does not handle cyclic references in the object graph.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -23,10 +22,10 @@ import org.apache.geode.cache.Cache;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode / Pivotal GemFire peer {@link Cache}.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode peer {@link Cache}.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -23,11 +22,11 @@ import org.apache.geode.cache.Cache;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode / Pivotal GemFire peer {@link Cache}
|
||||
* Security (authentication & authorization).
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode peer {@link Cache} Security
|
||||
* (authentication & authorization).
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -23,10 +23,10 @@ import org.apache.geode.cache.client.PoolFactory;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode / Pivotal GemFire peer {@link Pool}.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure an Apache Geode client {@link Pool}.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -22,13 +21,13 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode / Pivotal GemFire Security.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode Security.
|
||||
*
|
||||
* Security configuration covers Authentication & Authorization (AUTH) as well as Secure Transport using SSL
|
||||
* (i.e. securing data in motion). Securing data at rest (e.g. disk based encryption) is not yet supported.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* (SDG) {@link Properties}.
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -22,12 +21,12 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableMemcachedServer;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode / Pivotal GemFire embedded services.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode embedded services.
|
||||
*
|
||||
* Currently, the supported embedded services include HTTP service (Jetty), Memcached (protocol) server
|
||||
* and a Redis (protocol) server.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode
|
||||
* (SDG) {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.configuration.support;
|
||||
|
||||
import java.util.Properties;
|
||||
@@ -23,12 +22,12 @@ import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableSsl;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode / Pivotal GemFire Socket layer SSL.
|
||||
* Spring Boot {@link ConfigurationProperties} used to configure Apache Geode Socket layer SSL.
|
||||
*
|
||||
* The SSL configuration is used to secure communications and data in motion between clients and servers
|
||||
* as well as between peers in a cluster.
|
||||
*
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode/Pivotal GemFire
|
||||
* The configuration {@link Properties} are based on well-known, documented Spring Data for Apache Geode
|
||||
* (SDG) {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Spring Boot auto-configuration for Apache Geode & Pivotal GemFire.
|
||||
* Spring Boot auto-configuration for Apache Geode.
|
||||
*/
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
|
||||
@@ -28,8 +28,8 @@ import org.springframework.data.gemfire.config.annotation.ClientCacheConfigurer;
|
||||
import org.springframework.data.gemfire.config.annotation.PoolConfigurer;
|
||||
|
||||
/**
|
||||
* A Spring {@link Configuration} class used to enable subscription on the Apache Geode & Pivotal GemFire
|
||||
* {@literal DEFAULT} {@link Pool} as well as the SDG {@literal gemfirePool} {@link Pool}, only.
|
||||
* A Spring {@link Configuration} class used to enable subscription on the Apache Geode {@literal DEFAULT} {@link Pool}
|
||||
* as well as the SDG {@literal gemfirePool} {@link Pool}, only.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.client.Pool
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
{
|
||||
"name": "session",
|
||||
"type": "org.springframework.geode.boot.autoconfigure.configuration.support.SpringSessionProperties",
|
||||
"description": "Configuration properties for Spring Session backed by Apache Geode or Pivotal GemFire."
|
||||
"description": "Configuration properties for Spring Session backed by Apache Geode."
|
||||
},
|
||||
{
|
||||
"name": "ssl",
|
||||
@@ -100,7 +100,7 @@
|
||||
{
|
||||
"name": "spring.data.gemfire.name",
|
||||
"type": "java.lang.String",
|
||||
"description": "Name of the Apache Geode / Pivotal GemFire member."
|
||||
"description": "Name of the Apache Geode member."
|
||||
},
|
||||
{
|
||||
"name": "spring.data.gemfire.locators",
|
||||
@@ -149,7 +149,7 @@
|
||||
"name": "spring.data.gemfire.cache.log-level",
|
||||
"type": "java.lang.String",
|
||||
"default": "config",
|
||||
"description": "Configure the log-level of an Apache Geode / Pivotal GemFire cache."
|
||||
"description": "Configure the log-level of an Apache Geode cache."
|
||||
},
|
||||
{
|
||||
"name": "spring.data.gemfire.cache.name",
|
||||
@@ -405,7 +405,7 @@
|
||||
"name": "spring.data.gemfire.logging.level",
|
||||
"type": "java.lang.String",
|
||||
"default": "config",
|
||||
"description": "Configures the log-level of an Apache Geode / Pivotal GemFire cache; Alias for 'spring.data.gemfire.cache.log-level'."
|
||||
"description": "Configures the log-level of an Apache Geode cache; Alias for 'spring.data.gemfire.cache.log-level'."
|
||||
},
|
||||
{
|
||||
"name": "spring.data.gemfire.logging.log-disk-space-limit",
|
||||
@@ -840,7 +840,7 @@
|
||||
"name": "spring.data.gemfire.service.http.dev-rest-api-start",
|
||||
"type": "java.lang.Boolean",
|
||||
"default": false,
|
||||
"description": "Configures whether to start the Developer REST API web service. A full installation of Apache Geode or Pivotal GemFire is required and you must set the $GEODE environment variable."
|
||||
"description": "Configures whether to start the Developer REST API web service. A full installation of Apache Geode is required and you must set the $GEODE environment variable."
|
||||
},
|
||||
{
|
||||
"name": "spring.data.gemfire.service.memcached.port",
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.apache.geode.cache.query.CqEvent;
|
||||
import org.springframework.data.gemfire.listener.annotation.ContinuousQuery;
|
||||
|
||||
/**
|
||||
* The {@link TemperatureReadingsContinuousQueriesHandler} class is a POJO containing Apache Geode/Pivotal GemFire
|
||||
* The {@link TemperatureReadingsContinuousQueriesHandler} class is a POJO containing Apache Geode
|
||||
* Continuous Query (CQ) definitions.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -43,8 +43,8 @@ import example.app.books.model.Book;
|
||||
import example.app.books.service.support.CachingBookService;
|
||||
|
||||
/**
|
||||
* Integration tests testing the auto-configuration of Spring's Cache Abstraction with Apache Geode
|
||||
* or Pivotal GemFire as the caching provider.
|
||||
* Integration Tests testing the auto-configuration of Spring's Cache Abstraction with Apache Geode
|
||||
* as the caching provider.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -35,9 +35,9 @@ import org.springframework.test.annotation.DirtiesContext;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* Integration tests for {@link CachingProviderAutoConfiguration} asserting that neither Apache Geode
|
||||
* nor Pivotal GemFire is configured as the caching provider in Spring's Cache Abstraction when another
|
||||
* caching provider (i.e. {@link CacheManager} bean) has been declared and configured.
|
||||
* Integration Tests for {@link CachingProviderAutoConfiguration} asserting that Apache Geode is not configured as
|
||||
* the caching provider in Spring's Cache Abstraction when another caching provider (i.e. {@link CacheManager} bean)
|
||||
* has been declared and configured.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -35,11 +35,11 @@ import org.springframework.test.context.ActiveProfiles;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* Integration Tests asserting and testing the precedence of GemFire, Spring and Spring Data for Apache Geode
|
||||
* & Pivotal GemFire (SDG) {@link Properties} precedence.
|
||||
* Integration Tests asserting and testing the precedence of GemFire, Spring and Spring Data for Apache Geode (SDG)
|
||||
* {@link Properties} precedence.
|
||||
*
|
||||
* Essentially, SDG {@link Properties} should take precedence over (i.e. override) both Spring And Apache Geode
|
||||
* or Pivotal GemFire {@link Properties}.
|
||||
* Essentially, SDG {@link Properties} should take precedence over (i.e. override) both Spring and Apache Geode
|
||||
* {@link Properties}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -54,7 +54,7 @@ import example.geode.query.cq.event.TemperatureReading;
|
||||
import example.geode.query.cq.event.TemperatureReadingsContinuousQueriesHandler;
|
||||
|
||||
/**
|
||||
* Integration Tests testing the auto-configuration of Apache Geode/Pivotal GemFire Continuous Query.
|
||||
* Integration Tests testing the auto-configuration of Apache Geode Continuous Query.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -42,7 +42,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* Integration Tests testing the auto-configuration of Spring Data for Apache Geode/Pivotal GemFire
|
||||
* Integration Tests testing the auto-configuration of Spring Data for Apache Geode
|
||||
* Function implementations and executions support.
|
||||
*
|
||||
* @author John Blum
|
||||
|
||||
@@ -13,20 +13,18 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.function.executions;
|
||||
|
||||
import org.springframework.data.gemfire.function.annotation.OnMember;
|
||||
|
||||
/**
|
||||
* The {@link Calculator} interface defines Apache Geode/Pivotal GemFire Functions.
|
||||
* The {@link Calculator} interface defines Apache Geode Functions.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.function.annotation.OnRegion
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@OnMember(groups = "test")
|
||||
@SuppressWarnings("all")
|
||||
// TODO change Function returns type when SDG properly handles Function method return types/values
|
||||
public interface Calculator {
|
||||
|
||||
|
||||
@@ -33,8 +33,8 @@ import org.springframework.geode.util.GeodeConstants;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* Integration Tests asserting the configuration and behavior of Apache Geode & Pivotal GemFire logging
|
||||
* when configured with Spring Boot auto-configuration.
|
||||
* Integration Tests asserting the configuration and behavior of Apache Geode logging when configured with
|
||||
* Spring Boot auto-configuration.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -38,8 +38,7 @@ import org.springframework.geode.boot.autoconfigure.repository.service.CustomerS
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* Integration Tests testing the auto-configuration of Spring Data Repositories backed by either Apache Geode
|
||||
* or Pivotal GemFire.
|
||||
* Integration Tests testing the auto-configuration of Spring Data Repositories backed by Apache Geode.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* or implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.geode.boot.autoconfigure.repository.repo;
|
||||
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
@@ -21,7 +20,7 @@ import org.springframework.geode.boot.autoconfigure.repository.model.Customer;
|
||||
|
||||
/**
|
||||
* The {@link CustomerRepository} interface defines a Spring Data {@link CrudRepository} for performing basic CRUD
|
||||
* and simple query data access operations on {@link Customer} objects stored in Apache Geode or Pivotal GemFire.
|
||||
* and simple query data access operations on {@link Customer} objects stored in Apache Geode.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.repository.CrudRepository
|
||||
|
||||
@@ -34,8 +34,8 @@ import org.springframework.test.annotation.DirtiesContext;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* Integration Tests testing the auto-configuration of Apache Geode/Pivotal GemFire Security
|
||||
* authentication/authorization in a cloud, managed context (e.g. Pivotal CloudFoundry)
|
||||
* Integration Tests testing the auto-configuration of Apache Geode Security authentication/authorization in a cloud,
|
||||
* managed context (e.g. CloudFoundry).
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.security.Principal
|
||||
|
||||
@@ -42,8 +42,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
* Pivotal Cloud Cache (PCC) service instance.
|
||||
*
|
||||
* This Use Case is common when users want to deploy their Spring Boot, {@link ClientCache} apps to
|
||||
* Pivotal CloudFoundry (PCF) however, want to connect those apps to an external Apache Geode or Pivotal GemFire
|
||||
* cluster.
|
||||
* Pivotal CloudFoundry (PCF) however, want to connect those apps to an external Apache Geode cluster.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
|
||||
@@ -31,8 +31,8 @@ import org.springframework.test.context.ActiveProfiles;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* Integration Tests testing the auto-configuration of Apache Geode/Pivotal GemFire Security
|
||||
* authentication/authorization in a local, non-managed context.
|
||||
* Integration Tests testing the auto-configuration of Apache Geode Security authentication/authorization in a local,
|
||||
* non-managed context.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.security.Principal
|
||||
|
||||
@@ -53,7 +53,7 @@ import example.echo.config.EchoClientConfiguration;
|
||||
import example.echo.config.EchoServerConfiguration;
|
||||
|
||||
/**
|
||||
* Integration Tests testing the auto-configuration of Apache Geode/Pivotal GemFire SSL.
|
||||
* Integration Tests testing the auto-configuration of Apache Geode SSL.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -42,11 +42,10 @@ import org.springframework.session.data.gemfire.config.annotation.web.http.GemFi
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* Integration Tests for auto-configuration of Spring Session using either Apache Geode or Pivotal GemFire
|
||||
* as the {@link Session} state management provider.
|
||||
* Integration Tests for auto-configuration of Spring Session using either Apache Geode as the {@link Session} state
|
||||
* management provider.
|
||||
*
|
||||
* This test asserts that the Spring Boot auto-configuration properly configures Spring Session
|
||||
* with either Apache Geode or Pivotal GemFire
|
||||
* This test asserts that the Spring Boot auto-configuration properly configures Spring Session with Apache Geode.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -51,8 +51,8 @@ import org.springframework.web.context.ConfigurableWebApplicationContext;
|
||||
import org.springframework.web.context.support.GenericWebApplicationContext;
|
||||
|
||||
/**
|
||||
* Integration Test for the auto-configuration of Spring Session using either Apache Geode or Pivotal GemFire
|
||||
* as the {@link Session} state management provider.
|
||||
* Integration Test for the auto-configuration of Spring Session using Apache Geode as the {@link Session} state
|
||||
* management provider.
|
||||
*
|
||||
* This test asserts that the Spring Boot auto-configuration can be customized using either {@link Properties}
|
||||
* or a {@link SpringSessionGemFireConfigurer}.
|
||||
|
||||
@@ -41,7 +41,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* Integration Tests for auto-configuration of Spring Session using a custom Spring Session {@link Session} state
|
||||
* management provider, asserting that neither Apache Geode nor Pivotal GemFire is configured.
|
||||
* management provider, asserting that Apache Geode is configured.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -35,10 +35,9 @@ import org.springframework.session.data.gemfire.config.annotation.web.http.GemFi
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
* Integration Tests asserting the configuration of Spring Session using Spring Boot's
|
||||
* Integration Tests asserting the configuration of Spring Session using Spring Boot'
|
||||
* {@literal spring.session.store-type} configuration property set to {@literal none}
|
||||
* and assert neither Apache Geode nor Pivotal GemFire was configured as the Session
|
||||
* state management provider.
|
||||
* and assert Apache Geode was not configured as the Session state management provider.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
|
||||
@@ -32,9 +32,8 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
import org.springframework.web.context.WebApplicationContext;
|
||||
|
||||
/**
|
||||
* Integration tests for {@link SpringSessionAutoConfiguration} asserting that Spring Session
|
||||
* (for Apache Geode/Pivotal GemFire) is not auto-configured when the Spring {@link ApplicationContext}
|
||||
* is not a {@link WebApplicationContext}.
|
||||
* Integration tests for {@link SpringSessionAutoConfiguration} asserting that Spring Session (for Apache Geode)
|
||||
* is not auto-configured when the Spring {@link ApplicationContext} is not a {@link WebApplicationContext}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Spring Boot application.properties containing Spring Data for Apache Geode / Pivotal GemFire properties.
|
||||
# Spring Boot application.properties containing Spring Data for Apache Geode properties.
|
||||
|
||||
spring.data.gemfire.name=GemFirePropertiesIntegrationTests
|
||||
spring.data.gemfire.locators=localhost[11235],localhost[12480]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Spring Boot application.properties for testing Apache Geode/Pivotal GemFire Security in a cloud context.
|
||||
# Spring Boot application.properties for testing Apache Geode Security in a cloud context.
|
||||
|
||||
vcap.application.application_id=c50bb519-2739-4fa3-8750-02c051e35735
|
||||
vcap.application.application_name=boot-test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Spring Boot application.properties used in server for testing Apache Geode/Pivotal GemFire Security in a hybrid cloud context.
|
||||
# Spring Boot application.properties used in server for testing Apache Geode Security in a hybrid cloud context.
|
||||
|
||||
test.security.context.username=phantom
|
||||
test.security.context.password=s3cr3t
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Spring Boot application.properties used in client for testing Apache Geode/Pivotal GemFire Security in a local context.
|
||||
# Spring Boot application.properties used in client for testing Apache Geode Security in a local context.
|
||||
|
||||
spring.data.gemfire.security.username=ghostrider
|
||||
spring.data.gemfire.security.password=p@55w0rd
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Spring Boot application.properties used in server for testing Apache Geode/Pivotal GemFire Security in a local context.
|
||||
# Spring Boot application.properties used in server for testing Apache Geode Security in a local context.
|
||||
|
||||
test.security.context.username=ghostrider
|
||||
test.security.context.password=p@55w0rd
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Spring Boot application.properties used in server for testing Apache Geode/Pivotal GemFire Security in a multi-cloudcache service instance (PCF) context.
|
||||
# Spring Boot application.properties used in server for testing Apache Geode Security in a multi-cloudcache service instance (PCF) context.
|
||||
|
||||
test.security.context.username=master
|
||||
test.security.context.password=p@55w0rd
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Spring Session for Apache Geode/Pivotal GemFire (Test) Properties
|
||||
# Spring Session for Apache Geode (SSDG) Test Properties
|
||||
|
||||
spring.session.data.gemfire.cache.client.pool.name=DEAD
|
||||
spring.session.data.gemfire.cache.client.region.shortcut=LOCAL
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Spring Boot application.properties for testing Apache Geode/Pivotal GemFire SSL
|
||||
# Spring Boot application.properties for testing Apache Geode SSL
|
||||
|
||||
spring.boot.data.gemfire.security.ssl.keystore.name=test-trusted.keystore
|
||||
spring.data.gemfire.security.ssl.keystore.password=s3cr3t
|
||||
|
||||
Reference in New Issue
Block a user