Page MenuHomePhabricator

Consider re-using the ActionAPI's `executeFunctionCall()` method internally in FunctionCallHandler, rather than a FauxRequest
Open, MediumPublic

Description

FunctionCallHandler::makeRequest() uses a FauxRequest to call the ActionAPI end-point for calling the orchestrator. This is a bit ugly and expensive, and it'd be simpler if we could do an Orchestrator call directly here, re-using WikiLambdaApiBase::executeFunctionCall() somehow.

However, FunctionCallHandler is a REST API, not an ActionAPI class, so can't extend that base class.