Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

The Pet Clinic application is a rather simple application based on the SpringBoot (Every microservice is a Spring Boot application) powered microservices. The original repository is located at github: https://github.com/spring-petclinic/spring-petclinic-microservices.

Our repository including some small changes (e.g. startup scripts, ..) is located on inspectIT labs: https://github.com/inspectit-labs/spring-petclinic-microservices

Start/Stop Application with inspectIT

  1. Clone the code from https://github.com/inspectit-labs/spring-petclinic-microservices and use branch "inspectIT"
  2. You can start the PetClinic Microservices application including the inspectIT agents either with or without docker:

With Docker (Docker-compose)

  1. Download and install version 1.7.9.92 of inspectIT from: www.inspectit.rocks
  2. Navigate to the code of the PetClinic Microservices application and run the following command to build the docker image: mvn clean install -PbuildDocker
  3. Start all applications: docker-compose -f docker-compose-inspectIT.yml up -d
  4. During startup you can track services availability using Eureka dashboard available by default at http://localhost:8761
  5. The CMR is started automatically but the inspectIT UI has to be opened from the installed version.
  6. In inspectIT the agents of the PetClinic Microservices application should be listed and connected.
  7. When the application is running it can be accessed here: http://localhost:8080
  8. You can stop the application with: docker-compose -f docker-compose-inspectIT.yml stop

Without Docker

  1. Download and install latest version of inspectIT from: www.inspectit.rocks
  2. After the installation start CMR and inspectIT
  3. Linux
    1. Open a terminal
    2. Navigate to the code of the PetClinic Microservices application and start: ./start_all_with_inspectIT.sh <path to inspectIT agent>
    3. The inspectIT agent can be found in the installation directory of inspectIT
    4. During startup the application will be opened automatically in the browser. First the Eureka dashboard will be opened where you can track services availability.
    5. To stop all processes you can use the script : ./stop_all.sh
  4. Windows
    1. Open cmd
    2. Navigate to the code of the PetClinic Microservices application and start: start_all_with_inspectIT.bat <path to inspectIT agent>
    3. The inspectIT agent can be found in the installation directory of inspectIT

    4. During startup the application will be opened automatically in the browser. First the Eureka dashboard will be opened where you can track services availability.
    5. By closing the cmd windows all processes will be stopped automatically





  • No labels