Debido al alto tráfico generado por robots, estamos aplicando limitaciones en el número de peticiones permitidas por cliente y bloqueos por IP automáticos. Si haces un uso legítimo y estás teniendo problemas, avísanos para reevaluar nuestras políticas de bloqueo. Disculpa las molestias.

Artículo:
Toward Dependency-Aware API Gateways

Cargando...
Miniatura

Editor

Sistedes

Publicado en

Actas de las XVIII Jornadas de Ciencia e Ingeniería de Servicios (JCIS 2023)

Licencia Creative Commons

Resumen

Web APIs often include inter-parameter dependencies that constrain how input parameters can be combined to form valid calls to the service. API requests violating one or more of these dependencies result in an unnecessary exchange of messages, causing a waste of time and user quota. Also, dependencies are often not correctly checked by the servers, resulting in critical failures or uninformative error responses. In this paper, we propose extending API gateways to support the detection and explanation of inter-parameter dependencies violations. To achieve this goal, we leveraged IDL4OAS, an OAS extension for describing the dependencies among input parameters in web APIs, and IDLReasoner, a constraint-based IDL reasoner. Both were integrated into a prototype tool using Spring Cloud Gateway. Preliminary evaluation results on five industrial API operations show that our approach can successfully detect and explain all invalid requests, reducing the response time by around 80.31% and minimizing potential input validation failures.

Descripción

Acerca de Barakat, Saman

Palabras clave

API Gateway, Inter-parameter Dependencies, Web APIs

Citación

Barakat, S., Sánchez, A. B., Segura, S.: Toward Dependency-Aware API Gateways. In: Berrocal, J. (ed.) Actas de las XVIII Jornadas de Ciencia e Ingeniería de Servicios (JCIS 2023). Sistedes (2023). https://hdl.handle.net/11705/JCIS/2023/2165