Skip to content

nirvana124/spring-reactor-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Introduction to Spring Reactor

This repo contains code for employee query service. Employee's salary details are stored in a H2 database and for employee profile we are calling a profile service REST apis.

Endpoints:

/employees : To get the details of all the employees.

/employees/{id} : To get the employee details by id which is passed in url path.

Used lombok to remove verbosity and for Bean Autowiring used constructor injection using RequiredArgsConstructor.

Used WireMock for integration tests by creating a mock server for profile service and mocking requests to profile endpoints.

About

Sample spring reactor project with R2DBC and Wiremock

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages