Commit Graph

1952 Commits

Author SHA1 Message Date
John Blum
92fb33b987 Upgrade to VMware Tanzu GemFire for VMs (Pivotal Cloud Cache) 1.14.3. 2022-02-10 16:37:58 -08:00
John Blum
7de06be6bd Upgrade to Apache Geode 1.14.3. 2022-02-10 16:37:58 -08:00
John Blum
c6f6b568d7 Upgrade to Gradle 7.4. 2022-02-10 16:37:58 -08:00
John Blum
babf7163f2 Update Copyright.
Set year from 2017 to present.
2022-02-10 16:37:58 -08:00
John Blum
448e34acf6 Review and refactor the AbstractSpringConfiguredLogLevelPropertiesIntegrationTests class in the spring-geode-smoke-tests-logging module. 2022-02-10 16:37:57 -08:00
John Blum
eb51bc082c Add SpringBootExtensions class to customize and affect configuration and components created by Spring Boot. 2022-02-10 16:37:57 -08:00
John Blum
2d748475c4 Replace use of java.util.Optional with tenary operator in DelegatingAppender.getAppender() method. 2022-02-10 16:37:57 -08:00
John Blum
39a751b637 Add additional logic around Logback logging provider (system) cleanup. 2022-02-10 16:37:57 -08:00
John Blum
9b6d9f711b Refactor the SpringBootApacheGeodeLocatorApplicationSmokeTests class.
Add test.properties to the application classpath to disable the use of direct (main memory) ByteBuffers in Java NIO.

Use of direct ByteBuffers results in the following Exception:

Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make public java.lang.Object java.nio.DirectByteBuffer.attachment() accessible: module java.base does not "opens java.nio" to unnamed module @2e0fa5d3
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
	at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
	at org.apache.geode.internal.net.BufferPool.getPoolableBuffer(BufferPool.java:343)
	... 69 more
2022-02-10 16:37:57 -08:00
John Blum
d21f994fbd Refactor the PetClinicApplicationSmokeTests class.
Cleanup compiler warnings.

Declare pet references as final.

Edit descriptions for assertion errors.
2022-02-10 16:37:57 -08:00
John Blum
5f9e9e75a6 Switch Java Library declared dependencies that should be exposed in the Java Library (Spring module) API to 'api' scope. 2022-02-10 16:37:57 -08:00
John Blum
43f0565795 Handle duplication during Spring Geode (Asciidoc) documentation generation. 2022-02-10 16:37:57 -08:00
John Blum
1b86a029c9 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 3.0.0-M1 and SBDG 2.0.0-SNAPSHOT. 2022-02-10 16:37:57 -08:00
John Blum
358fd03438 Downgrade to Eclipse Jetty 9.4.39.v20210325.
Add dependency management for Eclipse Jetty using the Jetty Maven BOM.

Eclipse Jetty 9.4.x is the required version for Apache Geode 1.14.x.
2022-02-10 16:37:57 -08:00
John Blum
821144bfcd Annotate tests with Spring Test's @DirtiesContext. 2022-02-10 16:37:57 -08:00
John Blum
09b12ec723 Add additional, commented out Apache Geode configuration (in GemFire Properties).
Edit Javadoc.
2022-02-10 16:37:57 -08:00
John Blum
d118cc2eb8 Remove use of deprecated Apache Geode Pool API.
Remove the configuration of Pool.threadLocalConnections and replace with Pool.subcriptionEnabled configuration.
2022-02-10 16:37:57 -08:00
John Blum
74b58d507b Optimize imports. 2022-02-10 16:37:57 -08:00
John Blum
a1ecc430ee Fix Javadoc to comply with Java 17 Javadoc syntax restrictions. 2022-02-10 16:37:57 -08:00
John Blum
14a3b73add Add test.properties to spring-geode-autoconfigure module to configure Apache Geode behavior (JTA) at (prior to) test runtime / execution. 2022-02-10 16:37:57 -08:00
John Blum
1676b3c06b Upgrade to Spring Test for Apache Geode 1.0.0-M2. 2022-02-10 16:37:57 -08:00
John Blum
4c399330b5 Remove the 'geode.home' System property configuration in Integration Tests.
The 'geode.home' System property configuration was used to resolve the Apache Geode Management (Admin) REST API interface WAR file, which is not resolved the application / test runtime classpath.
2022-02-10 16:37:57 -08:00
John Blum
75b37bbf59 Remove supplied Apache Geode geode-web-1.11.0.war file from spring-geode-autoconfigure module.
The Apache Geode WAR file containing the Web application for the Management (Admin) REST API interface is resolvable from the application / test runtime classpath when the org.apache.geode:geode-web module is on the classpath.

