Hi Himasha, Please see my inline comments, > > The scenario that we come across is as below. > > 1. Deploy a C-App containing BPEL artifacts > 2. Invoke an instance (instance 1) > 3. Redeploy the C-App with updated BPEL artifacts. > 4.When redeploying the previous C-App is undeployed which removes the > invoked instance (instance 1) as well. >
This is the expected behavior. Since CApp get redeployed previously deployed artifacts also get un-deployed. > > For our BPEL C-App deployer we have implemented AppDeploymentHandler. We > are unable to identify whether the undeployment is a direct undeployment ( > user undeploying the C-App from console) or if it is getting undeployed due > to a new upload of the same C-App. We are unable to handle the version > change since AppDeploymentHandler only provides deployArtifacts > and undeployArtifacts methods. > At the moment we don't have CApp version support. When an updated CApp get uploaded previous one get undeployed and new one will be deployed. Regards, Manoj
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev