diff options
author | Lukasz Kazmierczak <lukasz.kazmierczak@intel.com> | 2021-08-02 14:40:27 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-12-17 20:52:17 +0300 |
commit | 1b7e696bb97d12125117f71c9d710cd482a54c85 (patch) | |
tree | e633ed6686bda148c3c07984aa560e95f783b075 /redfish-core/include/redfish.hpp | |
parent | 07148cf2fcaf7c255fe6a21acd4e7b2134fb1d92 (diff) | |
download | bmcweb-1b7e696bb97d12125117f71c9d710cd482a54c85.tar.xz |
Add GET method for Triggers
Added GET method for retrieving details of individual Trigger searched
by given Trigger name, details are extracted from Telemetry service
Tested:
- Added single Trigger and requested result from bmcweb via
/redfish/v1/TelemetryService/Triggers/<triggername>
- Added multiple Triggers numeric and discrete with various parameters
(empty, non-empty), and requested results from bmcweb via
/redfish/v1/TelemetryService/Triggers/<triggername>
- Verified uris /redfish/v1/TelemetryService/Triggers/<triggername> by
using Redfish-Service-Validator (all passed)
Signed-off-by: Lukasz Kazmierczak <lukasz.kazmierczak@intel.com>
Change-Id: I1c966b2f792324cc6f6a8784ad18a683e5ce7bd9
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r-- | redfish-core/include/redfish.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp index e56996dad4..2397df6a81 100644 --- a/redfish-core/include/redfish.hpp +++ b/redfish-core/include/redfish.hpp @@ -208,6 +208,7 @@ class RedfishService requestRoutesMetricReportCollection(app); requestRoutesMetricReport(app); requestRoutesTriggerCollection(app); + requestRoutesTrigger(app); } }; |