Commit Graph

673 Commits

Author SHA1 Message Date
John Blum
cd824c7ced Replace all Java EE javax.* package imports with Jakarta EE 9 package imports.
Replace javax.annotation package import with the jakarta.annotation package.
2021-12-13 18:59:45 -08:00
John Blum
2b430ff5c0 Declare and manage the Jakarta Java EE Annotation API dependency. 2021-12-13 18:58:01 -08:00
John Blum
9b89b4e00d Add Gradle JVM option to open the java.base/java.util.prefs module to all unnamed project modules.
This is required by the local Spring Build Convents Gradle Plugins (PropDeps Gradle Plugin?).
2021-12-13 18:57:08 -08:00
John Blum
f5ba8314ca Exclude buildSrc/build from NoHTTP Gradle Plugin check. 2021-12-13 18:55:41 -08:00
John Blum
2b48f3817c Format source code in the GemFireMockObjectsSupport class. 2021-12-13 18:54:08 -08:00
John Blum
e40cc6548f Fix Javadoc in the DependencyOf annotation. 2021-12-13 18:53:11 -08:00
John Blum
c79103a68f Change 'compile' dependencies to 'implementation' dependencies. 2021-12-07 21:27:05 -08:00
John Blum
cb22383489 Disable custom Maven POM generation. 2021-12-07 21:25:06 -08:00
John Blum
f82943a970 Add CI build shell scripts. 2021-12-07 20:02:46 -08:00
John Blum
81de420e72 Refactor Jenkins CI build file to use the new pipeline syntax and Java 17. 2021-12-07 19:58:43 -08:00
John Blum
15d0c50a39 Upgrade to FreeFair Lombok Gradle Plugin 6.3.0. 2021-12-07 19:50:38 -08:00
John Blum
89f1a6f01c Configure Gradle build to use the local Spring Build Conventions Gradle Plugins. 2021-12-07 19:49:33 -08:00
John Blum
9df779038f Copy Spring Build Conventions project Gradle Plugins into the STDG project. 2021-12-07 19:46:48 -08:00
John Blum
a23cd1cf4b Upgrade to Gradle 7.3.1. 2021-12-07 19:42:28 -08:00
John Blum
2e41d7a0ee Upgrade to Spring Data Turing-SNAPSHOT (3.0.0-SNAPSHOT).
Upgrade to Spring Data BOM 2022.1.0-SNAPSHOT (Turing-SNAPSHOT).

Upgrade to Spring Data Build (parent) 3.0.0-SNAPSHOT.

Upgrade to Spring Data for Apache Geode 3.0.0-SNAPSHOT.

Upgrade to Spring Data for VMware Tanzu (Pivotal) GemFire 3.0.0-SNAPSHOT.
2021-12-07 19:40:45 -08:00
John Blum
286f120a8b Upgrade to Spring Boot 3.0.0-SNAPSHOT. 2021-12-07 19:37:36 -08:00
John Blum
3ef5fcc2a9 Upgrade to Spring Framework 6.0.0-SNAPSHOT. 2021-12-07 19:37:02 -08:00
John Blum
2fa39606f2 Build with Java (JDK) 17. 2021-12-07 19:35:56 -08:00
John Blum
0837560dbb Upgrade to Apache Geode 1.14.0. 2021-12-07 19:27:25 -08:00
John Blum
b965ff3b3c Set version to 1.0.0-SNAPSHOT. 2021-12-07 19:26:35 -08:00
John Blum
0cd52dcdfc Replace Checkstyle Gradle Task configuration with NoHTTP Gradle Plugin and task configuration. 2021-12-07 18:44:19 -08:00
John Blum
62719dc1d8 Upgrade to Spring Data Pascal-SR7.
Upgrade to Spring Data BOM 2021.0.7 (Pascal-SR7).

Upgrade to Spring Data Build 2.5.7.

Upgrade to Spring Data for Apache Geode 2.5.7.

