This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push: new 4511f5e6f Fixed: quickInitDataWarehouse fails (OFBIZ-13060) 4511f5e6f is described below commit 4511f5e6f69d0bd19df3ce3baecb8a8e23f8d54e Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Thu Apr 25 19:28:54 2024 +0200 Fixed: quickInitDataWarehouse fails (OFBIZ-13060) There were 2 reasons. I thought initially that it was only my bad in BiSystemPropertyData.xml where I set the thruDate value for bi.property to 2133-09-01 instead of 2033-09-01 But it turned out that I had also to increase the quickInitDataWarehouse and loadInventoryFact service timeouts to 300. I picked 300, I guess it's a bit much, to follow loadDateDimension service. --- bi/data/BiSystemPropertyData.xml | 7 +++---- bi/servicedef/services.xml | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/bi/data/BiSystemPropertyData.xml b/bi/data/BiSystemPropertyData.xml index df6caac58..67d759b28 100644 --- a/bi/data/BiSystemPropertyData.xml +++ b/bi/data/BiSystemPropertyData.xml @@ -19,16 +19,15 @@ under the License. --> <entity-engine-xml> <!-- -# The fromDate value for business intelligence -bi.properties setting is: fromDate=2013-09-01 +# The fromDate value for business intelligence bi.property setting is: fromDate=2023-09-01 --> <SystemProperty systemResourceId="bi" systemPropertyId="fromDate" systemPropertyValue="2023-09-01" description="The fromDate value for business intelligence. Convention: yyyy-mm-dd" /> <!-- -# The thruDate value for for business intelligence bi.properties setting is: 2123-09-01 +# The thruDate value for for business intelligence bi.property setting is: 2033-09-01 --> - <SystemProperty systemResourceId="bi" systemPropertyId="thruDate" systemPropertyValue="2133-09-01" + <SystemProperty systemResourceId="bi" systemPropertyId="thruDate" systemPropertyValue="2033-09-01" description="The thruDate value for business intelligence. Convention: yyyy-mm-dd" /> diff --git a/bi/servicedef/services.xml b/bi/servicedef/services.xml index f4f5bc29b..16ab41086 100644 --- a/bi/servicedef/services.xml +++ b/bi/servicedef/services.xml @@ -35,7 +35,7 @@ under the License. <attribute name="naturalKeyFields" type="Map" mode="IN" optional="false"/> <!-- the names/values pairs of the fields that compose the natural key of the dimension --> <attribute name="dimensionId" type="String" mode="OUT" optional="true"/> </service> - <service name="quickInitDataWarehouse" auth="true" engine="groovy" + <service name="quickInitDataWarehouse" auth="true" engine="groovy" transaction-timeout="300" location="component://bi/src/main/groovy/org/apache/ofbiz/bi/DimensionServices.groovy" invoke="quickInitDataWarehouse"> <description>Quickly initialize the dimensions (Currency, Date, Product) and facts (SalesInvoiceItem): useful to quickly initialize the datawarehouse.</description> <attribute name="fromDate" type="Timestamp" mode="IN" optional="false"/> @@ -140,7 +140,7 @@ under the License. </service> <!-- Inventory Facts --> - <service name="loadInventoryFact" auth="true" engine="groovy" + <service name="loadInventoryFact" auth="true" engine="groovy" transaction-timeout="300" location="component://bi/src/main/groovy/org/apache/ofbiz/bi/FactServices.groovy" invoke="loadInventoryFact"> <attribute name="inventoryItemId" type="String" mode="IN" optional="true"/> </service>