Commit Graph
4 Commits
Author SHA1 Message Date
Deepak Dixit 1620e4e0ca Improved: No functional change, Only added license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812309 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 18:43:14 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Ashish Vijaywargiya 9cc29f49fe Applied patch from jira issue - OFBIZ-5898 - Tenant should run with specified domain name. Front store should support multi tenant feature. Thanks so much Arun for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643510 13f79535-47bb-0310-9956-ffa450edef68
2014-12-06 09:22:23 +00:00
Jacques Le Roux c2ea70f355 A slightly modified patch from Pierre Smits "Enhancement to create new tenants easier" (https://issues.apache.org/jira/browse/OFBIZ-3971) - OFBIZ-3971
This patch enables users to create new tenants via the ANT process.
Users can enter:
    * Tenant ID
    * Tenant Name
    * Data to load on creation of the tenant db (e.g.seed, seed-ext, demo)
    * Database Platform (Derby, MySQL, Oracle, PostgreSQL) remark: You can NOT mix platforms)
    * IP address of the database (you can add a port if needed)
    * User-ID for the database
    * Password for the database

Based on the data provided the process will:
    * Create a new row in the Tenant table
    * Create a new row in the TenantDataSource table
    * Create new tables in the new tenant database and fill with initial data (seed, seed-ext, demo)
    * Create a new admin id for the tenant (based on Tenant ID followed by '-admin')
    * Set the initial password for the tenant admin id (initial 'ofbiz', must be changed on first login)

This patch has been tested against: Derby, MySQL, PostgreSQL. This has not been tested against other db platforms.

Prior to running the ANT task the user
    * has to modify 'general.properties' in framework/common/config to reflect multi tenancy (multitenant=Y)
    * has to have appropriate db driver(s) in place
    * has to create the databases first in function of the entityengine.xml datasource-names (not for Derby, applicable for MySQL and PostgreSQL.)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065144 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 23:35:01 +00:00