Hi Devs,

The purpose of this thread is to discuss $subject.

I identified the following workflow:

   1. Application owner undeploys the app via the rest API, using
   application id
   2. This will be notified to CC over a service call
   3. CC updates the Cluster and Application statuses to 'Inactive' in
   Topology, and send the 'Application Undeployed' event
   4. Upon receiving the Application Undeployed event, Autoscaler will put
   the Application, Group and Cluster Monitors' statuses to 'Terminating' and
   start terminating members. The monitors will get removed. Also, the
   relevant events will be sent via the Application Status topic and CC will
   update the Topology with the correct statuses for Clusters, Groups, etc.
   5. Once everything is terminated and cleaned up, the Autoscaler sends
   the 'Application Terminated' event
   6. CC removed the application data from Topology upon the event
   Application Terminated event, and notify the Topology listeners

WDYT?
-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*

Reply via email to