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
John Blum
9b54e95172
Declare 'org.springframework.geode:spring-geode-starter-test' as a test-compile dependency in the spring-geode-docs module.
2021-02-22 19:52:46 -08:00
John Blum
77f61c345a
State the project goals in documentation.
...
Resolves gh-101.
2021-02-22 19:52:06 -08:00
John Blum
1c5bd3b863
Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.4.3.
2021-02-22 19:51:21 -08:00
John Blum
e5b7ad74b3
Upgrade to Testcontainers 1.15.2.
2021-02-22 19:37:59 -08:00
John Blum
259b74cd2e
Upgrade to Spring Test for Apache Geode 0.0.22.
2021-02-22 19:37:38 -08:00
John Blum
f73fb4b5f7
Upgrade to Spring Session for Apache Geode 2.4.2.
...
Upgrade to Spring Session BOM 2020.0.3.
2021-02-22 19:37:08 -08:00
John Blum
64b9ca76b3
Upgrade to Spring Data Ockham-SR5.
...
Upgrade to Spring Data BOM 2020.0.5 / Ockham-SR5.
Upgrade to Spring Data for Apache Geode 2.4.5.
2021-02-22 19:36:08 -08:00
John Blum
6ca13dbabc
Upgrade to Spring Boot 2.4.3.
2021-02-22 19:34:18 -08:00
John Blum
b64a2cc6c1
Upgrade to Spring Framework 5.3.4.
2021-02-22 19:33:39 -08:00
John Blum
f1aa8c67be
Upgrade to VMware Tanzu (Pivotal) GemFire 9.10.6.
2021-02-22 19:33:09 -08:00
John Blum
9ef07adc51
Upgrade to Mockito 3.8.0.
2021-02-22 19:32:14 -08:00
John Blum
0396666a9b
Upgrade to Byte Buddy 1.10.20.
2021-02-22 19:31:54 -08:00
John Blum
54f22c45f3
Upgrade to Spring Build Conventions Gradle Plugin 0.0.37.
2021-02-22 19:30:33 -08:00