Skip to content
This repository was archived by the owner on Oct 12, 2021. It is now read-only.

Conversation

@tzununbekov
Copy link
Member

Function's responseMode new parameter identifies the type of data returned from the function:

  • data - function responds with CE data that should be wrapped into CE context,
  • event - function responds with CE event in binary format.

Consequently, ceOverrides can be empty if the function is responding with the full event, including new context. If ceOverrides are set, they are used as default values. Otherwise, if ceOverrides are not set and the function is not providing required attributes, default values are set by the controller and KLR runtimes.
Python sample updated to demonstrate "event" response mode.

@tzununbekov tzununbekov self-assigned this Jul 30, 2021
@tzununbekov tzununbekov merged commit 57bd050 into main Jul 30, 2021
@tzununbekov tzununbekov deleted the empty-ce-overrides branch July 30, 2021 13:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants