Demonstrates a simple logging interceptor using Functionless built on Autofac.
Invoke the report job via the built-in Functionless orchestrator ...
POST /api/orchestrator?$method=ReportJob.<ExecuteAsync>()
Or by adding and invoking a custom tirgger, for example ...
[FunctionName("reportjob-execute")]
public async Task Execute(
[HttpTrigger] HttpRequest request,
[DurableClient] IDurableOrchestrationClient client)
{
await client.DurablyInvokeAsync(
async () => await this.reportJob.ExecuteAsync()
);
}
POST /api/reportjob-execute