Repository navigation
[SCRUM-1724] Prueba de contrato de Rules contra rules.yaml en el CI (QAS-23) - #19
Merged
Merged
Conversation
santiagohb2830
requested review from
Nicolas11Leon,
SarAlbN1 and
dsavilam
as code owners
November 24, 2026 02:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué cambia
Criterio 2 de SCRUM-1724 (QAS-23). Dentro de "Pruebas y cobertura", que ya es obligatorio en develop, se levanta Rules y se compara con
docs/openapi/rules.yamlde MANI-APIGateway (verificador fusionado en Trama-AS/MANI-APIGateway#108). Por operación comprueba que la ruta exista, que sin sesión responda 401 y que el código y el cuerpo de cada respuesta estén documentados.Corre en los PR hacia develop y en el push a develop; en release y main no, porque el contrato de develop puede ir delante del código que se promueve.
Verificación
pom.xmlyapplication.propertiesenmain; este CI lo mide con actuator.Límites
Efecto
Un PR a develop que cambie una respuesta sin documentarla en el contrato queda en rojo. El cambio del contrato se fusiona primero en MANI-APIGateway.