wiremock/wiremock-state-extension

Add the global concurrency-safe increment counter

Open

#58 opened on Oct 9, 2023

 (3 comments) (0 reactions) (0 assignees)Java (7 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (23 stars)
PR merge metrics
 (PR metrics pending)

Description

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