Commit Graph

379 Commits

Author SHA1 Message Date
John Blum
367ffee851 Switch compile dependency task to implementation. 2023-06-24 09:54:45 -07:00
John Blum
1fb65ebdca Upgrade to FreeFair Lombok Gradle Plugin 8.0.1. 2023-06-24 09:53:27 -07:00
John Blum
d8707340d2 Prepare next development iteration.
Set version to 0.3.5-RAJ-SNAPSHOT.
2022-10-17 12:59:30 -07:00
John Blum
a7177cecd7 Release 0.3.4-RAJ. 2022-10-17 12:55:00 -07:00
John Blum
171e71a7b8 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:50:35 -07:00
John Blum
1522d565e1 Edit Javadoc in IntegrationTestsSupport.
Replace use of Java's @NotNull annotation with Spring's @NonNull annotation.
2022-10-17 12:50:22 -07:00
John Blum
033d7ae7c1 Refactor ProcessWrapper to conditionally, based on System property, to forcibly destroy a forked JVM (child) process on shutdown. 2022-10-17 12:26:12 -07:00
John Blum
8afbb0c80b 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:25:52 -07:00
John Blum
63f4849575 Prepare next development iteration.
Set version 0.3.4-RAJ-SNAPSHOT.
2022-10-17 10:16:33 -07:00
John Blum
d8e6baa203 Release 0.3.3-RAJ. 2022-10-17 10:11:27 -07:00
John Blum
4956998dbe 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:04:44 -07:00
John Blum
b81c00acec 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:02:34 -07:00
John Blum
b6d043ae14 Refactor ProcessWrapper.safeGetPid() to ignore all Throwable objects. 2022-10-17 09:18:43 -07:00
John Blum
7b544ccbde Prepare next development iteration.
Set version to 0.3.3-RAJ-SNAPSHOT.
2022-10-17 08:20:04 -07:00
John Blum
eb26ec3f95 Release 0.3.2-RAJ. 2022-10-13 17:21:28 -07:00
John Blum
b8bf39f976 Revert Java 17 syntax to Java 8 in GemFireMockObjectsConfiguration. 2022-10-13 17:17:39 -07:00
John Blum
8efe6d4de2 Conditionally (and recursively) remove the test directory of the forked GemFire/Geode server process. 2022-10-13 17:10:09 -07:00
John Blum
30428f75d0 Refactor asDirectoryName(:Class<?>) to qualify type based on declaring types and include a UUID in the pathname. 2022-10-13 17:09:08 -07:00
John Blum
6b5e7d56e0 Add utility method supporting the (recursive) removal of a (test) directory in IntegrationTestsSupport. 2022-10-13 17:08:10 -07:00
John Blum
82c9407ce2 Declare 'org.jgroups' Logger configuration in JUL, Log4j and Logback properties/XML configuration files. 2022-10-13 17:08:03 -07:00
John Blum
403b853ae2 Format src/test/resources/logback.xml configuration file. 2022-10-13 17:07:58 -07:00
John Blum
3b2cf48faa Edit Javadoc in the GemFireMockObjectsBeanPostProcessor class. 2022-10-13 17:07:52 -07:00
John Blum
98a1e17548 Refactor the GemFireMockObjectsConfiguration class. 2022-10-13 17:07:47 -07:00
John Blum
6f94321dbb Annotate the initialize(:ConfigurableApplicationContext) method parameter with Spring's @NonNull annotation. 2022-10-13 17:07:39 -07:00
John Blum
f8c96578e6 Prepare next development iteration.
Set Spring Data for Apache Geode (SDG) version to 2.7.4-SNAPSHOT.

Set version to 0.3.2-RAJ-SNAPSHOT.
2022-09-23 12:46:13 -07:00
John Blum
b599e0f95a Release 0.3.1-RAJ. 2022-09-23 12:42:09 -07:00
John Blum
f06aa90585 Adapt to API changes in Spring Data for Apache Geode (SDG). 2022-09-23 12:38:51 -07:00
John Blum
266f3366b1 Prepare next development iteration.
Set version to 0.3.1-RAJ-SNAPSHOT.
2022-05-17 13:40:49 -07:00
John Blum
7f2296b34b Release 0.3.0-RAJ. 2022-05-17 13:35:12 -07:00
John Blum
71cf4bb1f6 Prepare next development iteration.
Set version to 0.3.0-RAJ-SNAPSHOT.
2022-04-19 11:18:58 -07:00
John Blum
77c47330ab Release 0.3.0-RAJ-RC1. 2022-04-19 11:04:18 -07:00
John Blum
0cf818dbf3 Prepare next development iteration.
Set version to 0.3.0-RAJ-SNAPSHOT.
2022-03-22 17:31:42 -07:00
John Blum
94cb47748a Release 0.3.0-RAJ-M3. 2022-03-22 17:27:17 -07:00
John Blum
79df9dc2e6 Update Copyright to 2022. 2022-03-22 17:20:03 -07:00
John Blum
83295c4d25 Prepare next development iteration.
Set Spring Boot version to 2.7.0-SNAPSHOT.

Set version to 0.3.0-RAJ-SNAPSHOT.
2022-01-18 11:43:59 -08:00
John Blum
fcce6d137a Release 0.3.0-RAJ-M2. 2022-01-18 11:38:08 -08:00
John Blum
7bac47f1eb Prepare next development iteration.
Set Spring Boot version to 2.7.0-SNAPSHOT.

Set version to 0.3.0-RAJ-SNAPSHOT.
2022-01-14 11:48:51 -08:00
John Blum
48df778949 Release 0.3.0-RAJ-M1. 2022-01-14 11:42:42 -08:00
John Blum
aa27581ca2 Set version to 0.3.0-RAJ-SNAPSHOT. 2021-12-07 19:10:46 -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