这是indexloc提供的服务,不要输入任何密码
Skip to content

gavinklfong/spring-investment-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo - Reactive Feign + Contract Test

This project comes with an API client ForexClient which integrates with Forex API for forex rates retrieval and booking.

The Forex API service provides the following endpoints:

  • [GET] /rates/latest
  • [GET] /rates/latest/{base-currency/{counter-currency}
  • [POST] /rates/book

The purpose of this project is to demonstrate the creation of API client using Reactive Feign & contract test.

Automated unit test ForexClientTest is provided with stub creation using WireMock.

PACT Test Framework is adopted for the contract test. It is a consumer side contract test as the API client consumes Forex API for forex rate inquiry and booking.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages