Commit Graph

5 Commits

Author SHA1 Message Date
Mark H. Wood
b9ca1deb42 [DS-3823] Give distinct names to the services and Hibernate cache managers. 2019-04-05 16:55:28 -04:00
Chris Herron
fd4608c9e0 DS-3710 Fix ehcache config conflict 2018-04-09 16:39:43 +12:00
Mark H. Wood
033b023b81 [DS-3694] Remove huge blocks of commentary that obscure the settings.
This includes much sample configuration for distributed caching which
DSpace has never used, and documentation of EHCache itself.  If you
want to know more about EHCache, consult its own documentation sources.
2018-02-22 11:47:23 -05:00
Mark H. Wood
781a26b56d [DS-3694] Configure CacheManagers to suppress version check.
Don't set corresponding system property -- it's the wrong way to do
this in Servlet code, and anyway the manager is already initialized
before we can set it.
Remove fallback code that should never execute because injection is @Required.
2018-02-22 11:43:51 -05:00
Tom Desair (Atmire)
1ccd6d1e13 Ds 3552 read only context and hibernate improvements (#1694)
* Refactor READ ONLY mode in Context and adjust hibernate settings accordingly

* Set Context in READ-ONLY mode when retrieving community lists

* Fix Hibernate EHCache configuration + fix some Hibernate warnings

* Cache authorized actions and group membership when Context is in READ-ONLY mode

* Set default Context mode

* Let ConfigurableBrowse use a READ-ONLY context

* Add 2nd level cache support for Site and EPerson DSpaceObjects

* Added 2nd level caching for Community and Collection

* Fix tests and license checks

* Cache collection and community queries

* Small refactorings + backwards compatibility

* Set Context to READ-ONLY for JSPUI submissions and 'select collection' step

* OAI improvements part 1

* OAI indexing improvements part 1

* OAI indexing improvements part 2

* DS-3552: Only uncache resource policies in AuthorizeService when in read-only

* DS-3552: Additional comment on caching handles

* DS-3552: Fix cache leakage in SolrServiceResourceRestrictionPlugin

* DS-3552: Clear the read-only cache when switching Context modes

* DS-3552: Correct Group 2nd level cache size

* DS-3552: Always clear the cache, except when going from READ_ONLY to READ_ONLY
2017-06-12 13:50:45 +00:00