jagandeep / monolithic-petclinic

Small monolith application to extract a Microservice.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Breaking The Monolith

The purpose of this fork is to be a monolithic mess. You can use it to break and extract microservices. As the PetClinic is continuously deployed you need to make small changes that preserve the behaviour. The tasks involve refactoring, TDD, branch by abstraction and introducing an event bus.

Petclinic is a Spring Boot application built using Maven.

Working with the Monolithic Petclinic

The following items should be installed in your system:

  • Java 8 or newer.
  • git
  1. Clone the repository

    git clone https://github.com/gregorriegler/monolithic-petclinic.git
    
  2. Import into Eclipse or STS

    File -> Import -> Maven -> Existing Maven project
    
  3. Import into IntelliJ IDEA

    In the main menu, choose File -> Open and select the Petclinic pom.xml. Click on the Open button.

  4. Run it on the CLI

    You can run it with the spring boot maven plugin like this:

    cd monolith
    ../mvnw spring-boot:run
    
  5. Navigate to the Petclinic

    Visit http://localhost:8080 in your browser.

Database configuration

Petclinic uses an in-memory database (HSQLDB) which gets populated at startup with data.

License

License

  • how to analysis to feature code flow prepare a sequence diagram of the method call

About

Small monolith application to extract a Microservice.

License:Apache License 2.0


Languages

Language:Java 77.6%Language:HTML 14.6%Language:Less 7.8%