Repackage the codebase under org.springframework.geode.
Repackage all Apache Geode extension classes under org.springframework.geode. Repackage all Spring Boot extension classes under org.springframework.geode.boot. Repackage all Spring Boot auto-configuration class under org.springframework.boot.autoconfigure.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.autoconfigure;
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalStateException;
|
||||
|
||||
@@ -41,16 +41,16 @@ import org.springframework.data.gemfire.cache.config.EnableGemfireCaching;
|
||||
* using Apache Geode as the caching provider.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see javax.annotation.PostConstruct
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
* @see org.springframework.boot.autoconfigure.EnableAutoConfiguration
|
||||
* @see org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers
|
||||
* @see org.springframework.boot.autoconfigure.cache.CacheProperties
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.ClientCacheAutoConfiguration
|
||||
* @see org.springframework.context.annotation.Configuration
|
||||
* @see org.springframework.cache.CacheManager
|
||||
* @see org.springframework.context.annotation.Configuration
|
||||
* @see org.springframework.data.gemfire.cache.GemfireCacheManager
|
||||
* @see org.springframework.data.gemfire.cache.config.EnableGemfireCaching
|
||||
* @see org.springframework.geode.boot.autoconfigure.ClientCacheAutoConfiguration
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Configuration
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.autoconfigure;
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
|
||||
import org.apache.geode.cache.GemFireCache;
|
||||
import org.apache.geode.cache.client.ClientCache;
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.autoconfigure;
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
|
||||
import java.util.Optional;
|
||||
import java.util.Properties;
|
||||
@@ -30,9 +30,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnCloudPlatfo
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.boot.cloud.CloudPlatform;
|
||||
import org.springframework.boot.data.geode.core.env.VcapPropertySource;
|
||||
import org.springframework.boot.data.geode.core.env.support.CloudCacheService;
|
||||
import org.springframework.boot.data.geode.core.env.support.Service;
|
||||
import org.springframework.boot.env.EnvironmentPostProcessor;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
@@ -42,6 +39,9 @@ import org.springframework.core.env.PropertiesPropertySource;
|
||||
import org.springframework.data.gemfire.client.ClientCacheFactoryBean;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableSecurity;
|
||||
import org.springframework.data.gemfire.config.annotation.support.AutoConfiguredAuthenticationInitializer;
|
||||
import org.springframework.geode.core.env.VcapPropertySource;
|
||||
import org.springframework.geode.core.env.support.CloudCacheService;
|
||||
import org.springframework.geode.core.env.support.Service;
|
||||
|
||||
/**
|
||||
* Spring Boot {@link EnableAutoConfiguration auto-configuration} enabling Apache Geode's Security functionality,
|
||||
@@ -54,15 +54,18 @@ import org.springframework.data.gemfire.config.annotation.support.AutoConfigured
|
||||
* @see org.springframework.boot.SpringApplication
|
||||
* @see org.springframework.boot.autoconfigure.EnableAutoConfiguration
|
||||
* @see org.springframework.boot.cloud.CloudPlatform
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.ClientCacheAutoConfiguration
|
||||
* @see org.springframework.boot.data.geode.core.env.VcapPropertySource
|
||||
* @see org.springframework.boot.data.geode.core.env.support.CloudCacheService
|
||||
* @see org.springframework.boot.env.EnvironmentPostProcessor
|
||||
* @see org.springframework.context.annotation.Configuration
|
||||
* @see org.springframework.core.env.ConfigurableEnvironment
|
||||
* @see org.springframework.core.env.Environment
|
||||
* @see org.springframework.core.env.PropertiesPropertySource
|
||||
* @see org.springframework.data.gemfire.client.ClientCacheFactoryBean
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableSecurity
|
||||
* @see org.springframework.data.gemfire.config.annotation.support.AutoConfiguredAuthenticationInitializer
|
||||
* @see org.springframework.geode.boot.autoconfigure.ClientCacheAutoConfiguration
|
||||
* @see org.springframework.geode.core.env.VcapPropertySource
|
||||
* @see org.springframework.geode.core.env.support.CloudCacheService
|
||||
* @see org.springframework.geode.core.env.support.Service
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Configuration
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.autoconfigure;
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
|
||||
import org.apache.geode.cache.client.ClientCache;
|
||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.autoconfigure;
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
|
||||
import org.apache.geode.cache.GemFireCache;
|
||||
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
|
||||
@@ -34,13 +34,13 @@ import org.springframework.data.gemfire.function.execution.GemfireFunctionOperat
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
* @see org.springframework.boot.autoconfigure.EnableAutoConfiguration
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.ClientCacheAutoConfiguration
|
||||
* @see org.springframework.context.annotation.Configuration
|
||||
* @see org.springframework.context.annotation.Import
|
||||
* @see org.springframework.data.gemfire.function.config.EnableGemfireFunctions
|
||||
* @see org.springframework.data.gemfire.function.config.EnableGemfireFunctionExecutions
|
||||
* @see org.springframework.data.gemfire.function.config.GemFireFunctionExecutionAutoConfigurationRegistrar
|
||||
* @see org.springframework.data.gemfire.function.execution.GemfireFunctionOperations
|
||||
* @see org.springframework.geode.boot.autoconfigure.ClientCacheAutoConfiguration
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Configuration
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.autoconfigure;
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
|
||||
@@ -29,9 +29,9 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.RepositoriesAutoConfiguration
|
||||
* @see org.springframework.data.gemfire.repository.config.EnableGemfireRepositories
|
||||
* @see org.springframework.data.gemfire.repository.config.GemfireRepositoryConfigurationExtension
|
||||
* @see org.springframework.geode.boot.autoconfigure.RepositoriesAutoConfiguration
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class GemFireRepositoriesAutoConfigurationRegistrar extends AbstractRepositoryConfigurationSourceSupport {
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.autoconfigure;
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
|
||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
|
||||
@@ -40,7 +40,7 @@ import org.springframework.data.gemfire.config.annotation.GeodeIntegratedSecurit
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableBeanFactoryLocator
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableSecurity
|
||||
* @see org.springframework.data.gemfire.config.annotation.GeodeIntegratedSecurityConfiguration
|
||||
* @see org.springframework.data.gemfire.config.annotation.PeerCacheConfigurer
|
||||
* @see org.springframework.geode.security.support.SecurityManagerProxy
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Configuration
|
||||
@@ -51,7 +51,7 @@ import org.springframework.data.gemfire.config.annotation.GeodeIntegratedSecurit
|
||||
GeodeIntegratedSecurityConfiguration.class
|
||||
})
|
||||
@EnableBeanFactoryLocator
|
||||
@EnableSecurity(securityManagerClassName = "org.springframework.boot.data.geode.security.support.SecurityManagerProxy")
|
||||
@EnableSecurity(securityManagerClassName = "org.springframework.geode.security.support.SecurityManagerProxy")
|
||||
@SuppressWarnings("unused")
|
||||
public class PeerSecurityAutoConfiguration {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.autoconfigure;
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
|
||||
import org.apache.geode.cache.Cache;
|
||||
import org.apache.geode.cache.GemFireCache;
|
||||
@@ -48,13 +48,14 @@ import org.springframework.data.gemfire.repository.support.GemfireRepositoryFact
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
* @see org.apache.geode.cache.client.ClientCache
|
||||
* @see org.springframework.boot.autoconfigure.EnableAutoConfiguration
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.GemFireRepositoriesAutoConfigurationRegistrar
|
||||
* @see org.springframework.context.annotation.Configuration
|
||||
* @see org.springframework.context.annotation.Import
|
||||
* @see org.springframework.data.gemfire.repository.GemfireRepository
|
||||
* @see org.springframework.data.gemfire.repository.config.EnableGemfireRepositories
|
||||
* @see org.springframework.data.gemfire.repository.config.GemfireRepositoryConfigurationExtension
|
||||
* @see org.springframework.data.gemfire.repository.support.GemfireRepositoryFactoryBean
|
||||
* @see org.springframework.geode.boot.autoconfigure.ClientCacheAutoConfiguration
|
||||
* @see org.springframework.geode.boot.autoconfigure.GemFireRepositoriesAutoConfigurationRegistrar
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Configuration
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.autoconfigure;
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
|
||||
import static org.springframework.data.gemfire.util.ArrayUtils.nullSafeArray;
|
||||
|
||||
@@ -61,16 +61,17 @@ import org.springframework.util.StringUtils;
|
||||
* @see java.io.File
|
||||
* @see java.net.URL
|
||||
* @see java.util.Properties
|
||||
* @see org.springframework.boot.SpringApplication
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
* @see org.springframework.boot.SpringApplication
|
||||
* @see org.springframework.boot.autoconfigure.EnableAutoConfiguration
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.ClientCacheAutoConfiguration
|
||||
* @see org.springframework.geode.boot.autoconfigure.ClientCacheAutoConfiguration
|
||||
* @see org.springframework.boot.env.EnvironmentPostProcessor
|
||||
* @see org.springframework.context.annotation.Condition
|
||||
* @see org.springframework.context.annotation.Conditional
|
||||
* @see org.springframework.context.annotation.Configuration
|
||||
* @see org.springframework.core.env.ConfigurableEnvironment
|
||||
* @see org.springframework.core.env.Environment
|
||||
* @see org.springframework.core.env.PropertiesPropertySource
|
||||
* @see org.springframework.core.io.Resource
|
||||
* @see org.springframework.data.gemfire.CacheFactoryBean
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableSsl
|
||||
@@ -15,6 +15,6 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Spring Boot auto-configuration for Spring Data Geode.
|
||||
* Spring Boot auto-configuration for Apache Geode & Pivotal GemFire.
|
||||
*/
|
||||
package org.springframework.boot.data.geode.autoconfigure;
|
||||
package org.springframework.geode.boot.autoconfigure;
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.cache.support;
|
||||
package org.springframework.geode.cache.support;
|
||||
|
||||
import org.apache.geode.cache.CacheLoader;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.core.env;
|
||||
package org.springframework.geode.core.env;
|
||||
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalArgumentException;
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalStateException;
|
||||
@@ -30,15 +30,15 @@ import java.util.function.Predicate;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.StreamSupport;
|
||||
|
||||
import org.springframework.boot.data.geode.core.env.support.CloudCacheService;
|
||||
import org.springframework.boot.data.geode.core.env.support.Service;
|
||||
import org.springframework.boot.data.geode.core.env.support.User;
|
||||
import org.springframework.boot.data.geode.core.util.ObjectUtils;
|
||||
import org.springframework.core.env.ConfigurableEnvironment;
|
||||
import org.springframework.core.env.EnumerablePropertySource;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.core.env.PropertiesPropertySource;
|
||||
import org.springframework.core.env.PropertySource;
|
||||
import org.springframework.geode.core.env.support.CloudCacheService;
|
||||
import org.springframework.geode.core.env.support.Service;
|
||||
import org.springframework.geode.core.env.support.User;
|
||||
import org.springframework.geode.core.util.ObjectUtils;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
@@ -48,12 +48,16 @@ import org.springframework.util.StringUtils;
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.lang.Iterable
|
||||
* @see java.net.URL
|
||||
* @see java.util.Properties
|
||||
* @see org.springframework.boot.data.geode.core.env.support.Service
|
||||
* @see org.springframework.boot.data.geode.core.env.support.User
|
||||
* @see java.util.function.Predicate
|
||||
* @see org.springframework.core.env.EnumerablePropertySource
|
||||
* @see org.springframework.core.env.Environment
|
||||
* @see org.springframework.core.env.PropertiesPropertySource
|
||||
* @see org.springframework.core.env.PropertySource
|
||||
* @see org.springframework.geode.core.env.support.CloudCacheService
|
||||
* @see org.springframework.geode.core.env.support.Service
|
||||
* @see org.springframework.geode.core.env.support.User
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.core.env.support;
|
||||
package org.springframework.geode.core.env.support;
|
||||
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalArgumentException;
|
||||
|
||||
@@ -25,15 +25,18 @@ import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.apache.shiro.util.Assert;
|
||||
import org.springframework.boot.data.geode.core.util.ObjectUtils;
|
||||
import org.springframework.data.gemfire.GemfireUtils;
|
||||
import org.springframework.geode.core.util.ObjectUtils;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* The CloudCacheService class...
|
||||
* The {@link CloudCacheService} class is an Abstract Data Type (ADT) modeling the Pivotal Cloud Cache service
|
||||
* in Pivotal CloudFoundry (PCF).
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.net.URL
|
||||
* @see org.springframework.geode.core.env.support.Service
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class CloudCacheService extends Service {
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.core.env.support;
|
||||
package org.springframework.geode.core.env.support;
|
||||
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.core.env.support;
|
||||
package org.springframework.geode.core.env.support;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Optional;
|
||||
@@ -24,7 +24,7 @@ import org.springframework.util.ObjectUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* The User class...
|
||||
* The {@link User} class is an Abstract Data Type (ADT) modeling a user in Pivotal CloudFoundry (PCF).
|
||||
*
|
||||
* @author John Blum
|
||||
* @since 1.0.0
|
||||
@@ -86,7 +86,7 @@ public class User implements Comparable<User> {
|
||||
* Returns an {@link Optional} {@link Role} for this {@link User}.
|
||||
*
|
||||
* @return an {@link Optional} {@link Role} for this {@link User}.
|
||||
* @see org.springframework.boot.data.geode.core.env.support.User.Role
|
||||
* @see org.springframework.geode.core.env.support.User.Role
|
||||
* @see java.util.Optional
|
||||
*/
|
||||
public Optional<Role> getRole() {
|
||||
@@ -109,7 +109,7 @@ public class User implements Comparable<User> {
|
||||
*
|
||||
* @param role assigned {@link Role} of this {@link User}.
|
||||
* @return this {@link User}.
|
||||
* @see org.springframework.boot.data.geode.core.env.support.User
|
||||
* @see org.springframework.geode.core.env.support.User
|
||||
*/
|
||||
public User withRole(Role role) {
|
||||
this.role = role;
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.core.util;
|
||||
package org.springframework.geode.core.util;
|
||||
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalArgumentException;
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalStateException;
|
||||
@@ -24,9 +24,10 @@ import org.slf4j.LoggerFactory;
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
/**
|
||||
* The ObjectUtils class...
|
||||
* The {@link ObjectUtils} class is an abstract utility class with operations for {@link Object objects}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.lang.Object
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@@ -43,7 +44,7 @@ public abstract class ObjectUtils extends org.springframework.util.ObjectUtils {
|
||||
* @param operation {@link ExceptionThrowingOperation} to execute.
|
||||
* @return the result of the given {@link ExceptionThrowingOperation} or throw an {@link IllegalStateException}
|
||||
* wrapping the checked {@link Exception} thrown by the operation.
|
||||
* @see org.springframework.boot.data.geode.core.util.ObjectUtils.ExceptionThrowingOperation
|
||||
* @see org.springframework.geode.core.util.ObjectUtils.ExceptionThrowingOperation
|
||||
* @see #doOperationSafely(ExceptionThrowingOperation, Object)
|
||||
*/
|
||||
@Nullable
|
||||
@@ -64,7 +65,7 @@ public abstract class ObjectUtils extends org.springframework.util.ObjectUtils {
|
||||
* the checked {@link Exception} if the {@link Object default value} is {@literal null}.
|
||||
* @throws IllegalStateException if the {@link ExceptionThrowingOperation} throws a checked {@link Exception}
|
||||
* and {@link Object default value} is {@literal null}.
|
||||
* @see org.springframework.boot.data.geode.core.util.ObjectUtils.ExceptionThrowingOperation
|
||||
* @see org.springframework.geode.core.util.ObjectUtils.ExceptionThrowingOperation
|
||||
* @see #returnValueThrowOnNull(Object, RuntimeException)
|
||||
*/
|
||||
@Nullable
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.function.support;
|
||||
package org.springframework.geode.function.support;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.function.support;
|
||||
package org.springframework.geode.function.support;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
@@ -29,7 +29,7 @@ import org.apache.geode.distributed.DistributedMember;
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.cache.execute.ResultCollector
|
||||
* @see org.springframework.boot.data.geode.function.support.AbstractResultCollector
|
||||
* @see org.springframework.geode.function.support.AbstractResultCollector
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.security.support;
|
||||
package org.springframework.geode.security.support;
|
||||
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalStateException;
|
||||
|
||||
@@ -41,7 +41,7 @@ import org.springframework.util.Assert;
|
||||
* Therefore, this implementation allows a developer to set the Apache Geode System property using this proxy...
|
||||
*
|
||||
* <code>
|
||||
* gemfire.security-manager=org.springframework.boot.data.geode.security.support.SecurityManagerProxy
|
||||
* gemfire.security-manager=org.springframework.geode.security.support.SecurityManagerProxy
|
||||
* </code>
|
||||
*
|
||||
* And then declare and define a bean in the Spring context implementing the
|
||||
@@ -61,7 +61,9 @@ import org.springframework.util.Assert;
|
||||
* </code>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.apache.geode.security.ResourcePermission
|
||||
* @see org.apache.geode.security.SecurityManager
|
||||
* @see org.springframework.beans.factory.annotation.Autowired
|
||||
* @see org.springframework.data.gemfire.support.LazyWiringDeclarableSupport
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@@ -1,15 +1,15 @@
|
||||
# Auto Configuration
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
org.springframework.boot.data.geode.autoconfigure.ClientCacheAutoConfiguration,\
|
||||
org.springframework.boot.data.geode.autoconfigure.CachingProviderAutoConfiguration,\
|
||||
org.springframework.boot.data.geode.autoconfigure.ClientSecurityAutoConfiguration,\
|
||||
org.springframework.boot.data.geode.autoconfigure.ContinuousQueryAutoConfiguration,\
|
||||
org.springframework.boot.data.geode.autoconfigure.FunctionExecutionAutoConfiguration,\
|
||||
org.springframework.boot.data.geode.autoconfigure.PeerSecurityAutoConfiguration,\
|
||||
org.springframework.boot.data.geode.autoconfigure.RepositoriesAutoConfiguration,\
|
||||
org.springframework.boot.data.geode.autoconfigure.SslAutoConfiguration
|
||||
org.springframework.geode.boot.autoconfigure.ClientCacheAutoConfiguration,\
|
||||
org.springframework.geode.boot.autoconfigure.CachingProviderAutoConfiguration,\
|
||||
org.springframework.geode.boot.autoconfigure.ClientSecurityAutoConfiguration,\
|
||||
org.springframework.geode.boot.autoconfigure.ContinuousQueryAutoConfiguration,\
|
||||
org.springframework.geode.boot.autoconfigure.FunctionExecutionAutoConfiguration,\
|
||||
org.springframework.geode.boot.autoconfigure.PeerSecurityAutoConfiguration,\
|
||||
org.springframework.geode.boot.autoconfigure.RepositoriesAutoConfiguration,\
|
||||
org.springframework.geode.boot.autoconfigure.SslAutoConfiguration
|
||||
|
||||
# Environment Post Processing
|
||||
org.springframework.boot.env.EnvironmentPostProcessor=\
|
||||
org.springframework.boot.data.geode.autoconfigure.ClientSecurityAutoConfiguration.AutoConfiguredCloudSecurityEnvironmentPostProcessor,\
|
||||
org.springframework.boot.data.geode.autoconfigure.SslAutoConfiguration.SslEnvironmentPostProcessor
|
||||
org.springframework.geode.boot.autoconfigure.ClientSecurityAutoConfiguration.AutoConfiguredCloudSecurityEnvironmentPostProcessor,\
|
||||
org.springframework.geode.boot.autoconfigure.SslAutoConfiguration.SslEnvironmentPostProcessor
|
||||
|
||||
@@ -19,13 +19,13 @@ package example.geode.cache;
|
||||
import org.apache.geode.cache.CacheLoader;
|
||||
import org.apache.geode.cache.CacheLoaderException;
|
||||
import org.apache.geode.cache.LoaderHelper;
|
||||
import org.springframework.boot.data.geode.cache.support.CacheLoaderSupport;
|
||||
import org.springframework.geode.cache.support.CacheLoaderSupport;
|
||||
|
||||
/**
|
||||
* The {@link EchoCacheLoader} class is an implementation of {@link CacheLoader} that echos the key as the value.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.boot.data.geode.cache.support.CacheLoaderSupport
|
||||
* @see org.springframework.geode.cache.support.CacheLoaderSupport
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.cache.client;
|
||||
package org.springframework.geode.boot.autoconfigure.cache.client;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalStateException;
|
||||
@@ -47,8 +47,9 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
* @see org.apache.geode.cache.Region
|
||||
* @see org.apache.geode.cache.client.ClientCache
|
||||
* @see org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
* @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport
|
||||
* @see org.springframework.boot.test.context.SpringBootTest
|
||||
* @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport
|
||||
* @see org.springframework.geode.boot.autoconfigure.ClientCacheAutoConfiguration
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.cache.peer;
|
||||
package org.springframework.geode.boot.autoconfigure.cache.peer;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalStateException;
|
||||
@@ -45,8 +45,8 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.apache.geode.cache.Cache
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
* @see org.apache.geode.cache.Region
|
||||
* @see org.apache.geode.cache.client.ClientCache
|
||||
* @see org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
* @see org.springframework.boot.test.context.SpringBootTest
|
||||
* @see org.springframework.data.gemfire.config.annotation.PeerCacheApplication
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.caching;
|
||||
package org.springframework.geode.boot.autoconfigure.caching;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@@ -50,6 +50,7 @@ import example.app.service.support.CachingBookService;
|
||||
* @see org.springframework.boot.test.context.SpringBootTest
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableCachingDefinedRegions
|
||||
* @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport
|
||||
* @see org.springframework.geode.boot.autoconfigure.CachingProviderAutoConfiguration
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.cq;
|
||||
package org.springframework.geode.boot.autoconfigure.cq;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@@ -52,21 +52,23 @@ 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 functionality.
|
||||
* Integration tests testing the auto-configuration of Apache Geode/Pivotal GemFire Continuous Query.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
* @see org.apache.geode.cache.Region
|
||||
* @see org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.ContinuousQueryAutoConfiguration
|
||||
* @see org.springframework.boot.test.context.SpringBootTest
|
||||
* @see org.springframework.context.annotation.AnnotationConfigApplicationContext
|
||||
* @see org.springframework.context.annotation.Bean
|
||||
* @see org.springframework.data.gemfire.config.annotation.CacheServerApplication
|
||||
* @see org.springframework.data.gemfire.tests.integration.ForkingClientServerIntegrationTestsSupport
|
||||
* @see org.springframework.data.gemfire.tests.integration.config.SubscriptionEnabledClientServerIntegrationTestsConfiguration
|
||||
* @see org.springframework.geode.boot.autoconfigure.ContinuousQueryAutoConfiguration
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @see example.geode.query.cq.event.TemperatureReading
|
||||
* @see example.geode.query.cq.event.TemperatureReadingsContinuousQueriesHandler
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.function;
|
||||
package org.springframework.geode.boot.autoconfigure.function;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@@ -32,13 +32,13 @@ import org.junit.runner.RunWith;
|
||||
import org.junit.runners.MethodSorters;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.data.geode.function.executions.Calculator;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableGemFireProperties;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableLogging;
|
||||
import org.springframework.data.gemfire.function.annotation.GemfireFunction;
|
||||
import org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport;
|
||||
import org.springframework.geode.boot.autoconfigure.function.executions.Calculator;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
@@ -50,10 +50,12 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
* @see org.apache.geode.cache.execute.FunctionService
|
||||
* @see org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
* @see org.springframework.boot.data.geode.function.executions.Calculator
|
||||
* @see org.springframework.boot.test.context.SpringBootTest
|
||||
* @see org.springframework.context.annotation.Bean
|
||||
* @see org.springframework.data.gemfire.function.annotation.GemfireFunction
|
||||
* @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport
|
||||
* @see org.springframework.geode.boot.autoconfigure.function.executions.Calculator
|
||||
* @see org.springframework.geode.boot.autoconfigure.FunctionExecutionAutoConfiguration
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.function.executions;
|
||||
package org.springframework.geode.boot.autoconfigure.function.executions;
|
||||
|
||||
import org.springframework.data.gemfire.function.annotation.OnMember;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.repository;
|
||||
package org.springframework.geode.boot.autoconfigure.repository;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@@ -28,13 +28,13 @@ import org.junit.runner.RunWith;
|
||||
import org.junit.runners.MethodSorters;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.data.geode.repository.model.Customer;
|
||||
import org.springframework.boot.data.geode.repository.service.CustomerService;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableEntityDefinedRegions;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableLogging;
|
||||
import org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport;
|
||||
import org.springframework.data.gemfire.util.RegionUtils;
|
||||
import org.springframework.geode.boot.autoconfigure.repository.model.Customer;
|
||||
import org.springframework.geode.boot.autoconfigure.repository.service.CustomerService;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
@@ -48,6 +48,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
* @see org.springframework.boot.test.context.SpringBootTest
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableEntityDefinedRegions
|
||||
* @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport
|
||||
* @see org.springframework.geode.boot.autoconfigure.RepositoriesAutoConfiguration
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.repository.model;
|
||||
package org.springframework.geode.boot.autoconfigure.repository.model;
|
||||
|
||||
import org.springframework.data.annotation.Id;
|
||||
import org.springframework.data.gemfire.mapping.annotation.Region;
|
||||
@@ -14,18 +14,18 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.repository.repo;
|
||||
package org.springframework.geode.boot.autoconfigure.repository.repo;
|
||||
|
||||
import org.springframework.boot.data.geode.repository.model.Customer;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
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.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.boot.data.geode.repository.model.Customer
|
||||
* @see org.springframework.data.repository.CrudRepository
|
||||
* @see org.springframework.geode.boot.autoconfigure.repository.model.Customer
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public interface CustomerRepository extends CrudRepository<Customer, Long> {
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.repository.service;
|
||||
package org.springframework.geode.boot.autoconfigure.repository.service;
|
||||
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalArgumentException;
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newIllegalStateException;
|
||||
@@ -22,16 +22,16 @@ import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newI
|
||||
import java.util.Optional;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
|
||||
import org.springframework.boot.data.geode.repository.model.Customer;
|
||||
import org.springframework.boot.data.geode.repository.repo.CustomerRepository;
|
||||
import org.springframework.geode.boot.autoconfigure.repository.model.Customer;
|
||||
import org.springframework.geode.boot.autoconfigure.repository.repo.CustomerRepository;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* The {@link CustomerService} class is an application service for managing {@link Customer Customers}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.boot.data.geode.repository.model.Customer
|
||||
* @see org.springframework.boot.data.geode.repository.repo.CustomerRepository
|
||||
* @see org.springframework.geode.boot.autoconfigure.repository.model.Customer
|
||||
* @see org.springframework.geode.boot.autoconfigure.repository.repo.CustomerRepository
|
||||
* @see org.springframework.stereotype.Service
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.security.auth;
|
||||
package org.springframework.geode.boot.autoconfigure.security.auth;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.springframework.data.gemfire.config.annotation.support.AutoConfiguredAuthenticationInitializer.SECURITY_PASSWORD_PROPERTY;
|
||||
@@ -58,6 +58,8 @@ import lombok.ToString;
|
||||
* @author John Blum
|
||||
* @see java.security.Principal
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
* @see org.apache.geode.security.ResourcePermission
|
||||
* @see org.springframework.core.env.Environment
|
||||
* @see org.springframework.data.gemfire.GemfireTemplate
|
||||
* @see org.springframework.data.gemfire.tests.integration.ForkingClientServerIntegrationTestsSupport
|
||||
* @since 1.0.0
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.security.auth.cloud;
|
||||
package org.springframework.geode.boot.autoconfigure.security.auth.cloud;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Properties;
|
||||
@@ -24,13 +24,13 @@ import org.junit.BeforeClass;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.data.geode.security.auth.AbstractAutoConfiguredSecurityContextIntegrationTests;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.data.gemfire.config.annotation.CacheServerApplication;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableLocator;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableLogging;
|
||||
import org.springframework.data.gemfire.support.GemfireBeanFactoryLocatorProxy;
|
||||
import org.springframework.geode.boot.autoconfigure.security.auth.AbstractAutoConfiguredSecurityContextIntegrationTests;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
/**
|
||||
@@ -39,18 +39,18 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.security.Principal
|
||||
* @see java.util.Properties
|
||||
* @see org.junit.Test
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
* @see org.springframework.boot.SpringApplication
|
||||
* @see org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.ClientSecurityAutoConfiguration
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.PeerSecurityAutoConfiguration
|
||||
* @see org.springframework.boot.data.geode.security.auth.AbstractAutoConfiguredSecurityContextIntegrationTests
|
||||
* @see org.springframework.boot.test.context.SpringBootTest
|
||||
* @see org.springframework.data.gemfire.config.annotation.CacheServerApplication
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableLocator
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableSecurity
|
||||
* @see org.springframework.test.context.ActiveProfiles
|
||||
* @see org.springframework.geode.boot.autoconfigure.ClientSecurityAutoConfiguration
|
||||
* @see org.springframework.geode.boot.autoconfigure.PeerSecurityAutoConfiguration
|
||||
* @see org.springframework.geode.boot.autoconfigure.security.auth.AbstractAutoConfiguredSecurityContextIntegrationTests
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.security.auth.local;
|
||||
package org.springframework.geode.boot.autoconfigure.security.auth.local;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
@@ -23,13 +23,13 @@ import org.junit.BeforeClass;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.data.geode.security.auth.AbstractAutoConfiguredSecurityContextIntegrationTests;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.data.gemfire.config.annotation.CacheServerApplication;
|
||||
import org.springframework.data.gemfire.config.annotation.EnableLogging;
|
||||
import org.springframework.data.gemfire.support.GemfireBeanFactoryLocatorProxy;
|
||||
import org.springframework.data.gemfire.tests.integration.config.ClientServerIntegrationTestsConfiguration;
|
||||
import org.springframework.geode.boot.autoconfigure.security.auth.AbstractAutoConfiguredSecurityContextIntegrationTests;
|
||||
import org.springframework.test.context.ActiveProfiles;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
@@ -38,18 +38,19 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
* authentication/authorization in a local, non-managed context.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.security.Principal
|
||||
* @see org.junit.Test
|
||||
* @see org.apache.geode.cache.GemFireCache
|
||||
* @see org.springframework.boot.SpringApplication
|
||||
* @see org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.ClientSecurityAutoConfiguration
|
||||
* @see org.springframework.boot.data.geode.autoconfigure.PeerSecurityAutoConfiguration
|
||||
* @see org.springframework.boot.data.geode.security.auth.AbstractAutoConfiguredSecurityContextIntegrationTests
|
||||
* @see org.springframework.boot.test.context.SpringBootTest
|
||||
* @see org.springframework.context.annotation.Import
|
||||
* @see org.springframework.data.gemfire.config.annotation.CacheServerApplication
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableSecurity
|
||||
* @see org.springframework.data.gemfire.tests.integration.config.ClientServerIntegrationTestsConfiguration
|
||||
* @see org.springframework.geode.boot.autoconfigure.ClientSecurityAutoConfiguration
|
||||
* @see org.springframework.geode.boot.autoconfigure.PeerSecurityAutoConfiguration
|
||||
* @see org.springframework.geode.boot.autoconfigure.security.auth.AbstractAutoConfiguredSecurityContextIntegrationTests
|
||||
* @see org.springframework.test.context.ActiveProfiles
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @since 1.0.0
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.security.ssl;
|
||||
package org.springframework.geode.boot.autoconfigure.security.ssl;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@@ -51,12 +51,13 @@ import example.echo.config.EchoServerConfiguration;
|
||||
* @see org.apache.geode.cache.Region
|
||||
* @see org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
* @see org.springframework.boot.test.context.SpringBootTest
|
||||
* @see org.springframework.context.annotation.Bean
|
||||
* @see org.springframework.core.io.Resource
|
||||
* @see org.springframework.context.annotation.Import
|
||||
* @see org.springframework.data.gemfire.GemfireTemplate
|
||||
* @see org.springframework.data.gemfire.config.annotation.CacheServerApplication
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableSsl
|
||||
* @see org.springframework.data.gemfire.tests.integration.ForkingClientServerIntegrationTestsSupport
|
||||
* @see org.springframework.data.gemfire.tests.integration.config.ClientServerIntegrationTestsConfiguration
|
||||
* @see org.springframework.test.context.ActiveProfiles
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.core.env;
|
||||
package org.springframework.geode.core.env;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.ArgumentMatchers.anyString;
|
||||
@@ -34,20 +34,27 @@ import java.util.Properties;
|
||||
import java.util.Set;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.springframework.boot.data.geode.core.env.support.CloudCacheService;
|
||||
import org.springframework.boot.data.geode.core.env.support.Service;
|
||||
import org.springframework.boot.data.geode.core.env.support.User;
|
||||
import org.springframework.core.env.ConfigurableEnvironment;
|
||||
import org.springframework.core.env.EnumerablePropertySource;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.core.env.MutablePropertySources;
|
||||
import org.springframework.core.env.PropertiesPropertySource;
|
||||
import org.springframework.core.env.PropertySource;
|
||||
import org.springframework.geode.core.env.support.CloudCacheService;
|
||||
import org.springframework.geode.core.env.support.Service;
|
||||
import org.springframework.geode.core.env.support.User;
|
||||
|
||||
/**
|
||||
* The VcapPropertySourceUnitTests class...
|
||||
* Unit tests for {@link VcapPropertySource}.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.util.Properties
|
||||
* @see org.junit.Test
|
||||
* @see org.mockito.Mockito
|
||||
* @see org.springframework.core.env.Environment
|
||||
* @see org.springframework.core.env.PropertiesPropertySource
|
||||
* @see org.springframework.core.env.PropertySource
|
||||
* @see org.springframework.geode.core.env.VcapPropertySource
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class VcapPropertySourceUnitTests {
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.core.env.support;
|
||||
package org.springframework.geode.core.env.support;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.junit.Test;
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.boot.data.geode.core.env.support.CloudCacheService
|
||||
* @see org.springframework.geode.core.env.support.CloudCacheService
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class CloudCacheServiceUnitTests {
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.core.env.support;
|
||||
package org.springframework.geode.core.env.support;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.junit.Test;
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.boot.data.geode.core.env.support.Service
|
||||
* @see org.springframework.geode.core.env.support.Service
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class ServiceUnitTests {
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.core.env.support;
|
||||
package org.springframework.geode.core.env.support;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.junit.Test;
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.boot.data.geode.core.env.support.User
|
||||
* @see org.springframework.geode.core.env.support.User
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class UserUnitTests {
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.core.util;
|
||||
package org.springframework.geode.core.util;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.springframework.data.gemfire.util.RuntimeExceptionFactory.newRuntimeException;
|
||||
@@ -26,6 +26,7 @@ import org.junit.Test;
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.geode.core.util.ObjectUtils
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class ObjectUtilsUnitTests {
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.function.support;
|
||||
package org.springframework.geode.function.support;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.junit.Test;
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.boot.data.geode.function.support.AbstractResultCollector
|
||||
* @see org.springframework.geode.function.support.AbstractResultCollector
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class AbstractResultCollectorUnitTests {
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.function.support;
|
||||
package org.springframework.geode.function.support;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.Mockito.mock;
|
||||
@@ -37,7 +37,7 @@ import org.mockito.junit.MockitoJUnitRunner;
|
||||
* @see org.mockito.Mock
|
||||
* @see org.mockito.Mockito
|
||||
* @see org.mockito.junit.MockitoJUnitRunner
|
||||
* @see org.springframework.boot.data.geode.function.support.SingleResultReturningCollector
|
||||
* @see org.springframework.geode.function.support.SingleResultReturningCollector
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.security.support;
|
||||
package org.springframework.geode.security.support;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.Mockito.mock;
|
||||
@@ -42,9 +42,9 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
* @see org.springframework.context.annotation.Bean
|
||||
* @see org.springframework.data.gemfire.config.annotation.EnableSecurity
|
||||
* @see org.springframework.data.gemfire.config.annotation.PeerCacheApplication
|
||||
* @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport
|
||||
* @see org.springframework.test.context.ContextConfiguration
|
||||
* @see org.springframework.test.context.junit4.SpringRunner
|
||||
* @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@@ -70,7 +70,7 @@ public class SecurityManagerProxyIntegrationTests extends IntegrationTestsSuppor
|
||||
|
||||
@PeerCacheApplication(logLevel = GEMFIRE_LOG_LEVEL, useBeanFactoryLocator = true)
|
||||
@EnableSecurity(securityManagerClassName =
|
||||
"org.springframework.boot.data.geode.security.support.SecurityManagerProxy")
|
||||
"org.springframework.geode.security.support.SecurityManagerProxy")
|
||||
static class TestConfiguration {
|
||||
|
||||
@Bean
|
||||
@@ -14,7 +14,7 @@
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.data.geode.security.support;
|
||||
package org.springframework.geode.security.support;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
@@ -37,7 +37,7 @@ import org.junit.Test;
|
||||
* @see java.security.Principal
|
||||
* @see org.junit.Test
|
||||
* @see org.mockito.Mockito
|
||||
* @see org.springframework.boot.data.geode.security.support.SecurityManagerProxy
|
||||
* @see org.springframework.geode.security.support.SecurityManagerProxy
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public class SecurityManagerProxyUnitTests {
|
||||
Reference in New Issue
Block a user