Hi, Another thing we have to know is, Apart from the creation of tenant, Tenant may bind to other resources during it's lifetime. We have to delete those resource as well, if those resources has not dependencies. It would be great ,if someone can point us in right direction in that case?
Thanks On Wed, Aug 20, 2014 at 4:40 AM, Godwin Shrimal <[email protected]> wrote: > Hi, > > We are working on Training project (*[Cloud] Tenant deletion code/script > for cloud* - https://redmine.wso2.com/issues/3121) , there for studying > the process of create tenant in App Cloud. We studied the *CreateTenant.bpel > *(under appfactory/1.1.0/modules/bpels/CreateTenant) which is use to > create the tenant in App Cloud. > > Listed below the identified create and delete tenant process > > *Create Tenant Process* > > 1. Initialize Repository Manager > > Nothing happens at the moment in the source code. > > 2. Initialize Build Manager > > 1. Deploy jenkins web application(jenkins.war) on application server > > 3. Initialize Cloud Manager > > 1. Perform addTenant operation in TenantMgtAdminService > > 2. Create Git repository (use gitblit api to create repo in Git, API has > the delete repository functionality ) > > 3. Subscribe for Stratos (Use Stratos Rest Service for subscribe) > > 4. Tenant Creation Listeners Notification > 1. Perform addSkeletonTenant operation in TenantMgtAdminService > > > > *Delete Tenant Process (propose)* > > 1. Perform TenantMgtAdminService deleteTenant operation > > 1. Delete Billing data > > 2. Delete Tenant Registration Data (Ex. REG_CLUSTER_LOCK, REG_LOG) > > 3. Delete Tenant User management data (Ex. UM_USER_PERMISSION, UM_USER) > > 4. Remove Tenant information from cache > > 5. Delete UM_TENANT table > > 2. Undeploy jenkins web app from application server > > 3. Delete Git repository (use gitblit api to delete repo in Git) > > 4. Unsubscribe Stratos using Stratos Rest Service > > > Please give you all feedback on this. > > > Thanks > Godwin > > -- > *Godwin Amila Shrimal* > Senior Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: *+94772264165* > linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* > twitter: https://twitter.com/godwinamila > -- Lakshman Udayakantha Software Engineer, WSO2 Mobile: *0711241005* *[email protected] <[email protected]>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
