This is an automated email from the ASF dual-hosted git repository. jjramos pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/geode.git
commit fbb132f227e81fa8aa79367d0394098eb967359d Merge: ef95dd5 1cb5fe5 Author: Juan José Ramos <[email protected]> AuthorDate: Fri Sep 28 10:03:12 2018 +0100 Merge pull request #2515 from jujoramos/feature/GEODE-5771 GEODE-5771: Deprecate PDX Persistence on Client Currently, even when set, the PDX metadata is not persisted on the client side (to avoid dealing with problems that might arise if the client's PDX data is inconsistent with the server). - Methods `setPdxPersistent` and `setPdxDiskStore` from `ClientCacheFactory` have been deprecated. - Attributes `persistent` and `disk-store-name` from the element `pdx` have been deprecated (new complex type `client-pdx-type` has been added to avoid messing with the pdx definition used for non-clients). - A `warning` message will now be logged when creating the cache if we detect that PDX persistence has been configured for a client cache. - Added test methods to `ClientCacheFactoryJUnitTest`, also replaced the usage of `junit.Assert` by `assertj`, and manual file manipulation/cleanup by `TemporaryFolder` rule. .../cache/client/ClientCacheFactoryJUnitTest.java | 430 ++++++++++++--------- .../geode/cache/client/ClientCacheFactory.java | 7 +- .../geode/pdx/internal/ClientTypeRegistration.java | 6 + .../geode.apache.org/schema/cache/cache-1.0.xsd | 47 ++- 4 files changed, 301 insertions(+), 189 deletions(-)
