You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pierre Smits (JIRA)" <ji...@apache.org> on 2010/10/01 11:54:33 UTC

[jira] Created: (OFBIZ-3971) enhancement to create new tenants easier

enhancement to create new tenants easier
----------------------------------------

                 Key: OFBIZ-3971
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3971
             Project: OFBiz
          Issue Type: Improvement
          Components: commonext/setup, framework
    Affects Versions: SVN trunk
         Environment: All
            Reporter: Pierre Smits
             Fix For: SVN trunk


This modification enables backend admins to easier create new tenants. 

It first enters data about the tenant (tenantID and tenantName) in entity Tenant and TenantDataSource.

Subsequently it creates the databases (derby only) for the new delegator. The backend-admin can state which datafiles must be loaded in the newly created databases (seed, seed-initial, ext, etc...)

Finally it creates the tenant-admin and its password in the newly created database. The name of tenant-admin is based on the tenantId given (i.e. tenantId-admin). The password of the tenant-admin must be changed on first login.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3971) enhancement to create new tenants easier

Posted by "Pierre Smits (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Smits updated OFBIZ-3971:
--------------------------------

    Attachment: OFBiz-NewTenant-20101001.patch

This is the associated patch.

The backend-admin must still set multitenant to Y in general.properties in /framework/common/config

> enhancement to create new tenants easier
> ----------------------------------------
>
>                 Key: OFBIZ-3971
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3971
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: commonext/setup, framework
>    Affects Versions: SVN trunk
>         Environment: All
>            Reporter: Pierre Smits
>             Fix For: SVN trunk
>
>         Attachments: OFBiz-NewTenant-20101001.patch
>
>
> This modification enables backend admins to easier create new tenants. 
> It first enters data about the tenant (tenantID and tenantName) in entity Tenant and TenantDataSource.
> Subsequently it creates the databases (derby only) for the new delegator. The backend-admin can state which datafiles must be loaded in the newly created databases (seed, seed-initial, ext, etc...)
> Finally it creates the tenant-admin and its password in the newly created database. The name of tenant-admin is based on the tenantId given (i.e. tenantId-admin). The password of the tenant-admin must be changed on first login.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.