Skip to content

Conversation

@m-linner-ericsson
Copy link
Contributor

I wanted to create a introduction to CDEvents explaining to a larger audience why we created the project and what it provides.

I have taken inspiration from previous PR material and other markdown documents, but also added a few idea myself.

If you feel the text should live in another document please feel free suggest that.

Signed-off-by: Mattias Linnér mattias.linner@ericsson.com

Copy link
Contributor

@e-backmark-ericsson e-backmark-ericsson left a comment

Choose a reason for hiding this comment

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

I embrace this initiative, and I believe it captures the background well enough as it is now written.

Maybe this page deserves a ToC now as its content has grown quite a lot?

@afrittoli
Copy link
Member

I wanted to create a introduction to CDEvents explaining to a larger audience why we created the project and what it provides.

I have taken inspiration from previous PR material and other markdown documents, but also added a few idea myself.

If you feel the text should live in another document please feel free suggest that.

Signed-off-by: Mattias Linnér mattias.linner@ericsson.com

Thanks @m-linner-ericsson !
I think it's nice to provide a little bit more context in the main README. But I would prefer to keep the READM not too busy, and maybe move some of this content to the CDEvents primer?

Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

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

Thanks Matthias, it looks good!
I left a few comments

README.md Outdated
Comment on lines 33 to 34
We thus build on top of the work from other players as the following stack
pictures exemplifies.
Copy link
Member

Choose a reason for hiding this comment

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

I would skip this sentence, I think the picture below ties well with the one on L30.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated in 1ad4def

@@ -0,0 +1 @@
<mxfile host="Electron" modified="2022-03-09T14:09:43.285Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/16.5.1 Chrome/96.0.4664.110 Electron/16.0.7 Safari/537.36" etag="WJztc4Q_z2C4iVk_88a6" version="16.5.1" type="device"><diagram id="rZAp1BOKmzg2OGIajMNH" name="Page-1">5ZbdbqMwEIWfhsuVAEM2uUwJTaRVpLap1N1LC0/AG2MjY0rSp69dTAhxK3Wl7Y9aiQv7zNhmvmNsPJSU+6XEVbEWBJgX+mTvoYUXhkEUhp55fHLolJkfd0IuKbFJg7ChD2BF36oNJVCPEpUQTNFqLGaCc8jUSMNSinacthVsvGqFc3CETYaZq95RoopOncb+oK+A5kW/cuDbSIn7ZCvUBSaiPZFQ6qFECqG6VrlPgBl4PZdu3OUL0eOLSeDqNQOK9E+6WM5n02v/7m9THbLfy/aHneUes8YWvLq9vfLCRIu/8HaHu+Z8fX1lq1CHHo0UDSdgZg88dNEWVMGmwpmJtnozaK1QJbNhuw5IBfsXCwiOWPR+AlGCkgedYgegnqTdSnFk++1gTNDnFCemTKyG7V7Ij1MPuHTDEvsHeqFDL2GiIem9rqj+dLyi6UfzQi6vxWeFFX40rNiBdSMaRXnusNJVqzGQWkmxg0QwIbXCBdeZF1vK2JmEGc257jLYmhkMQarPvrmVS0qIWeRZ/oND/v+xIJqcfd9x7FgwecYB9FYOTBwH1lDX5sIwF4nUJ/x3sSKauVYcb7p38eKn48UGSsw1I/fs+KomoLczQXeHP5Gn2Mn/HEofAQ==</diagram></mxfile> No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for including the source!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

😃

spec.md Outdated
## Abstract

CDEvents is a common specification for Continuous Delivery events.
CDEvents is a common specification for Continuous Delivery events. For more
Copy link
Member

Choose a reason for hiding this comment

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

I would not add this to the abstract.
We could link the README and primer docs in the overview below instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tried to make something in 1ad4def. Do you have any other good ideas?

README.md Outdated
* Create a coupled architecture - using point-to-point communication creates a
tightly intertwined architecture difficult to expand and monitor.

#### Why not webhooks?
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure about this. I see webhooks as a way to deliver events, and I didn't know we recommended explicitly against them. CloudEvents include a spec for webhooks https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/http-webhook.md and they could be an interesting option in cases where authorization is required.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Felt this was a bit on the edge so I removed it in 1ad4def

m-linner-ericsson and others added 2 commits March 25, 2022 14:07
Co-authored-by: Emil Bäckmark <emil.backmark@ericsson.com>
spec.md Outdated
- The [*vocabulary*](vocabulary), which identifies *event types*, structures as
*subjects* and *predicates*

For an introduction see [README.md](README.md) and for more background
Copy link
Member

Choose a reason for hiding this comment

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

NIT: extra space "for more"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 5bea30c

Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

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

Thank for all the updates.
Just a nit but looks good to me

@afrittoli
Copy link
Member

@e-backmark-ericsson ok to merge?

<!-- toc -->
- [History](#history)
- [Relations to CloudEvents](#relations-to-cloudevents)
- [Design reflections](#design-reflections)
Copy link
Contributor

Choose a reason for hiding this comment

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

This ToC entry should be swapped with the previous line to match the actual content

Copy link
Member

Choose a reason for hiding this comment

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

You can run ./tools/update-toc.sh to keep the ToCs updated - I should probably setup a CI job for that :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be fixed in 610d408

Copy link
Contributor

@e-backmark-ericsson e-backmark-ericsson left a comment

Choose a reason for hiding this comment

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

Just a very small change needed

@m-linner-ericsson m-linner-ericsson merged commit 6559231 into cdevents:main Apr 1, 2022
@m-linner-ericsson m-linner-ericsson deleted the add_intro branch April 1, 2022 11:21
afrittoli added a commit to cdevents/cdevents.dev that referenced this pull request Apr 5, 2022
Adding docs updates from cdevents/spec#34

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
afrittoli added a commit to cdevents/cdevents.dev that referenced this pull request Apr 5, 2022
Adding docs updates from cdevents/spec#34

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
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.

3 participants