diff --git a/mifosng-provider/build.gradle b/mifosng-provider/build.gradle index 015fee436..4741c00e3 100644 --- a/mifosng-provider/build.gradle +++ b/mifosng-provider/build.gradle @@ -163,8 +163,7 @@ dependencies { [group: 'org.quartz-scheduler', name: 'quartz', version: '2.1.7'], [group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.2.1'], - [group: 'com.google.code.simple-spring-memcached', name: 'xmemcached-provider', version: '3.2.0'], - [group: 'com.google.code.simple-spring-memcached', name: 'spring-cache', version: '3.2.0'] + [group: 'net.sf.ehcache', name: 'ehcache', version: '2.7.2'] ) testCompile 'junit:junit:4.10', diff --git a/mifosng-provider/src/main/resources/META-INF/spring/appContext.xml b/mifosng-provider/src/main/resources/META-INF/spring/appContext.xml index c7b519280..7d47e30fa 100644 --- a/mifosng-provider/src/main/resources/META-INF/spring/appContext.xml +++ b/mifosng-provider/src/main/resources/META-INF/spring/appContext.xml @@ -58,6 +58,6 @@ - + \ No newline at end of file diff --git a/mifosng-provider/src/main/resources/META-INF/spring/cache.xml b/mifosng-provider/src/main/resources/META-INF/spring/cache.xml new file mode 100644 index 000000000..171a4a8d3 --- /dev/null +++ b/mifosng-provider/src/main/resources/META-INF/spring/cache.xml @@ -0,0 +1,27 @@ + + + + + + + + + \ No newline at end of file diff --git a/mifosng-provider/src/main/resources/META-INF/spring/ehcache.xml b/mifosng-provider/src/main/resources/META-INF/spring/ehcache.xml new file mode 100644 index 000000000..14883e6e1 --- /dev/null +++ b/mifosng-provider/src/main/resources/META-INF/spring/ehcache.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/mifosng-provider/src/main/resources/META-INF/spring/memcached.xml b/mifosng-provider/src/main/resources/META-INF/spring/memcached.xml deleted file mode 100644 index c364d6b1c..000000000 --- a/mifosng-provider/src/main/resources/META-INF/spring/memcached.xml +++ /dev/null @@ -1,200 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file