Therefore, the project supplied Apache Geode WAR file is no longer necessary.
2022-02-10 16:37:57 -08:00
John Blum
af928e5f4a Fix failing test in ByteArrayResourceReaderUnitTests.
Due to either the Java 17 upgrade or Mockito 4.2.0 upgrade, it seems it is no longer possible to Spy on the java.io.ByteArrayInputStream class.
2022-02-10 16:37:57 -08:00
John Blum
55ffae046c Replace testRuntime configuration with testRuntimeOnly. 2022-02-10 16:37:57 -08:00
John Blum
dcabde9f13 Add [test] implementation dependency on 'jakarta.persistence:jakarta.persistence-api'.
Correct test source import and use Jakarta EE types (e.g. @jakarta.persistence.Id) rather than Java EE types.
2022-02-10 16:37:49 -08:00
John Blum
17f7e644b7 Edit and fix Javadoc to comply with Java 17, Javadoc syntax. 2022-01-27 18:46:54 -08:00
John Blum
a069263ca5 Replace Java EE 8 with Jakarta EE 9 bits.
Replace all javax package namespace imports with jakarta packages.

Declare the jakarta.annotations:jakarta.annotations-api dependency in the spring-geode-autoconfigure module.
2022-01-27 17:36:33 -08:00
John Blum
ed1aa69a39 Upgrade to Spring Test for Apache Geode 1.0.0-M1. 2022-01-27 17:32:50 -08:00
John Blum
3e4cdde1e5 Upgrade to Spring Session for Apache Geode 3.0.0-M1. 2022-01-27 17:31:23 -08:00
John Blum
3c196a8d34 Upgrade to Spring Session BOM 2022.0.0-M1. 2022-01-27 17:30:25 -08:00
John Blum
bbdfc9874d Upgrade to Spring Data for Apache Geode 3.0.0-M1. 2022-01-27 17:27:32 -08:00
John Blum
792763cd01 Upgrade to Spring Data BOM 2022.0.0-M1 (Turing-M1). 2022-01-27 17:27:07 -08:00
John Blum
10e5f7760e Upgrade to Spring Boot 3.0.0-M1. 2022-01-27 17:20:14 -08:00
John Blum
58301d2dc5 Upgrade to Spring Framework 6.0.0-M2. 2022-01-27 17:18:16 -08:00
John Blum
62d88ff34e Upgrade to FreeFair Lombok Gradle Plugin 6.3.0. 2022-01-27 17:11:15 -08:00
John Blum
678a5646a7 Upgrade to Java 17. 2022-01-27 17:07:56 -08:00
John Blum
a43e54e782 Move project extension properties to an ext { } block in buildscript. 2022-01-27 17:04:58 -08:00
John Blum
4a5986b31f Include Gradle Plugin to generate Maven BOM.
Refactor the spring-geode-bom module.
2022-01-27 17:03:54 -08:00
John Blum
6652fdb793 Add configureDeployArtifactsTask(:Project) and skipProjectWithSonarQubePlugin(:Project) methods to io.spring.gradle.convention.Utils Groovy class. 2022-01-27 17:02:17 -08:00
John Blum
c986789e87 Remove application of maven-pom-editor Gradle build script from SBDG Gradle Spring modules. 2022-01-27 16:58:04 -08:00
John Blum
bcf2a138e4 Review, refactor and polish (local) Spring Build Conventions Gradle Plugins.
Remove the gradle/maven-pom-editor.gradle build script as this logic (concern) is handled by the MavenPlushingConventionsPlugin.

Clean up associated Gradle project build scripts affected by the Gradle Plugin changes.
2022-01-27 16:57:52 -08:00
John Blum
7ecf5551f0 Remove use of external Spring Build Conventions Gradle Plugins. 2022-01-27 16:56:26 -08:00
John Blum
8a7591237b Import Spring Build Conventions Gradle Plugins. 2022-01-27 16:56:19 -08:00
John Blum
3640e1c2a8 Adapt all SBDG module Gradle build files to Gradle 7.3. 2022-01-27 16:55:53 -08:00
John Blum
a1d2c4b35e Upgrade to Gradle 7.3.3. 2022-01-24 09:52:46 -08:00
John Blum
29c0b67ede Set version to 2.0.0-SNAPSHOT. 2022-01-24 09:52:46 -08:00
John Blum
38974844e5 Edit README to refer to 1.7.0-M1 and 1.7.0-SNAPSHOT.
Refer to Spring Boot 2.7.0-M1.
2022-01-21 12:29:11 -08:00
John Blum
4889f46143 Prepare next development iteration.
Set Spring Boot version to 2.7.0-SNAPSHOT.

Set version to 1.7.0-SNAPSHOT.
2022-01-21 12:13:55 -08:00
John Blum
799e80578e Release 1.7.0-M1. 2022-01-21 11:50:49 -08:00