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:
Disclaimer: The monolith isn't a real legacy app. But you could use exactly the same steps to modernize your big old Java application.
You'll find instructions how to setup the infrastructure and how to run the lab here:
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.
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
npm run dev
quarkus dev