Skip to content
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

http: Fixes for Gin http receiver sample #905

Merged

Conversation

dgeorgievski
Copy link
Contributor

Fixes for prematurely closed #842 PR. Applied all suggested code and doc changes.

It is worth mentioning the code and instructions come from a real use case of processing Tekton events:
https://tekton.dev/docs/pipelines/events/

@duglin
Copy link
Contributor

duglin commented Jun 2, 2023

don't forget to sign your commit(s)

@duglin
Copy link
Contributor

duglin commented Jun 2, 2023

ping @embano1

@dgeorgievski dgeorgievski force-pushed the http-samples-receiver-gin-fixes branch from 3504c71 to f251383 Compare June 2, 2023 15:53
@dgeorgievski
Copy link
Contributor Author

don't forget to sign your commit(s)

Signed off. Sorry, I forgot.

@duglin
Copy link
Contributor

duglin commented Jun 2, 2023

thanks.
ping @embano1 and @lionelvillard for review

```shell
curl -v \
-H "Ce-Id: e7d95c20-6eb4-4614-946d-27b0ce41c7ff" \
-H "Ce-Source: /apis///namespaces/dimitar//clone-build-n4qhgl" \
-H "Ce-Source: /apis/namespaces/dimitar/clone-build-n4qhgl" \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to change this in the output below too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source changed in the output as well.

Copy link
Member

@embano1 embano1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit

Fixes for prematurely closed cloudevents#842 PR. Applied all suggested code and doc
changes..

Signed-off-by: Dimitar Georgievski <dgeorgievski@gmail.com>
@dgeorgievski dgeorgievski force-pushed the http-samples-receiver-gin-fixes branch from f251383 to 74c27a4 Compare June 5, 2023 14:01
@duglin
Copy link
Contributor

duglin commented Jun 5, 2023

LGTM

@embano1 and @lionelvillard FTM (for the merge)

@duglin
Copy link
Contributor

duglin commented Jun 8, 2023

ping @lionelvillard for final approval/merge

@lionelvillard lionelvillard merged commit 5232986 into cloudevents:main Jun 8, 2023
@dgeorgievski dgeorgievski deleted the http-samples-receiver-gin-fixes branch June 9, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants