Skip to content

openshift-examples/app-mod-replatform-refactor

 
 

Repository files navigation

App modernization with OpenShift Virtualization and Service Mesh

In this lab we modernize a monolithic application. First we move the monolith to OpenShift Virtualization, then we apply the Strangler pattner and move one bounded context into a microservice. We install and configure Service Mesh to make a Canary Release of the new microservice.

This is what we want to achieve:

App modernization with OpenShift Virt, Container Platform and Service Mesh

Disclaimer: The monolith isn't a real legacy app. But you could use exactly the same steps to modernize your big old Java application.

Instructions

You'll find instructions how to setup the infrastructure and how to run the lab here:

Develop

You don't need these steps if you just want to follow the lab. If you want to make changes to the apps or run it locally, continue.

Monolith

Run in app folder:

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

In VSCode: Cmd-Shift-P > Select Python Interpreter > Enter Interpreter Path -> APPFOLDER/.venv/

python main.py

Webapp

npm run dev

Microservice

quarkus dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 37.6%
  • Shell 26.5%
  • Dockerfile 17.7%
  • Java 10.6%
  • Python 7.6%