HomeSoftware Heritage

Use flask instead of aiohttp as RPC server.

Description

Use flask instead of aiohttp as RPC server.

The azure backend cannot be run in the same thread as an asyncio
event loop: https://forge.softwareheritage.org/T3981

Additionally, this simplifies the code, by reusing the same
method auto-generation as other SWH components.

Details

Provenance
vlorentzAuthored on Mar 1 2022, 3:49 PM
vlorentzPushed on Mar 2 2022, 5:25 PM
Differential Revision
D7272: Use flask instead of aiohttp as RPC server.
Parents
rDOBJS9be723dcbc98: server: Group multiple object ids in the same HTTP chunk
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task
Build Status
Buildable 27239
Build 42611: test-and-buildJenkins console · Jenkins