From ad82412fbdbb964887d4611891b5d38f74ef430b Mon Sep 17 00:00:00 2001 From: Udo Kohlmeyer Date: Tue, 28 Feb 2023 09:27:36 +1100 Subject: [PATCH] SDGF-59: Add deprecation to Redis and Lucene --- .../support/LuceneIndexRegionBeanFactoryPostProcessor.java | 1 + .../data/gemfire/config/xml/LuceneIndexParser.java | 1 + .../data/gemfire/config/xml/LuceneServiceParser.java | 1 + .../data/gemfire/mapping/annotation/LuceneIndexed.java | 1 + .../data/gemfire/search/lucene/LuceneAccessor.java | 1 + .../data/gemfire/search/lucene/LuceneIndexFactoryBean.java | 1 + .../data/gemfire/search/lucene/LuceneOperations.java | 1 + .../data/gemfire/search/lucene/LuceneServiceFactoryBean.java | 1 + .../data/gemfire/search/lucene/LuceneTemplate.java | 1 + .../data/gemfire/search/lucene/ProjectingLuceneAccessor.java | 1 + .../data/gemfire/search/lucene/ProjectingLuceneOperations.java | 1 + .../data/gemfire/search/lucene/ProjectingLuceneTemplate.java | 1 + .../gemfire/search/lucene/support/LuceneAccessorSupport.java | 1 + .../gemfire/search/lucene/support/LuceneOperationsSupport.java | 1 + .../data/gemfire/search/lucene/support/LucenePage.java | 1 + .../search/lucene/support/ProjectingLuceneAccessorSupport.java | 1 + .../search/lucene/support/ProjectingLuceneOperationsSupport.java | 1 + 17 files changed, 17 insertions(+) diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/support/LuceneIndexRegionBeanFactoryPostProcessor.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/support/LuceneIndexRegionBeanFactoryPostProcessor.java index ea45ef4a..8fb5b590 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/support/LuceneIndexRegionBeanFactoryPostProcessor.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/support/LuceneIndexRegionBeanFactoryPostProcessor.java @@ -33,6 +33,7 @@ * @see LuceneIndexFactoryBean * @see AbstractDependencyStructuringBeanFactoryPostProcessor * @since 2.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public class LuceneIndexRegionBeanFactoryPostProcessor extends AbstractDependencyStructuringBeanFactoryPostProcessor { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/xml/LuceneIndexParser.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/xml/LuceneIndexParser.java index 388964d9..08fdc4c3 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/xml/LuceneIndexParser.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/xml/LuceneIndexParser.java @@ -26,6 +26,7 @@ * @see AbstractSingleBeanDefinitionParser * @see LuceneIndexFactoryBean * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ class LuceneIndexParser extends AbstractSingleBeanDefinitionParser { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/xml/LuceneServiceParser.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/xml/LuceneServiceParser.java index 955db8f1..c36ce0c1 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/xml/LuceneServiceParser.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/config/xml/LuceneServiceParser.java @@ -19,6 +19,7 @@ * @see AbstractSingleBeanDefinitionParser * @see LuceneServiceFactoryBean * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ class LuceneServiceParser extends AbstractSingleBeanDefinitionParser { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/mapping/annotation/LuceneIndexed.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/mapping/annotation/LuceneIndexed.java index 608f4e0a..7ff0d6f4 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/mapping/annotation/LuceneIndexed.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/mapping/annotation/LuceneIndexed.java @@ -29,6 +29,7 @@ * @see org.apache.geode.cache.Region * @see LuceneIndex * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @Target({ ElementType.FIELD, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneAccessor.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneAccessor.java index 13d0b9ef..f0ce09d1 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneAccessor.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneAccessor.java @@ -40,6 +40,7 @@ * @see LuceneService * @see LuceneServiceProvider * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public abstract class LuceneAccessor extends LuceneOperationsSupport implements InitializingBean { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneIndexFactoryBean.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneIndexFactoryBean.java index e26b9bdb..4c91a952 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneIndexFactoryBean.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneIndexFactoryBean.java @@ -57,6 +57,7 @@ * @see IndexConfigurer * @see AbstractFactoryBeanSupport * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public class LuceneIndexFactoryBean extends AbstractFactoryBeanSupport diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneOperations.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneOperations.java index fe47d3ab..4b288700 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneOperations.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneOperations.java @@ -23,6 +23,7 @@ * @see LuceneResultStruct * @see PageableLuceneQueryResults * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public interface LuceneOperations { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneServiceFactoryBean.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneServiceFactoryBean.java index 097d9bc4..ccdf5b71 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneServiceFactoryBean.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneServiceFactoryBean.java @@ -26,6 +26,7 @@ * @see FactoryBean * @see InitializingBean * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public class LuceneServiceFactoryBean extends AbstractFactoryBeanSupport implements InitializingBean { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneTemplate.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneTemplate.java index 83aeb72f..b3a3f4f6 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneTemplate.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/LuceneTemplate.java @@ -34,6 +34,7 @@ * @see LuceneResultStruct * @see PageableLuceneQueryResults * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public class LuceneTemplate extends LuceneAccessorSupport implements LuceneOperations { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneAccessor.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneAccessor.java index 47bd20f9..ee04b8d0 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneAccessor.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneAccessor.java @@ -42,6 +42,7 @@ * @see org.apache.geode.cache.lucene.LuceneService * @see org.apache.geode.cache.lucene.LuceneServiceProvider * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ public abstract class ProjectingLuceneAccessor extends LuceneTemplate implements BeanClassLoaderAware, BeanFactoryAware, ProjectingLuceneOperations { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneOperations.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneOperations.java index 45ee0427..274c835b 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneOperations.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneOperations.java @@ -21,6 +21,7 @@ * @see LuceneOperations * @see LuceneQueryProvider * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public interface ProjectingLuceneOperations extends LuceneOperations { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneTemplate.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneTemplate.java index c9bf7dfa..a18fc7b2 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneTemplate.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/ProjectingLuceneTemplate.java @@ -31,6 +31,7 @@ * @see org.apache.geode.cache.lucene.LuceneResultStruct * @see org.apache.geode.cache.lucene.PageableLuceneQueryResults * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public class ProjectingLuceneTemplate extends ProjectingLuceneAccessor { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LuceneAccessorSupport.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LuceneAccessorSupport.java index b3efdbf4..2f532d7b 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LuceneAccessorSupport.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LuceneAccessorSupport.java @@ -26,6 +26,7 @@ * @author John Blum * @see LuceneAccessor * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public abstract class LuceneAccessorSupport extends LuceneAccessor { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LuceneOperationsSupport.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LuceneOperationsSupport.java index 79b967ea..492feb8d 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LuceneOperationsSupport.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LuceneOperationsSupport.java @@ -24,6 +24,7 @@ * @author John Blum * @see LuceneOperations * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public abstract class LuceneOperationsSupport implements LuceneOperations { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LucenePage.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LucenePage.java index 45175f5e..0ae78881 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LucenePage.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/LucenePage.java @@ -34,6 +34,7 @@ * @see AbstractPageSupport * @see ProjectingLuceneAccessor * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ public class LucenePage extends AbstractPageSupport { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/ProjectingLuceneAccessorSupport.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/ProjectingLuceneAccessorSupport.java index d522f43e..40726a47 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/ProjectingLuceneAccessorSupport.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/ProjectingLuceneAccessorSupport.java @@ -22,6 +22,7 @@ * @author John Blum * @see ProjectingLuceneAccessor * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public abstract class ProjectingLuceneAccessorSupport extends ProjectingLuceneAccessor { diff --git a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/ProjectingLuceneOperationsSupport.java b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/ProjectingLuceneOperationsSupport.java index c4379a5c..6c942b39 100644 --- a/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/ProjectingLuceneOperationsSupport.java +++ b/spring-data-vmware-gemfire/src/main/java/org/springframework/data/gemfire/search/lucene/support/ProjectingLuceneOperationsSupport.java @@ -22,6 +22,7 @@ * @author John Blum * @see ProjectingLuceneOperations * @since 1.1.0 + * @deprecated To be removed in GemFire 10 integration */ @SuppressWarnings("unused") public abstract class ProjectingLuceneOperationsSupport extends LuceneOperationsSupport