|
Post by AMI_shirleyh on Aug 26, 2019 13:10:32 GMT
Hi,
I'm using Event.v1_4_0 from Schema set 2019.1.
EventType has been deprecated from version v1_3_0 in this schema as given below:-
"EventType": { "$ref": "http://redfish.dmtf.org/schemas/v1/Event.json#/definitions/EventType", "deprecated": "This property has been deprecated. Starting Redfish Spec 1.6 (Event 1.3), subscriptions are based on RegistryId and ResourceType and not EventType.", "description": "This indicates the type of event sent, according to the definitions in the EventService.", "longDescription": "The value of this property shall indicate the type of event as defined in the EventService schema.", "readonly": true, "versionDeprecated": "v1_3_0" },
But is still in the required or mandatory property list in Event.v1_4_0.
"required": [ "EventType", "MessageId", "MemberId" ],
Kindly help to clarify this.
Thanks.
|
|
|
Post by mraineri on May 28, 2020 15:15:34 GMT
Sorry for the late response to this.
Yes, even though it's deprecated, it's still required. The reason for this is older clients that were written based off the "EventType" eventing mechanism will break if the property is not provided. In the long term though, once we hit a point where deprecated properties can be removed completely, we'll do so then, but until then, there's still the desire to support existing clients.
|
|