Sign inSign up

hello2parikshit/portal

By hello2parikshit

•Updated over 6 years ago

Image
0

103

hello2parikshit/portal repository overview

https://github.com/awslabs/service-discovery-ecs-consul⁠

The portal application is defined in the ruby file portal.rb. It contains a web page defined in the file public/index.html that has two sections showing a table of stock prices and a table of city temperatures. Stock symbols are entered into the form and the portal application looks up the stock-price service using the Consul service discovery framework via a DNS query for a SRV record. The Consul agent returns the IP address and port number, then the portal application calls the service to get the company name and stock price and displays the result in the table. A similar process occurs for the weather service, whereby the user enters the name of the city and the portal application looks up the IP address and port of the weather service via DNS and make a call to get the temperature of the city.

Tag summary

Content type

Image

Digest

Size

274.2 MB

Last updated

over 6 years ago

docker pull hello2parikshit/portal