Yup we have it already.
Because after tenant deletion (deleting userstore and registry) you cant
load the tenants and delete metadata of SS and mysql dbs.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Tue, Aug 19, 2014 at 4:59 PM, Amila Maha Arachchi <[email protected]>
wrote:

>
>
>
> On Tue, Aug 19, 2014 at 4:48 PM, Danushka Fernando <[email protected]>
> wrote:
>
>> Hi All
>> In previous reply I missed the part of deleting tenant thing. So if we
>> are deleting SS related things in tenant then I think we should add them in
>> to AF. So @Mahesh you can use rest endpoints provided by AF [1].
>>
>
> Don't you already have this in AF UI?
>
>> But my concern is either using RSSAdmin or using AF endpoints, we need to
>> delete them prior to tenant deletion. Do we have a pre tenant deletion
>> event in tenant mgt listner? If not I think we should add it to achieve
>> this.  @Dimuthu and Amila WDYT?
>>
>
> Can you explain why we need to do it prior to tenant deletion?
>
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>>
>> On Tue, Aug 19, 2014 at 3:58 PM, Danushka Fernando <[email protected]>
>> wrote:
>>
>>> Hi Amila
>>> I don't think we should promote using RSSAdmin service in app cloud.
>>> Since we (AF) doing some filtering to make it app wise isolated. They could
>>> do almost everything that they could do with RSSAdmin in AF resources UI
>>> AFAIK. If something is not there someone can report it as an improvement
>>> and so we can include it.
>>>
>>> Thanks & Regards
>>> Danushka Fernando
>>> Software Engineer
>>> WSO2 inc. http://wso2.com/
>>> Mobile : +94716332729
>>>
>>>
>>> On Tue, Aug 19, 2014 at 3:31 PM, Harsha Kumara <[email protected]> wrote:
>>>
>>>> Hi Mahesh,
>>>> Please find SS related comments inline.
>>>> On Tue, Aug 19, 2014 at 3:14 PM, Amila Maha Arachchi <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Mahesh,
>>>>>
>>>>> Regarding the Storage Server:
>>>>> If tenants create databases in the app cloud, those are handled by the
>>>>> SS. SS has admin services to check whether a tenant has created DBs. So,
>>>>> you should be able to check using them and delete using the admin 
>>>>> services.
>>>>> SS team should be able to point you to the code.
>>>>>
>>>> You can use RSSManagerService[1]  OSGi service or RSSAdmin[2] admin
>>>> service to perform operations on databases.
>>>> [1] -
>>>> https://github.com/wso2-dev/carbon-storage-management/blob/master/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSManagerService.java
>>>> [2]-
>>>> https://github.com/wso2-dev/carbon-storage-management/blob/master/components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/service/RSSAdmin.java
>>>>
>>>>>
>>>>> Regarding AppFactory:
>>>>> AF is the backbone of App Cloud. So, when a tenant is created many
>>>>> things happen. For example, create subscriptions in stratos environments,
>>>>> create 3 git repositories to be used by those three stratos environments,
>>>>> deploy the jenkins web app to the tenant in a separate app server.
>>>>>
>>>>> Ans, when a tenant creates an application in App Cloud:
>>>>> A git repo for the app is created.
>>>>>
>>>>> AF team should be able to list down above tasks in the proper oder.
>>>>>
>>>>> Regards,
>>>>> Amila.
>>>>>
>>>>>
>>>>> On Tue, Aug 19, 2014 at 2:49 PM, Mahesh Vidanagama <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> We are currently gathering information for our fast track training
>>>>>> project.
>>>>>> Which is [Cloud] Tenant deletion code/script for cloud -
>>>>>> https://redmine.wso2.com/issues/3121
>>>>>>
>>>>>> At this stage we need to know what are the undergoing processes(each
>>>>>> and every) when we create a tenant in cloud mode of any particular 
>>>>>> product.
>>>>>> Mainly we would like to know on following products
>>>>>>  1. App Factory
>>>>>> 2. Storage server
>>>>>>
>>>>>> Any help would be much appreciated.
>>>>>> Thanks.
>>>>>> --
>>>>>> Mahesh Chinthaka
>>>>>> Software Engineer , WSO2.
>>>>>>
>>>>>> Phone : (+94) 71 63 63 083
>>>>>> Email : [email protected]
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Amila Maharachchi*
>>>>> Senior Technical Lead
>>>>> WSO2, Inc.; http://wso2.com
>>>>>
>>>>> Blog: http://maharachchi.blogspot.com
>>>>> Mobile: +94719371446
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Harsha Kumara
>>>> Software Engineer, WSO2 Inc.
>>>> Mobile: +94775505618
>>>> Blog:harshcreationz.blogspot.com
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>
>
>
> --
> *Amila Maharachchi*
> Senior Technical Lead
> WSO2, Inc.; http://wso2.com
>
> Blog: http://maharachchi.blogspot.com
> Mobile: +94719371446
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to