-
Notifications
You must be signed in to change notification settings - Fork 23
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
Usage of CloudEvents "subject" #11
Comments
Your proposal makes a lot of sense to me. The I think we might need to provide a clear table in the spec stating for each event type what exactly the subject should be, just for clarity. |
Yeah, that's a great idea. |
Restructure a the spec root page, add more sections and introduce the initial terminology, including subjects and actions. This provides the basis for restructuring the vocabulary and defining the schemas that will be used to build the SDKs. Partially addresses: cdevents#12 Related to: cdevents#11 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Restructure a the spec root page, add more sections and introduce the initial terminology, including subjects and actions. This provides the basis for restructuring the vocabulary and defining the schemas that will be used to build the SDKs. Partially addresses: cdevents#12 Related to: cdevents#11 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Restructure a the spec root page, add more sections and introduce the initial terminology, including subjects and actions. This provides the basis for restructuring the vocabulary and defining the schemas that will be used to build the SDKs. Partially addresses: cdevents#12 Related to: cdevents#11 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Restructure a the spec root page, add more sections and introduce the initial terminology, including subjects and actions. This provides the basis for restructuring the vocabulary and defining the schemas that will be used to build the SDKs. Partially addresses: cdevents#12 Related to: cdevents#11 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Restructure a the spec root page, add more sections and introduce the initial terminology, including subjects and actions. This provides the basis for restructuring the vocabulary and defining the schemas that will be used to build the SDKs. Partially addresses: cdevents#12 Related to: cdevents#11 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Restructure a the spec root page, add more sections and introduce the initial terminology, including subjects and predicates. This provides the basis for restructuring the vocabulary and defining the schemas that will be used to build the SDKs. Partially addresses: cdevents#12 Related to: cdevents#11 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Restructure a the spec root page, add more sections and introduce the initial terminology, including subjects and predicates. This provides the basis for restructuring the vocabulary and defining the schemas that will be used to build the SDKs. Partially addresses: cdevents#12 Related to: cdevents#11 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Restructure a the spec root page, add more sections and introduce the initial terminology, including subjects and predicates. This provides the basis for restructuring the vocabulary and defining the schemas that will be used to build the SDKs. Partially addresses: cdevents#12 Related to: cdevents#11 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Restructure a the spec root page, add more sections and introduce the initial terminology, including subjects and predicates. This provides the basis for restructuring the vocabulary and defining the schemas that will be used to build the SDKs. Partially addresses: #12 Related to: #11 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
With https://github.com/cdevents/spec/blob/main/spec.md#subject in mind: What would the subject look like in cloud events? |
Since CloudEvents include the source in the headers, subject should be the ID of the CDEvents subject, which is unique within the source. |
Adressed by #35 |
Feature
We should document in the CloudEvents binding document how the subject should be populated when sending CDEvents.
Proposal
All CDEvents are related to an activity and an entity - like taskrun started or artifact published.
Entities are identified by an ID which we could use to fill in the subject of the CloudEvents.
That would allow CloudEvents consumers to easily filter events based on the subject.
Example:
The text was updated successfully, but these errors were encountered: