Commit Graph

206 Commits

Author SHA1 Message Date
John Blum
e2b4d9deea Adapt to API and implementation changes in Apache Geode 1.9 (Pivotal GemFire 9.8) to extract the configured and provided gemfire.properties to (and using) the (Client)CacheFactory API from a Spring context (e.g. SDG). 2019-05-08 14:24:01 -07:00
John Blum
3ac182c765 Add test objects used in tests.
For example, the o.s.d.g.tests.objects.geode.security.TestSecurityManager is a test implementation of the o.a.g.security.SecurityManager interface.
2019-05-08 14:22:07 -07:00
John Blum
4a0e4b5ca4 Remove unnecessary 'throws Exception' declaration. 2019-05-08 14:20:43 -07:00
John Blum
a748cd9429 Add assertion asserting that the GemFireCache instance is not a GemFireCacheImpl (i.e. it is a mock). 2019-05-08 14:19:52 -07:00
John Blum
0517804fca Add (commented) 'springDataReleaseTrainVersion' property for 'Moore-BULID-SNAPSHOT'. 2019-05-08 14:18:47 -07:00
John Blum
cfa6cd6332 Add Gradle extension (ext) definitions to override the Spring Framework and Spring Data versions. 2019-05-08 14:17:51 -07:00
John Blum
5355f2bd8a Add concrete Unit and Integration Test class examples. 2019-05-07 17:59:33 -07:00
John Blum
48ccc00426 Edit README.adoc.
Include section in README on using STDG for Unit and Integration Testing of Apache Geode & Pivotal GemFire (PCC) applications in a Spring context.
2019-05-07 17:42:17 -07:00
John Blum
e5089813ff Format source code.
Edit Javadoc.
2019-05-07 15:40:51 -07:00
John Blum
7907d2a667 Prepare next development iteration. 2019-05-06 15:12:07 -07:00
John Blum
87b6d5ad45 Release 0.0.1.RELEASE. 2019-05-06 15:00:49 -07:00
John Blum
838b45163a Align Maven POM file with Gradle build file. 2019-05-06 14:58:36 -07:00
John Blum
000cb70152 Upgrade to Spring Data Parent POM 2.1.6.RELEASE. 2019-05-05 17:42:46 -07:00
John Blum
83824c8f2a Upgrade to Gradle 5.4.1. 2019-05-05 17:39:50 -07:00
John Blum
04c4f0b4ee Update dependency versions.
Upgrade to AssertJ 3.12.2.

Upgrade to Lombok 1.18.6.

Upgrade to Mockito 2.27.0.

Upgrade to Pivotal GemFire 9.5.3.

Upgrade to Spring Framework 5.1.6.RELEASE.

Upgrade to Spring Boot 2.1.4.RELEASE.

Upgrade to Spring Data for Apache Geode 2.1.6.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.6.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR6.
2019-04-11 14:57:59 -07:00
John Blum
ca42211aef Upgrade to Spring Build Conventions Gradle Plugin 0.0.25.RELEASE. 2019-04-04 17:13:14 -07:00
Spring Operator
e4fb67fd99 URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 51 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Resolves gh-5.
2019-04-04 17:00:56 -07:00
Spring Operator
8b7055ef1b URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://geode.apache.org/ with 1 occurrences migrated to:
  https://geode.apache.org/ ([https](https://geode.apache.org/) result 200).
* [ ] http://geode.apache.org/docs/guide/16/reference/topics/gemfire_properties.html with 1 occurrences migrated to:
  https://geode.apache.org/docs/guide/16/reference/topics/gemfire_properties.html ([https](https://geode.apache.org/docs/guide/16/reference/topics/gemfire_properties.html) result 200).
* [ ] http://projects.spring.io/spring-data-gemfire/ with 1 occurrences migrated to:
  https://projects.spring.io/spring-data-gemfire/ ([https](https://projects.spring.io/spring-data-gemfire/) result 200).

Resolves gh-4.
2019-04-04 17:00:56 -07:00
Spring Operator
e656a51529 URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 3 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).

These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 6 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 3 occurrences

Resolves gh-3.
2019-04-04 17:00:56 -07:00
Spring Operator
190c3f7f84 Switch HTTP URLs to HTTPS.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

These URLs were fixed successfully.

* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://www.pivotal.io migrated to:
  https://www.pivotal.io ([https](https://www.pivotal.io) result 301).
* http://www.spring.io migrated to:
  https://www.spring.io ([https](https://www.spring.io) result 301).

These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance

