wiremock/wiremock-state-extension

Add the global concurrency-safe increment counter

Offen

#58 geöffnet am 09.10.2023

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (7 Forks)auto 404
enhancementhelp wanted

Repository-Metriken

Stars
 (23 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Proposal

As a user for this plugin, I would like to use global counter, e.g. for IDs or for cursor-alike APIs. To do that, there should be a concurrency-safe increment logic, maybe offered as a handlebars Marco. Other similar methods would be nice as well

As a bonus point, it would be nice to use the storage API to ensure that it remains concurrency-safe even when HA-alike features re used, but I think it is for the future and needs API review together with @tomakehurst

References

No response

Contributor Guide