Giter Site home page Giter Site logo

lab6-microservices's Introduction

Web Engineering 2020-2021 / Microservices

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.

Primary goal

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 inspired system using Spring Boot and Eureka. This project contains three apps:

  • Service discovery (registration): It launches an open source discovery server called Eureka that will use the port 1111. The dashboard of the registration server is exposed in http://localhost:1111.
  • Microservice account service (accounts): 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 name ACCOUNTS-SERVICE. After launching this service you can see in the dashboard of Eureka that after a few seconds (10-20 secs) the ACCOUNTS-SERVICE service appears.
  • Microservice web service (web): 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 name WEB-SERVICE and asks the Eureka where is the ACCOUNTS-SERVICE. Spring configures automatically an instance of RestTemplate 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 microservices accounts (2222) and web are running and registered (two terminals, logs screenshots).
  • The service registration service has these two microservices registered (a third terminal, dashboard screenshots)
  • A second accounts microservice instance is started and will use the port 4444. This second accounts (4444) is also registered (a fourth terminal, log screenshots).
  • What happens when you kill the microservice accounts (2222) and do requests to web?
    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.

Secondary goal (:gift:)

In progress:

Proposed:

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 Repo Improvement Score
760739 Alberto Calvo AlbertoCalvoRubio/lab6-microservices Dockerize the three services
739202 Luis Garcia luisgg98/lab6-microservices Docker compose with scale by command line
760704 Álvaro García Alvarogd6/lab6-microservices

lab6-microservices's People

Contributors

fjlopez avatar albertocalvorubio avatar alvarogd6 avatar luisgg98 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.