juntossomosmais / django-outbox-pattern

A django application to make it easier to use the transactional outbox pattern
MIT License
50 stars 7 forks source link

BREAKING CHANGE: implementation of idempotency #26

Closed ricardochaves closed 1 year ago

ricardochaves commented 1 year ago

This PR aims to implement Idempotency in the lib consumers.


The most important test scenarios considered are:

I added an example of how to use the consumer in the README.md. (link)

I set PostgreSQL as the default test database for the unique function to work. (link)

To simplify the testing process, I removed the tox implementation that was unnecessarily complex. (link)

New indexes were added to the models. (link)

The Payload class received new functionalities. (link)

Several new tests were created and many were modified.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication