You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2015/11/12 17:22:34 UTC
svn commit: r1714085 - in /ofbiz/trunk/framework/entity:
data/TenantDemoData.xml ofbiz-component.xml
Author: jleroux
Date: Thu Nov 12 16:22:34 2015
New Revision: 1714085
URL: http://svn.apache.org/viewvc?rev=1714085&view=rev
Log:
A patch from Pierre Smits for "Remove tenant data from the demo data set" https://issues.apache.org/jira/browse/OFBIZ-5757
The demo data set (in location /framework/entity/data/TenantDemoData.xml) contains elements to load the tenants DEMO1 and DEMO2 into the implemented OFBiz setup.
This data set is intended to be loaded into the master tables when a user wants to explore multity tenancy. However, when a user also wants/needs to load demo data into the tenant DEMO1 or DEMO2 OFBiz also tries to upload the demo setup data for each tenant. This is not allowed as tenants do not have access to tables:
# Tenant
# Tenantdatasource
# etc
jleroux: (based on a Pierre's comment)
With
./ant create-tenant
and
./ant load-tenant-data-readers
We provide enough tools to explore the opportunity to demonstrate the multi-tenancy aspects of OFBiz.
Moreover OFBIZ-6720 will be used to rewrite the multi-tenant support page in wiki. We will then see if we should not remove old ant tenant related targets now useless
Removed:
ofbiz/trunk/framework/entity/data/TenantDemoData.xml
Modified:
ofbiz/trunk/framework/entity/ofbiz-component.xml
Modified: ofbiz/trunk/framework/entity/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/ofbiz-component.xml?rev=1714085&r1=1714084&r2=1714085&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/entity/ofbiz-component.xml Thu Nov 12 16:22:34 2015
@@ -33,8 +33,6 @@ under the License.
<!-- these are for unit testing -->
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel_test.xml"/>
-
- <entity-resource type="data" reader-name="demo" loader="main" location="data/TenantDemoData.xml"/>
<test-suite loader="main" location="testdef/entitytests.xml"/>