Hi All I am currently working on the Bring Your Own App Type feature. Currently I have implemented a Axis2 Deployer which will deploy Application Types. And with this we can create applications and build and deploy. But for the purpose of deployment we use Jenkins (plugin wrote by us) to push the artifact to the git repo (Dep sync location). There we have a structure like below.
<Stage>/<tenant id>/<service>/<deployment path>/artifact for ex: Development/1/as/webapps/app1.war So the deployment path is configured as a property of the apptype. So we need to send this value to the JenkinsArtifactDeployer to push this to correct place. But we dont have the mapping to apptype to deployment path in current architecture at jenkins side. So we need to sent it to jenkins from where ever we call it from. Currently we are calling this from three places. 1. When we click deploy, we call Jenkins deployer from AF. Here we can send the deployment path as a param since its available. 2. When we commit auto build and auto deploy will triggered. 3. When we build auto deploy will triggered. So the solution we propose is use the path 1 for all the cases. But this will increase the network usage. Solution we propose for that issue is use a scaled deployment such as there will be a separate cluster to handle deploy messages. WDYT? Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture