Description
Context:
In SUPPORT-7871 a customer encountered that the call to list eventBasedProcesses does not work in case Optimize is available on a subpath on a given host.
This is due to the api call to using an absolute path instead of a realtive one (leading slash is an absolute path on the host)
AT:
- the call to `/api/eventBasedProcess` is done using a relative path `api/...`
- other cases where absolute paths are used are adjusted as well
- a potential measure is evaluated to avoid absolute path access in future