SOUSA, T. L. V. L.; SOUSA, Thayanne Luiza Victor Landim.
Resumen:
The cognitect.aws-api is a Clojure library that allows programmatic access to Amazon Web Services
(AWS) by using the library cognitect.http-client to make HTTP communications. The cognitect.http-client
being the only possibility of an HTTP client restricts users from changing the behavior of requests to be
adequate for their use cases or needs, as well as this client has known issues because it uses Jetty in
version 9, which does not contain support from the community and is not recommend to be used anymore,
and also contains diverse security vulnerabilities reported by users. This work enables a complete
customization of the HTTP client used by the library, in a way that users may choose any HTTP client to
plug into the library through a simple and public interface abstraction. Additionally, through the
customization provided, an alternative HTTP client using the client from the Java 11 native package
java.net is now available, thus quickly solving the problems that some users were having with the default
HTTP client. None of the work done causes any compatibility-breaking changes that may cause
unexpected failures or errors for current users of the library.