Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdebrie authored Apr 6, 2018
1 parent 3ffe17c commit e326d1a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,27 @@ Technically speaking Space is a mandatory field ("default" by default) on Functi
to provide during function registration or subscription creation. Space is a first class concept in Config API. Config
API can register function in specific space or list all functions or subscriptions from a space.

## System Events

System Events are special type of events emitted by the Event Gateway instance. They are emitted on each stage of event
processing flow starting from receiving event to function invocation end. Those events are:

* `gateway.event.received` - the event is emitted when an event was received by Events API. Data fields:
* `event` - event payload
* `path` - Events API path
* `headers` - HTTP request headers
* `gateway.function.invoking` - the event emitted before invoking a function. Data fields:
* `event` - event payload
* `functionId` - registered function ID
* `gateway.function.invoked` - the event emitted after successful function invocation. Data fields:
* `event` - event payload
* `functionId` - registered function ID
* `result` - function response
* `gateway.function.invocationFailed` - the event emitted after failed function invocation. Data fields:
* `event` - event payload
* `functionId` - registered function ID
* `error` - invocation error

## APIs

[API reference](./docs/api.md)
Expand Down

0 comments on commit e326d1a

Please sign in to comment.