Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Intel RSD PODM 2.3.2 - SSE Server Sent Events #109

Open
lalithabheemavarapu opened this issue Aug 19, 2019 · 6 comments
Open

Intel RSD PODM 2.3.2 - SSE Server Sent Events #109

lalithabheemavarapu opened this issue Aug 19, 2019 · 6 comments

Comments

@lalithabheemavarapu
Copy link

lalithabheemavarapu commented Aug 19, 2019

Hello Intel,

Am working on SSE(Server Sent Events) events w.r.to PSME-api-spec V2.3 under section 4.43 Event Subscription Collection.
when i go through the PODM code , Found code related to SSE ,Does PODM implemented SSE Server Sent Event ?
As because Redfish specification SSE was released in 2019,Intel RSD PODM v2.3.2 released in 2018.
Need clarification on this.
P.S: Please correct me if am wrong

@lalithabheemavarapu
Copy link
Author

Do anybody working on IntelRSD have any Idea on this please share

@lalithabheemavarapu
Copy link
Author

Does anybody have any info on this please share

@ArturBaryla
Copy link

Hi lalithabheemavarapu,

Does PODM implemented SSE Server Sent Event ?
Answering your question - No, PODM doesn't implement SSE Server Sent Event.
Please let me know what code related to SSE did you find, and I will try to clarify on this.

@lalithabheemavarapu
Copy link
Author

Hello Artur,

Thanks for responding. Regarding SSE

when i checked in PODM External Libraries found some implementation classes related SSE related EventSource like SseEventOutputImpl,SseBroadcasterImpl classes.Does SSE api in external libraries in v2.3.2 of PODM and not implemented.If not does SSE implemented in v2.4 of PODM?.Because now in my code PODM i want to implement the SSE based on Redfish Schema Supplement 2019,and i found URI w.r.to EventService 1.3.0 under /redfish/v1/EventService found
https://www.dmtf.secondrisedv.com/sites/default/files/standards/documents/DSP0268_2019.1a.pdf

URIs:
/redfish/v1/EventService/Actions/EventService.SubmitTestEvent

Example response:
"@odata.type": "#EventService.v1_2_0.EventService", "Id": "EventService", "Name": "Event Service", "Status": { "State": "Enabled", "Health": "OK" },
"ServiceEnabled": true, "DeliveryRetryAttempts": 3, "DeliveryRetryIntervalSeconds": 60, "ServerSentEventUri": "/redfish/v1/EventService/SSE", "EventTypesForSubscription": [ "StatusChange", "ResourceUpdated", "ResourceAdded", "ResourceRemoved", "Alert"
],
"Subscriptions": { "@odata.id": "/redfish/v1/EventService/Subscriptions"
},
"Actions": { "#EventService.SubmitTestEvent": { "target": "/redfish/v1/EventService/Actions/EventService.SubmitTestEvent", "EventType@Redfish.AllowableValues": [ "StatusChange", "ResourceUpdated", "ResourceAdded", "ResourceRemoved", "Alert"
]
},
"Oem": {}
},
"Oem": {}, "@odata.context": "/redfish/v1/$metadata#EventService.EventService", "@odata.id": "/redfish/v1/EventService"
}

The above Response were from Redfish schema definition 2019 spec.they have mentioned SSE under EventService with SubmitAction.Does this EventService.SubmitTestEvent implemented?

If not please clarify me on SSE in v2.3.2

SSE-ExternalLib

@lalithabheemavarapu
Copy link
Author

Can anyone please clarify on this .....because i want to implement the SSE in podm code ,got doubt on URI where we can get and all other ...SSE comes under EventService fine then where exactly we get in response is my doubt..

@ArturBaryla
Copy link

Hi lalithabheemavarapu
Highlighted code that's not belong to POD Manager. Is a part of the RestEasy dependency that project use.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants