mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 08:46:48 +00:00
1. Add new annotation attributes which may be used by the back-end for making scheduling or routing decisions. 2. Updated tests/README.md to give clearer instructions on creating and tearing down the stack required to run the integration tests 3. Update ci.sh * Fail as soon as an error is encountered * Allow script to run locally in development environment, test if repos are already cloned etc.. * Deploy ./stack.yml used by existing integration tests Signed-off-by: Edward Wilde <ewilde@gmail.com>
WebhookStash
Example serverless function shows how to stash way contents of webhooks called via API gateway.
Each file is saved with the UNIX timestamp in nano seconds plus an extension of .txt
Example:
# curl -X POST -v -d @$HOME/.ssh/id_rsa.pub localhost:8080/function/webhookstash
Then if you find the replica you can check the disk:
# docker exec webhookstash.1.z054csrh70tgk9s5k4bb8uefq find