mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* CloudEvents I/O format support. * Updated format doc. * Remove log lines * This adds support for CloudEvent ingestion at the http router layer. * Updated per comments. * Responds with full CloudEvent message. * Fixed up per comments * Fix tests * Checks for cloudevent content-type * doesn't error on missing content-type.
14 lines
409 B
JSON
14 lines
409 B
JSON
{
|
|
"cloudEventsVersion": "0.1",
|
|
"eventID": "6480da1a-5028-4301-acc3-fbae628207b3",
|
|
"source": "http://example.com/repomanager",
|
|
"eventType": "com.example.repro.create",
|
|
"eventTypeVersion": "v1.5",
|
|
"eventTime": "2018-04-01T23:12:34Z",
|
|
"schemaURL": "https://product.example.com/schema/repo-create",
|
|
"contentType": "application/json",
|
|
"data": {
|
|
"name": "travis"
|
|
}
|
|
}
|