/employee-producer-ms

Microservice with Spring Boot Web, Eureka Client, Hystrix and Lombok

Primary LanguageJava

Employee (Producer) microservice

This service provide only two endpoints:

  1. list all employees: /producer/employees;
  2. find employee by id: /producer/employee/{empId};

What you can find here:

  1. Some approaches to test a Spring Boot web application;
  2. Configuration for Spring Cloud Eureka Server;
  3. Simple approach to use Hystrix (Circuit Breaker);
  4. Cors configuration;

Eureka server configuration: https://github.com/allanroberto18/employee-eureka-service