-
Notifications
You must be signed in to change notification settings - Fork 154
Closed as not planned
Labels
lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.
Description
See here, using func invoke...
, we do see an empty ID, when sending:
func invoke -f=cloudevent --data='{"reviewText":"I love Knative so much"}' -v
Invoking '' function at http://sentiment-analysis-app.default.10.99.189.63.sslip.io
Invoking '' function using 'cloudevent' format
Sending event
Context Attributes,
specversion: 1.0
type: boson.fn
source: /boson/fn
id:
datacontenttype: application/json
Data,
{
"reviewText": "I love Knative so much"
}
Function invoked. Response:
Context Attributes,
specversion: 1.0
type: moderated-comment
source: sentiment-analysis
id: 10a746c8-dd35-433c-9497-e6efcb5f946b
time: 2024-06-25T12:07:12.923682Z
datacontenttype: application/json
Extensions,
badwordfilter:
sentimentresult: positive
Data,
{
"reviewText": "I love Knative so much",
"badWordResult": "",
"sentimentResult": "positive"
}
reference: knative/docs#6007 (comment)
Metadata
Metadata
Assignees
Labels
lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.