wiremock/wiremock-state-extension

Add the global concurrency-safe increment counter

Aberta

#58 aberto em 9 de out. de 2023

 (3 comentários) (0 reação) (0 responsável)Java (7 forks)auto 404
enhancementhelp wanted

Métricas do repositório

Stars
 (23 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador