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

Redfish schema change to support HPE events and multiple EventRecords #38

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

jzding
Copy link
Member

@jzding jzding commented Jan 27, 2022

Events sent from HPE BMCs have older version Event schema (Event.v1_0_0).
There are also possiblilies that some vendors are not fully Redfish
compatible by missing some required attributes. For example HPE events
miss the required attribute Id in Event schema.

Log warnings instead of fail the marshalling when some required fields
are missing to make the hw-event-proxy accept older version or
incompatible events.
Fix marchalling to suppor multiple EventRecords to be included in the
same Event.

Signed-off-by: Jack Ding jacding@redhat.com

Events sent from HPE BMCs have older version Event schema (Event.v1_0_0).
There are also possiblilies that some vendors are not fully Redfish
compatible by missing some required attributes. For example HPE events
miss the required attribute `Id` in Event schema.

Log warnings instead of fail the marshalling when some required fields
are missing to make the hw-event-proxy accept older version or
incompatible events.
Fix marchalling to suppor multiple EventRecords to be included in the
same Event.

Signed-off-by: Jack Ding <jacding@redhat.com>
@jzding jzding merged commit 2487c3d into redhat-cne:main Jan 27, 2022
@jzding jzding deleted the hp branch December 12, 2022 16:36
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.

2 participants