Open mscott-tw opened 3 years ago
@mscott-tw is this issue still open?
Personally I would say so, the listed reasons for switching to WebClient
are still valid and our internal tooling is geared around WebClient
now (though this is less important for external clients). Just a case of whether it's worth prioritising it or not. Though I would be tempted to take this on one evening :smile:
@mscott-tw indeed, I would like to work on that.
Sure, by all means welcome to take on this item.
@mscott-tw thanks!
We currently use the Spring
RestTemplate
class for executing the API calls to the ASPSP, this class is now in maintenance mode and won't get new functionality, Spring advises developers to instead use theWebClient
class.Therefore it would be good to refactor the
RestTemplate
usage in favour ofWebClient
usage.That shouldn't be particularly difficult, but one thing to think about is whether we change the
PaymentClient
andRegistrationClient
interfaces to expose the reactive (Mono
) aspects ofWebClient
or we continue using the current approach.