Hi Devs,

When we want to delete a single tenant application user have to first
undeploy the application and then delete it. If a user wants to do it
programatically, one way is to undepoy and wait for a certain period and
then delete this is not reliable since the waiting time is uncertain.

Other way is to register an event listener to listen to application event
and delete the app on undeployent.  Are there any options to achieve app
deletion instead of the above?

If not IMO it's better to provide a single method to delete the application
(either forcefully) instead of letting the user to do it using a listener.
WDYT?

Use case here is I'm spinning stratos applications for each single tenant
appfactory application and it's versions, when a user deletes an appfactory
application, appfactory should be able to delete all the related resources
from stratos either forcefully andd user should be able to create an
application with the same name again.

Regards,
-- 
*Anuruddha Premalala (MIEEE)Mobile : +94710461070E-mail  :
anuruddhaprema...@gmail.com <anuruddhaprema...@gmail.com>web      :
www.regilandvalley.com <http://www.regilandvalley.com>Sri Lanka.*

Reply via email to