Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0043538 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2020-03-23 09:12 | 2022-02-01 07:24 | |||||||
Reporter | caristu | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
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 [^] | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 | View Revisions |
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 | View Revisions |
2020-03-28 10:40 | caristu | Proposed Solution updated | |
2022-02-01 07:24 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |