Assignment 2 Readme - airavata-courses/haphulwa GitHub Wiki
Assignment 2
Testing the application
Notes on design and implementation
- Architecture Diagram
- Project consists of 3 services and an API gateway.
- Java microservice calculates Factorial( Branch: https://github.com/airavata-courses/haphulwa/tree/microservice1)
- Node.js microservice calculates Fibonacci(Branch: https://github.com/airavata-courses/haphulwa/tree/microservice2)
- Python microservice returns if a number is prime or not(Branch: https://github.com/airavata-courses/haphulwa/tree/microservice3)
- Gateway(Branch: https://github.com/airavata-courses/haphulwa/tree/gateway)
- Microservices talk to each other using RabbitMQ RPC model.
- Each microservice has a Dockerfile and Jenkinsfile.
- The services are up and running on Jetstream TACC domain.
Notes on Jenkins configuration
- A GitHub hook is configured which would be triggered every time a new commit is done on any of the branches.
- After a commit has been made, the Jenkinsfile would remove the previous image, rebuild and re-run the image.