Transfer Service
Serve as Transfer API to Money Transfer API
- Transfer the money
git clone https://github.com/luizgustavocosta/virtual-threads.git
cd virtual-threads/transfer-service
mvn package
docker build -t virtual-threads/transfer-service .
docker run -p 8082:8082 virtual-threads/transfer-service
git clone https://github.com/luizgustavocosta/virtual-threads.git
cd virtual-threads/transfer-service
./mvnw spring-boot:run
mvn package
java -jar target/transfer-service-0.0.1-SNAPSHOT.jar
The versions are available here.
This API has a POST endpoint that responds after 1 second, in order to simulate a I/O operation
curl -X 'POST' \
'http://localhost:8082/v1/transfers/1234-5678/9012-3456/100.01'