[
https://issues.apache.org/jira/browse/CMIS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317871#comment-14317871
]
Francesco Uliana commented on CMIS-888:
---------------------------------------
Hi Florian,
I did some further investigation about the problem.
I provided as a Session parameter, my own
"org.apache.chemistry.opencmis.binding.repositoryInfoCache" implementation
while instantiating a new org.apache.chemistry.opencmis.client.api.Session.
The problem is that when it's invoked
org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl#clearAllCaches
the parameter is overridden by the default RepositoryInfoCache:
{code:java}
session.put(CmisBindingsHelper.REPOSITORY_INFO_CACHE, new
RepositoryInfoCache(session));
{code}
> Make RepositoryInfo Cacheable
> -----------------------------
>
> Key: CMIS-888
> URL: https://issues.apache.org/jira/browse/CMIS-888
> Project: Chemistry
> Issue Type: Improvement
> Components: opencmis-client-bindings
> Affects Versions: OpenCMIS 0.12.0
> Reporter: Francesco Uliana
> Priority: Minor
>
> each time I create a new org.apache.chemistry.opencmis.client.api.Session
> with
> org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl#createSession(..)
> the cmis client perform an HTTP GET request to
> "/alfresco/api/-default-/public/cmis/versions/1.1/atom?repositoryId=-default".
> The response from alfresco is always the same, could you allow some kind of
> policy to cache globally RepositoryInfo?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)