Barns Anderson
05/05/2025, 4:46 AMBackingStore
. I've read that it is specified in the options when we initialise a WireMockServer like this:
WireMockConfiguration config = WireMockConfiguration.options()
.port(8080)
.backingStore(new FileBasedBackingStore("wiremock_data"));
WireMockServer wireMockServer = new WireMockServer(config);
wireMockServer.start();
Where the FileBasedBackingStore
is imported from here: com.github.tomakehurst.wiremock.store.file.FileBasedBackingStore
. However the package structure has changed since then.
Is the BackingStore no longer a thing?
Best wishes and many thanks in advance.Barns Anderson
05/05/2025, 2:21 PMLee Turner
05/06/2025, 9:00 AMBarns Anderson
05/06/2025, 9:40 AMLee Turner
05/06/2025, 10:42 AMBarns Anderson
05/06/2025, 10:52 AMTom
05/06/2025, 1:57 PM.backingStore(…)
on the options builder.
Did this come from an AI tool by any chance? 🙂Barns Anderson
05/07/2025, 9:39 AMBarns Anderson
05/07/2025, 9:41 AMWireMockServer.resetAll()
and then reregisters the mappings.