Migrate from WebSphere traditional to Liberty

Apache 2.0

Use this category of rules to identify code changes needed when migrating from WebSphere Application Server traditional to Liberty.

org.openrewrite.java.liberty.MigrateFromWebSphereToLiberty
mod run . --recipe=org.openrewrite.java.liberty.MigrateFromWebSphereToLiberty

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Removes invalid JNDI properties
  2. Replace WSPrincipal.getCredential() with WSSubject lookup
  3. Use getProperty("wlp.server.name")
  4. Use getSSOCookieFromSSOToken and logout
  5. Use correct application namespace values
  6. Use correct connector namespace values
  7. Use correct ejb-jar namespace values
  8. Move persistence.xml file
  9. Replace beans.xml file
  10. Use correct web-app namespace values
  11. Add Liberty Maven plugin