WIP: working on hot lambda functions.

This commit is contained in:
Travis Reeder
2017-06-29 08:00:29 -07:00
parent 26806ccafd
commit 1f3218f8dd
3 changed files with 80 additions and 14 deletions

View File

@@ -35,6 +35,8 @@ You will also have access to a set of environment variables.
* APP_NAME - the name of the application that matched this route, eg: `myapp`
* ROUTE - the matched route, eg: `/hello`
* METHOD - the HTTP method for the request, eg: `GET` or `POST`
* CALL_ID - a unique ID for each function execution.
* FORMAT - a string representing one of the [function formats](function-format.md), currently either `default` or `http`. Default is `default`.
* HEADER_X - the HTTP headers that were set for this request. Replace X with the upper cased name of the header and replace dashes in the header with underscores.
* X - any [configuration values](https://gitlab.oracledx.com/odx/functions/blob/master/fn/README.md#application-level-configuration) you've set
for the Application or the Route. Replace X with the upper cased name of the config variable you set. Ex: `minio_secret=secret` will be exposed via MINIO_SECRET env var.