Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0043538 | Openbravo ERP | A. Platform | public | 2020-03-23 09:12 | 2022-02-01 07:24 | |||||||
Reporter | caristu | |||||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0043538: Implement usage of "singleton" element for the REST web services | |||||||||||
Description | As explained in the wiki[1] REST web services are registered through a configuration file. This configuration file can include field named "singleton" which currently is ignored. This means that on each request executed for a REST web service in particular, a new instance of the related web service class is being created. [1] http://wiki.openbravo.com/wiki/How_to_create_a_new_REST_webservice#Registering_the_webservice [^] | |||||||||||
Steps To Reproduce | In description | |||||||||||
Proposed Solution | a) Make use of the singleton element here[2] to create a Registration class which uses the same instance of the web service when singleton is true. b) Instantiate the class using weld. In this case, we would not use the singleton element at all and we would annotate it as @ApplicationScoped instead. See 0041479. [2] https://code.openbravo.com/erp/devel/pi/file/tip/src/org/openbravo/base/provider/OBProviderConfigReader.java#l70 [^] | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-03-23 09:12 | caristu | New Issue | ||||||||||
2020-03-23 09:12 | caristu | Assigned To | => platform | |||||||||
2020-03-23 09:12 | caristu | Modules | => Core | |||||||||
2020-03-23 09:12 | caristu | Triggers an Emergency Pack | => No | |||||||||
2020-03-23 09:12 | caristu | Relationship added | related to 0041479 | |||||||||
2020-03-23 09:12 | caristu | Description Updated | bug_revision_view_page.php?rev_id=20578#r20578 | |||||||||
2020-03-23 09:13 | caristu | Proposed Solution updated | ||||||||||
2020-03-23 09:14 | caristu | Summary | Implement usage of singleton element for the REST web services => Implement usage of "singleton" element for the REST web services | |||||||||
2020-03-23 09:14 | caristu | Description Updated | bug_revision_view_page.php?rev_id=20579#r20579 | |||||||||
2020-03-28 10:40 | caristu | Proposed Solution updated | ||||||||||
2022-02-01 07:24 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |