Skip to content
Success

#27546 (Mar 16, 2026, 2:13:33 PM)

Started 9 hr 43 min ago
Took 2 sec on build5-deb12build-ansible

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

This run spent:

  • 5.7 sec waiting;
  • 2 sec build duration;
  • 7.7 sec total from scheduled to completion.
Revision: 44d0d5c9c72ce902ff70e093ac9bf66e7dfa298d
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 rewrite_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