Commit Graph

308 Commits

Author SHA1 Message Date
Mark Paluch
2de65be8d7 Prepare next development iteration.
See #560
2022-02-02 11:52:23 -08:00
Mark Paluch
7fd81cfd73 Release version 3.0 M1 (2022.0.0).
See #560
2022-02-02 11:52:23 -08:00
John Blum
721afc1a42 Polish for #558. 2022-02-02 11:52:23 -08:00
Jens Schauder
f503a95c65 Remove Eclipse non-Javadoc comments.
Closes #558.
2022-02-02 11:52:23 -08:00
John Blum
333e06c3e0 Fix NullPointerException in Enumeration to Iterable tests.
The NPE was caused by API changes in Java 17 and Spring Framework 6.
2022-02-02 11:52:23 -08:00
John Blum
9160128708 Cleanup SDG Maven parent and spring-data-geode module POM files.
Move all build plugin configuraton to the parent.

Remove the 'ci' and 'distribute' build profile specific 'maven-javadoc-plugin' configuration.

Resolves gh-538.
2022-02-02 11:52:23 -08:00
John Blum
9030ae3b08 Remove commented out 'org.apache.xbean:xbean-asm9-shaded' dependency.
Resolves gh-539.
2022-02-02 11:52:23 -08:00
John Blum
100366367e Configure the maven-javadoc-plugin for the project build, the 'ci' build profile and the 'distribute' build profile.
Add link to Apache Geode (public) Javadoc site.

Add dependency source excluces on org.apache.geode:geode-gfsh.

Set 'failOnWarnings' to false.

Resolves gh-538.
2022-02-02 11:52:23 -08:00
John Blum
c791fb8f92 Reinstate OnMemberFunctionExecutionBeanDefinitionBuilder class, which was removed after rebasing on the latest changes from main. 2022-02-02 11:52:23 -08:00
John Blum
4aa2e43cf7 Rename javax.enterprise.inject.spi.Extension to jakarta.enterprise.inject.spi.Extension.
Resolves gh-539.
2022-02-02 11:52:23 -08:00
John Blum
564b3b140f Replace Java EE 8 javax package imports with Jakarta EE 9 jakarta package.
Resolves gh-539.
2022-02-02 11:52:23 -08:00
John Blum
ec119465e4 Replace Java EE 8 dependencies with Jakarta EE 9.
Remove unnecessary dependencies (e.g. jakarta.interceptor:jakarta.interceptor-api & jakarta.el:jakarta.el-api).

Resolves gh-539.
2022-02-02 11:52:23 -08:00
John Blum
05b5dc7a73 Add Maven Javadoc Plugin configuration to exclude non-essential Apache Geode packages.
The Jenskins CI build is producing Javadoc errors/warnings of the nature:

