summaryrefslogtreecommitdiff
path: root/redfish-core/include/redfish.hpp
diff options
context:
space:
mode:
authorLukasz Kazmierczak <lukasz.kazmierczak@intel.com>2021-08-02 12:08:53 +0300
committerEd Tanous <ed@tanous.net>2021-12-17 20:52:17 +0300
commit07148cf2fcaf7c255fe6a21acd4e7b2134fb1d92 (patch)
treed21a0d232852f9c14d581b5bf963e004b2c8f228 /redfish-core/include/redfish.hpp
parentf451bec02f7ec14b18c5df7065aff90e67637107 (diff)
downloadbmcweb-07148cf2fcaf7c255fe6a21acd4e7b2134fb1d92.tar.xz
Add GET method for TriggerCollection
Added GET method for retrieving list of Triggers from Telemetry service Tested: - Added single Trigger and requested result from bmcweb via /redfish/v1/TelemetryService/Triggers - Added multiple Triggers numeric and discrete, and requested results from bmcweb via /redfish/v1/TelemetryService/Triggers - Verified uri /redfish/v1/TelemetryService/Triggers by using Redfish-Service-Validator with no Triggers/empty Collection (passed) Signed-off-by: Lukasz Kazmierczak <lukasz.kazmierczak@intel.com> Change-Id: Ide00eb44901ea1b97b80fc5c5ddfd97e393d4a04
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r--redfish-core/include/redfish.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 247933232e..e56996dad4 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -41,6 +41,7 @@
#include "../lib/task.hpp"
#include "../lib/telemetry_service.hpp"
#include "../lib/thermal.hpp"
+#include "../lib/trigger.hpp"
#include "../lib/update_service.hpp"
#include "../lib/virtual_media.hpp"
@@ -206,6 +207,7 @@ class RedfishService
requestRoutesMetricReportDefinition(app);
requestRoutesMetricReportCollection(app);
requestRoutesMetricReport(app);
+ requestRoutesTriggerCollection(app);
}
};