Instructions for Using Microservice
-
Put "S.csv" and "Microservice.py" files in the same location where "app.py" is.
-
Run "python3 Microservice.py", and then run "python3 app.py" (It is okay if you do this in reverse.)
-
The microservice and the app request and receive data as below.
Instructions for communication pipeline in Microservice
A.Clear instructions for how to REQUEST data from the microservice you implemented. Include an example call.
First when the user clicks the info link, the main application request URL by sending row index of the csv.
Second, the microservice receives the request from the main application.
B.Clear instructions for how to RECEIVE data from the microservice you implemented
After the microservice receives the request from the main application, the microservice creates URL.
The microservice sends created url to the main application.
The main application receives Data(created URL) from the microservice by using zeromq, and then provide to the user by printing the url on the webpage.