Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032366 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [Openbravo ERP] A. Platform | minor | N/A | 2016-02-26 14:19 | 2017-02-21 17:23 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | inigosanchez | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR16Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | b4a8ad7a445f | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0032366: callout invocation ineficiencies | |||||||
Description | Callouts are executed by FIC emulating a Servlet request, to later parse the response to generate a JSON object with the contents. This mechanism has some performance drawbacks: * There is an overhead to perform the request * Response needs to be parsed to generate a JSON Project documentation: http://wiki.openbravo.com/wiki/Projects:Callout_Performance_Improvements [^] | |||||||
Steps To Reproduce | - | |||||||
Proposed Solution | Callouts extending SimpleCallout should: 1. be directly invoked without need of doing a request 2. return a JSON object that does not require extra post processing | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Notes | |
(0089838) hgbot (developer) 2016-09-08 13:22 |
Repository: erp/devel/api-checks Changeset: 28ffc080263f4df5a4b61030dfb949d8b930a1c7 Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com> Date: Thu Sep 08 12:45:31 2016 +0200 URL: http://code.openbravo.com/erp/devel/api-checks/rev/28ffc080263f4df5a4b61030dfb949d8b930a1c7 [^] Fixes issue 33886: API change for issue 32366 --- M java/reference/java.japi.gz --- |
(0089840) hgbot (developer) 2016-09-08 13:29 |
Repository: erp/devel/pi Changeset: b4a8ad7a445ff946888867836f3c3c80cb988f2a Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com> Date: Thu Sep 08 13:20:39 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/b4a8ad7a445ff946888867836f3c3c80cb988f2a [^] Fixes issue 32366: Callout performance improvements. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/MetadataOnTab.java M modules/org.openbravo.client.application/src/org/openbravo/client/application/example/JSExecuteCalloutExample.java M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/GridConfigurationSequenceNumberCallout.java M modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/CheckOptionalFilterCallout.java M src/org/openbravo/erpCommon/ad_callouts/EmailConfiguration_Port.java M src/org/openbravo/erpCommon/ad_callouts/JavaPackageChecker.java M src/org/openbravo/erpCommon/ad_callouts/Multiphase_dates.java M src/org/openbravo/erpCommon/ad_callouts/SE_CalculateExchangeRate.java M src/org/openbravo/erpCommon/ad_callouts/SE_DimensionDocBaseType.java M src/org/openbravo/erpCommon/ad_callouts/SE_DoubtfulDebt_Method.java M src/org/openbravo/erpCommon/ad_callouts/SE_ElementValue_AccountSign.java M src/org/openbravo/erpCommon/ad_callouts/SE_GLItem_Transaction.java M src/org/openbravo/erpCommon/ad_callouts/SE_InOut_Organization.java M src/org/openbravo/erpCommon/ad_callouts/SE_InOut_Warehouse.java M src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_AccountingDate.java M src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_BPartnerLocation.java M src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_Organization.java M src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_TaxDate.java M src/org/openbravo/erpCommon/ad_callouts/SE_Locator_Activate.java M src/org/openbravo/erpCommon/ad_callouts/SE_Order_BPartner.java M src/org/openbravo/erpCommon/ad_callouts/SE_Order_BPartnerLocation.java M src/org/openbravo/erpCommon/ad_callouts/SE_Order_Organization.java M src/org/openbravo/erpCommon/ad_callouts/SE_Organization_NotTaxDeductable.java M src/org/openbravo/erpCommon/ad_callouts/SE_PaymentMethod.java M src/org/openbravo/erpCommon/ad_callouts/SE_PaymentMethod_FinAccount.java M src/org/openbravo/erpCommon/ad_callouts/SE_Payment_BPartner.java M src/org/openbravo/erpCommon/ad_callouts/SE_Payment_FinAccount.java M src/org/openbravo/erpCommon/ad_callouts/SE_Payment_MultiCurrency.java M src/org/openbravo/erpCommon/ad_callouts/SE_Payment_Transaction.java M src/org/openbravo/erpCommon/ad_callouts/SE_Sales_Pricelist.java M src/org/openbravo/erpCommon/ad_callouts/SE_StatementDate_Transaction.java M src/org/openbravo/erpCommon/ad_callouts/SE_TaxRate_Withholding.java M src/org/openbravo/erpCommon/ad_callouts/SE_Trxtype_Transaction.java M src/org/openbravo/erpCommon/ad_callouts/SL_AdvPayment_Document.java M src/org/openbravo/erpCommon/ad_callouts/SL_BP_Category_Default.java M src/org/openbravo/erpCommon/ad_callouts/SL_BPartnerLocation.java M src/org/openbravo/erpCommon/ad_callouts/SL_Commission_ListDetails.java M src/org/openbravo/erpCommon/ad_callouts/SL_CostAdjustment_DocType.java M src/org/openbravo/erpCommon/ad_callouts/SL_CostingRule_FixBackdated.java M src/org/openbravo/erpCommon/ad_callouts/SL_Costing_Currency.java M src/org/openbravo/erpCommon/ad_callouts/SL_Depreciate.java M src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java M src/org/openbravo/erpCommon/ad_callouts/SL_InOut_AccountingDate.java M src/org/openbravo/erpCommon/ad_callouts/SL_InvAmtUpd_AmtUnitCost.java M src/org/openbravo/erpCommon/ad_callouts/SL_InvAmtUpd_DocType.java M src/org/openbravo/erpCommon/ad_callouts/SL_InvAmtUpd_ProductRefDate.java M src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Locator.java M src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Product.java M src/org/openbravo/erpCommon/ad_callouts/SL_Journal_MultiAcctSchema.java M src/org/openbravo/erpCommon/ad_callouts/SL_LandedCost_DocType.java M src/org/openbravo/erpCommon/ad_callouts/SL_LandedCost_InvoiceLine.java M src/org/openbravo/erpCommon/ad_callouts/SL_LandedCost_Receipt.java M src/org/openbravo/erpCommon/ad_callouts/SL_Movement_Product.java M src/org/openbravo/erpCommon/ad_callouts/SL_Order_UpdateLinesDate.java M src/org/openbravo/erpCommon/ad_callouts/SL_Preference.java M src/org/openbravo/erpCommon/ad_callouts/SL_ProductCh_Characteristic.java M src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_WRPhase_Quantity.java M src/org/openbravo/erpCommon/ad_callouts/SL_Project_Service.java M src/org/openbravo/erpCommon/ad_callouts/SL_RefreshSequenceAndLength.java M src/org/openbravo/erpCommon/ad_callouts/SL_Reservation.java M src/org/openbravo/erpCommon/ad_callouts/SL_SequenceProduct_Product_Attribute.java M src/org/openbravo/erpCommon/ad_callouts/SL_StatusFieldDefaults.java M src/org/openbravo/erpCommon/ad_callouts/SL_TableTab.java M src/org/openbravo/erpCommon/ad_callouts/SL_TaxCategory_Org.java M src/org/openbravo/erpCommon/ad_callouts/SimpleCallout.java M src/org/openbravo/erpCommon/ad_callouts/SysInfoCustomAllowed.java A src/org/openbravo/erpCommon/ad_callouts/CalloutConstants.java A src/org/openbravo/erpCommon/ad_callouts/CalloutInformationProvider.java A src/org/openbravo/erpCommon/ad_callouts/DelegateConnectionProvider.java A src/org/openbravo/erpCommon/ad_callouts/HttpServletCalloutInformationProvider.java A src/org/openbravo/erpCommon/ad_callouts/SimpleCalloutInformationProvider.java --- |
(0089841) inigosanchez (developer) 2016-09-08 13:36 |
Several code review iterations have been done in order to improve the quality of the code. In the following sheet[1] can be seen the details of each review. [1].https://docs.google.com/a/openbravo.com/spreadsheets/d/1MgzN1Qab2GkjIu9kc6aBvBDZ50c67TEiFG8aoF50HMo/edit?usp=sharing [^] |
(0089857) hudsonbot (developer) 2016-09-08 21:36 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/bdb3e747cf46 [^] Maturity status: Test |
(0089861) hgbot (developer) 2016-09-09 08:48 |
Repository: erp/devel/pi Changeset: a4b35775939744c88fcc0f62d5552156a11abe31 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Sep 09 08:47:45 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/a4b35775939744c88fcc0f62d5552156a11abe31 [^] related with issue 32366: removed unneeded casts and boilerplate --- M src/org/openbravo/erpCommon/ad_callouts/SimpleCalloutInformationProvider.java --- |
(0089869) hudsonbot (developer) 2016-09-09 14:40 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/a0e1673dab60 [^] Maturity status: Test |
(0089939) caristu (developer) 2016-09-14 10:19 |
Code reviewed and tested as part of the project[1]. Code review iterations can be found here[2]. [1] http://wiki.openbravo.com/wiki/Projects:Callout_Performance_Improvements [^] [2] https://docs.google.com/spreadsheets/d/1MgzN1Qab2GkjIu9kc6aBvBDZ50c67TEiFG8aoF50HMo/edit?ts=57aac752#gid=0 [^] |
(0090607) hgbot (developer) 2016-10-17 08:39 |
Repository: erp/devel/pi Changeset: b468094df0d0ff1d168a03977ba314f64549b998 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Oct 14 16:02:59 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/b468094df0d0ff1d168a03977ba314f64549b998 [^] related to issue 32512, related to issue 32366: exclude callouts from web.xml Callous are not executed as Servlets so they needn't be in web.xml. SimpleCallout do not extend servlet, so callouts extending it cannot be in web.xml. --- M src-test/src/org/openbravo/test/model/ClassLoaderTest.java M src-wad/src/org/openbravo/wad/Wad_data.xsql --- |
(0092511) hudsonbot (developer) 2016-12-16 18:37 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dc8bf00badd0 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2016-02-26 14:19 | alostale | New Issue | |
2016-02-26 14:19 | alostale | Assigned To | => platform |
2016-02-26 14:19 | alostale | Modules | => Core |
2016-02-26 14:19 | alostale | Triggers an Emergency Pack | => No |
2016-02-26 14:19 | alostale | Tag Attached: Performance | |
2016-02-26 14:19 | alostale | Relationship added | related to 0032189 |
2016-06-08 13:39 | inigosanchez | Status | new => scheduled |
2016-06-08 13:39 | inigosanchez | Description Updated | View Revisions |
2016-06-08 13:39 | inigosanchez | Assigned To | platform => inigosanchez |
2016-09-02 12:07 | inigosanchez | Relationship added | related to 0033886 |
2016-09-08 13:22 | hgbot | Checkin | |
2016-09-08 13:22 | hgbot | Note Added: 0089838 | |
2016-09-08 13:29 | hgbot | Checkin | |
2016-09-08 13:29 | hgbot | Note Added: 0089840 | |
2016-09-08 13:29 | hgbot | Status | scheduled => resolved |
2016-09-08 13:29 | hgbot | Resolution | open => fixed |
2016-09-08 13:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b4a8ad7a445ff946888867836f3c3c80cb988f2a [^] |
2016-09-08 13:30 | inigosanchez | Review Assigned To | => alostale |
2016-09-08 13:36 | inigosanchez | Note Added: 0089841 | |
2016-09-08 21:36 | hudsonbot | Checkin | |
2016-09-08 21:36 | hudsonbot | Note Added: 0089857 | |
2016-09-09 08:15 | alostale | Review Assigned To | alostale => caristu |
2016-09-09 08:48 | hgbot | Checkin | |
2016-09-09 08:48 | hgbot | Note Added: 0089861 | |
2016-09-09 14:40 | hudsonbot | Checkin | |
2016-09-09 14:40 | hudsonbot | Note Added: 0089869 | |
2016-09-13 10:34 | caristu | Relationship added | causes 0033960 |
2016-09-14 10:19 | caristu | Note Added: 0089939 | |
2016-09-14 10:19 | caristu | Status | resolved => closed |
2016-09-14 10:19 | caristu | Fixed in Version | => 3.0PR16Q4 |
2016-09-14 10:20 | caristu | Target Version | => 3.0PR16Q4 |
2016-09-23 08:17 | alostale | Relationship added | related to 0034043 |
2016-09-23 12:56 | aferraz | Relationship added | causes 0034067 |
2016-09-27 16:33 | inigosanchez | Relationship added | related to 0034033 |
2016-10-17 08:39 | hgbot | Checkin | |
2016-10-17 08:39 | hgbot | Note Added: 0090607 | |
2016-10-17 08:47 | alostale | Relationship added | related to 0034213 |
2016-12-16 18:37 | hudsonbot | Checkin | |
2016-12-16 18:37 | hudsonbot | Note Added: 0092511 | |
2017-01-20 08:39 | alostale | Relationship added | related to 0035017 |
2017-02-07 08:59 | caristu | Relationship added | causes 0035176 |
2017-02-10 09:07 | alostale | Relationship added | related to 0035213 |
2017-02-10 14:32 | caristu | Relationship added | related to 0035225 |
2017-02-21 17:23 | jfrances | Issue Monitored: jfrances | |
2017-02-23 16:13 | inigosanchez | Relationship added | causes 0035334 |
2017-03-20 18:20 | aferraz | Relationship added | causes 0035540 |
2017-03-20 18:21 | aferraz | Relationship replaced | related to 0035540 |
2017-05-29 13:20 | shuehner | Relationship added | related to 0036067 |
2017-06-08 09:31 | alostale | Relationship added | duplicate of 0036192 |
2017-06-12 13:47 | alostale | Relationship added | blocks 0036228 |
2017-06-21 11:02 | aferraz | Relationship added | causes 0036302 |
2017-07-04 08:34 | caristu | Relationship added | causes 0036392 |
2017-09-21 17:18 | caristu | Relationship added | related to 0036917 |
2017-11-02 09:34 | alostale | Relationship added | blocks 0032512 |
2018-04-19 09:41 | alostale | Relationship added | related to 0038370 |
Copyright © 2000 - 2009 MantisBT Group |