[ 
https://issues.apache.org/jira/browse/KNOX-3156?focusedWorklogId=971794&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-971794
 ]

ASF GitHub Bot logged work on KNOX-3156:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Jun/25 11:59
            Start Date: 04/Jun/25 11:59
    Worklog Time Spent: 10m 
      Work Description: hanicz opened a new pull request, #1053:
URL: https://github.com/apache/knox/pull/1053

   …cking issue
   
   ## What changes were proposed in this pull request?
   
   - New ability to add files as Ehcache config that are not on the classpath
   - Fixed an issue when multiple topologies used the same configuration file 
and the persistence folder couldn't be locked due to it. In this case the 
exception is caught and the persistence folder's path is changed. This makes it 
possible for users to not provide configuration files and the default one used 
for every topology.
   - New test case for multiple cache managers with the same configuration file.
   - Formatted the KnoxCacheManager class.
   
   The methods that changed are: **resolveLockConflict**, **getResource** and 
**ensureCacheManager**.
   
   ## How was this patch tested?
   
   Unit tests
   Manual tests with ldap and pam
   
   Enabled caching on two topologies and verified that the cache is working. 
Checked the gateway logs as well for related messages.
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 971794)
    Remaining Estimate: 0h
            Time Spent: 10m

> Improve Ehcache 3.x
> -------------------
>
>                 Key: KNOX-3156
>                 URL: https://issues.apache.org/jira/browse/KNOX-3156
>             Project: Apache Knox
>          Issue Type: Improvement
>    Affects Versions: 2.1.0
>            Reporter: Tamás Hanicz
>            Assignee: Tamás Hanicz
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> * Add new ability to load Ehcache config file from a file that's not on the 
> classpath
>  * Knox should resolve lock dir exceptions on its own in case two topologies 
> use the same configuration file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to