Commit Graph

78 Commits

Author SHA1 Message Date
John Blum
dd593625d8 Remove use of internal Apache Geode API o.a.g.internal.concurrent.ConcurrentHashSet class.
Replace with java.util.HashSet wrapped with java.util.Collections.synchronizedSet(:Set).
2020-01-24 19:10:32 -08:00
John Blum
df7f10c7da Upgrade to Lombok Gradle Plugin 4.1.6. 2020-01-22 13:16:12 -08:00
John Blum
afbbfe9991 Upgrade to FreeFair Lombok Gradle Plugin 4.1.2. 2019-10-17 15:46:10 -07:00
John Blum
28012a1880 Replace all spring-cloudcache-starter* dependency declarations with spring-gemfire-starter*.
Resolves gh-63.
2019-10-17 12:04:44 -07:00
John Blum
d1d02065b4 Disable SSL auto-configuration. 2019-09-27 17:06:44 -07:00
John Blum
25c4f0d929 Switch PCC service instance name from 'pccService' to 'pccServiceOne'.
Resolves gh-54.
2019-09-27 16:30:00 -07:00
John Blum
4712339100 Temporarily include the 'spring-geode-starter-actuator' dependency (commented out) for deployment to PCF when using PCC.
This is needed until https://github.com/cloudfoundry/java-buildpack-metric-writer/issues/6 is resolved.

Resolves gh-54.
2019-09-27 16:30:00 -07:00
John Blum
6dad3e7cb0 Add Integration Tests for the 'Getting Started' Sample, Spring Boot CrmApplication class.
Resolves gh-54.
2019-09-24 02:05:59 -07:00
John Blum
ec9574288f Add Bash & Gfsh shell scripts to configure and bootstrap an Apache Geode cluster for the client/server topology arrangement and step #3 in the 'Getting Started' Guide.
Resolves gh-54.
2019-09-24 02:05:59 -07:00
John Blum
730110dc55 Add Example Code demonstrating how to get started with SBDG.
Resolves gh-54.
2019-09-24 02:05:59 -07:00
John Blum
8e30b4ddd2 Improve CQ Auto-configuration by assessing the availability of a server or cluster first before enabling and auto-configuring CQ functionality.
This added capabilities relies on the new ClusterAwareConditions.

Resolves gh-53.
2019-09-12 14:28:59 -07:00
John Blum
bc6e423ed0 Disable SSL auto-configuration for all Spring Geode Sample tests. 2019-09-10 01:12:35 -07:00
John Blum
e7f99fd1e5 Log Apache Geode SSL configuration and state at 'error'. 2019-09-09 23:30:02 -07:00
John Blum
202e59b9d2 Edit Javadoc; Optimize imports. 2019-09-09 11:35:56 -07:00
John Blum
22925f136f Optimize imports. 2019-09-03 21:28:08 -07:00
John Blum
6e64704fd8 Correct spelling in 'putAndGetCustomerIsSuccessful' test case method. 2019-09-03 15:47:16 -07:00
John Blum
4169611821 Correct spacing; Use tabs, not spaces. 2019-09-03 15:46:16 -07:00
John Blum
38e2f6186f Switch from direct compile-time dependency on 'org.springframework.data:spring-data-geode-test' to using the ':spring-geode-starter-test' module. 2019-08-23 01:56:36 -07:00
John Blum
4b64e46fe6 Remove unnecessary 'org.springframework.boot:spring-boot-starter-jetty' and 'org.springframework.shell:spring-shell' runtime dependencies. 2019-08-23 01:46:43 -07:00
John Blum
9b34604482 Rename test class to be descriptive about testing the Look-Aside Caching Pattern. 2019-08-23 00:30:12 -07:00
John Blum
1d02bae14b Change home page Web Service endpoint from ping() to description, 'Inline Caching Example'. 2019-08-23 00:28:29 -07:00
John Blum
93c50ba621 Add home page Web Service endpoint with description, 'Look-Aside Caching Example'. 2019-08-23 00:25:30 -07:00
John Blum
ab85124b69 Remove unnecessary 'org.springframework.boot:spring-boot-starter-jetty' runtime dependency. 2019-08-23 00:22:52 -07:00
John Blum
82881e2f73 Switch direct [test] compile dependency on 'org.springframework.data:spring-data-geode-test' to 'spring-geode-starter-test'. 2019-08-23 00:18:54 -07:00
John Blum
5c5032e4a2 Exclude the 'javax.servlet:javax.servlet-api' transitive dependency from 'geode-core'.
Exclude the 'javax.servlet:javax.servlet-api' transitive dependency except from in the 'spring-geode-starter-session' and 'spring-gemfire-starter-session' modules.

Remove unnecessary 'javax.servlet:javax.servlet-api' provided dependency in 'spring-geode-autoconfigure'.

Remove unnecessary 'org.springframework.boot:spring-boot-starter-tomcat' runtime dependency from 'spring-geode-samples-caching-httpsession'.

Remove unnecessary 'javax.cache:cache-api' and 'org.springframework.shell:spring-shell' runtime dependencies from 'spring-geode-samples-caching-inline'.

