grails-plugins/grails-redis — pull request #9 by ctoestreich (2012-04-25 22:43:55+00:00)
Title: Added ability to configure multiple endpoints

I added the ability to wire up multiple connection beans and to pass a connection to most of the methods on the RedisService. This could be useful if a user wanted to have separate servers/pools for managing different responsibilities; ie cache, gorm, memoization, etc.

The spock test RedisMultipleConnectionsSpec to run against multiple servers is in the underlying test\projects\default project. It is currently set to ignore. To run the test the resources.groovy will need to be updated to point to separate running redis instances on different hosts or ports and have the @Ignore removed.

I initially only added this to the withRedis method but felt that it needed to be expanded to cover all feature methods on the service especially to support the flush and key removal methods.

Usage documentation has bee added to the README.