created AddReportFutureVersion dbus method
New method will support CollectionTimeScope, CollectionDuration
In order to make not breaking interface changes bmcweb will switch to
AddReportFutureVersion, then AddReport will be changed to match
AddReportFutureVersion, then redfish will switch back to use AddReport,
then AddReportFutureVersion will be removed.
Tested:
- Verified that current version of bmcweb works fine with old API
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>
Change-Id: I51a9b7fb2f4da5b8d2f688ccd5e93710352b1ac7
diff --git a/src/trigger_factory.hpp b/src/trigger_factory.hpp
index 7c13e55..4ec273a 100644
--- a/src/trigger_factory.hpp
+++ b/src/trigger_factory.hpp
@@ -35,8 +35,6 @@
SensorCache& sensorCache;
interfaces::ReportManager& reportManager;
- std::pair<std::vector<std::shared_ptr<interfaces::Sensor>>,
- std::vector<std::string>>
- getSensors(
- const std::vector<LabeledSensorInfo>& labeledSensorsInfo) const;
+ std::pair<Sensors, std::vector<std::string>> getSensors(
+ const std::vector<LabeledSensorInfo>& labeledSensorsInfo) const;
};