Hi All Problem : App Factory deployers should be able to add application types by packaging everything in a file. For example to add foo apptype add foo.apptype archive file and putting it in a location. [1]
Solution : Add a new deployer (Apptype Deployer), which will listen to the location $CARBON_HOME/repository/deployment/server/apptypes and which will do the following set of tasks. 1. Explode the zip file. 2. This zip file should contain a xml file such as apptype.xml. 3. There are set of tags that should be in this xml (Mandatory Tags) and there could be set of properties which is custom to this apptype. 4. Pre check the availability of the class mentioned as the Application Type Processor (Which should be a Mandatory Tags). (This application type processor is a customization endpoint provided by App Factory) 5. Copy set of resources files to a named locations. 6. Populate a in memory data structure with the data in the apptype.xml. [1] https://redmine.wso2.com/issues/2889 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