summaryrefslogtreecommitdiff
path: root/redfish-core/include/redfish.hpp
diff options
context:
space:
mode:
authorAppaRao Puli <apparao.puli@linux.intel.com>2020-05-15 18:39:54 +0300
committerAppaRao Puli <apparao.puli@linux.intel.com>2020-07-02 07:56:57 +0300
commit4bbf237f4217afd1a0fa8c474a921a9175732b13 (patch)
treed64066e1bb894362e3bafd9766fc9feecade27ad /redfish-core/include/redfish.hpp
parentfe44eb0b4b46fa3a96f445df05e962e15e5d337d (diff)
downloadbmcweb-4bbf237f4217afd1a0fa8c474a921a9175732b13.tar.xz
EventService: Support for Server Sent Events(SSE)
Add support for Server Sent Events(SSE) Filters support is not part of this commit. Tested: - GET on URI /redfish/v1/EventService/Subscriptions/SSE/ from chrome browser, can see all BMC Events on browser. - Redfish validator is successful. Change-Id: Icd10cdad20c4529f64c97b67d46f2e4a7e0c329c Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r--redfish-core/include/redfish.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 303519bff5..959c64345b 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -189,6 +189,7 @@ class RedfishService
nodes.emplace_back(std::make_unique<TaskCollection>(app));
nodes.emplace_back(std::make_unique<Task>(app));
nodes.emplace_back(std::make_unique<EventService>(app));
+ nodes.emplace_back(std::make_unique<EventServiceSSE>(app));
nodes.emplace_back(std::make_unique<EventDestinationCollection>(app));
nodes.emplace_back(std::make_unique<EventDestination>(app));
nodes.emplace_back(std::make_unique<SubmitTestEvent>(app));