John Blum
9821a1e277
Update Copyright for 2022.
2022-03-02 16:16:01 -08:00
John Blum
2aaaea76bf
Remove exclude from Apache Geode dependencies on 'org.apache.logging.log4j:log4j-core'.
...
Resolves gh-48.
2020-09-18 02:33:58 -07:00
John Blum
74c4bdbcd9
Remove exclude from Apache Geode dependencies on 'javax.servlet:javax.servlet-api'.
...
Resolves gh-49.
2020-09-18 02:33:58 -07:00
John Blum
8447eaad10
Update Copyright to 2020.
2020-02-19 23:04:23 -08:00
John Blum
ecb7b5db80
Change 'provided' (compile-time) dependency on 'org.apache.geode:geode-log4j' to 'org.apache.geode:geode-logging'.
2020-01-24 21:06:38 -08:00
John Blum
901fce5f7e
Do first revision (review and refactoring) of Apache Geode's Actuator support and HealthIndicators in order to adapt to Spring Boot's new HealthContributor API.
2020-01-22 17:07:21 -08:00
John Blum
395c27db8f
Format source code.
2020-01-22 12:39:12 -08:00
John Blum
46157120f7
Add 'provided' (compile-time) dependencies on org.apache.geode:geode-log4j and org.apache.geode:geode-serialization.
...
Note, these dependency declarations are unfortunately necessary due to SBDG's use of Apache Geode internal APIs. I have filed an Issue ticket (https://github.com/spring-projects/spring-boot-data-geode/issues/70 ) with SBDG to remove all uses of internal Apache Geode APIs.
2020-01-22 12:39:12 -08: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
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
66327392c7
Add Gradle build file to configure the generated Maven POMs for SBDG modules.
...
Resolves gh-43.
2019-07-26 00:31:37 -07:00
John Blum
f0e8b7964c
Remove exclusions on 'org.springframework.boot:spring-boot-starter-logging'.
...
Add exclusion on 'org.apache.logging.log4j:log4j-to-slf4j'.
2019-04-29 19:49:36 -07:00
John Blum
473e31af30
Remove unnecessary use of java.util.Optional.
2019-04-29 19:37:14 -07:00
John Blum
8da5755ed8
Update copyright to 2019.
...
Resolves gh-19.
2019-03-21 18:07:02 -07:00
John Blum
6f58762f62
Convert DataPolicy type into String.
...
Guard against null/unset Pool names when processing a non-client Region.
Add statistics-enabled configuration meta-data property to the health information for a Region.
Handle PARTITION Region statisitcs using the RegionStatisticsResolver class.
Convert EvictionAction types to Strings.
Convert EvictionAlgorithm types to Strings.
Convert ExpirationAction types to Strings.
2018-09-21 15:16:02 -07:00
John Blum
5861740a66
Add RegionStatisticsResolver to resolve the Region CacheStatistics (using Region.getStatistics()) from non-PARTITION Regions as well as rolling up and aggregating bucket stats for PARTITION Regions (using inner helper class, RegionStatisticsResolver.PartitionRegionCacheStatistics).
2018-09-21 15:11:42 -07:00
John Blum
a1a64e7470
Guard against accessing Pool.pendingEventCount when client is not durable.
2018-09-21 15:08:56 -07:00
John Blum
e5f31b56d4
Add configuration meta-data property for the number of members in the DistributedSystem.
...
Guard against null/unset URLs for the DistributedSystem standard gemfire properties and security properties locations.
2018-09-21 15:07:28 -07:00
John Blum
f9ef704ab2
Add additional details with configuration meta-data about Region eviction as well as entry idle timeout (TTI) and time-to-live (TTL) expiration policies.
2018-09-20 18:24:45 -07:00
John Blum
3cb5bbc373
Add additional details and metrics/statistics about the QueryService, ContinuousQuery (CQ) Service.
2018-09-20 18:24:37 -07:00
John Blum
6f18e2a084
Polish.
2018-09-19 23:31:08 -07:00
John Blum
e048bf202d
Add Unit Tests for GeodeRegionHealthIndicator.
2018-09-19 19:17:10 -07:00
John Blum
b286c5c6f0
Add Unit Tests for GeodePoolsHealthIndicator.
2018-09-19 18:07:02 -07:00
John Blum
263379bae9
Add Unit Tests for GeodeIndexesHealthIndicator.
2018-09-19 17:21:52 -07:00
John Blum
a0476218c1
Add Unit Tests for GeodeGatewaySendersHealthIndicator.
2018-09-19 16:45:04 -07:00
John Blum
14f1dc30c9
Add Unit Tests for GeodeGatewayReceiversHealthIndicator.
2018-09-19 16:44:38 -07:00
John Blum
2c3bd0a4cd
Add and assert GemFireCache name.
2018-09-19 16:44:09 -07:00
John Blum
bfe053f82b
Add Unit Tests for GeodeDiskStoresHealthIndicator.
2018-09-19 15:23:27 -07:00
John Blum
4dd6a2cb5f
Add Unit Tests for GeodeContinuousQueriesHealthIndicator.
2018-09-19 15:23:27 -07:00
John Blum
935acdd175
Add Unit Tests for GeodeCacheServersHealthIndicator.
2018-09-19 15:22:13 -07:00
John Blum
bcc763bc16
Add required name for mock GemFireCache instance.
2018-09-19 13:11:58 -07:00
John Blum
f941d9979a
Add test case testing health check failure when no GemFireCache is present.
2018-09-19 10:37:16 -07:00
John Blum
510db32ef4
Add Unit Tests for GeodeCacheHealthIndicator.
2018-09-19 10:33:20 -07:00
John Blum
2ce660c421
Refactor dependencies and ensure the log4j-to-slf4j dependency gets excluded.
...
Remove testCompile slf4j dependencies.
2018-09-19 10:28:33 -07:00
John Blum
c9b42ab0bc
Add Spring Boot HealthIndicator for Apache Geode Regions.
2018-09-18 22:49:43 -07:00
John Blum
a3e22ae894
Add Spring Boot HealthIndicator for Apache Geode Pools.
2018-09-18 22:49:17 -07:00
John Blum
e2179024f5
Add Spring Boot HealthIndicator for Apache Geode Region OQL Indexes.
2018-09-18 22:48:40 -07:00
John Blum
4b123dc7dc
Add Spring Boot HealthIndicator for Apache Geode (WAN) GatewaySenders.
2018-09-18 22:47:54 -07:00
John Blum
971159d00e
Add Spring Boot HealthIndicator for Apache Geode (WAN) GatewayReceivers.
2018-09-18 22:47:11 -07:00
John Blum
c911f2030f
Add Spring Boot HealthIndicator for Apache Geode DiskStores.
2018-09-18 22:46:35 -07:00
John Blum
e33ebc4cb3
Add Spring Boot HealthIndicator for Apache Geode Continuous Queries.
2018-09-18 22:46:04 -07:00
John Blum
1424a51317
Add Spring Boot HealthIndicator for Apache Geode CachServers.
2018-09-18 22:45:26 -07:00
John Blum
aebc3dc1e7
Add Spring Boot HealthIndicator for Apache Geode (Client) Cache.
2018-09-18 22:44:56 -07:00
John Blum
f61d506e31
Add Spring Boot HealthIndicator for Apache Geode AsyncEventQueues.
2018-09-18 22:44:01 -07:00
John Blum
38a4fdf593
Add spring-geode-actuator module.
...
Add abstract base class for all Apache Geode, Spring Boot HealthIndicators.
Add ServerLoadProbe wrapper implementation to extract CacheServer load and metrics.
2018-09-18 22:43:10 -07:00