Resolves gh-1.
2019-04-04 17:00:56 -07:00
John Blum
6ec3bd3e9b Upgrade to Spring Build Conventions Gradle Plugin 0.0.22.RELEASE. 2018-12-19 17:49:59 -08:00
John Blum
fd11e4edba Prepare next development iteration. 2018-12-19 17:45:45 -08:00
John Blum
1e1a87d726 Release 1.0.0.RC1. 2018-12-19 17:35:42 -08:00
John Blum
a526c37538 Upgrade to Spring Boot 2.1.1.RELEASE. 2018-12-19 17:21:38 -08:00
John Blum
8abb4a9c4a Optimize imports. 2018-12-19 16:49:38 -08:00
John Blum
55be4aaf7b Add 'javax.net.ssl.*' System properties to the Predicate of identified System properties to clear before test execution. 2018-12-19 16:42:33 -08:00
John Blum
a59c77a602 Format source code. 2018-12-03 17:41:09 -08:00
John Blum
72043ec7e5 Rename the spring.data.gemfire.debugging.enabled property to spring.data.gemfire.test.debugging.enabled.
Rename the spring.data.gemfire.process.run-manual property to spring.data.gemfire.test.process.run-manual.
2018-12-03 17:40:40 -08:00
John Blum
e39631dc16 Add @AfterClass, static method to clear all GemfireBeanFactoryLocator references. 2018-12-03 17:38:38 -08:00
John Blum
499317f4ab Rename withDeleteDirectoryOnExit(:boolean) to usingDeleteDirectoryOnExit(:boolean). 2018-11-28 17:32:45 -08:00
John Blum
321693da33 Add single, constant, class member reference to an instance of IdentityHashCodeComparator. 2018-11-28 17:24:24 -08:00
John Blum
6a3e21e93c Add method to set the 'spring.data.gemfire.test.directory.delete-on-exit' System property from a test class. 2018-11-28 17:23:16 -08:00
John Blum
1c88728425 Upgrade to Mockito 2.23.4. 2018-11-28 14:38:52 -08:00
John Blum
7c5578b158 Upgrade to Spring Framework 5.1.3.RELEASE.
Upgrade to Spring Data Build 2.1.3.RELEASE.

Upgrade to Spring Data for Apache Geode 2.1.3.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.3.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR3.
2018-11-28 14:37:15 -08:00
John Blum
c97690893f Add new java.util.Comparator implementation supporting Object identity comparisons.
Add new java.util.Comparator implementation supporting Object identity hash code comparisons.

Add new java.util.Comparator implementation supporting (Serializable Object to) byte array comparisons.
2018-11-28 14:32:34 -08:00
John Blum
76f11970f5 Improve logic around resolving a Stack Trace (dump) for (test) tracing and debugging purposes.
Include support for generating a universal trace identifier (UTID).

Include support to conditionally enabling and disabling tracing.

Fix incorrect usage of StackTraceElement.getClass().

Add public methods to resolve the class type and method in a StackTraceElement.
2018-11-28 14:32:34 -08:00
John Blum
2a16cc037e Prepare next development iteration. 2018-11-05 22:56:21 -08:00
John Blum
bfe3154d7c Release 0.0.1.M6. 2018-11-05 22:50:08 -08:00
John Blum
1b5f8e22d2 Change the 'port' method parameter, @Value annotation configuration of the 'spring.data.gemfire.cache.server.port' property to use CacheServer.DEFAULT_PORT as the default value. 2018-11-05 22:47:16 -08:00
John Blum
8ff823b268 Add configuration for the 'spring.data.gemfire.pool.servers' property to automatically connect client and server in client/server integration tests. 2018-11-05 22:41:41 -08:00
John Blum
cf300f6224 Prepare next development iteration. 2018-11-05 19:33:48 -08:00
John Blum
aaf2287d3c Release 0.0.1.M5. 2018-11-05 19:28:51 -08:00
John Blum
c09f1f722c Add @Before test case setup method to enable GemFire/Geode OQL query debugging.
Add @AfterClass test class tear down method to unregister all GemFire/Geode DataSerializers.

Move integration tests support methods for creating directories, converting class and package names to resource pathnames, locating Spring application context XML configuration files, logging System properties and configuring GemFire/Geode logging from the ClientServerIntegrationTestsSupport class to the IntegrationTestsSupport class.
2018-11-05 19:20:34 -08:00
John Blum
2274eb82ed Upgrade to Spring Framework 5.1.2.RELEASE.
Upgrade to Spring Boot 2.1.0.RELEASE.

Upgrade to Spring Data Build (parent) 2.1.2.RELEASE.

Upgrade to Spring Data for Apache Geode 2.1.2.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.2.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR2.

Upgrade to Project Lombok 1.18.4.
2018-11-05 19:04:58 -08:00
John Blum
ec90ef6c08 Upgrade to Pivotal GemFire 9.5.2.
Upgrade to Spring Boot 2.1.0.RC1.

Upgrade to Spring Data Release Train Lovelace-SR1.
2018-11-05 18:57:16 -08:00
John Blum
e195db161b Upgrade to Spring Build Conventions Gradle Plugin 0.0.20.RELEASE. 2018-10-25 18:24:06 -07:00
John Blum
a665b2ff44 Upgrade to Spring Framework 5.1.1.RELEASE.
Upgrade to Spring Data for Apache Geode 2.1.1.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.1.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR1.
2018-10-15 15:47:57 -07:00
John Blum
8f6b7d6364 Guard against null access on ClientCache.getCurrentServers() by initializing the 'DEFAULT' Pool. 2018-10-06 16:28:17 -07:00
John Blum
2077e9faf0 Add additional test case asserting the ClientCache was mocked successfully. 2018-10-06 15:35:18 -07:00
John Blum
1240c950c7 Upgrade to Spring Build Conventions Gradle Plugin 0.0.19.RELEASE. 2018-10-05 18:05:09 -07:00