Tenant deletion implementation shouldn't be in the Kernel, only the APIs. You can check the carbon-multitenancy git repository for such implementations.
We need to this soon. Thanks, Sameera. On Mon, Oct 13, 2014 at 7:44 PM, Amila Maha Arachchi <[email protected]> wrote: > Thanks. Just wanted to make sure we don't drop the ball on this. If we > miss adding this to 4.3.0 we loose a huge opportunity to support tenant > deletion in our platform. > > On Mon, Oct 13, 2014 at 7:27 PM, Godwin Amila Shrimal <[email protected]> > wrote: > >> Hi Amila, >> >> I discussed offline with the carbon team on this will send the pull >> request by tomorrow, since have to apply all the code changes which done in >> local SVN to Git. >> >> >> Thanks >> Godwin >> >> >> >> On Mon, Oct 13, 2014 at 7:21 PM, Amila Maha Arachchi <[email protected]> >> wrote: >> >>> Hi Godwin, >>> >>> Were you able to provide the pull requests as requested by Sameera. We >>> need to get them pushed to 4.3.0 kernel release. >>> >>> Regards, >>> Amila. >>> >>> On Fri, Oct 3, 2014 at 12:00 PM, Sameera Jayasoma <[email protected]> >>> wrote: >>> >>>> Hi Amila, >>>> >>>> Can we get the necessary pull request for this feature? Please fork the >>>> wso2/carbon4-kernel repo and create pull requests? >>>> >>>> Thanks, >>>> Sameera. >>>> >>>> On Thu, Oct 2, 2014 at 11:09 PM, Amila Maha Arachchi <[email protected]> >>>> wrote: >>>> >>>>> Sameera, >>>>> >>>>> We need this to be committed to 4.3.0 Kernel so that any product >>>>> release which goes with 4.3.0 can support tenant deletion. Godwin et al >>>>> can >>>>> send pull requests. If you need lets have a chat about this before that. >>>>> >>>>> Regards, >>>>> Amila. >>>>> >>>>> On Thu, Oct 2, 2014 at 7:23 PM, Godwin Amila Shrimal <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> We did Cloud Tenant Deletion as the training project. Out of all >>>>>> patches there are three patches related to Carbon core as mentioned >>>>>> below. >>>>>> >>>>>> 1. *javax.cache * >>>>>> >>>>>> We added a method to *CacheManagerFactoryImpl *class which delete >>>>>> the global cache for a specific tenant. >>>>>> >>>>>> public void removeTenant(String tenantDomain) { >>>>>> globalCacheManagerMap.remove(tenantDomain); >>>>>> >>>>>> } >>>>>> 2. *org.wso2.carbon.user.api* >>>>>> >>>>>> Added a method to *TenantManager *interface which allow only delete >>>>>> the tenantmanager cache other than persistent storage. >>>>>> >>>>>> public void deleteTenant(int tenantId, boolean >>>>>> removeFromPersistentStorage)throws UserStoreException; >>>>>> >>>>>> 2. *org.wso2.carbon.user.core* >>>>>> >>>>>> Implemented above deleteTenant method in JDBCTenantManager. >>>>>> >>>>>> >>>>>> Please give a feedback on this how we can add this to next carbon >>>>>> release. >>>>>> >>>>>> >>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> *Amila Maharachchi* >>>>> Senior Technical Lead >>>>> WSO2, Inc.; http://wso2.com >>>>> >>>>> Blog: http://maharachchi.blogspot.com >>>>> Mobile: +94719371446 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Sameera Jayasoma, >>>> Software Architect, >>>> >>>> WSO2, Inc. (http://wso2.com) >>>> email: [email protected] >>>> blog: http://sameera.adahas.org >>>> twitter: https://twitter.com/sameerajayasoma >>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections >>>> Mobile: 0094776364456 >>>> >>>> Lean . Enterprise . Middleware >>>> >>>> >>> >>> >>> -- >>> *Amila Maharachchi* >>> Senior Technical Lead >>> WSO2, Inc.; http://wso2.com >>> >>> Blog: http://maharachchi.blogspot.com >>> Mobile: +94719371446 >>> >>> >> >> >> -- >> *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 >> > > > > -- > *Amila Maharachchi* > Senior Technical Lead > WSO2, Inc.; http://wso2.com > > Blog: http://maharachchi.blogspot.com > Mobile: +94719371446 > > -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: [email protected] blog: http://sameera.adahas.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
