Skip to content

http: Fixes for Gin http receiver sample#905

Merged
lionelvillard merged 1 commit intocloudevents:mainfrom
dgeorgievski:http-samples-receiver-gin-fixes
Jun 8, 2023
Merged

http: Fixes for Gin http receiver sample#905
lionelvillard merged 1 commit intocloudevents:mainfrom
dgeorgievski:http-samples-receiver-gin-fixes

Conversation

@dgeorgievski
Copy link
Copy Markdown
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
Copy Markdown
Contributor

duglin commented Jun 2, 2023

don't forget to sign your commit(s)

@duglin
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

don't forget to sign your commit(s)

Signed off. Sorry, I forgot.

@duglin
Copy link
Copy Markdown
Contributor

duglin commented Jun 2, 2023

thanks.
ping @embano1 and @lionelvillard for review

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

duglin commented Jun 5, 2023

LGTM

@embano1 and @lionelvillard FTM (for the merge)

@duglin
Copy link
Copy Markdown
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