Assignment 2 Setup and Installation - airavata-courses/jerrin92 GitHub Wiki

The assignment has the following components -

Communication between the gateway and microservices is through Rabbitmq. The services which include the gateway and microservices are dockerized and deployed on JetStream. The ui is not dockerized. The build and deployment on the JetStream are automated using Jenkins.

URL : http://149.165.168.88:4201/ - Test the website.

Jenkins url: http://149.165.168.88:8080

To set up the project on the local machine:

Please refer the assignment 1 wiki for further reading

Clone the master branch and use the code in Assignment2

RabbitMQ

docker run -d --hostname my-rabbit --name some-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3-management

MySQL

docker run --name mysql-cont -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=test -d mysql:5.5

Testing the system

  1. Login to jenkins
  2. You can see three builds now 2.1 Gateway is associated with the gateway branch in GitHub 2.2 Microservice1 is associated with microservice1 branch in GitHub 2.3 Microservice2 is associated with microservice2 branch in GitHub
  3. Add a comment and push the code, the build should automatically start
  4. Visit http://149.165.168.88:4201/. It might take some time to populate the graphs