sdk-javascript/test/integration
Lance Ball 591d133f31
feat: add MQTT transport messaging (#459)
Add MQTT as a `Message` format.

This commit adds `MQTT` to the supported transport protocols by adding a `Binding` and the `MQTTMessage<T>` type, extending the base `Message` type, adding the MQTT fields for `payload`, `PUBLISH` and `User Properties`. The `payload` field directly maps to `Message#body`, while `User Properties` roughly maps to `Message#headers`, even though the properties here are not formatted with a `ce-` prefix like other transport protocols. This is per the spec. See: https://github.com/cloudevents/spec/blob/v1.0.1/mqtt-protocol-binding.md. 

Signed-off-by: Lance Ball <lball@redhat.com>
2022-01-14 11:41:15 -05:00
..
batch_test.ts feat: add support for kafka transport (#455) 2022-01-07 16:14:09 -05:00
ce.png fix: do not alter an event's data attribute (#344) 2020-10-06 08:20:54 -04:00
cloud_event_test.ts chore: update cucumber dependency and remove prettier (#453) 2021-12-22 10:45:35 -05:00
constants_test.ts chore: add copyrights header and lint rules (#418) 2021-05-14 09:28:49 -04:00
emitter_factory_test.ts chore: update eslint and prettier dependencies (#424) 2021-08-04 15:51:37 -04:00
emitter_singleton_test.ts feat: add support for kafka transport (#455) 2022-01-07 16:14:09 -05:00
kafka_tests.ts feat: add support for kafka transport (#455) 2022-01-07 16:14:09 -05:00
message_test.ts feat: add support for kafka transport (#455) 2022-01-07 16:14:09 -05:00
mqtt_tests.ts feat: add MQTT transport messaging (#459) 2022-01-14 11:41:15 -05:00
parser_test.ts chore: update cucumber dependency and remove prettier (#453) 2021-12-22 10:45:35 -05:00
sdk_test.ts chore(refactor): prefer interfaces over concrete classes (#457) 2022-01-07 14:24:56 -05:00
spec_1_tests.ts feat: use generic type for CloudEvent data (#446) 2021-11-29 17:03:12 -05:00
utilities_test.ts chore: add copyrights header and lint rules (#418) 2021-05-14 09:28:49 -04:00