Cloudslab/qfaas

What the system functions do

Opened this issue · 2 comments

Hi there~

I saw that get_functions call the settings.QFAAS_URL + "/system/functions".
I wonder why don't get all created functions from DB instead call to API? In addition, what is value for QFAAS_URL should I use?
Would you please describe more further?

It seems like qfaas calls some system API to do some work like create new function, invoke, etc. Thanks

Hi Son,
The current PoC implementation of QFaaS is built on top of OpenFaaS, and /system/functions is one of the OpenFaaS API to retrieve lists of actual deployed functions in the cluster. You may check out their docs here: https://docs.openfaas.com/reference/rest-api/
QFAAS_URL is the gateway URL of OpenFaaS, which can be specified in the .env file.