Upgrade to Spring Data for VMware Tanzu (Pivotal) GemFire 2.5.7.
2021-12-07 18:34:48 -08:00
John Blum
7fa1b9e07d Upgrade to Spring Boot 2.5.7. 2021-12-07 18:32:20 -08:00
John Blum
f34eca1ec5 Upgrade to Spring Framework 5.3.13. 2021-12-07 18:31:13 -08:00
John Blum
b934374fe3 Upgrade to VMware Tanzu (Pivotal) GemFire 9.10.11. 2021-12-07 18:29:13 -08:00
John Blum
ba825ba04c Upgrade to Mockito 4.1.0. 2021-12-07 18:28:26 -08:00
John Blum
e146111c95 Prepare next development iteration.
Set version to 0.0.29-SNAPSHOT.
2021-10-28 16:48:53 -07:00
John Blum
55eec4f013 Release 0.0.28. 2021-10-28 16:43:30 -07:00
John Blum
bd087e05fc Add overloaded launch(..) method to ProcessExecutor accepting a Java CLASSPATH, Class type with the main method to run and an array of String arguments passed to the forked Java program. 2021-10-28 16:39:06 -07:00
John Blum
92b26c0d50 Refactor the ProcessExecutor.launch(..) method to register a JRE shutdown hook on the ProcessWrapper representing the forked [Java / JVM] process.
Resolves gh-15.
2021-10-28 15:35:18 -07:00
John Blum
1ef42b374a Return the ProcessWrapper (this) from the ProcessWrapper.registerShutdownHook() method. 2021-10-28 15:32:13 -07:00
John Blum
b5be8da185 Add overloaded startGemFireServer(..) and startGeodeServer(..) methods to the ForkingClientServerIntegrationTestsSupport class to control the working directory and classpath of the forked Java/JVM processes.
Resolves gh-17.
2021-10-28 15:03:12 -07:00
John Blum
900b1aff4d Create a Java FunctionalInterface and extension of the ProcessRunner interface defining a contract, logic and strategy for running (executing) a Java/JVM Process.
Resolves gh-17.
2021-10-28 15:03:12 -07:00
John Blum
14ac8cc780 Create a Java FunctionalInterface defining a contract, logic and strategy for running (executing) an Operating System (OS) Process.
Resolves gh-17.
2021-10-28 15:02:51 -07:00
John Blum
81589fab22 Set the host & port on the ProcessWrapper representing the GemFire/Geode JVM server process forked by the STDG framework.
Return the ProcessWrapper representing the forked GemFire/Geode JVM server process from the startGemFireServer(..) and startGeodeServer(..) methods.

Resolves gh-14.
2021-10-28 14:10:11 -07:00
John Blum
d9bfbd479d Add configurable 'host' and 'port' properties to the ProcessWrapper class.
The 'host' property represents the system (computer in the network) that is running the Process.

The 'port' property represents the host system port on wich the Process is listening for client connections.

Resolves gh-14.
2021-10-28 14:09:11 -07:00
John Blum
69d565886d Prepare next development iteration. 2021-10-28 11:42:54 -07:00
John Blum
a9a321b8d4 Release 0.0.27. 2021-10-28 11:38:02 -07:00
John Blum
7602f7d704 Increase the 'order' precedence of the CloseApplicationContextAfterTestClassTestExecutionListener to occur after all Spring TestContext framework provided TestExecutionListeners. 2021-10-28 11:06:29 -07:00
John Blum
d971817a7e Add logic to the ConfigurableCacheAwareContextLoaderDelegate to guard against inactive ApplicationContexts.
Edit Javadoc.
2021-10-28 11:06:25 -07:00
John Blum
2ae2f84779 Add utility function in SpringUtils to determine the 'active' state of the given ApplicationContext. 2021-10-28 11:06:12 -07:00
John Blum
96e864c319 Refactor CloseApplicationContextAfterTestClassTestExecutionListener to extend AbstractTestExecutionListener and override the getOrder() method. 2021-10-28 10:12:49 -07:00
John Blum
7573c08af2 Add Spring TestExecutionListener to close the ApplicationContext associated with the Spring TestContext for the currently executing test class after test class execution. 2021-10-27 17:17:55 -07:00
John Blum
eb9f44606e Rename GeodeContextCustomizer and GeodeContextCustomizerFactory classes to DependencyOfAnnotationContextCustomizer and DependencyOfAnnotationContextCustomizerFactory, respectively.
Move classes to the org.springframework.data.gemfire.tests.extensions.sppring.test.context package.
2021-10-27 17:17:48 -07:00
John Blum
675456ea8b Refactor the ConfigurableCacheAwareContextLoaderDelegate class to remember and reference the current ApplicationContext in use by the Spring TestContext framework and currently executing test class.
This is necessary in order to properly close the ApplicationContext and release all Spring bean resources after use (e.g. after the test class executes).
2021-10-27 17:17:14 -07:00
John Blum
6fab602cdf Refactor the STDG SpringUtils class to extend the SDG SpringUtils class.
Add and edit Javadoc.
2021-10-27 15:27:33 -07:00
John Blum
050d1167d2 Add abstract utility class for working with Spring Framework objects and components (beans). 2021-10-27 15:24:09 -07:00
John Blum
85e280c3be Fix logic in isSpringTestContextCacheEnabled() method. 2021-10-27 11:01:14 -07:00
John Blum
4016e3c5a1 Add custom implementation of the Spring TestContext framework CacheAwareContextLoaderDelegate interface to enable/disable caching of the Spring TestContext using SpringProperties and Java System properties. 2021-10-26 21:22:12 -07:00
John Blum
67b8b03f33 Edit Javadoc description of the META-INF/spring.factories configuration file. 2021-10-26 21:21:03 -07:00