wiremock/wiremock-state-extension

Add the global concurrency-safe increment counter

Aperta

#58 aperta il 9 ott 2023

 (3 commenti) (0 reazioni) (0 assegnatari)Java (7 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (23 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor