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

CRH Cloud event update #14

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

timmy-equinix
Copy link

@timmy-equinix timmy-equinix commented Dec 18, 2024

Checklist

  • I have read the CONTRIBUTING.md
  • I certify that my preview and released lists for Events/Metrics/Alerts are correct
  • I certify that all Events/Metrics/Alerts in released are properly tested and ready for production

CRH Observability event schema

@timmy-equinix timmy-equinix requested review from ryli17 and thogarty and removed request for ryli17 December 18, 2024 17:11
@ryli17 ryli17 requested a review from anchala71 December 18, 2024 17:59
Copy link
Contributor

@ryli17 ryli17 left a comment

Choose a reason for hiding this comment

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

This json is intend to define data object in the cloudevent. Thus it is used in dataschema in cloudevent. It is not to define the cloudevent metadata. Please refer to other files in fabric domain.

"domain": "Equinix Resource Manager ChangeEvent",
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Data",
"definitions": {
"SpecVersion": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Definitions aren't properly defined. You're creating many different model types in your definition that should just be properties of a single model definition. See

for reference.

@@ -31,17 +81,5 @@
"title": "Resource",
"description": "Schema of the resource that fired the event"
}
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Leave these definitions at the end of the file, and all must be included. Remove the attribute from the beginning of the file on line https://github.com/equinix/equinix-cloudevents/pull/14/files#diff-b53020bebf4fb260b25992533608a4bab6f840f83b568f62804d114cdb147f72R7-R8

@timmy-equinix timmy-equinix requested a review from a team as a code owner January 8, 2025 00:42
@github-actions github-actions bot requested a review from a team as a code owner January 8, 2025 00:42
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