Commit Graph

  • 9900541cfe Set the 'spring.application.name' property to 'InlineCachingApplication'. John Blum 2020-05-18 00:05:29 -07:00
  • c3dc0336cf Configure the 'spring.data.gemfire.cache.log-level' property in terms of 'gemfire.log-level' and default to 'error'. John Blum 2020-05-18 00:03:46 -07:00
  • 11222e249d Change Integer.valueOf(..) call to Integer.parseInt(..). John Blum 2020-05-18 00:01:04 -07:00
  • d84b2d77dc Add instructions on how to run the HttpSession Caching example using the 'gradlew' command from the command-line as well as the IDE. John Blum 2020-05-17 23:41:37 -07:00
  • fda6362f00 Annotate the BootGeodeHttpSessionCachingApplication class with the @EnableClusterAware annotation. John Blum 2020-05-17 23:37:54 -07:00
  • d31f53cdb3 Add instructions on how to run the Boot Auto-Configuration example using the 'gradlew' command from the command-line as well as the IDE. John Blum 2020-05-16 21:29:51 -07:00
  • aadeadaf39 Add instructions on how to run the Boot Actuator example client and server using the 'gradlew' command from the command-line as well as the IDE. John Blum 2020-05-16 14:19:05 -07:00
  • 84ade7ee10 Annotate the Sample Boot Actuator BootGeodeClientApplication class with the @EnableClusterAware annotation. John Blum 2020-05-15 14:05:03 -07:00
  • be6928e781 Configure the 'bootRun' Gradle Task to run the client for the Boot Actuator Sample. John Blum 2020-05-15 14:04:03 -07:00
  • 56c9279ee7 Upgrade to Spring Boot 2.3.0.RELEASE. John Blum 2020-05-15 12:35:37 -07:00
  • de4d42fb29 Upgrade to Spring Build Conventions Gradle Plugin 0.0.32.RELEASE. John Blum 2020-05-15 12:35:07 -07:00
  • dcfb7eb186 Add configuration property to enable/disable data imports. John Blum 2020-05-14 22:32:31 -07:00
  • 9e2baf987a Remove unnecessary @SuppressWarnings annotation declarations. John Blum 2020-05-14 19:09:59 -07:00
  • 5b7437dad2 Update README to refer to version 1.3.0.RC1 in the 1.3.x release line. John Blum 2020-05-13 23:49:51 -07:00
  • ca1f77df19 Prepare next development iteration. John Blum 2020-05-13 23:29:19 -07:00
  • fb7d40e017 Release 1.3.0.RC1. John Blum 2020-05-13 23:08:56 -07:00
  • 51d64082fa Edit changelog and add 1.3.0.RC1 release notes. John Blum 2020-05-13 23:04:16 -07:00
  • d8b965d6f1 Upgrade to Testcontainers 1.14.1. John Blum 2020-05-13 22:51:16 -07:00
  • 00188b575c Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.15.RELEASE. John Blum 2020-05-13 22:49:46 -07:00
  • 55076c59cd Upgrade to Spring Session for Apache Geode & Pivotal GemFire 2.3.0.RC2. John Blum 2020-05-13 22:49:10 -07:00
  • 661b0c1be2 Upgrade to Spring Data Neumann-RC2. John Blum 2020-05-13 22:47:32 -07:00
  • 4642c66678 Upgrade to Byte Buddy 1.10.10. John Blum 2020-05-13 22:45:16 -07:00
  • 83c944a253 Add reference documentation for the new (JSON) Cache Data Import/Export feature. John Blum 2020-05-13 14:42:03 -07:00
  • e67dc5e8d2 Switch to using SDG Annotation-based configuration for the "Books" Region on the client. John Blum 2020-05-13 14:41:29 -07:00
  • e3efabe476 Changes 'apache-geode-extensions' dependency from 'optional' to 'compile'. John Blum 2020-05-13 00:28:56 -07:00
  • ae39191563 Fix invalid Javadoc tags. John Blum 2020-05-13 00:21:47 -07:00
  • a63d792898 Add getAtIdentifier(:PdxInstance) method and strategy for resolving ids from PdxInstances. John Blum 2020-05-13 00:13:26 -07:00
  • 2536585de9 Edit Javadoc. John Blum 2020-05-12 22:06:07 -07:00
  • fa9b2e1ae6 Fix infinite recursion bug leading to a StackOverflowError. John Blum 2020-05-12 22:01:22 -07:00
  • 854a233b04 Rename PdxInstanceWrapperAspect to PdxInstanceWrapperRegionAspect. John Blum 2020-05-12 21:33:51 -07:00
  • a6f07e88b0 Add Unit Tests for PdxInstanceWrapperAspect. John Blum 2020-05-12 21:29:32 -07:00
  • f967675423 Add Spring Boot auto-configuration for cache data imports/exports. John Blum 2020-05-12 19:48:35 -07:00
  • a513834fae Add 'org.springframework.boot:spring-boot-starter-json' as test runtime dependency. John Blum 2020-05-12 19:45:49 -07:00
  • 39efd95a5c Add protected, no-argument, default constructors. John Blum 2020-05-12 19:43:51 -07:00
  • 8fe13e01fb Add descriptive convertJsonToPdx(..) conversion method. John Blum 2020-05-12 19:33:14 -07:00
  • eba12bad17 Configure Jackson ObjectMapper to find and register additional modules declared on the application's classpath. John Blum 2020-05-12 19:23:20 -07:00
  • cc257f5ef9 Edit Javadoc. John Blum 2020-05-12 19:05:37 -07:00
  • df466c0a62 Add PdxInstanceWrapper class to wrap (decorate) existing PdxInstances and more appropriately handle JSON to Object mappings returned by getObject(). John Blum 2020-05-12 19:01:17 -07:00
  • 22b01985b7 Add Integration Tests for JsonCacheDataImporterExporter asserting the functionality in a client/server topology with a ClientCache. John Blum 2020-05-11 00:04:43 -07:00
  • b1ec1dbab2 Delegate all cach instance operations to org.springframework.geode.util.CacheUtils. John Blum 2020-05-11 00:02:41 -07:00
  • d4aa108414 Add abstract utility class for working with GemFire/Geode cache instances (ClientCache & peer Cache) and Regions. John Blum 2020-05-11 00:00:10 -07:00
  • d8ede349cb Add assertion that asserts a given Object (subject) is not null. John Blum 2020-05-10 22:28:28 -07:00
  • f40685fb4e Refactor JSONFormatterPdxToJsonConverter to handle missing type metadata in both PdxInstances and in JSON, which is required to reconstitute the Object. John Blum 2020-05-10 13:23:47 -07:00
  • 30a84eefdd Add additional Integration Tests for JsonCacheDataImporterExporter class. John Blum 2020-05-09 23:22:44 -07:00
  • 7c65ad4320 Add PdxInstanceBuilder class used to create instances of PDX types (PdxInstance). John Blum 2020-05-09 23:02:45 -07:00
  • a4d452cfa4 Add SimpleCacheResolver class to resolve instances of GemFire/Geode ClientCaches and peer Caches. John Blum 2020-05-09 21:36:27 -07:00
  • 596ea093ba Add null-safe asType(:Object, :Class) method to cast the given source Object into an instance of the given Class type. John Blum 2020-05-09 20:53:39 -07:00
  • 9dbd290322 Add Integration Tests for JsonCacheDataImporterExporter. John Blum 2020-05-08 01:45:05 -07:00
  • a855787b66 Include Jackson JSON serializers for BigDecimals and BigIntegers as well as generating typeless Collection JSON. John Blum 2020-05-08 01:44:39 -07:00
  • 33458ab4be Refactor POS PurchaseOrder application domain model class to include an identifyAs(:Long) builder method to set the ID of a PurchaseOrder instance. John Blum 2020-05-08 01:42:56 -07:00
  • 4d7becad79 Simplify ObjectMapper configuration. John Blum 2020-05-08 01:29:26 -07:00
  • 8418082a00 Remove unnecessary ObjectMapper configuration used specifically for deserialization. John Blum 2020-05-08 00:54:14 -07:00
  • a3faf2584a Configure the ObjectMapper used to convert (serialize) Objects to JSON with Jackson. John Blum 2020-05-07 22:22:49 -07:00
  • 2627cf7a90 Change ObjectToJsonConverter implementation from JacksonObjectToJsonConverter to JSONFormatterPdxToJsonConverter. John Blum 2020-05-07 22:10:41 -07:00
  • 5b5e2e5db8 Add abstract base class implementing the ObjectArrayToJsonConverter interface to encapsulate operation common to all implementations. John Blum 2020-05-07 21:26:18 -07:00
  • 72443e95af Add ObjectArrayToJsonConverter interface specifying a contract to convert an array of Objects to JSON. John Blum 2020-05-07 21:24:09 -07:00
  • 9232180643 Add JsonToPdxConverter interface implementation converting JSON to PDX backed by Apache Geode's o.a.g.pdx.JSONFormatter class and Jackson's ObjectMapper. John Blum 2020-05-06 13:27:49 -07:00
  • 7f9b36ec18 Adds ObjectToJsonConverter interface implementation using Jackson to convert an Object to JSON. John Blum 2020-05-06 12:20:52 -07:00
  • e76100af47 Add ObjetToJsonConverter interface implementation to convert an Object or PDX to JSON using Apache Geode's o.a.g.pdx.JSONFormatter class. John Blum 2020-05-06 11:44:32 -07:00
  • cb3141f0b7 Add JsonToPdxConverter interface implementation to convert JSON to PDX using Apache Geode's o.a.g.pdx.JSONFormatter class. John Blum 2020-05-06 11:42:06 -07:00
  • 9f97a8313d Add conditional logic to handle beans of type ResolvableRegionFactoryBean. John Blum 2020-05-06 11:07:52 -07:00
  • 8aed3f95cd Add JSON examples for Integration Tests. John Blum 2020-05-06 00:45:06 -07:00
  • 68e7b54c90 Refactor importInto(:Region) to parse and convert JSON containing multiple objects into an array of PdxInstances each stored in the Region. John Blum 2020-05-06 00:43:03 -07:00
  • e67c383de8 Add JsonToPdxArrayConverter interface and Spring Converter extension specifying a contract to convert JSON into PDX, as an array of PdxInstance objects. John Blum 2020-05-06 00:16:21 -07:00
  • bbef166670 Edit Javadoc. John Blum 2020-05-06 00:13:17 -07:00
  • 8cf6a8b410 Add configurable Product.category as an enumerated type. John Blum 2020-05-05 13:40:03 -07:00
  • 3f05015b2f Refactor example POS application model classes to be conducive to Jackson's ObjectMapper configuration imposed by GemFire/Geode PDX framework and JSONFormatter class. John Blum 2020-05-05 13:15:24 -07:00
  • c3b697e759 Complete base implementation of the JSON CacheDataImporterExporter. John Blum 2020-05-05 02:27:11 -07:00
  • ec20642cc1 Add ObjectToJsonConverter interface specifying a contract for converting an Object to JSON. John Blum 2020-05-04 19:42:58 -07:00
  • 8cb59be29c Add JsonToPdxConverter interface specifying a contract to convert JSON to PDX. John Blum 2020-05-04 19:40:04 -07:00
  • 98c976fe6c Add example application model classes for a PurchaseOrder in a Point-of-Sale (POS) system. John Blum 2020-05-04 19:30:47 -07:00
  • a0ead741ab Add implementation of CacheDataImporter/Exporter to import/export JSON sourced data. John Blum 2020-04-22 13:23:58 -07:00
  • 074fd7f1ed Add java.util.function.Predicate on Region to filter Regions on data import/export. John Blum 2020-05-04 18:55:36 -07:00
  • 1b44a80830 Add abstract base class implementation of the CacheDataImporterExporter interface to correctly manage data exports and imports based on application and Environment (context) configuration. John Blum 2020-05-04 19:13:47 -07:00
  • 76ef0e7062 Introduce CacheDataImporterExporter interface extending the CacheDataImporter and CacheDataExporter interfaces. John Blum 2020-04-29 20:47:58 -07:00
  • 1a19c228be Introduce new CacheDataImporter and CacheDataExporter interfaces to import and export data into and out from a GemFire/Geode cache on startup. John Blum 2020-05-04 19:11:13 -07:00
  • fe6e14bb2e Upgrade to Spring Boot 2.3.0.RC1. John Blum 2020-05-05 11:01:13 -07:00
  • cac192ddc8 Upgrade to Spring Framework 5.2.6.RELEASE. John Blum 2020-05-05 11:00:45 -07:00
  • 293eebb676 Add Spring Boot application class configuring and bootstrapping an Apache Geode (or Pivotal GemFire) ClientCache instance for documentation purposes. John Blum 2020-04-29 20:56:58 -07:00
  • 0053484007 Add optional 'spring-geode-starter-logging' dependency. John Blum 2020-04-29 20:55:21 -07:00
  • 08bb53f792 Add Smoke Tests asserting the proper behavior of a properly configured Spring ApplicationContext in the case of forced-disconnect / auto-reconnect events in a GemFire/Geode DistributedSystem (cluster). John Blum 2020-04-27 15:18:45 -07:00
  • 46722ea9c4 Add ApplicationContextMembershipListener implementation and extension of MembershipListenerAdapter to adapt the Spring ApplicationContext to handle peer member departed and joined membership events. John Blum 2020-04-27 15:16:42 -07:00
  • 0950ba7d9f Reorganize assertions in GeodeAssertions alphabetically. John Blum 2020-04-27 14:39:27 -07:00
  • ed0989cce0 Refactor MembershipListenerAdapter away from using java.util.function.Consumer implementations to delegate the processing of membership event towards using the new MembershipEvent types along with overloaded membership event handler methods. John Blum 2020-04-27 14:35:21 -07:00
  • f134c06390 Introduce the QuorumLostEvent class extending MembershipEvent to signal that a quorum of peer members was lost in the event of a split brain or network partition. John Blum 2020-04-27 14:31:36 -07:00
  • 6cff7a3da0 Introduce the MemberSuspectEvent class extends MembershipEvent to signal when a peer member of the distributd system (cluster) becomes suspect. John Blum 2020-04-27 14:29:54 -07:00
  • dad1459c44 Introduce the MemberJoinedEvent class extending MembershipEvent to signal when a new member joins the distributed system (cluster) as a peer. John Blum 2020-04-27 14:28:41 -07:00
  • 0f1dbc175d Introduce the MemberDepartedEvent class extending MembershipEvent to signal when a peer member departs from the distributed system (cluster). John Blum 2020-04-27 14:27:45 -07:00
  • afb853646f Introduce the abstract MembershipEvent class to encapsulate the details of a membership event (e.g. memberJoined event) as defined by the o.a.g.distributed.internal.MembershipListener interface. John Blum 2020-04-27 14:25:27 -07:00
  • 929b2e49e5 Add MembershipListenerAdaper class implementing and adapting the o.a.g.distributed.internal.MembershipListener interface. John Blum 2020-04-26 15:38:41 -07:00
  • 3770ff4569 Introduce TupleConsumer interface extending and implementing the java.util.function.Consumer interface accepting a variable number of arguments reprented by InvocationArguments. John Blum 2020-04-26 15:33:48 -07:00
  • 7ab6cc25b8 Introduce TriConsumer interface modeled after the java.util.function.Consumer interface that accepts 3 arguments. John Blum 2020-04-26 15:31:57 -07:00
  • 6f0b2ecf84 Introduce InvocationArguments type to capture the arguments passed to a method invocation's parameters. John Blum 2020-04-26 15:30:42 -07:00
  • b1e9a30e10 Override ApplicationContext prepareRefresh() and onRefresh() methods. John Blum 2020-04-24 15:55:36 -07:00
  • 2deb202c21 Add new AbstractContextLoader implementation and extension to the Spring TestContext Framework to configure and bootstrap the RefreshableAnnotationConfigApplicationContext used in Spring based tests. John Blum 2020-04-23 14:47:04 -07:00
  • e8ddc1f744 Introduce new Spring ApplicationContext implementation and extension that is Refreshable and can be configured with Annotations. John Blum 2020-04-23 14:39:37 -07:00
  • cd85bc9112 Add SLF4J, Logback configuration file to configure the log levels for Apache Geode and Spring Framework in Integration Tests. John Blum 2020-04-23 14:38:03 -07:00
  • d5a9883258 Add optional 'apache-geode-extensions' dependency. John Blum 2020-04-24 14:43:02 -07:00
  • d0fb0b3485 Add optional 'org.springframework:spring-test' dependency. John Blum 2020-04-23 14:37:07 -07:00
  • ee4026ae4f Downgrade to Spring Boot 2.3.0.M4 (from 2.3 build snapshots). John Blum 2020-04-21 14:38:56 -07:00