Apologies if this is considered in scope for #91, but I wanted to call out a specific bug.
The class method Requests.reset_request_journal() (code) throws a 404 NotFoundException after upgrading to Wiremock V3, because the POST __admin/requests/reset endpoint was deleted: wiremock/wiremock@47d4201#diff-629cfdfeca71797a13d4138932081242b849e382a194fd6784736ce83c310350L84
I believe this method should call DELETE __admin/requests instead, since this endpoint fires the new ResetRequestsTask: https://github.com/wiremock/wiremock/blob/master/src/main/java/com/github/tomakehurst/wiremock/admin/AdminRoutes.java#L84
Reproduction steps
Start up wiremock and call Requests.reset_request_journal()
References
No response
Apologies if this is considered in scope for #91, but I wanted to call out a specific bug.
The class method
Requests.reset_request_journal()(code) throws a404 NotFoundExceptionafter upgrading to Wiremock V3, because thePOST __admin/requests/resetendpoint was deleted: wiremock/wiremock@47d4201#diff-629cfdfeca71797a13d4138932081242b849e382a194fd6784736ce83c310350L84I believe this method should call
DELETE __admin/requestsinstead, since this endpoint fires the newResetRequestsTask: https://github.com/wiremock/wiremock/blob/master/src/main/java/com/github/tomakehurst/wiremock/admin/AdminRoutes.java#L84Reproduction steps
Start up wiremock and call
Requests.reset_request_journal()References
No response