incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Feist (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LOKAHI-4) Make configuration files (server.xml, workers.properties) based upon temples
Date Tue, 12 Feb 2008 16:31:08 GMT

    [ https://issues.apache.org/jira/browse/LOKAHI-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568197#action_12568197
] 

Jeff Feist commented on LOKAHI-4:
---------------------------------

Below are the changes made for the templating engine:
- created a worker interface
- update TomcatWorker and ApacheWorker to use worker interface
- created templating factory
	- TemplateEngine = interface
	- TemplateBuilder = class (implements TemplateEngine)
	- TemplateFactory = class (returns a new TemplateBuilder)
	- VelocityTemplateBuilder = implements TemplateEngine
- updated VMs to say template instead of file
- created Template / TemplateModel class (identical to File)
- update apache / tomcat to take a collection of Templates instead of a single file
- updated apache vms to display worker.properties template 
- updated tomcat vms to display server.xml and jvm.conf 
- added new property to lokahi.props (lokahi.template.variables) to contain the examples
- updated velocity view tool to return template variables
- updated add Template to display the variables
- updated build.xml to NOT clean before building	
- database
	- updated tables.sql (oracle / mysql)
	- updated view.sql (oracle / mysql)
	- no updates needed for functions.sql
	- updated procs.sql (oracle / mysql)
- added adding file success message
- added adding apache success message
- added adding tomcat success message
- removed function id 27 (duplicate update apache)
- created generic template deployer
- JVM.conf is now built and deployed using the templating system
- added ASF comment tag to all new code
- added document explaining how to add new template engines


> Make configuration files (server.xml, workers.properties) based upon temples
> ----------------------------------------------------------------------------
>
>                 Key: LOKAHI-4
>                 URL: https://issues.apache.org/jira/browse/LOKAHI-4
>             Project: Lokahi
>          Issue Type: Improvement
>            Reporter: Steve Toback
>         Attachments: conf_DB-patch.txt, java-patch.txt, tomcat-api-worker-serverxmlfile-factory.txt,
vms-patch.txt, worker.zip
>
>
> As is right now - the server.xml file and workers.properties files are generated by Lokahi
- and are hard-coded into the respective org.apache.lokahi.modjk.WorkersPropertiesFile and
org.apache.lokahi.tomcat.worker.ServerXmlFile classes 
> This does not allow server.xml files to differ based upon the template used.  Or newer
versions of mod_jk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message