Hi All, In AppFactory when we upload an existing artifact, it should be directly deployed to production stage. But in the current implementation sometimes it is getting deployed to development stage and sometimes it is getting deployed to production stage.
According to my understanding the reason for this is, we are creating and promoting the application within the single method "uploadExistingApplication" in [1]. In this method first we are creating the application using the uploaded artifact. Once the application is created build is triggered automatically in a background thread. At the same time we are calling the bpel service to promote the application. So building and promoting are happening at the same time. This will give some unpredictable results. To overcome this issue we need to wait until all the application creation, initial build and initial deployment processes are finished. After that we need to promote the application. Once the promotion process is finished we need to deploy the application in the production stage. Kindly expect your ideas on this issue. 1. appmgt/src/site/blocks/application/add/ajax/add.jag Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732.
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
