hi All, In Dimtry's uber stories he came up with URL Mapping requirement for the applications deployed in Production.
This is how it will be implemented in App Factory front. AppOwner only has permissions to domain mapping. 1. If there are more than one version of the same Application in production, the domain mapping is available only for one version and it is configuarable in AppHome. (That is because in reality there can't be multiple versions of the same application in Production. So only one domain mapping would be enough. But in App Factory there can be multiple versions of the same application in production) 2. User can only set the subdomian in App Home page. Subdomain will be validated for its availability via the API provided in Stratos Manager. Based on the available subdomain the Production URL will be created and displayed in AppHome as follows: http://<subdomain>.cloudapps.com 3.When a particualr app version is promoted to production, the above url, cartridge type and the tenant id need to be passed to Stratos Manager via the API. 4. The App version which has domain mapping will be highlighted. When the deploy button is hit from Build n Repo page/AppHome page for this App version, if AS is fronted by LB then LB will forward the request to correct cluster node or else the request will directly hit AS. 6. Using the Virtual Host concept in AS, the deployed application will be available in the browser. -- Thanks and Regards, Punnadi Gunarathna Senior Software Engineer, WSO2, Inc.; http://wso2.com <http://wso2> Blog: http://hi-my-world.blogspot.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 <http://lalajisureshika.blogspot.com/>
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
