Commit Graph

7 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
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
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
John Blum
2077e9faf0 Add additional test case asserting the ClientCache was mocked successfully. 2018-10-06 15:35:18 -07:00
John Blum
c174f008fe Fix Region AttributesMutator initialization bug.
The bug was caused by the mocking logic in Region.getAttributes(), which lazily initializes the RegionAttributes upon first access, and by extension, the Region AttributesMutator only gets intialized after the Region.getAttributes() method is invoked.  Therefore, if Region.getAttributesMutator() is called before Region.getAttributes() and any AttributesMutator method is invoked then a NullPointerException is thrown.
2018-08-08 18:42:40 -07:00
John Blum
1195c89ad0 Rename spring-test-data-gemfire module to spring-data-gemfire-test.
Rename spring-test-data-geode module to spring-data-geode-test.
2018-06-01 18:25:30 -07:00