stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sajith Kariyawasam <saj...@wso2.com>
Subject Removing application signups if (!applicationSignUpExists) ?
Date Tue, 15 Dec 2015 11:22:33 GMT
Hi Devs,

Can someone clarify this code?

In AutoscalerServiceImpl undeployApplication method I can see following
logic

 if (!applicationSignUpExists) {
...
--> undeployApplicationGracefully ()
}

Inside undeployApplicationGracefully method I can
see removeApplicationSignUp is invoked.
But why its needed since this code executes only if *not*
applicationSignUpExists ?

Thanks,
Sajith

-- 
Sajith Kariyawasam
*Committer and PMC member, Apache Stratos, *
*WSO2 Inc.; http://wso2.com <http://wso2.com>*
*Mobile: 0772269575*

Mime
View raw message