7 Commits

Author SHA1 Message Date
Matt Ward
8dc24abf4b ALF-12866: WebDAV in-memory locking: configuration
* Improved configuration: config loaded from a Hazelcast XML config file.
* Config loading similar to JGroups, e.g. "protocol" substituted into config file name.
* Hazelcast instance no longer started unless the "alfresco.cluster.name" property is set.
* Current default member discovery protocol is UDP/multicast, however this is because
  this is the default set up shipped with Hazelcast - this is likely to change to TCP.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34266 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-02-29 13:45:45 +00:00
Matt Ward
60c4c463a8 Messaging facade: Removed failing tests from automated build.
* Added suite that runs all the 'safe' tests.
* Modified old suite to run safe tests plus unsafe tests.
* build.xml includes the safe test suite only (BuildSafeTestSuite)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-02-16 11:55:22 +00:00
Matt Ward
b85e786025 Messenger facade, a few miscellaneous bits
* more logging
* comments
* more tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33894 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-02-14 16:34:42 +00:00
Matt Ward
e40bd92c21 Messaging facade: finished changing jgroups heartbeating over to facade.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-02-14 12:27:57 +00:00
Matt Ward
ac387f5f7b Messenger facade: MessengerFactory.createMessenger() now takes app-region as parameter
* Allows single factory to be specified and individual consumers to use it to create appropriate application-region-scoped messengers.
* New interface more appropriate for where non-DI use will be required, e.g. Ehcache peer providers.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-02-13 11:08:20 +00:00
Matt Ward
b9cfc43929 Lengthened timeout on test to help avoid build errors.
I'm aware that timer-based tests are best avoided and will try to replace with something better if possible!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-02-13 09:34:50 +00:00
Matt Ward
ada5b12a8f Messaging facade for clustered communications to allow implementations from JGroups or Hazelcast to be used.
* PropertyBackedBeanExporter uses the facade, configured with JGroups messaging implementation.
* Unfortunately, some remodelling required before this will work with Ehcache's CacheManagerPeerProviderFactory




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33830 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-02-10 17:07:41 +00:00