Commit Graph

527 Commits

Author SHA1 Message Date
John Blum
aac1e8a6e6 Move the Books application into example.app.books.
Move the LibraryService into example.app.library.
2019-06-10 18:54:49 -07:00
John Blum
099a030028 Polish source code. 2019-06-10 18:30:11 -07:00
John Blum
24700d556b Update changelog with 1.1.0.M2 release notes. 2019-06-10 18:29:58 -07:00
John Blum
3d5b4beffd Disable HTTPS (HTTP over SSL). 2019-06-10 10:19:42 -07:00
John Blum
71397e958d Deprecate HttpBasicAuthenticationSecurityConfiguration. 2019-06-10 10:18:52 -07:00
John Blum
27325f8f5d Update dependencies.
Upgrade to Spring Data Release Train Lovelace-BUILD-SNAPSHOT.

Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.1.9.BUILD-SNAPSHOT.

Upgrade to Spring Session for Apache Geode & Pivotal GemFire 2.1.4.BUILD-SNAPSHOT.

Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.3.BUILD-SNAPSHOT.
2019-06-10 10:17:18 -07:00
John Blum
567b231954 Optimize imports.
Format source code.
2019-06-09 18:07:40 -07:00
John Blum
9054cf84ea Fix syntax errors in Jenkinsfile. 2019-05-29 10:55:38 -07:00
John Blum
93faf97edd Switch generic node closure to running on a 'linux' node.
Change project properties definition to nested closure.
2019-05-29 10:09:28 -07:00
John Blum
57ae236e0c Configure environment with JDK (8) by setting JAVA_HOME. 2019-05-29 08:43:05 -07:00
John Blum
db5f623ba0 Switch from @SpringBootApplication to @Configuration and @EnableAutoConfiguration with test configuration classes.
This will help avoid inadvertently including additional @Configuration classes in the classpath that are not required by, or applicable to, this test class.
2019-05-24 18:00:14 -07:00
John Blum
df0f318647 Add Integration Tests testing the custom configuration of the DEFAULT Pool and a named Pool when using Spring Boot auto-configuration. 2019-05-24 17:46:22 -07:00
John Blum
10930dd88b Upgrade to Spring Session BOM Bean-SR5. 2019-05-22 20:16:14 -07:00
John Blum
3548e6152d Add Spring Boot Starter modules for Spring Session using either Apache Geode or Pivotal GemFire (Pivotal Cloud Cache) as the (HTTP) Session state management provider.
Resolves gh-38.
2019-05-22 17:18:50 -07:00
John Blum
569ccc894d Edit Gradle module descriptions. 2019-05-22 17:17:35 -07:00
John Blum
de098bcc10 Declare dependency management for 'org.springframework.session:spring-session-data-gemfire'. 2019-05-22 17:16:27 -07:00
John Blum
9ed0413956 Add support for Spring configured and bootstrapped Locator-based applications.
Resolves gh-37.
2019-05-15 15:54:25 -07:00
John Blum
0445d5f159 Polish Security auto-configuration tests for enforcing Auth in a cloud context. 2019-05-14 19:35:40 -07:00
John Blum
dd98cf7a6b Polish Security auto-configuration tests for enforcing Auth in a local context. 2019-05-14 19:35:40 -07:00
John Blum
75ad55892c Increase Gradlew JVM Heap size to 1 GB. 2019-05-14 09:47:04 -07:00
John Blum
b2e010d59c Add Starter modules including test dependencies for testing Apache Geode or Pivotal GemFire applications in a Spring context.
Resolves gh-36.
2019-05-14 09:28:55 -07:00
John Blum
d1264a2d43 Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.2.RELEASE. 2019-05-14 09:27:35 -07:00
John Blum
8d05dcc0b5 Upgrade dependencies.
Upgrade to Spring Data for Apache Geode/Pivotal GemFire 2.1.8.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR8.
2019-05-13 12:21:18 -07:00
John Blum
931f6239d0 Fix duplicate anchor. 2019-05-13 00:43:20 -07:00
John Blum
1af91fb643 Upgrade dependencies.
Upgrade to Spring Framework 5.1.7.RELEASE.

