Commit Graph

1656 Commits

Author SHA1 Message Date
John Blum
132003b430 Switch Jenkins CI build (Jenkinsfile) to use the Declarative Pipeline Syntax, build within Docker containers and target Jenkins nodes with the 'geode' label. 2021-04-02 13:40:18 -07:00
John Blum
9ec6d221f2 Cleanup any GemFire/Geode file system resources prior to the 'check' (build). 2021-03-30 17:20:26 -07:00
John Blum
49398ebe89 Change Jenkins CI build timeout to 15 minutes. 2021-03-30 17:02:37 -07:00
John Blum
2ce7175663 Fix compiler warning.
Declare User.name constant (immutable) field as final.
2021-03-30 16:11:54 -07:00
John Blum
3306de1f03 Randomize Locator network ports. 2021-03-30 16:09:47 -07:00
John Blum
c87dca7d74 Add additional SLF4J Logback Loggers for Apache Geode & Spring Geode along with distinguishing the Loggers by name. 2021-03-30 16:09:25 -07:00
John Blum
a907395364 Rename application-vcap.properties to application-vcap-cloud.properties. 2021-03-30 13:38:33 -07:00
John Blum
bdd2c1bc29 Declare 'vcapApplicationProperties' class member field as final.
Declare 'loadVcapApplicationProperties()' and 'unsetTestAutoConfiguredPoolServersPortSystemProperty()' methods as private.
2021-03-30 13:23:36 -07:00
John Blum
942b504a38 Fix compiler warnings.
Declare the TestHttpBasicAuthenticationSecurityConfiguration instance field as final.
2021-03-30 13:04:02 -07:00
John Blum
cbb51289bf 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-03-30 12:08:35 -07:00
John Blum
55b8ca5373 Annotate Spring Geode Sample test classes with Spring Test Framework's @DirtiesContext annotation to avoid test conflicts. 2021-03-30 11:58:39 -07:00
John Blum
61af587a0d Refactor all Unit & Integration Tests starting a Spring container with SpringRunner to extend STDG's IntegrationTestsSupport. 2021-03-30 11:25:08 -07:00
John Blum
59b91376b0 Refactor the dataReadNotAllowed() test case method to use JUnit 4 Exception handling (try-catch with expected Exception) rather than JUnit 5's (Jupiter) assertThrows(..) method. 2021-03-30 00:08:39 -07:00
John Blum
ce971d004c Upgrade to Spring Test for Apache Geode 0.0.25-PASCAL-M5. 2021-03-29 16:17:11 -07:00
John Blum
591483c892 Set SBDG security SSL property to ensure auto-configuration of SSL is enabled and takes effect. 2021-03-25 03:21:10 -07:00
John Blum
be91548bcd 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-03-25 03:20:57 -07:00
John Blum
6df435ce44 Include an Apache Geode client/server Integration Test demonstrating Integration Testing with STDG, bootstrapped and configured with SBDG. 2021-03-25 01:28:24 -07:00
John Blum
ce73d4dbc0 Create the MappingPdxSerializerIncludedTypesRegistrar utility class and Spring BeanPostProcessor used to register additional class types to be 'included' in the accepted types de/serialized as PDX with the SDG MappingPdxSerializer. 2021-03-25 01:26:46 -07:00
John Blum
dd0ced6041 Create Test Suite class to run (execute) a select grouping of tests. 2021-03-25 00:56:41 -07:00
John Blum
dfab4669d8 Fix generic typing on Session.getAttribute(attributeName) call. 2021-03-24 21:40:06 -07:00
John Blum
8f6a38ae81 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-03-24 21:28:24 -07:00
John Blum
430c2097a9 Reinstate (apply) Spring's @DirtiesContext annotation.
Additionally, declare before & after class setup/tear down proceduce to reset the ClusterAwareConfiguration.ClusterAwareCondition.
2021-03-24 16:03:00 -07:00
John Blum
376dee3d98 Edit Javadoc. 2021-03-24 15:54:41 -07:00
John Blum
d8fc2a4678 Use GemFire Mock Objects. 2021-03-24 15:54:35 -07:00
John Blum
dd5e9802a4 Use static import for the AssertJ Assertions class, assertThat(..) method. 2021-03-24 15:51:34 -07:00
John Blum
ec40028a0e Cleanup raw types usage. 2021-03-24 15:51:19 -07:00
John Blum
c77f9b183b 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-03-24 15:51:06 -07:00
John Blum
f1c33b9b22 Add additional assertion on Region name, equal to 'Books'. 2021-03-24 15:50:40 -07:00
John Blum
427694d45f Refactor and polish codebase.
Fix compiler warnings.

