Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014079Openbravo ERPA. Platformpublic2010-07-28 17:022022-02-01 08:09
shuehner 
Triage Platform Base 
normalminorhave not tried
newout of date 
5
 
 
Core
No
0014079: Check if obcontext-caching is needed/useful when using the REST-service, or provide other way to achieve some perf gain
The fix in issue 14011 had to disable the OBContext caching when using the REST-webservice with some configurable authentication manager.

This might lead to some (unknown) performance loss.

The impact should be measure and either the cache extended to support more key fields, or another way should be research/documented to not get this performance loss of setting up an obcontext on each http request, by i.e.
- (optionally) use http session (i.e. use a session cookie on the client)
- make a slimmer obcontext with less setup overhead for the rest use-case (if possible)
No tags attached.
related to defect 0014011 closed shuehner org.openbravo.service.web.authentication module does not support AuthenticationManagers which directly set a role 
Issue History
2010-07-28 17:02shuehnerNew Issue
2010-07-28 17:02shuehnerAssigned To => mtaal
2010-07-28 17:02shuehnerRelationship addedrelated to 0014011
2010-07-30 11:32mtaalNote Added: 0029700
2010-07-30 11:33mtaalNote Added: 0029701
2016-10-21 11:05mtaalStatusnew => closed
2016-10-21 11:05mtaalResolutionopen => out of date
2016-10-21 13:17mtaalTag Attached: MT_closed_out_of_date
2016-10-21 14:08mtaalAssigned Tomtaal => platform
2016-10-21 14:09mtaalStatusclosed => new
2016-10-21 14:12mtaalTag Detached: MT_closed_out_of_date
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

Notes
(0029700)
mtaal   
2010-07-30 11:32   
Apparently the Apache httpclient does offer java http connection functionality with cookie and session management.

See here for more information:
http://hc.apache.org/httpcomponents-client/primer.html [^]

gr. Martin
(0029701)
mtaal   
2010-07-30 11:33   
I will test this and if it works add a note to the docs about this.

If it works fine then obcontext caching is not needed anymore as people have an alternative way of connecting to the server.

gr. Martin