20:55:04  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (package-javadoc) on project spring-data-geode: MavenReportException: Error while generating Javadoc:
20:55:04  [ERROR] Exit code: 1 - /opt/jenkins/data/workspace/spring-data-geode_3.0.x/spring-data-geode/src/main/java/org/springframework/data/gemfire/client/GemfireDataSourcePostProcessor.java:26: error: cannot find symbol
20:55:04  [ERROR] import org.apache.geode.management.internal.cli.functions.GetRegionsFunction;
20:55:04  [ERROR]                                                          ^
20:55:04  [ERROR]   symbol:   class GetRegionsFunction
20:55:04  [ERROR]   location: package org.apache.geode.management.internal.cli.functions
20:55:04  [ERROR] /opt/jenkins/data/workspace/spring-data-geode_3.0.x/spring-data-geode/src/main/java/org/springframework/data/gemfire/config/admin/remote/FunctionGemfireAdminTemplate.java:31: error: cannot find symbol
20:55:04  [ERROR] import org.apache.geode.management.internal.cli.functions.GetRegionsFunction;
20:55:04  [ERROR]                                                          ^
20:55:04  [ERROR]   symbol:   class GetRegionsFunction
20:55:04  [ERROR]   location: package org.apache.geode.management.internal.cli.functions
20:55:04  [ERROR] /opt/jenkins/data/workspace/spring-data-geode_3.0.x/spring-data-geode/src/main/java/org/springframework/data/gemfire/function/PojoFunctionWrapper.java:53: error: cannot access Identifiable
20:55:04  [ERROR] public class PojoFunctionWrapper implements Function {
20:55:04  [ERROR]        ^
20:55:04  [ERROR]   class file for org.apache.geode.lang.Identifiable not found
20:55:04  [ERROR] warning: unknown enum constant When.MAYBE
20:55:04  [ERROR]   reason: class file for javax.annotation.meta.When not found
20:55:04  [ERROR] 3 errors
20:55:04  [ERROR] 1 warning

Resolves gh-538.
2022-02-02 11:52:23 -08:00
John Blum
475e88ff32 Change scope of org.apache.geronimo.specs:geronimo-jcdi_2.0_specs dependency to provided.
Resolves gh-538.
2022-02-02 11:52:23 -08:00
John Blum
2e70bdaa4f Remove all old SDG XML namespace (XSD) schemas.
This removes the 2.x (2.0 to 2.6) SDG XML namespace (XSD) schemas.

Resolves gh-538.
2022-02-02 11:52:23 -08:00
John Blum
e45b9715b5 Adapt to API and functional changes in Spring Framework 6 to fix tests.
These changes are also possibly applicable to SDG on Spring Framework 5 and are a candidate for backporting.

Resolves gh-538.
2022-02-02 11:52:23 -08:00
John Blum
cd2a8ce032 Polish the spring-data-geode Maven POM.
Declare the org.apache.xbean:xbean-asm9-shaded dependency required to get CDI tests to pass.

Resolves gh-538.
2022-02-02 11:51:17 -08:00
John Blum
7f84b710a9 Add SDG 3.0 XML namespace schema (XSD) files.
Resolves gh-538.
2022-02-02 11:51:17 -08:00
John Blum
0805ce1d0d Rename Java 16 Maven build profiles to Java 17 and change build configuration(s) to use JDK 17 (e.g. Maven Toolchains in local build).
Resolves gh-538.
2022-02-02 11:51:17 -08:00
John Blum
dc5f528bae Prepare Spring Data for Apache Geode 3.0.
Set version to 3.0.0-SNAPSHOT.

Resolves gh-538.
2022-02-02 11:48:41 -08:00
John Blum
281834bc79 Review, refactor and polish abstract base Region FactoryBeans. 2022-02-02 11:25:35 -08:00
John Blum
9c1e80abe1 Upgrade to Apache Geode 1.14.3.
Closes gh-568.
2022-02-02 11:25:35 -08:00
John Blum
a3b3fcc2e5 Add Integration Test for PARTITION Region configuration using SDG Annotation config (@EnableEntityDefinedRegions) along with real Apache Geode objects. 2022-01-20 11:10:10 -08:00
John Blum
6721329b1a Replace use of STDG @EnableGemFireMockObjects annotation on the test configuration with the STDG @GemFireUnitTest annotation on the test class. 2022-01-20 11:09:28 -08:00
John Blum
14ca57795c Rename EntityDefinedRegionsForCollocatedPartitionRegionsIntegrationTests to EntityDefinedRegionsForMockCollocatedPartitionRegionsIntegrationTests. 2022-01-19 19:09:16 -08:00
John Blum
ae7e492c84 Review, refactor and polish the associated Spring configuration for @EnableEntityDefinedRegions. 2022-01-19 19:06:53 -08:00
John Blum
c9bc360ef4 Add Integration Test for collocated PARTITION Regions configured with SDG Java config (PartitionedRegionFactoryBean).
Resolves gh-566.
2022-01-19 19:01:42 -08:00
John Blum
5fb8aa804e Refactor the CollocatedRegionsXmlConfigurationIntegrationTests class.
Rename the CollocatedRegionIntegrationTests class to CollocatedRegionsXmlConfigurationIntegrationTests.

Rename the associated XML context configuration file acccordingly.

Rename test case method.

Resolves gh-566.
2022-01-19 16:25:14 -08:00
John Blum
fb339cee3d Add Integration Test for collocated PARTITION Regions configured with SDG Annotation config (EnableEntityDefinedRegions).
Resolves gh-566.
2022-01-19 15:36:47 -08:00
Christoph Strobl
fcd526ba5c Prepare next development iteration.
See #563
2022-01-18 09:21:29 +01:00
Christoph Strobl
e7fd715070 Release version 2.7 M2 (2021.2.0).
See #563
2022-01-18 09:09:34 +01:00
Christoph Strobl
7e77e38b21 Prepare next development iteration.
See #553
2022-01-14 11:07:59 +01:00
Christoph Strobl
49b62d02eb Release version 2.7 M1 (2021.2.0).
See #553
2022-01-14 10:58:16 +01:00
John Blum
4923bc3609 Upgrade to Apache Geode 1.14.2.
Closes #559.
2022-01-07 18:52:56 -08:00
John Blum
5287517042 Make internal instance state fields final (constant). 2022-01-07 18:43:36 -08:00
John Blum
e776a2240c Polish for #557. 2022-01-07 18:39:25 -08:00
Mark Paluch
971efb46bd Adapt to Mockito API changes.
Closes #557.
2022-01-07 18:15:55 -08:00
John Blum
b65dab174a Upgrade to Apache Geode 1.14.1.
Resolves gh-556.
2021-12-13 14:47:15 -08:00
John Blum
77ba57c553 Configure the cache with 'copy-on-read'. 2021-12-09 10:40:17 -08:00
John Blum
dd6178befb Add Spring Profile bean configuration to switch between SDG MappingPdxSerializer and Apache Geode ReflectionBasedAutoSerializer in test configuration. 2021-12-06 14:31:02 -08:00
John Blum
13d9098d36 Add Integration Test asserting the de/serialization of a complex object model/graph using Apache Geode PDX serialization. 2021-12-06 13:55:40 -08:00
Jens Schauder
a74c2d259f Prepare next development iteration.
See #545
2021-11-12 10:59:41 +01:00
Jens Schauder
03cda3402f Release version 2.6 GA (2021.1.0).
See #545
2021-11-12 10:49:36 +01:00
John Blum
5b861f803e Upgrade to Spring Test for Apache Geode 0.0.28. 2021-10-28 16:55:51 -07:00
John Blum
54d288131b Upgrade to Spring Test for Apache Geode 0.0.27. 2021-10-28 12:04:51 -07:00
John Blum
6c932fe9fa Adpat to (internal) API changes in Apache Geode 1.15 related to WAN Gateway functionality availability.
Do not refer to Apache Geode internal WAN Gateway API classes any longer to determine whether the Apache Geode feature (e.g. WAN Gateway) is available.

Resolves gh-540.
2021-10-21 17:14:09 -07:00
Mark Paluch
9a8bbf06b3 Prepare next development iteration.
See #536
2021-10-18 13:55:38 +02:00
Mark Paluch
f6aa5996ad Release version 2.6 RC1 (2021.1.0).
See #536
2021-10-18 13:48:13 +02:00
Mark Paluch
c67cb95426 Upgrade to spring-data-geode-test 0.0.26.
Closes #544
2021-10-18 12:02:42 +02:00
John Blum
ade2e961be Add baseline build for Java 17 in Maven and Jenkins.
Remove baseline build for Java 16.
2021-09-30 10:18:13 -07:00