Author: jonesde
Date: Sun Nov 11 00:36:43 2007
New Revision: 593859
URL:
http://svn.apache.org/viewvc?rev=593859&view=revLog:
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>