Upgrade to Spring Data for Apache Geode/Pivotal GemFire 2.1.7.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR7.
2019-05-10 11:30:01 -07:00
Mark Secrist
e5d8568253 Fix minor spelling error 'grade' -> 'gradle'.
Resolves gh-32.
2019-05-09 23:37:34 -07:00
John Blum
6e0cf8f200 Edit Javadoc. 2019-05-09 19:55:46 -07:00
John Blum
7617fddd78 Add a concrete o.s.g.cache.RepositoryCacheLoader class, which implements org.apache.geode.cache.CacheLoader and uses (delegates to) a Spring Data CrudRepository. 2019-05-09 19:52:09 -07:00
John Blum
c33d75db27 Add a concrete o.s.g.cache.RepositoryCacheWriter class, which implements org.apache.geode.cache.CacheWriter and uses (delegates to) a Spring Data CrudRepository. 2019-05-09 19:51:11 -07:00
John Blum
a1300c5fc5 Add abstract base class supporting the development of Spring Data Repository, Apache Geode CacheLoader/CacheWriter implementations. 2019-05-09 19:49:29 -07:00
John Blum
75f8aed494 Add o.s.g.cache.support.CacheWriterSupport interface extending org.apache.geode.cache.CacheWriter to facilitate the implementations of application CacheWriters.
The CacheWriterSupport compliments the o.s.g.cache.support.CacheLoaderSupport interface.
2019-05-09 19:48:15 -07:00
John Blum
b9578f679d Add abstract utility class for working with java.util.function.Functions. 2019-05-09 19:45:50 -07:00
John Blum
492dd1dae2 Prepare next development iteration. 2019-05-06 17:18:23 -07:00
John Blum
21473011c6 Release 1.1.0.M1. 2019-05-06 17:12:05 -07:00
John Blum
092d3aaaae Edit changelog.txt.
Add release notes for the 1.1.0.M1 release.
2019-05-06 17:11:02 -07:00
John Blum
234f384360 Edit README.adoc.
Add documentation references for 1.1.0.M1 and 1.1.0.BUILD-SNAPSHOT.
2019-05-06 17:02:59 -07:00
John Blum
3d62ac4acc Update the Apache Geode Management REST API Web Application (WAR) to 1.6.0. 2019-05-06 16:48:23 -07:00
John Blum
9a4442fe42 Switch to the 'DEFAULT' Pool.
Create Spring beans for the 'gemfirePool', 'MockPool' and 'TestPool' Pools.
2019-05-06 16:48:23 -07:00
John Blum
27b52f0e1d Refactor Apache Geode/Pivotal GemFire (PCC) peer Security (Auth) auto-configuration.
Switch from using the GemfireBeanFactoryLocator with the security-manager property set to the SecurityManagerProxy to using the @EnableSecurityManager Annotation with the CacheFactory API.
2019-05-06 16:48:23 -07:00
John Blum
cdcbbca6a4 Encapsulate configuration of Apache Geode/Pivotal GemFire (PCC) Security (Auth) using an enabling Annotation with the CacheFactory API. 2019-05-06 16:48:23 -07:00
John Blum
fa421c6da4 Refactor SecurityManagerProxy class.
Remove init(:Properties) method call from constructor.

Implement the o.s.beans.factory.BeanFactoryAware interface.

Override the locateBeanFactory() method.

Switch the test configuration to use the new @EnableSecurityManagerProxy annotation.
2019-05-06 16:48:23 -07:00
John Blum
4f7383f71b Encapsulate configuration of Apache Geode/Pivotal GemFire (PCC) Security (Auth) using an enabling Annotation and security-manager property with proxying. 2019-05-06 16:48:23 -07:00
John Blum
a0400fa69d Polish imports to match SDG Lovelace. 2019-05-06 16:48:23 -07:00
John Blum
2a805fa24d Add exclusion on 'org.skyscreamer:jsonassert' in the 'org.springframework.boot:spring-boot-starter-test' dependency.
This transitive dependency creates a conflict with Apache Geode with the org.json.JSONObject class given Geode use but overrides (o.O) the same API.
2019-05-06 16:48:23 -07:00
John Blum
71c93615d9 Refactor test class setup and tearDown.
Remove GemfireBeanFactoryLocator cleanup.  Rely on IntegrationTestsSupport to cleanup the GemfireBeanFactoryLocator state.

Rename setup/tearDown method from cleanUpBeanFactoryLocatorReferences to cleanupSecurityManagerProxyInstance.
2019-05-06 16:48:23 -07:00
John Blum
2a77937700 Allow bean definition overrides in Unit and Integration Tests. 2019-05-06 16:48:23 -07:00
John Blum
493d91c7d7 Update dependency versions.
Upgrade to Apache Geode 1.6.0.

Upgrade to Pivotal GemFire 9.5.3.

Upgrade to core Spring Framework 5.1.6.RELEASE.

Upgrade to Spring Boot 2.1.4.RELEASE.

Upgrade to Spring Data for Apache Geode/Pivotal GemFire 2.1.6.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR6.

Upgrade to Spring Session BOM Bean-SR4.

Upgrade to Spring Session for Apache Geode/Pivotal GemFire 2.1.3.RELEASE.
2019-05-06 16:48:23 -07:00
John Blum
7772861262 Set version to 1.1.0.BUILD-SNAPSHOT. 2019-05-06 16:47:07 -07:00
John Blum
1c3a124f41 Prepare next development iteration. 2019-05-06 16:39:34 -07:00
John Blum
d4c6ae6164 Release 1.0.0.RELEASE 2019-05-06 15:26:58 -07:00