GitHub user rsandidfc opened a pull request:

    https://github.com/apache/directory-server/pull/9

    Ehcache v3 update

    This pull contains changing ehcache 2.10.4 to 3.6.1. ehcache v3 is very 
different architecturally from v2. Several configuration options were removed, 
and several more programmatic capabilities removed. v3 also uses generics to 
stronger type cache instances.
    
    The first place to look to understand the changes made are in 
/directory-server/core-api/src/main/resources/directory-cacheservice.xml. There 
is no longer a "default" cache, so each cache used by ApacheDS is explicitly 
defined. The configuration properties that simply no longer map into the v3 
config I left commented out. 
    
    There was a lot more work here than I thought. Someone needs to look at 
this and the changes I had to make to get everything to compile and unit test 
and vet them all.
    
    It may simply be easier to implement JSR-107 entirely and make caching 
pluggable.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rsandidfc/directory-server ehcache-v3-update

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/directory-server/pull/9.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #9
    
----
commit 742dff9c4625725debcb754acfb0f65bc32dcfd8
Author: Administrator <administrator@...>
Date:   2018-12-26T01:51:10Z

    Updated ehcache from 2.10.4 to 3.6.1. Many cache changes to accommodate

commit 62b6e75a3c3ddbaa70e59edc09fa27df3cd01288
Author: Administrator <administrator@...>
Date:   2018-12-26T01:51:54Z

    Merge branch 'master' of 
https://gitbox.apache.org/repos/asf/directory-server.git

----


---

Reply via email to