Commit Graph

394 Commits

Author SHA1 Message Date
John Blum
bd0c0aebb9 Upgrade to FreeFair Gradle Lombok Plugin 8.4. 2023-10-31 16:28:56 -07:00
John Blum
8a762f865c Fix unchecked cast in GemFireMockObjectsSupport. 2023-06-09 12:26:56 -07:00
John Blum
cc18aa1949 Refactor IntegrationTestsSupportUnitTests.asDirectoryNameIsCorrect() test case method to be more resilient to temporal-based test failures.
Previously, the test case method could fail based on a race condition involving a timestamp in the (test) working directory name.
2022-10-17 12:43:11 -07:00
John Blum
10a84f1ef8 Edit Javadoc in IntegrationTestsSupport.
Replace use of Java's @NotNull annotation with Spring's @NonNull annotation.
2022-10-17 12:21:20 -07:00
John Blum
819dc70acb Refactor ProcessWrapper to conditionally, based on System property, to forcibly destroy a forked JVM (child) process on shutdown. 2022-10-17 12:15:06 -07:00
John Blum
c9cb51b52f Refactor IntegrationTestsSupport.asDirectoryName(:Class) logic into descriptive methods.
Adds the asTimestampedDirectoryName(:Class) and asUniqueDirectoryName(:Class) methods to uniquely and temporally identify a forked JVM (child) process (test) working directory.
2022-10-17 12:05:49 -07:00
John Blum
0905fd091d Refactor the conditonal logic used to decide whether to remove the (test) working directory of a forked Process in ForkingClientServerIntegrationTests.
Edit Javadoc.
2022-10-17 10:22:32 -07:00
John Blum
2622b84bb3 Refactor the ProcessWrapper.shutdown() method.
* Removes the use of the now deprecated signalStop() method.
* Changes safeGetPid() to handle all Throwable objects.
* Changes shutdown() to call stop() and then forcibly destroy the child Process if the child Process is still running.
* Annotates the API with Spring's @NonNull and @Nullable annotations.
* Edits Javadoc.
2022-10-17 10:22:27 -07:00
John Blum
9388d9d829 Refactor ProcessWrapper.safeGetPid() to ignore all Throwable objects. 2022-10-17 10:22:19 -07:00
John Blum
d52c7e1428 Fix OS/JVM platform issues with IntegrationTestsSupportUnitTests. 2022-10-13 16:58:21 -07:00
John Blum
d836205d5e Replace Java @NotNull annotation with the Spring @NonNull annotation. 2022-10-13 16:57:46 -07:00
John Blum
218aec18ea Conditionally (and recursively) remove the test directory of the forked GemFire/Geode server process. 2022-10-13 16:15:20 -07:00
John Blum
1617173c44 Refactor asDirectoryName(:Class<?>) to qualify type based on declaring types and include a UUID in the pathname. 2022-10-13 15:50:14 -07:00
John Blum
b3675d9d00 Add utility method supporting the (recursive) removal of a (test) directory in IntegrationTestsSupport. 2022-10-13 15:16:25 -07:00
John Blum
c829d1c2a7 Declare 'org.jgroups' Logger configuration in JUL, Log4j and Logback properties/XML configuration files. 2022-10-13 15:11:55 -07:00
John Blum
30ddd504eb Format src/test/resources/logback.xml configuration file. 2022-10-13 15:09:47 -07:00
John Blum
4690ca76e1 Edit Javadoc in the GemFireMockObjectsBeanPostProcessor class. 2022-10-13 15:08:08 -07:00
John Blum
3d259e477f Refactor the GemFireMockObjectsConfiguration class. 2022-10-13 15:07:44 -07:00
John Blum
db9309be73 Annotate the initialize(:ConfigurableApplicationContext) method parameter with Spring's @NonNull annotation. 2022-10-13 15:04:14 -07:00
John Blum
34c0d6957b Prepare next development iteration.
Set Spring Data for Apache Geode version to 3.0.0-SNAPSHOT.

