Skip to content
Success

#27261 (Mar 5, 2026, 3:02:37 PM)

Started 4 hr 18 min ago
Took 2.1 sec on build5-deb12build-ansible

Started by upstream project gerrit-pysim build number 2888
originally caused by:

This run spent:

  • 7.2 sec waiting;
  • 2.1 sec build duration;
  • 9.4 sec total from scheduled to completion.
Revision: 3b7472f7e13cd7744ffe966e01cf16e1ed65f866
Repository: $GERRIT_REPO_URL
  • master
esim/http_json_api: allow URL rewriting

The URL used when HTTP requests are performed is defined statically
with the url_prefix passed to the constructor of JsonHttpApiClient
together with the path property in JsonHttpApiFunction.

For applications that require dynamic URLs there is no way to rewrite
the URL. Let's add a mechanism that allows API users to apply custom
URL reqriting rules by adding a reqrite_url method to
JsonHttpApiFunction. API users may then overload this method with a
custom implementation as needed.

Related: SYS#7918
Change-Id: Id2713a867079cc140517fe312189e5e2162608a5
pmaier@sysmocom.de at