-
Notifications
You must be signed in to change notification settings - Fork 0
Explainer: worker job to http translation
Nicolas edited this page Jan 21, 2025
·
1 revision
In the configured mock server (default wiremock), requests are made to /:WORKER_JOB_TYPE POST
.
In the wiremock stubmapping, this means the request
section of the stub mapping must define:
{
"request": {
"method": "POST",
"url": "/THE_WORKER_JOB_TYPE"
}
}
NOTE the above is still not complete for zeebe-mock
, you also need to add the required metadata.
Since it is tedious and error prone to ask developers to remember this translation, we have a wiremock extension that will populate this request
section for you based off of the zeebemock
metadata.