You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2007/11/11 09:36:44 UTC
svn commit: r593859 - /ofbiz/trunk/applications/order/servicedef/services.xml
Author: jonesde
Date: Sun Nov 11 00:36:43 2007
New Revision: 593859
URL: http://svn.apache.org/viewvc?rev=593859&view=rev
Log:
Small changes to add default parameters to make a simple test easy, and one that causes the lock wait timeout problem too
Modified:
ofbiz/trunk/applications/order/servicedef/services.xml
Modified: ofbiz/trunk/applications/order/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services.xml?rev=593859&r1=593858&r2=593859&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services.xml Sun Nov 11 00:36:43 2007
@@ -843,13 +843,13 @@
<service name="createTestSalesOrders" engine="java" auth="true" transaction-timeout="300"
location="org.ofbiz.order.order.OrderServices" invoke="createTestSalesOrders">
- <description>Bulk create test sales orders.</description>
- <attribute name="productCategoryId" type="String" mode="IN" optional="false"/>
- <attribute name="productStoreId" type="String" mode="IN" optional="false"/>
- <attribute name="currencyUomId" type="String" mode="IN" optional="false"/>
- <attribute name="partyId" type="String" mode="IN" optional="false"/>
- <attribute name="numberOfOrders" type="Integer" mode="IN" optional="false"/>
- <attribute name="numberOfProductsPerOrder" type="Integer" mode="IN" optional="false"/>
+ <description>Bulk create test sales orders. Note that default-values depend on demo data in ecommerce/data.</description>
+ <attribute name="productCategoryId" type="String" mode="IN" optional="true" default-value="100"/>
+ <attribute name="productStoreId" type="String" mode="IN" optional="true" default-value="9000"/>
+ <attribute name="currencyUomId" type="String" mode="IN" optional="true" default-value="USD"/>
+ <attribute name="partyId" type="String" mode="IN" optional="true" default-value="DemoCustomer"/>
+ <attribute name="numberOfOrders" type="Integer" mode="IN" optional="true" default-value="10"/>
+ <attribute name="numberOfProductsPerOrder" type="Integer" mode="IN" optional="true" default-value="5"/>
<attribute name="salesChannel" type="String" mode="IN" optional="true"/>
</service>
</services>