Skip to content

Development of a web application that offers support to a taxis organization

Notifications You must be signed in to change notification settings

ray2g/Cloud-Computing-Project

 
 

Repository files navigation

Cloud Computing Final Project

  • Cristiano Santos
  • João Raimundo
  • João Rato

In this checkpoint of the implementation, each microservice is deployed in a docker container. gRPC were implemented to insure the communication between microservices. Addicionally, all the containers are orchestrated in Kubernetes.


How to deploy:

To set and configure Kubernetes with the microservices containers orchestrated run the command:

$ ./deploy_kubernetes.sh

How to access the services:

In order to access the services through a curl, an address is needed. You can get it by executing the following command:

kubectl describe ingress | grep -Po 'Address:\s\K.*' | tr -d " \t\r"

Then, you can start using the services. Replacing the {address} on the links bellow, its possible to gain access to the services:


Provider:

  • http://{address}/provider
  • http://{address}/provider/{c_name}
  • http://{address}/provider/pickUpDateTime/{start}/dropOffDateTime/{end}
  • http://{address}/provider/{record}

Statistics and Analytics:

  • http://{address}/analysis/provider/{p_id}/analytics/{c_name}
  • http://{address}/analysis/provider/{p_id}/stats/{c_name}

Correlations:

  • http://{address}/correlations/dateTime_distance
  • http://{address}/correlations/paymentType_tip
  • http://{address}/correlations/paymentType_totalAmmount
  • http://{address}/correlations/dateTime_paymentType
  • http://{address}/correlations/totalAmmount_tip
  • http://{address}/correlations/tripDistance_tip

Kubernetes-Dashboard:

Kubernetes-Dashboard is accessible on :

Use the secret token that is on kubernetes_deployment/secret_token.txt to login into the dashboard.


Prometheus:

Prometheus is accessible on :

About

Development of a web application that offers support to a taxis organization

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 45.9%
  • Python 43.1%
  • Shell 9.7%
  • Dockerfile 1.3%