Set version to 1.0.0-SNAPSHOT.
2022-09-23 13:19:15 -07:00
John Blum
3b6b34729e Release 1.0.0-M7. 2022-09-23 13:13:36 -07:00
John Blum
6ecc26f33a Prepare next development iteration.
Set version to 1.0.0-SNAPSHOT.
2022-07-19 14:20:46 -07:00
John Blum
cb9a5357cf Release 1.0.0-M6. 2022-07-19 13:57:19 -07:00
John Blum
1ac540be05 Upgrade to Freefair Lombok Gradle Plugin 6.5.0.3. 2022-07-19 13:49:13 -07:00
John Blum
b1918760b2 Include reference to the Apache Geode commit that changed the API and broke STDG! 2022-07-15 03:19:15 -07:00
John Blum
f03aa7aad9 Prepare next development iteration.
Set version to 1.0.0-SNAPSHOT.
2022-07-15 02:43:11 -07:00
John Blum
a80da40481 Release 1.0.0-M5. 2022-07-15 02:38:22 -07:00
John Blum
2765380924 Disable Apache Geode SslConfigurationIntegrationTests. 2022-07-15 02:33:10 -07:00
John Blum
315c300933 Replace use of Apache Shiro StringUtils with Spring Framework StringUtils. 2022-06-09 12:40:22 -07:00
John Blum
28080cc80f Refactor JVM/JRE runtime options required by Apache Geode to run on Java 17. 2022-06-09 12:13:49 -07:00
John Blum
7a8f2c9ed8 Prepare next development iteration.
Set version to 1.0.0-SNAPSHOT.
2022-05-17 13:57:27 -07:00
John Blum
2238369761 Release 1.0.0-M4. 2022-05-17 13:53:55 -07:00
John Blum
c0cd73dc1e Adapt to API changes in Spring Data for Apache Geode (SDG) 3.0. 2022-05-16 14:30:55 -07:00
John Blum
8a1af3ee4f Prepare next development iteration.
Set version to 1.0.0-SNAPSHOT.
2022-03-22 18:06:54 -07:00
John Blum
ce2c2eefd7 Release 1.0.0-M3. 2022-03-22 18:02:13 -07:00
John Blum
5b85079d20 Add Gradle dependency management for Spring Boot (Starter). 2022-03-17 17:22:26 -07:00
John Blum
fd34b168e6 Remove the unnecessary maven-pom-editor.gradle script plugin. 2022-03-17 17:14:02 -07:00
John Blum
28e9d880b2 Update Copyright to 2022. 2022-03-17 17:13:46 -07:00
John Blum
f2a0393bd7 Prepare next development iteration.
Set version to 1.0.0-SNAPSHOT.
2022-01-31 13:29:06 -08:00
John Blum
e6aac4c7dd Release 1.0.0-M2. 2022-01-31 13:24:10 -08:00
John Blum
58115c2168 Add static destroy() method to destroy the Singleton TestProperties instance. 2022-01-31 12:09:37 -08:00
John Blum
a62f12d909 Refactore IntegrationTestsSupport to configure (load) and clear TestProperties before and after test execution. 2022-01-31 10:32:51 -08:00
John Blum
3d1948a041 Create the o.s.d.gemfire.tests.config.TestProperties class.
TestProperties allows a test class to load and use properties (e.g. from a test.properties classpath resource) specific to the test during test execution.
2022-01-31 10:22:58 -08:00
John Blum
f5af5ba434 Create a o.s.d.gemfire.tests.config.TestConfigurationException, RuntimeException class.
The TestConfigurationException indicates a problem with the test configuration.
2022-01-30 22:49:10 -08:00
John Blum
4b77c5621c Create a o.s.d.gemfire.tests.TestException, RuntimeException class.
The TestException indicates a problem during testing.
2022-01-30 22:48:26 -08:00
John Blum
ffb72dcd11 Prepare next development iteration.
Set Spring Boot version to 3.0.0-SNAPSHOT.

Set version to 1.0.0-SNAPSHOT.
2022-01-14 19:17:55 -08:00
John Blum
bce115c412 Release 1.0.0-M1. 2022-01-14 19:10:58 -08:00
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
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