EventService: Manager and subscriptions support
Add EventService Manager which will manage all the
EventService configuration and subscriptions. This
includes API for add or update or delete subscriptions
along with other supported API support. Also includes
http connection open and send event code using
"push style eventing".
Added BMCWEB_INSECURE_HTTP_PUSH_STYLE_EVENTING
build flag to enable/disable http push style eventing
which is not a secure channel.
Tested:
- Tested along with other patches such as http
client and Event log support, SubmitTestEvent
and its works.
- Ran Redfish validation successfully.
Change-Id: Ie4687e4cbfabd525b7a8ad4e615510f034edc6e9
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d4e4e9..be9a374 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -127,6 +127,11 @@
)
option (
+ BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING
+ "Enable HTTP push style eventing feature" OFF
+)
+
+option (
BMCWEB_ENABLE_VALIDATION_UNSECURE_FEATURE
"Enables unsecure features required by validation. Note: must
be turned off for production images."
@@ -416,6 +421,8 @@
-DBMCWEB_INSECURE_UNRESTRICTED_SENSOR_OVERRIDE>
$<$<BOOL:${BMCWEB_ENABLE_IBM_MANAGEMENT_CONSOLE}>:
-DBMCWEB_ENABLE_IBM_MANAGEMENT_CONSOLE>
+ $<$<BOOL:${BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING}>:
+ -DBMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING>
)
# configure and install systemd unit files