bcgov / ols-router

BC Advanced Route Planner
https://bcgov.github.io/ols-router/
Apache License 2.0
23 stars 11 forks source link

Integrate Tomcat using Spring Boot #189

Open cmhodgson opened 4 years ago

cmhodgson commented 4 years ago

The current deployment requires an existing installation of tomcat onto which the Router can be deployed. This made sense when the tomcat java application server was shared among several other applications. However, given the current approach of a dedicated docker container with a dedicated tomcat, integrating tomcat into the Router provides a simpler deployment/installation process. Non-integrated deployment can still be supported as well. Spring Boot provides the ability to do this and we are already using the Spring framework, so it should be straightforward to do.

alixcote commented 1 year ago

@cmhodgson is this ticket still relevant? Wondering if we can close this. Thanks!

cmhodgson commented 1 year ago

Deploying the application using spring boot rather than tomcat is still preferable, for the same reasons as before - tomcat is a heavyweight server, takes longer to start up, is harder to debug, requires more complex configuration, etc. and none of that is needed for either router or geocoder. I believe this ticket is still relevant and should be considered for future enhancement work. Your deployment/systems team may have an opinion on this as well.