Challenge resolution: Gabriel Jeremy Rodriguez Riveros #432
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.
Descripción
En este commit se implementaron 2 servicios:
yape-transaction-service: Responsable de mostrar los endpoints
anti-fraud: Responsable de validar las transacciones
Las pruebas unitarias se ejecutan en el archivo docker antes del build
Resumen de cambios:
Ejecución
ejecutar el comando
El puerto expuesto por defecto es:
un flujo de ejemplo es:
POST http://localhost:3000/transactions body: { "accountExternalIdDebit": "314025cc-2dd9-4627-97e2-cc3ad0bfd9b2", "accountExternalIdCredit": "370ff967-572e-478a-839b-5fb549158b9b", "transferTypeId": 3, "value": 900 } -------------------------------------------- La respuesta esperada seria: { "transactionExternalId": "cdc29e77-3cca-4698-b678-6ccaa5b18415", "transactionType": { "name": "Yape!" }, "transactionStatus": { "name": "approved" }, "value": 1000, "createdAt": "2024-10-14T21:44:51.430Z" }