Skip to content

Requests based transport for server proxy

A typical use-case downstream is to use lqa behind a proxy.

The current approach in lqa for connecting to the LAVA server utilizes a default transport that bases on httplib. As it turns out, with this approach, an lqa client (behind a proxy) is unable to reach a LAVA server in the internet.

To overcome this issue, this merge request proposes to use a custom transport using requests to reach the LAVA server. The same approach is also used in lavacli.

Feature summary:

  • Server proxy is now instantiated with a transport using requests
  • Support for python 2.x xmlrpclib has been removed

Signed-off-by: Sietze van Buuren Sietze.vanBuuren@de.bosch.com

Edited by Sietze Van Buuren.

Merge request reports