Application demonstrating approach for implementing REST client with desired NFRs
Reference implementation of my article demonstrating how to implement REST client using Spring Rest Template and Apache HTTP Client which is :
- Optimized in terms of connection pool management along with its externalized configurability
- Resilient to handle errors along with configurable retries
- Having capability to conditionally access secured REST endpoints
- WebClient recommendations
Bootstrapping downstream system a.k.a 'alias-service-api' which is invoked by Spring Webclient
- Go to
bin
directory of Go - Run this command -
go run <Full Path>\alias-service-api.go