core icon indicating copy to clipboard operation
core copied to clipboard

Support Hazelcast Embedded and Client Transports/Caches

Open dsilvam opened this issue 9 years ago • 2 comments

  • The HazelCastCacheTransport needs to be renamed to HazelCastCacheTransportEmbedded. Add a Protected String to it for the xmlFilePath and create a second class that extends this class named HazelCastCacheTransportClient and just override the xmlFilePath. When loading a client for the transport layer we should never try to autowire only do this in the Embedded. So we need to also override the init() in the HazelCastCacheTransportClient but other then the String and init() all code should be the same

  • Need to make the HazelCastCacheProvidr follow the same pattern as the HazelCastCacheTransportClient above with the protected String and extending the Embedded Provider

dsilvam avatar May 04 '17 19:05 dsilvam

PR Core: #11414 PR EE: dotCMS/enterprise-2.x#464

agomez-dotcms avatar May 04 '17 20:05 agomez-dotcms

Passed QA. Both Hazelcast Embedded and Client Transports/Caches are able to be configured with AutoWire and Manual cluster. Tested on dotcms 4.1.0 distribution generated from master on commit 6b1238a Mac OS 10.10 / MySQL 5.6.35 / Firefox v45.0.1 / Tomcat 8 / Java 8

shaydotcms avatar May 23 '17 21:05 shaydotcms