Declare Properties class fields containing VCAP_APPLICATION properties as final.
2021-03-24 15:50:15 -07:00
John Blum
21820e689d Remove unnecessary use of Spring's @DirtiesContext annotation.
Fix compiler wwarnings; make immutable instance fields final.

Rearrange Spring test annotation declarations.
2021-03-24 15:48:19 -07:00
John Blum
a0827eebf8 Fix compiler warnings.
Make Function instance fields final.
2021-03-24 15:45:47 -07:00
John Blum
1a4e9c22ac Change assertion on cache instance to assert as a peer cache. 2021-03-24 15:44:10 -07:00
John Blum
33e129b792 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-03-24 15:41:35 -07:00
John Blum
002e60d26a Fix VCAP_APPLICATION name to match the test class name. 2021-03-23 12:37:06 -07:00
John Blum
34f199a360 Set Spring Geode Samples (parent) Maven POM to Spring Boot version 2.5.0-SNAPSHOT. 2021-03-22 22:11:26 -07:00
John Blum
60d8c70733 Upgrade to Spring Test for Apache Geode 0.0.24-PASCAL-M5. 2021-03-22 21:59:45 -07:00
John Blum
6fea20ac60 Upgrade to Gradle 6.8.3. 2021-03-22 21:13:44 -07:00
John Blum
f66d23cc78 Upgrade to Spring Test for Apache Geode 0.0.23. 2021-03-22 21:12:29 -07:00
John Blum
dbcb2a36ad Upgrade to Spring Data Pascal-M5.
Upgrade to Spring Data BOM 2021.0.0-M5 / Pascal-M5.

Upgrade to Spring Data for Apache Geode 2.5.0-M5.
2021-03-22 21:11:41 -07:00
John Blum
f3ad7cf0c2 Upgrade to Spring Framework 5.3.5. 2021-03-22 21:09:15 -07:00
John Blum
b316f34fd6 Edit README to refer to 1.5.0-M2. 2021-02-22 22:00:34 -08:00
John Blum
d97ac3c189 Prepare next development iteration.
Set Spring Boot version to 2.5.0-SNAPSHOT.

Set version to 1.5.0-SNAPSHOT.
2021-02-22 21:48:37 -08:00
John Blum
624b3ff95a Release 1.5.0-M2. 2021-02-22 21:35:52 -08:00
John Blum
b597c26b36 Edit changelog and add 1.5.0-M2 release notes. 2021-02-22 21:31:08 -08:00
John Blum
ebb5d60ce9 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.5.0-M2. 2021-02-22 21:08:48 -08:00
John Blum
5b283c03f2 Upgrade to Testcontainers 1.15.2. 2021-02-22 20:51:18 -08:00
John Blum
eb9c0118f6 Upgrade to Spring Test for Apache Geode 0.0.22. 2021-02-22 20:50:53 -08:00
John Blum
6ad02fff35 Upgrade to Spring Data Pascal-M4.
Upgrade to Spring Data BOM 2021.0.0-M4 / Pascal-M4.

Upgrade to Spring Data for Apache Geode 2.5.0-M4.
2021-02-22 20:49:43 -08:00
John Blum
ca6f224b4b Upgrade to Spring Boot 2.5.0-M2. 2021-02-22 20:48:06 -08:00
John Blum
87333291d7 Upgrade to Spring Framework 5.3.4. 2021-02-22 20:47:42 -08:00