Remove unnecessary 'javax.cache:cache-api' and 'org.springframework.shell:spring-shell' runtime dependencies from 'spring-geode-samples-caching-lookaside'.

Remove unnecessary 'javax.cache:cache-api' runtime dependency from 'spring-geode-samples-caching-near'.

Resolves gh-47.
2019-08-22 22:46:26 -07:00
John Blum
f2a88d7f0b Remove exclusion on 'org.apache.logging.log4j:log4j-to-slf4j'.
Add exclusion on 'org.apache.logging.log4j:log4j-core.'

Resolves gh-42.
2019-08-21 11:56:32 -07:00
John Blum
c1ca997b56 Remove exlusion on 'org.apache.logging.log4j:log4j-to-slf4j' and add exclusion on 'org.apache.logging.log4j:log4j-core'.
Resolves gh-42.
2019-08-21 11:56:32 -07:00
John Blum
de8791564f Fixup Gradle build file to properly exclude the 'org.apache.logging.log4j:log4j-core' dependency transitively pulled in by the 'org.springframework.data:spring-data-geode-test' dependency.
Remove the exlusion on 'org.apache.logging.log4j:log4j-to-slf4j' in the 'org.springframework.boot:spring-boot-starter-test' dependency.

Resolves gh-42.
2019-08-21 11:56:32 -07:00
John Blum
c218795e8d Refactor logging dependencies in SBDG Module Gradle build files.
Remove the exclude for 'org.apache.logging.log4j:log4j-to-slf4j'.

Add an exclude for 'org.apache.logging.log4j:log4j-core'.

Resolves gh-42.
2019-08-21 11:56:32 -07:00
John Blum
6558e0ee97 Remove all improper uses of the Apache Shiro API and replace with the appropriate core Spring Framework API.
For example, usages of org.apache.shiro.util.Assert and org.apache.shiro.util.StringUtils should be replaced with org.springframework.util.Assert and org.springframework.util.StringUtils, respectively.
2019-08-20 15:00:36 -07:00
John Blum
308de00f14 Add test compile-time dependency on 'org.springframework.geode:spring-geode-starter-session'. 2019-08-19 14:20:08 -07:00
John Blum
ffa2b68b57 Remove unnecessary runtime dependency on 'org.springframework.shell:spring-shell'.
The 'org.springframework.shell:spring-shell' lib is already transitively pulled as a runtime dependency in by the 'org.springframework.geode:spring-geode' dependency.
2019-08-19 13:24:45 -07:00
John Blum
d14c1e904a Add Integration Tests for the HTTP Session Caching Sample Code. 2019-08-19 13:20:50 -07:00
John Blum
24694d01fa Add Sample Code for HTTP Session Caching. 2019-08-19 12:58:34 -07:00
John Blum
fd0f072215 Formate source code for documentation purposes. 2019-08-13 01:05:52 -07:00
John Blum
114dae5df3 Rename 'example.app.near.caching' package to 'example.app.caching.near'. 2019-08-12 19:25:31 -07:00
John Blum
f3a2af12dc Add Project Lombok configuration file for Near Caching Sample Code. 2019-08-12 19:01:47 -07:00
John Blum
f968ac8d8c Add Integration Tests for the Near Caching Sample Code. 2019-08-12 18:30:47 -07:00
John Blum
0acf8c85cb Add Sample Code for Near Caching. 2019-08-12 18:12:45 -07:00
John Blum
ba537f2913 Fix incorrect main class name for the Spring Boot JAR file. 2019-08-05 17:44:59 -07:00
John Blum
3dcc662fde Optimize imports. 2019-08-02 17:00:55 -07:00
John Blum
051b6abeb3 Add Integration Tests covering the Counter Service appliaction in the Spring Geode Sample for Look-Aside Caching. 2019-08-02 17:01:43 -07:00
John Blum
b8736210ff Add Integration Tests covering the Customer Service application in the Spring Geode Sample for Spring Boot Auto-Configuration of Apache Geode. 2019-08-02 17:00:55 -07:00
John Blum
59a9d8d1c9 Format source for documentation purposes. 2019-08-01 22:27:26 -07:00
John Blum
a2f97fe2ba Add Lombok configuration file for Inline Caching Sample. 2019-08-01 14:36:55 -07:00
John Blum
e58adf04e3 Add Asciidoc tags for code references. 2019-08-01 14:09:28 -07:00
John Blum
e9ae8e1417 Add CalculatorController Spring Web MVC component exposing a REST API for the Calculator application. 2019-08-01 14:02:00 -07:00
John Blum
532599aa2a Fix bug in CalculatorService incorrectly capturing the 'operand' of the mathematical function. 2019-08-01 14:01:31 -07:00
John Blum
ea7170f8dc Add Lombok Gradle Plugin to preprocess source code during compilation. 2019-08-01 12:56:41 -07:00
John Blum
97e46f1dd4 Add Integration Tests for the Inline Caching Sample, Spring Boot application. 2019-07-31 18:40:24 -07:00