Hi,

I am continuing project " Support Tomcat Virtual Hosts in WSO2 AS" [1]
adding the following improvements.

   - Improvements:
   - Enable adding webapps with the same name to different host-names
      - Improve UI support to add webapps to different virtual hosts
      - Update application list to view host name of the webapp

Webapp upload page with option to select hostname:
​​​
 upload-page.png
<https://docs.google.com/a/wso2.com/file/d/0B3LbkLV5KkU_ak1sdDhsV1lLUlk/edit?usp=drive_web>
​
Application list with same webapp names in different hosts:
​​​
 application-list.png
<https://docs.google.com/a/wso2.com/file/d/0B3LbkLV5KkU_YXBSRkVNaDdwbDQ/edit?usp=drive_web>
​
Implementation:

   - Current implementation uses a single web-application holder for all
   the applications and saves web-applications with their names. This limits
   saving two webapps with same name.
   - I have changed it to add different web-application holders to
      different appBase locations so that two webapps with same name
can exist in
      two webapp holders.
   - Current implementation saves metadata in
   <WSO2_AS_HOME>/repository/deployment/server/artifactMetafiles/webapp/.
      - I have changed this to save metadata in a directory per
      webappholder inside "artifactMetafiles"
      
(eg:<WSO2_AS_HOME>/repository/deployment/server/artifactMetafiles/appBase1/
      , <WSO2_AS_HOME>/repository/deployment/server/artifactMetafiles/appBase2/
)
   - I have used webapp-name and host-name pair to uniquely identify a
   webapp


[1] https://redmine.wso2.com/issues/2738

Thanks,
Nipuni
-- 
Nipuni Perera
Software Engineer; WSO2 Inc.; http://wso2.com
Email: nip...@wso2.com
Git hub profile: https://github.com/nipuni
Mobile: +94 (71) 5626680
<http://wso2.com>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to