openfaas / nats-queue-worker

Queue-worker for OpenFaaS with NATS Streaming
https://docs.openfaas.com/reference/async/
MIT License
129 stars 59 forks source link

Remove direct invoke method #118

Closed alexellis closed 2 years ago

alexellis commented 2 years ago

Signed-off-by: Alex Ellis (OpenFaaS Ltd) alexellis2@gmail.com

Description

Remove direct invoke method where the queue-worker could invoke a function bypassing the gateway.

Motivation and Context

The direct method of invocation hasn't been supported or documented for several years and is now being removed.

This also removes the requirement for the queue-worker to have access to the basic auth secret for posting reports.

How Has This Been Tested?

Tested with unit tests and a local docker build.

Types of changes

Checklist: