Affects Version/s: wd22
Fix Version/s: wd25
William Cox and Rish Ghatikar
Changes as indicated.
Issue on EventID uniqueness is in
ENERGYINTEROP-393so we can complete this.
EventID not incuded where needed:
In CreatedPayload but not in EiCreateEventPayload. Who is creating the eventID? Must be the VTN, info is in the passed EiEvent object.
EiCanceledEvent must have eventID and doesn't
EiChangeEvent - carries revised EiEvent. It's the Changed versions of the original event, and contains the same eventID.
(in OpenADR two event IDs - this is one. EventIdentifer, second is EventStateID, also EventModNumber. EventIdentifer - when event is first issued.
If nothing in status, no active DR event, field not applicable. If pending/not completed.
EventStateID is transaction ID unique for each instance of event "state" - EiEvent equivalent.
Lifecycle of the EiEvent object.
If only one, issued when EiCreateEvent. When it gets modified and sent to VTN send an ack back saying I received it. Ack which event you're received - every time you send the same ID back no way to tell if to the original or the modified.
Could return Mod number at zero for initial, make mandatory. This allows non-repudiation of event receipt.
VEN uses combo of eventID and modificationNumber.
Require DateTime and Number for mod in all - change cardinality to 1.
Needs programName, programID.
Change name to EiRequestEventPayload - not "Requent"
Response is "here are all of the events I have associated with you"