konveyor / move2kube

Move2Kube is a command-line tool for automating creation of Infrastructure as code (IaC) artifacts. It has inbuilt support for creating IaC artifacts for replatforming to Kubernetes/Openshift.
https://move2kube.konveyor.io/
Apache License 2.0
385 stars 118 forks source link

Look at and use java server artifacts like root.xml #215

Closed HarikrishnanBalagopal closed 2 years ago

HarikrishnanBalagopal commented 3 years ago

Describe the bug When translating java web applications, servers like tomcat serve the generated .war file at a particular path. This path called the context root can be changed using files like root.xml

See following for more details:

Currently we are not looking for, nor are we using these server artifacts. This can lead to the application being served on the wrong path.

To Reproduce Steps to reproduce the behavior:

  1. Translate a java web application that has some server artifacts.

Expected behavior move2kube should try to use the server artifacts by placing them in the correct directories in the final container image.

ashokponkumar commented 3 years ago

We should cater to these for tomcat, jboss and liberty.

ashokponkumar commented 2 years ago

We allow for extensive choices on context path and ability to templatize docker files