Searched hist:"3 a617023" (Results 1 – 4 of 4) sorted by relevance
/openbmc/telemetry/src/utils/ |
H A D | tstring.hpp | 3a617023 Mon Jul 19 11:23:02 CDT 2021 Szymon Dompke <szymon.dompke@intel.com> Refactor metadata returned by Readings property
Reading metadata is now JSON containg SensorDbusPath and SensorRedfishUri. It is returned only if JSON metadata was provided during Report creation, otherwise old behavior is maintained.
Additionally, json.hpp was removed as LabeledTupple is now used for serialization and deserialization of metric and reading metadata.
Testing done: - Unit test is passing as metric is returning proper metadata. - Redfish get on redfish/v1/TelemetryService/MetricReports is containing MetricDefinition property, which utilizes SensorDbusPath metadata.. Done on custom version of bmcweb.
Change-Id: I1b2cc4440d03e0fe45151b630f4e439839ed8589 Signed-off-by: Szymon Dompke <szymon.dompke@intel.com>
|
H A D | labeled_tuple.hpp | 3a617023 Mon Jul 19 11:23:02 CDT 2021 Szymon Dompke <szymon.dompke@intel.com> Refactor metadata returned by Readings property
Reading metadata is now JSON containg SensorDbusPath and SensorRedfishUri. It is returned only if JSON metadata was provided during Report creation, otherwise old behavior is maintained.
Additionally, json.hpp was removed as LabeledTupple is now used for serialization and deserialization of metric and reading metadata.
Testing done: - Unit test is passing as metric is returning proper metadata. - Redfish get on redfish/v1/TelemetryService/MetricReports is containing MetricDefinition property, which utilizes SensorDbusPath metadata.. Done on custom version of bmcweb.
Change-Id: I1b2cc4440d03e0fe45151b630f4e439839ed8589 Signed-off-by: Szymon Dompke <szymon.dompke@intel.com>
|
/openbmc/telemetry/tests/src/ |
H A D | test_metric.cpp | 3a617023 Mon Jul 19 11:23:02 CDT 2021 Szymon Dompke <szymon.dompke@intel.com> Refactor metadata returned by Readings property
Reading metadata is now JSON containg SensorDbusPath and SensorRedfishUri. It is returned only if JSON metadata was provided during Report creation, otherwise old behavior is maintained.
Additionally, json.hpp was removed as LabeledTupple is now used for serialization and deserialization of metric and reading metadata.
Testing done: - Unit test is passing as metric is returning proper metadata. - Redfish get on redfish/v1/TelemetryService/MetricReports is containing MetricDefinition property, which utilizes SensorDbusPath metadata.. Done on custom version of bmcweb.
Change-Id: I1b2cc4440d03e0fe45151b630f4e439839ed8589 Signed-off-by: Szymon Dompke <szymon.dompke@intel.com>
|
/openbmc/telemetry/src/ |
H A D | metric.cpp | 3a617023 Mon Jul 19 11:23:02 CDT 2021 Szymon Dompke <szymon.dompke@intel.com> Refactor metadata returned by Readings property
Reading metadata is now JSON containg SensorDbusPath and SensorRedfishUri. It is returned only if JSON metadata was provided during Report creation, otherwise old behavior is maintained.
Additionally, json.hpp was removed as LabeledTupple is now used for serialization and deserialization of metric and reading metadata.
Testing done: - Unit test is passing as metric is returning proper metadata. - Redfish get on redfish/v1/TelemetryService/MetricReports is containing MetricDefinition property, which utilizes SensorDbusPath metadata.. Done on custom version of bmcweb.
Change-Id: I1b2cc4440d03e0fe45151b630f4e439839ed8589 Signed-off-by: Szymon Dompke <szymon.dompke@intel.com>
|