Commit Graph

1641 Commits

Author SHA1 Message Date
John Blum
5f31076dc1 Edit changelog and include 1.3.10.RELEASE notes. 2021-04-28 09:19:31 -07:00
John Blum
ce3fc057f6 Set the Docs host for deployment. 2021-04-27 11:40:27 -07:00
John Blum
a47e388469 Upgrade Spring Geode Samples parent Maven POM to Spring Boot version 1.4.5-SNAPSHOT. 2021-04-09 15:06:30 -07:00
John Blum
3f60ee1656 Upgrade to Gradle 6.8.3. 2021-04-09 15:06:00 -07:00
John Blum
667d465abd Edit README to refer to 1.4.4 & 1.4.5-SNAPSHOT. 2021-04-09 14:54:22 -07:00
John Blum
46475c1fb2 Prepare next development iteration.
Set Spring Boot version to 2.4.5-SNAPSHOT.

Ser version to 1.4.5-SNAPSHOT.
2021-04-09 14:39:06 -07:00
John Blum
0e434da709 Release 1.4.4. 2021-04-09 14:17:06 -07:00
John Blum
68055e58a8 Edit changelog and add release notes for version 1.4.4. 2021-04-09 14:02:01 -07:00
John Blum
8e7488306d Set user, group and other file permissions on the ci Bash shell scripts. 2021-04-09 13:27:09 -07:00
John Blum
d1d33502ba Declare the agent directive (set to 'any') in the Jenkins CI build Declarative Pipeline. 2021-04-09 13:23:21 -07:00
John Blum
5cb72858a3 Upgrade Spring Geode Sample (parent) Maven POM to Spring Boot version 2.4.4. 2021-04-09 13:16:24 -07:00
John Blum
5f4c758b59 Switch to the new Jenkins Declarative Pipeline syntax.
Use Docker containers to run the stages & steps of the Jenkins CI build.

Use Bash shell scripts to encapsulae the Gradle commands.
2021-04-09 12:58:58 -07:00
John Blum
694752f910 Configure the NoHTTP Checkstyle Gradle Plugin to ignore the .gradle/ and .m2/ directories if under the project (build) working directory. 2021-04-09 12:47:18 -07:00
John Blum
1b327deba8 Randomize Locator network ports. 2021-04-09 12:46:06 -07:00
John Blum
409a603502 Add additional SLF4J Logback Loggers for Apache Geode & Spring Geode along with distinguishing the Loggers by name. 2021-04-09 12:45:22 -07:00
John Blum
49decc47bc Rename application-vcap.properties to application-vcap-cloud.properties. 2021-04-09 12:44:48 -07:00
John Blum
457ecdf89d Declare 'vcapApplicationProperties' class member field as final.
Declare 'loadVcapApplicationProperties()' and 'unsetTestAutoConfiguredPoolServersPortSystemProperty()' methods as private.
2021-04-09 12:44:20 -07:00
John Blum
d865b2ee22 Move Spring Geode Security Sample test class to the example.app.security.tests package.
Declare both SBDG security auth and SSL environment post-proccessor enabled properties.
2021-04-09 12:43:08 -07:00
John Blum
d07143467e Annotate Spring Geode Sample test classes with Spring Test Framework's @DirtiesContext annotation to avoid test conflicts. 2021-04-09 12:42:23 -07:00
John Blum
0728ee1e21 Refactor all Unit & Integration Tests starting a Spring container with SpringRunner to extend STDG's IntegrationTestsSupport. 2021-04-09 12:41:36 -07:00
John Blum
9cdb4ca7f3 Set SBDG security SSL property to ensure auto-configuration of SSL is enabled and takes effect. 2021-04-09 12:40:32 -07:00
John Blum
e17bb3986f Create application-no-ssl.properties to ensure Apache Geode is configured to not use SSL network communications betwen client & server.
Activate the 'no-ssl' profile in the SpringBootApachGeodeIntegrationTest class example.
2021-04-09 12:39:50 -07:00
John Blum
1922928dee Fix generic typing on Session.getAttribute(attributeName) call. 2021-04-09 12:36:34 -07:00
John Blum
2cc0b62651 Reset the ClusterAwareConfiguration.ClusterAwareCondition before & after test class (suite) execution.
Refactor the test case method names in the ClusterConfigurationWhenNonSecureClusterAvailableIntegrationTests class to be apparent that HTTPS is *not* required.
2021-04-09 12:36:02 -07:00
John Blum
f82cf51931 Reinstate (apply) Spring's @DirtiesContext annotation.
Additionally, declare before & after class setup/tear down proceduce to reset the ClusterAwareConfiguration.ClusterAwareCondition.
2021-04-09 12:35:12 -07:00
John Blum
579bd368de Edit Javadoc. 2021-04-09 12:34:07 -07:00
John Blum
e22d65f71e Use GemFire Mock Objects. 2021-04-09 12:33:34 -07:00
John Blum
af2dedb095 Use static import for the AssertJ Assertions class, assertThat(..) method. 2021-04-09 12:33:04 -07:00
John Blum
a876bccd10 Cleanup raw types usage. 2021-04-09 12:32:42 -07:00
John Blum
928c6becc6 Annotate Spring Geode Security Sample test class with Spring's @DirtiesContext annotation.
This test uses GemFire/Geode SSL configuration and therefore needs to mark the ApplicationContext as dirty.
2021-04-09 12:32:10 -07:00
John Blum
d9dc2815a7 Add additional assertion on Region name, equal to 'Books'. 2021-04-09 12:31:31 -07:00
John Blum
5b86f4f098 Refactor and polish codebase.
Fix compiler warnings.

