In this assignment your PR must only modify the README.md
file. Please, go to
the Wiki in order to get the instructions for this
assignment.
The code is based on the post microservices with Spring developed by Paul Chapman. The laboratory shows a simple example of setting up a microservices system using Spring Boot and Eureka. This project contains three apps:
- Service discovery (
registration
written in Kotlin): It launches an open source discovery server called Eureka that will use the port 1111. The dashboard of the registration server is exposed inhttp://localhost:1111
. - Account service (
accounts
written in Kotlin): It is a standalone process that provides a RESTful server to a repository of accounts that will use the port 2222. What it makes special is that it registers itself to Eureka with the nameACCOUNTS-SERVICE
. After launching this service you can see in the dashboard of Eureka that after a few seconds (10-20 secs) theACCOUNTS-SERVICE
service appears. - Web service (
web
written in Java): It is a standalone process that provides an MVC front-end to the application of accounts that will use the port 3333. What it makes special is that it registers itself to the Eureka with the nameWEB-SERVICE
and asks the Eureka where is theACCOUNTS-SERVICE
. Spring configures automatically an instance ofRestTemplate
for using the discovery service transparently!!!
This is a NOT a speed competition. The objective is to show that the following activities have been accomplished:
- The two services
accounts (2222)
andweb
are running and registered (two terminals, logs screenshots). - The service registration service has these two services registered (a third terminal, dashboard screenshots)
- A second
accounts
service instance is started and will use the port 4444. This secondaccounts (4444)
is also registered (a fourth terminal, log screenshots). - What happens when you kill the service
accounts (2222)
and do requests toweb
?
Can the web service provide information about the accounts again? Why?
The above must be documented in a brief report (report.md
) with screenshots describing what happens.
Proposed:
- Circuit breaker for the requests from web to accounts that avoids a 500 error .
- API gateway for web and registration.
- Centralized configuration for all services.
- Dockerize the three services.
- Docker compose with scale by command line.
Manifest your intention first by a PR updating this README.md
with your goal. If you desist of your goal, release it
by a PR so other fellow can try it.
NIA | User name | Report | Improvement | Score |
---|---|---|---|---|
757166 | Pablo Jordan | Primary Goal | ||
755232 | Diego Marco | report | ||
778097 | Héctor Bara | Solution | ||
778148 | José Marín | report | ||
774840 | Fernando Serrano | report | ||
755848 | Guillermo Cánovas González | Report | ||
785649 | Andoni Salcedo | report.md | ||
767870 | Diego García Muro | report | ||
780448 | María Peña | Report | ||
779354 | Alejandro Magallón Soler | Report | ||
780378 | Óscar Pueyo | report | ||
774335 | Ángela Rojo | Report | ||
780454 | Marta Morales Sabroso | Solution | ||
734941 | Felipe Nonay | LAB6_Solution | ||
720162 | Salomé Rea | report | ||
780180 | Carlos Navarro | report | ||
775929 | Alejandro Artal | Report | ||
776012 | Jaime Conchello | report |