Hi, This is one of the solutions people are using.
Name the CAR file as xxx-car-v-1.0 Name all the artifacts inside it as artifact-xxx-v-1.0 Then deploy CAR files. Old ones will not be replaced. The references in each artifact to one another should be updated. We can do this to endpoints. But doing this to all will be cumbersome. Thanks On Thu, Jun 4, 2015 at 8:11 AM, Manoj Kumara <[email protected]> wrote: > 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 > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