Declare Properties class fields containing VCAP_APPLICATION properties as final.
2021-04-09 12:30:42 -07:00
John Blum
46ab547c92 Fix compiler warnings.
Make Function instance fields final.
2021-04-09 12:26:21 -07:00
John Blum
cf284ffcda Change assertion on cache instance to assert as a peer cache. 2021-04-09 12:25:46 -07:00
John Blum
d869ec117a Fix try-catch block to appropriately handle the intentional AssertJ AsesrtionFailedError and unintentional Java AssertionError.
Fixes test failures caused by erroneous AssertionError and AssertionFailedError handling.

Apply Spring's @NonNull annotation to the test methods.

Add assertion for the threadLocalConnections property on customized Pool objects.

Format source code.

Rename the usingClientCacheDefaultPoolPropertiesModifiesDefaultPool() test case method to usingClientCacheDefaultPoolPropertiesConfigurationModifiesDefaultPool().
2021-04-09 12:25:18 -07:00
John Blum
52cdf4848c Fix VCAP_APPLICATION name to match the test class name. 2021-04-09 12:24:22 -07:00
John Blum
bf45b08169 Upgrade to Spring Test for Apache Geode 0.0.24. 2021-04-09 12:21:42 -07:00
John Blum
b11db8349b Upgrade to Spring Data Ockham-SR6.
Upgrade to Spring Data BOM 2020.0.6.

Ugprade to Spring Data for Apache Geode 2.4.6.
2021-04-09 12:21:15 -07:00
John Blum
80e74c4c82 Upgrade to Spring Cloud Bindings 1.7.1. 2021-04-09 12:20:24 -07:00
John Blum
755c90126e Upgrade to Spring Boot 2.4.4. 2021-04-09 12:19:20 -07:00
John Blum
fcc1500306 Upgrade to Spring Framework 5.3.5. 2021-04-09 12:18:58 -07:00
John Blum
74a7ffc857 Upgrade to Mockito 3.9.0. 2021-04-09 12:17:34 -07:00
John Blum
fee408083c Upgrade to Apache Geode 1.13.2. 2021-04-09 12:16:24 -07:00
John Blum
215cf6b662 Edit README to refer to 1.4.3 and 1.4.4-SNAPSHOT. 2021-02-22 20:39:25 -08:00
John Blum
3f59a54e03 Prepare next development iteration.
Set Spring Boot version to 2.4.4-SNAPSHOT.

Set version to 1.4.4-SNAPSHOT.
2021-02-22 20:20:35 -08:00
John Blum
95c389723c Release 1.4.3. 2021-02-22 20:06:28 -08:00
John Blum
1c2a09dac9 Edit changelog and add 1.4.3 release notes. 2021-02-22 20:03:21 -08:00
John Blum
7304c0767b Add reference documentation chapter on 'Testing'.
Resolves gh-102.
2021-02-22 19:53:29 -08:00
John Blum
1f60082679 Add an example of Integration Testing with Apache Geode using Spring Boot Test and STDG frameworks in a Spring context for the 'Testing' chapter. 2021-02-22 19:53:02 -08:00
John Blum
dc09859a73 Add an example of Unit Testing with Apache Geode using Spring Boot Test and STDG frameworks in a Spring context for the 'Testing' chapter. 2021-02-22 19:52:56 -08:00