Bug 793513 (JBEPP-594)

Summary: Cache portal config for the scope of the requess
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Prabhat Jha <prabhat.jha>
Component: unspecifiedAssignee: mposolda
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.GA, 5.1.1.GACC: jmorgan, theute
Target Milestone: ---   
Target Release: 5.2.1.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-594
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-30 16:53:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Prabhat Jha 2010-10-29 13:26:15 UTC
project_key: JBEPP

Please see https://jira.jboss.org/browse/GTNPORTAL-1610

Comment 1 Prabhat Jha 2010-10-29 13:26:45 UTC
Link: Added: This issue depends GTNPORTAL-1610


Comment 2 hfnukal@redhat.com 2012-01-11 11:50:41 UTC
Labels: Added: EPP_5_2_1_Candidate


Comment 4 Thomas Heute 2012-01-12 10:26:43 UTC
Labels: Removed: EPP_5_2_1_Candidate 


Comment 6 mposolda 2012-01-30 16:53:42 UTC
Release Notes Docs Status: Removed: Not Required Added: Not Yet Documented
Release Notes Text: Added: Issue is outdated and probably it has been already fixed in 5.2.0 as well. So I am not sure if it needs to be documented or not, so I am adding status to "Not Yet Documented" for now. I am adding some info if needed.

PROBLEM: There was small performance problem that downloading some portal configuration objects from IDM and JCR database were repeated more times per HTTP single request. So it was not ideal because we had more redundant calls with same parameters.

CAUSED BY: Missing caching of UserPortalConfig object.

RESOLUTION: Now when PortalRequestContext.getUserPortalConfig is called first time per HTTP request, then UserPortalConfig object is cached. Other calls to PortalRequestContext.getUserPortalConfig within same HTTP request are using object from cache and they don't need to send another requests to persistent storages like IDM or JCR.


Comment 7 mposolda 2012-03-22 19:37:00 UTC
Release notes not needed (I don't see "-" flag)