Please use this identifier to cite or link to this item: http://dspace.sti.ufcg.edu.br:8080/jspui/handle/riufcg/29329
Title: Customização do cliente http para Biblioteca Clojure cognitect.aws-api.
Other Titles: http client customization for Clojure Library cognitect.aws-api.
???metadata.dc.creator???: SOUSA, Thayanne Luiza Victor Landim.
???metadata.dc.contributor.advisor1???: MORAIS, Fábio Jorge Almeida.
???metadata.dc.contributor.referee1???: AQUINO, Marcus Salerno de.
???metadata.dc.contributor.referee2???: MASSONI, Tiago Lima.
Keywords: Biblioteca em Clojure;Amazon Web Services;Biblioteca cognitect.aws-api;Cognitect.aws-api - biblioteca;Cliente HTTP;HTTP;Protocolo de comunicação HTTP;Library in Clojure;Cognitect.aws-api library;HTTP communication protocol
Issue Date: 14-Feb-2023
Publisher: Universidade Federal de Campina Grande
Citation: SOUSA, Thayanne Luiza Victor Landim. Customização do cliente http para Biblioteca Clojure cognitect.aws-api. 2023. 14f. (Trabalho de Conclusão de Curso - Artigo), Curso de Bacharelado em Ciência da Computação, Centro de Engenharia Elétrica e Informática, Universidade Federal de Campina Grande – Paraíba - Brasil, 2023. Disponível em: http://dspace.sti.ufcg.edu.br:8080/jspui/handle/riufcg/29329
???metadata.dc.description.resumo???: A cognitect.aws-api é uma biblioteca em Clojure que permite o acesso programático aos serviços da Amazon Web Services (AWS) e que usa outra biblioteca chamada cognitect.http-client para realizar as comunicações HTTP. A restrição de cognitect.http-client ser a única possibilidade de cliente HTTP impossibilita usuários de flexibilizar o comportamento de requisições para adequar aos seus casos de uso ou necessidades, como também, tal cliente possui complicações por utilizar Jetty na versão 9 para implementar o cliente, versão esta que não possui mais suporte da comunidade e não é mais recomendada a utilização, além das diversas vulnerabilidades reportadas por usuários. Este trabalho possibilita uma completa customização do cliente HTTP utilizado pela biblioteca, de forma que agora os usuários podem escolher qualquer cliente HTTP para acoplar através de uma abstração simples utilizando uma interface pública disposta na biblioteca. Adicionalmente, através da customização, é disponibilizada uma alternativa pronta de cliente HTTP utilizando o cliente do pacote nativo java.net do Java 11, solucionando assim rapidamente os problemas que alguns usuários estavam tendo com o cliente HTTP padrão. Nenhuma das evoluções desenvolvidas causa qualquer quebra de compatibilidade que possa causar falhas ou erros inesperados para atuais usuários da biblioteca.
Abstract: 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.
Keywords: Biblioteca em Clojure
Amazon Web Services
Biblioteca cognitect.aws-api
Cognitect.aws-api - biblioteca
Cliente HTTP
HTTP
Protocolo de comunicação HTTP
Library in Clojure
Cognitect.aws-api library
HTTP communication protocol
???metadata.dc.subject.cnpq???: Ciência da Computação.
URI: http://dspace.sti.ufcg.edu.br:8080/jspui/handle/riufcg/29329
Appears in Collections:Trabalho de Conclusão de Curso - Artigo - Ciência da Computação

Files in This Item:
File Description SizeFormat 
THAYANNE LUIZA VICTOR LANDIM SOUSA - TCC ARTIGO CIÊNCIA DA COMPUTAÇÃO CEEI 2023.pdfThayanne Luiza Victor Landim Sousa - TCC Artigo Ciência da Computação CEEI 2023733.7 kBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.