-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add sample for cloudevents-nodejs #2446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sample for cloudevents-nodejs #2446
Conversation
docs/serving/samples/cloudevents/cloudevents-nodejs/service.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm no node expert, but a couple of drive-by comments.
Thanks for putting this together! 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So glad to see some of the upcoming API in use.
docs/serving/samples/cloudevents/cloudevents-nodejs/package.json
Outdated
Show resolved
Hide resolved
docs/serving/samples/cloudevents/cloudevents-nodejs/package.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"files.insertFinalNewline": true
in VSCode config should enable auto insert of new line if one doesn’t exist. ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!!! Just couple of nits I think? Thanks!!
thanks @vaikas for the quick review, I think I addressed all your comments |
/lgtm |
Ah its |
@csantanapr LGTM |
/unhold |
/approve |
@csantanapr looks like you need another file, see the other PR that landed recently for the right way:
|
/unhold I think the two things this needs are:
Otherwise I tried it with and without K_SINK and it worked great 🎉 |
We also need to update the table here: https://github.com/knative/docs/blob/master/docs/serving/samples/README.md |
/hold Thanks to all for reviewing the PR I saw the other day from Evan on the refactor for the index.md and the testing for consistently +1 I will rebase and squash and update. I was thinking on looking on adding functional e2e similar to the hello samples to avoid PITA manual testing but that would be a different PR What you folks think on adding typescript version or Deno? Maybe one sample to cover both Deno and typescript ? |
@csantanapr Ha! I was just asking about mirroring that test setup in #test now that these are expanding to more languages. I agree about doing that separately, and if you'd be willing to help drive that it'd be awesome! |
@mattmoor yes I will also work on e2e tests good opportunity for me stop procrastinating and getting my hands dirty with some Go |
d960219
to
3e08667
Compare
Signed-off-by: Carlos Santana <[email protected]>
f5eaa28
to
96523ee
Compare
/unhold |
/approve Going to approve so the next push stages it :) |
Signed-off-by: Carlos Santana <[email protected]>
thanks @mattmoor I added license headers |
And no |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Carlos Santana <[email protected]>
@mattmoor bump |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: csantanapr, mattmoor, vaikas The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Carlos Santana [email protected]
Fixes #2445
cc @lance @mattmoor