Commit Graph

10 Commits

Author SHA1 Message Date
John Blum
e3bc02d419 Add static @Configuration class to configure an embedded Locator & Manager service, enabled via a Spring profile.
Additionally, enable GemFire/Geode logging at 'config'.
2018-08-13 15:28:34 -07:00
John Blum
640218dc1f Add Condition on propertyPlaceholderConfigurer bean definition verifying that Spring Boot is absent before registering the bean. 2018-08-13 13:13:39 -07:00
John Blum
5fd1382a50 Rename shouldVerifyGemFireServerIsRunning(..) to doVerifyGemFireServerIsRunning(..).
Rename isBeanOfImportance(..) to isVeryImportantBean(..).

Format source code.
2018-08-13 13:13:39 -07:00
John Blum
80d09144b4 Add static PropertySourcesPlaceholderConfigurer bean definition for resolving Spring @Value annotation property placeholders. 2018-08-13 13:13:30 -07:00
John Blum
68b25ebdb9 Add overridable, protected processBeforeRefresh(:ConfigurableApplicationContext):ConfigurableApplicationContext method and call in the newApplicationContext(..) method before the ApplicationContext is refreshed. 2018-08-13 13:02:07 -07:00
John Blum
138b0b57aa Rename clearAllSpringGeodeGemFireDotPrefixedSystemProperties to clearAllSpringApacheGeodeAndPivotalGemFireDotPrefixedSystemProperties. 2018-08-13 13:00:21 -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
eae35daef5 Fix closeApplicationContext() JUnit after test case method test callback to use @After annotation rather than @AfterClass. 2018-06-21 17:30:58 -07:00
John Blum
6b1fcbc657 Add Integration Tests support for configuring, bootstrapping and properly closing a Spring ApplicationContext. 2018-06-21 17:10:22 -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