History log of /openbmc/telemetry/tests/src/utils/ (Results 1 – 9 of 9)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
3a1c297a10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I1ac255c58971ac5cc4697b8bb1069067aad02d18
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


/openbmc/telemetry/.clang-format
/openbmc/telemetry/.gitignore
/openbmc/telemetry/README.md
/openbmc/telemetry/meson.build
/openbmc/telemetry/meson_options.txt
/openbmc/telemetry/redfish-tests/README.md
/openbmc/telemetry/redfish-tests/conftest.py
/openbmc/telemetry/redfish-tests/redfish_requests.py
/openbmc/telemetry/redfish-tests/test_telemetry.py
/openbmc/telemetry/src/errors.cpp
/openbmc/telemetry/src/errors.hpp
/openbmc/telemetry/src/interfaces/metric.hpp
/openbmc/telemetry/src/main.cpp
/openbmc/telemetry/src/metric.cpp
/openbmc/telemetry/src/metric.hpp
/openbmc/telemetry/src/metric_value.hpp
/openbmc/telemetry/src/metrics/collection_data.cpp
/openbmc/telemetry/src/metrics/collection_function.cpp
/openbmc/telemetry/src/numeric_threshold.cpp
/openbmc/telemetry/src/persistent_json_storage.cpp
/openbmc/telemetry/src/persistent_json_storage.hpp
/openbmc/telemetry/src/report.cpp
/openbmc/telemetry/src/report.hpp
/openbmc/telemetry/src/report_factory.cpp
/openbmc/telemetry/src/report_manager.cpp
/openbmc/telemetry/src/sensor.cpp
/openbmc/telemetry/src/sensor.hpp
/openbmc/telemetry/src/state.hpp
/openbmc/telemetry/src/trigger.cpp
/openbmc/telemetry/src/trigger_actions.hpp
/openbmc/telemetry/src/trigger_factory.cpp
/openbmc/telemetry/src/trigger_manager.cpp
/openbmc/telemetry/src/types/collection_time_scope.hpp
/openbmc/telemetry/src/types/error_message.hpp
/openbmc/telemetry/src/types/error_type.hpp
/openbmc/telemetry/src/types/operation_type.hpp
/openbmc/telemetry/src/types/readings.cpp
/openbmc/telemetry/src/types/report_action.hpp
/openbmc/telemetry/src/types/report_types.cpp
/openbmc/telemetry/src/types/report_types.hpp
/openbmc/telemetry/src/types/report_updates.hpp
/openbmc/telemetry/src/types/reporting_type.hpp
/openbmc/telemetry/src/types/trigger_types.hpp
/openbmc/telemetry/src/utils/circular_vector.hpp
/openbmc/telemetry/src/utils/contains.hpp
/openbmc/telemetry/src/utils/conversion.hpp
/openbmc/telemetry/src/utils/conversion_trigger.cpp
/openbmc/telemetry/src/utils/conversion_trigger.hpp
/openbmc/telemetry/src/utils/dbus_path_utils.cpp
/openbmc/telemetry/src/utils/dbus_path_utils.hpp
/openbmc/telemetry/src/utils/ensure.hpp
/openbmc/telemetry/src/utils/labeled_tuple.hpp
/openbmc/telemetry/src/utils/make_id_name.cpp
/openbmc/telemetry/src/utils/messanger_service.cpp
/openbmc/telemetry/src/utils/messanger_service.hpp
/openbmc/telemetry/src/utils/threshold_operations.hpp
/openbmc/telemetry/src/utils/transform.hpp
/openbmc/telemetry/src/utils/variant_utils.hpp
/openbmc/telemetry/subprojects/boost.wrap
/openbmc/telemetry/subprojects/googletest.wrap
/openbmc/telemetry/subprojects/packagefiles/boost/meson.build
/openbmc/telemetry/tests/meson.build
/openbmc/telemetry/tests/src/dbus_environment.hpp
/openbmc/telemetry/tests/src/helpers/interfaces/json_storage_helpers.hpp
/openbmc/telemetry/tests/src/helpers/interfaces/sensor_id_helpers.hpp
/openbmc/telemetry/tests/src/helpers/metric_value_helpers.hpp
/openbmc/telemetry/tests/src/mocks/metric_mock.hpp
/openbmc/telemetry/tests/src/mocks/report_factory_mock.hpp
/openbmc/telemetry/tests/src/mocks/trigger_factory_mock.hpp
/openbmc/telemetry/tests/src/params/trigger_params.hpp
/openbmc/telemetry/tests/src/stubs/dbus_sensor_object.cpp
/openbmc/telemetry/tests/src/test_conversion.cpp
/openbmc/telemetry/tests/src/test_discrete_threshold.cpp
/openbmc/telemetry/tests/src/test_ensure.cpp
/openbmc/telemetry/tests/src/test_labeled_tuple.cpp
/openbmc/telemetry/tests/src/test_make_id_name.cpp
/openbmc/telemetry/tests/src/test_metric.cpp
/openbmc/telemetry/tests/src/test_persistent_json_storage.cpp
/openbmc/telemetry/tests/src/test_report.cpp
/openbmc/telemetry/tests/src/test_report_manager.cpp
/openbmc/telemetry/tests/src/test_sensor_cache.cpp
/openbmc/telemetry/tests/src/test_trigger.cpp
/openbmc/telemetry/tests/src/test_trigger_actions.cpp
/openbmc/telemetry/tests/src/test_trigger_manager.cpp
string_utils.cpp
string_utils.hpp
/openbmc/telemetry/xyz.openbmc_project.Telemetry.service.in
32305f1405-Jul-2022 Szymon Dompke <szymon.dompke@intel.com>

Add length limit for user-defined values

Previously, the only limit for most user-defined values like id or name
was the one enforced by dbus, which was fairly big. In order to save
space used by pe

Add length limit for user-defined values

Previously, the only limit for most user-defined values like id or name
was the one enforced by dbus, which was fairly big. In order to save
space used by persistent data, new meson options were added, with length
limit for those fields.

This directly impacts following dbus interfaces:
- TriggerManager.AddTrigger:
- Id
- Name
- Reports
- Thresholds (only name of discrete threshold)
- Trigger.Name
- Trigger.Reports
- Trigger.Thresholds (only name of discrete threshold)
- ReportManager.AddReport(FutureVersion):
- Id
- Name
- MetricParameters (metricId)
- Report.Name
- Report.ReadingParameters (metricId)

For Id fields we support 'prefixes', which also are limited, but those
limit are separate. So if limit for prefix is set to 5 and limit for
id/name is set to 5, following Ids are fine:
- 12345/12345
- 12345
and following are not:
- 123456/1234
- 1/123456

Testing done:
- UTs are passing.
- new limits are reflected when calling mentioned dbus interfaces.

Signed-off-by: Szymon Dompke <szymon.dompke@intel.com>
Change-Id: I29291a1cc56a344d92fb65491c9186fdb90a8529

show more ...

1cdd7e4f08-Jun-2022 Szymon Dompke <szymon.dompke@intel.com>

Use proper dbus path when possible.

Following methods and properties were updated to use full dbus path,
instead of internal telemetry id:
- TriggerManager.AddTrigger() - 'reportIds' arg
- Trigger.R

Use proper dbus path when possible.

Following methods and properties were updated to use full dbus path,
instead of internal telemetry id:
- TriggerManager.AddTrigger() - 'reportIds' arg
- Trigger.ReportIds - renamed to 'Reports'
- Report.TriggerIds - renamed to 'Triggers'

Testing done:
- UTs were updated and are passing.

Signed-off-by: Szymon Dompke <szymon.dompke@intel.com>
Change-Id: I78d812d38289fac575d25b48503cc8b9c6f736fe

show more ...


/openbmc/telemetry/meson.build
/openbmc/telemetry/src/discrete_threshold.cpp
/openbmc/telemetry/src/discrete_threshold.hpp
/openbmc/telemetry/src/interfaces/metric.hpp
/openbmc/telemetry/src/interfaces/metric_listener.hpp
/openbmc/telemetry/src/interfaces/report_factory.hpp
/openbmc/telemetry/src/interfaces/sensor_listener.hpp
/openbmc/telemetry/src/interfaces/trigger_action.hpp
/openbmc/telemetry/src/interfaces/trigger_factory.hpp
/openbmc/telemetry/src/metric.cpp
/openbmc/telemetry/src/metric.hpp
/openbmc/telemetry/src/metrics/collection_data.cpp
/openbmc/telemetry/src/metrics/collection_data.hpp
/openbmc/telemetry/src/metrics/collection_function.cpp
/openbmc/telemetry/src/metrics/collection_function.hpp
/openbmc/telemetry/src/numeric_threshold.cpp
/openbmc/telemetry/src/numeric_threshold.hpp
/openbmc/telemetry/src/on_change_threshold.cpp
/openbmc/telemetry/src/on_change_threshold.hpp
/openbmc/telemetry/src/report.cpp
/openbmc/telemetry/src/report.hpp
/openbmc/telemetry/src/report_factory.cpp
/openbmc/telemetry/src/report_factory.hpp
/openbmc/telemetry/src/report_manager.cpp
/openbmc/telemetry/src/report_manager.hpp
/openbmc/telemetry/src/sensor.cpp
/openbmc/telemetry/src/state.hpp
/openbmc/telemetry/src/trigger.cpp
/openbmc/telemetry/src/trigger.hpp
/openbmc/telemetry/src/trigger_actions.cpp
/openbmc/telemetry/src/trigger_actions.hpp
/openbmc/telemetry/src/trigger_factory.cpp
/openbmc/telemetry/src/trigger_factory.hpp
/openbmc/telemetry/src/trigger_manager.cpp
/openbmc/telemetry/src/trigger_manager.hpp
/openbmc/telemetry/src/types/error_message.hpp
/openbmc/telemetry/src/types/error_type.hpp
/openbmc/telemetry/src/types/readings.cpp
/openbmc/telemetry/src/types/readings.hpp
/openbmc/telemetry/src/types/report_types.hpp
/openbmc/telemetry/src/types/trigger_types.hpp
/openbmc/telemetry/src/utils/circular_vector.hpp
/openbmc/telemetry/src/utils/conversion_trigger.cpp
/openbmc/telemetry/src/utils/conversion_trigger.hpp
/openbmc/telemetry/src/utils/dbus_path_utils.cpp
/openbmc/telemetry/src/utils/dbus_path_utils.hpp
/openbmc/telemetry/src/utils/ensure.hpp
/openbmc/telemetry/src/utils/generate_id.cpp
/openbmc/telemetry/src/utils/labeled_tuple.hpp
/openbmc/telemetry/src/utils/threshold_operations.hpp
/openbmc/telemetry/src/utils/tstring.hpp
/openbmc/telemetry/subprojects/nlohmann.wrap
/openbmc/telemetry/subprojects/phosphor-logging.wrap
/openbmc/telemetry/subprojects/sdbusplus.wrap
/openbmc/telemetry/tests/meson.build
/openbmc/telemetry/tests/src/dbus_environment.cpp
/openbmc/telemetry/tests/src/helpers.hpp
/openbmc/telemetry/tests/src/helpers/types/object_path_helpers.hpp
/openbmc/telemetry/tests/src/main.cpp
/openbmc/telemetry/tests/src/mocks/clock_mock.hpp
/openbmc/telemetry/tests/src/mocks/metric_listener_mock.hpp
/openbmc/telemetry/tests/src/mocks/metric_mock.hpp
/openbmc/telemetry/tests/src/mocks/report_factory_mock.hpp
/openbmc/telemetry/tests/src/mocks/sensor_listener_mock.hpp
/openbmc/telemetry/tests/src/mocks/trigger_action_mock.hpp
/openbmc/telemetry/tests/src/mocks/trigger_factory_mock.hpp
/openbmc/telemetry/tests/src/params/metric_params.hpp
/openbmc/telemetry/tests/src/params/report_params.hpp
/openbmc/telemetry/tests/src/params/trigger_params.hpp
/openbmc/telemetry/tests/src/stubs/dbus_sensor_object.cpp
/openbmc/telemetry/tests/src/test_conversion.cpp
/openbmc/telemetry/tests/src/test_discrete_threshold.cpp
/openbmc/telemetry/tests/src/test_ensure.cpp
/openbmc/telemetry/tests/src/test_generate_id.cpp
/openbmc/telemetry/tests/src/test_metric.cpp
/openbmc/telemetry/tests/src/test_numeric_threshold.cpp
/openbmc/telemetry/tests/src/test_on_change_threshold.cpp
/openbmc/telemetry/tests/src/test_path_append.cpp
/openbmc/telemetry/tests/src/test_report.cpp
/openbmc/telemetry/tests/src/test_report_manager.cpp
/openbmc/telemetry/tests/src/test_sensor.cpp
/openbmc/telemetry/tests/src/test_trigger.cpp
/openbmc/telemetry/tests/src/test_trigger_actions.cpp
/openbmc/telemetry/tests/src/test_trigger_manager.cpp
generate_unique_mock_id.cpp
fdb06a1411-Feb-2022 Szymon Dompke <szymon.dompke@intel.com>

Report: make dbus properties writable

ReadingParametersFutureVersion interface for Reports is enhanced from
read-only to read write and supports modification of readingParameteres,
which is done by

Report: make dbus properties writable

ReadingParametersFutureVersion interface for Reports is enhanced from
read-only to read write and supports modification of readingParameteres,
which is done by updating metrics at the first place and re-registering
them for sensors updates. Similar ReportActions interface is enhanced to
read write. Additionally reportActions policy was modified that reports
always contain 'LogToMetricReportsCollection' action. The whole change
enables Redfish support for PATCH method added on webserver side.

Tested:
- New unit tests were created, ran all new and previous UTs, all passed
- Tested under QEMU, interface was checked for RW via dbus cli commands,
checked if Reading Parameters of the Report can be read or written,
if metrics are properly updated and registration/unregistration for
updates works properly, checked if actions of Report can be read or
written, if actions are properly updated and related action behavior
follows the change accordingly
- Tested under QEMU, verified if 'LogToMetricReportsCollection' action
is always added when Report is created or when actions of Report are
updated by dbus interface
- Tested via webserver if it communicates properly with dbus interfaces
of Telemetry and read/write operations via Redfish can be successfully
executed

Signed-off-by: Lukasz Kazmierczak <lukasz.kazmierczak@intel.com>
Change-Id: I7f2fe8eae1631c436cf61a516d5fd0b8358a76bd

show more ...


/openbmc/telemetry/.clang-format
/openbmc/telemetry/.gitignore
/openbmc/telemetry/MAINTAINERS
/openbmc/telemetry/OWNERS
/openbmc/telemetry/README.md
/openbmc/telemetry/meson.build
/openbmc/telemetry/meson_options.txt
/openbmc/telemetry/redfish-tests/README.md
/openbmc/telemetry/redfish-tests/conftest.py
/openbmc/telemetry/redfish-tests/redfish_requests.py
/openbmc/telemetry/redfish-tests/test_telemetry.py
/openbmc/telemetry/scripts/boost_build_1.74.0.sh
/openbmc/telemetry/scripts/configure_fast_compilation.sh
/openbmc/telemetry/src/details/collection_function.cpp
/openbmc/telemetry/src/details/collection_function.hpp
/openbmc/telemetry/src/discrete_threshold.cpp
/openbmc/telemetry/src/discrete_threshold.hpp
/openbmc/telemetry/src/interfaces/clock.hpp
/openbmc/telemetry/src/interfaces/metric.hpp
/openbmc/telemetry/src/interfaces/report.hpp
/openbmc/telemetry/src/interfaces/report_factory.hpp
/openbmc/telemetry/src/interfaces/report_manager.hpp
/openbmc/telemetry/src/interfaces/sensor.hpp
/openbmc/telemetry/src/interfaces/sensor_listener.hpp
/openbmc/telemetry/src/interfaces/threshold.hpp
/openbmc/telemetry/src/interfaces/trigger.hpp
/openbmc/telemetry/src/interfaces/trigger_action.hpp
/openbmc/telemetry/src/interfaces/trigger_factory.hpp
/openbmc/telemetry/src/interfaces/trigger_manager.hpp
/openbmc/telemetry/src/messages/collect_trigger_id.hpp
/openbmc/telemetry/src/messages/presence.hpp
/openbmc/telemetry/src/messages/trigger_presence_changed_ind.hpp
/openbmc/telemetry/src/messages/update_report_ind.hpp
/openbmc/telemetry/src/metric.cpp
/openbmc/telemetry/src/metric.hpp
/openbmc/telemetry/src/numeric_threshold.cpp
/openbmc/telemetry/src/numeric_threshold.hpp
/openbmc/telemetry/src/on_change_threshold.cpp
/openbmc/telemetry/src/on_change_threshold.hpp
/openbmc/telemetry/src/persistent_json_storage.cpp
/openbmc/telemetry/src/report.cpp
/openbmc/telemetry/src/report.hpp
/openbmc/telemetry/src/report_factory.cpp
/openbmc/telemetry/src/report_factory.hpp
/openbmc/telemetry/src/report_manager.cpp
/openbmc/telemetry/src/report_manager.hpp
/openbmc/telemetry/src/sensor.cpp
/openbmc/telemetry/src/sensor.hpp
/openbmc/telemetry/src/sensor_cache.hpp
/openbmc/telemetry/src/telemetry.hpp
/openbmc/telemetry/src/trigger.cpp
/openbmc/telemetry/src/trigger.hpp
/openbmc/telemetry/src/trigger_actions.cpp
/openbmc/telemetry/src/trigger_actions.hpp
/openbmc/telemetry/src/trigger_factory.cpp
/openbmc/telemetry/src/trigger_factory.hpp
/openbmc/telemetry/src/trigger_manager.cpp
/openbmc/telemetry/src/trigger_manager.hpp
/openbmc/telemetry/src/types/collection_duration.hpp
/openbmc/telemetry/src/types/collection_time_scope.hpp
/openbmc/telemetry/src/types/duration_types.hpp
/openbmc/telemetry/src/types/operation_type.hpp
/openbmc/telemetry/src/types/report_action.hpp
/openbmc/telemetry/src/types/report_types.cpp
/openbmc/telemetry/src/types/report_types.hpp
/openbmc/telemetry/src/types/report_updates.hpp
/openbmc/telemetry/src/types/reporting_type.hpp
/openbmc/telemetry/src/types/sensor_types.hpp
/openbmc/telemetry/src/types/trigger_types.hpp
/openbmc/telemetry/src/utils/circular_vector.hpp
/openbmc/telemetry/src/utils/clock.hpp
/openbmc/telemetry/src/utils/contains.hpp
/openbmc/telemetry/src/utils/conversion.hpp
/openbmc/telemetry/src/utils/conversion_trigger.cpp
/openbmc/telemetry/src/utils/conversion_trigger.hpp
/openbmc/telemetry/src/utils/dbus_mapper.hpp
/openbmc/telemetry/src/utils/detached_timer.hpp
/openbmc/telemetry/src/utils/generate_id.cpp
/openbmc/telemetry/src/utils/generate_id.hpp
/openbmc/telemetry/src/utils/labeled_tuple.hpp
/openbmc/telemetry/src/utils/messanger.hpp
/openbmc/telemetry/src/utils/messanger_service.cpp
/openbmc/telemetry/src/utils/messanger_service.hpp
/openbmc/telemetry/src/utils/threshold_operations.hpp
/openbmc/telemetry/src/utils/transform.hpp
/openbmc/telemetry/src/utils/tstring.hpp
/openbmc/telemetry/subprojects/googletest.wrap
/openbmc/telemetry/subprojects/nlohmann.wrap
/openbmc/telemetry/subprojects/phosphor-logging.wrap
/openbmc/telemetry/subprojects/sdbusplus.wrap
/openbmc/telemetry/tests/meson.build
/openbmc/telemetry/tests/src/dbus_environment.cpp
/openbmc/telemetry/tests/src/dbus_environment.hpp
/openbmc/telemetry/tests/src/fakes/clock_fake.hpp
/openbmc/telemetry/tests/src/helpers.hpp
/openbmc/telemetry/tests/src/helpers/interfaces/json_storage_helpers.hpp
/openbmc/telemetry/tests/src/helpers/interfaces/sensor_id_helpers.hpp
/openbmc/telemetry/tests/src/helpers/labeled_tuple_helpers.hpp
/openbmc/telemetry/tests/src/helpers/types/duration_types_helpers.hpp
/openbmc/telemetry/tests/src/mocks/metric_mock.hpp
/openbmc/telemetry/tests/src/mocks/report_factory_mock.hpp
/openbmc/telemetry/tests/src/mocks/report_mock.hpp
/openbmc/telemetry/tests/src/mocks/sensor_listener_mock.hpp
/openbmc/telemetry/tests/src/mocks/sensor_mock.hpp
/openbmc/telemetry/tests/src/mocks/threshold_mock.hpp
/openbmc/telemetry/tests/src/mocks/trigger_action_mock.hpp
/openbmc/telemetry/tests/src/mocks/trigger_factory_mock.hpp
/openbmc/telemetry/tests/src/mocks/trigger_manager_mock.hpp
/openbmc/telemetry/tests/src/mocks/trigger_mock.hpp
/openbmc/telemetry/tests/src/params/metric_params.hpp
/openbmc/telemetry/tests/src/params/report_params.hpp
/openbmc/telemetry/tests/src/params/trigger_params.hpp
/openbmc/telemetry/tests/src/stubs/dbus_sensor_object.cpp
/openbmc/telemetry/tests/src/stubs/dbus_sensor_object.hpp
/openbmc/telemetry/tests/src/test_conversion.cpp
/openbmc/telemetry/tests/src/test_detached_timer.cpp
/openbmc/telemetry/tests/src/test_discrete_threshold.cpp
/openbmc/telemetry/tests/src/test_generate_id.cpp
/openbmc/telemetry/tests/src/test_metric.cpp
/openbmc/telemetry/tests/src/test_numeric_threshold.cpp
/openbmc/telemetry/tests/src/test_on_change_threshold.cpp
/openbmc/telemetry/tests/src/test_persistent_json_storage.cpp
/openbmc/telemetry/tests/src/test_report.cpp
/openbmc/telemetry/tests/src/test_report_manager.cpp
/openbmc/telemetry/tests/src/test_sensor.cpp
/openbmc/telemetry/tests/src/test_sensor_cache.cpp
/openbmc/telemetry/tests/src/test_transform.cpp
/openbmc/telemetry/tests/src/test_trigger.cpp
/openbmc/telemetry/tests/src/test_trigger_actions.cpp
/openbmc/telemetry/tests/src/test_trigger_manager.cpp
/openbmc/telemetry/tests/src/test_unique_call.cpp
conv_container.hpp
6ccfcbf504-Nov-2020 Krzysztof Grobelny <krzysztof.grobelny@intel.com>

Created metric class

Metric collects updates from sensor. Report displays metric readings
depending on reportingType.

Tested:
- Added new units tests for Metric class
- All other unit tests are

Created metric class

Metric collects updates from sensor. Report displays metric readings
depending on reportingType.

Tested:
- Added new units tests for Metric class
- All other unit tests are passing

Change-Id: I19f4831fab163a4f9540cef7bb23e903ae90fddf
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>

show more ...

f32f6fef30-Oct-2020 Krzysztof Grobelny <krzysztof.grobelny@intel.com>

Added Update method to report on dbus

- Update method, updates timestamp and readings

Tested:
- Added new unit tests covering update method
- All existing unit tests are passing

Change-Id: I6b

Added Update method to report on dbus

- Update method, updates timestamp and readings

Tested:
- Added new unit tests covering update method
- All existing unit tests are passing

Change-Id: I6b3829126d9060dbaf436cbf8e6917294dc03134
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>

show more ...


/openbmc/telemetry/meson.build
/openbmc/telemetry/src/interfaces/json_storage.hpp
/openbmc/telemetry/src/interfaces/metric.hpp
/openbmc/telemetry/src/interfaces/report_factory.hpp
/openbmc/telemetry/src/interfaces/sensor_listener.hpp
/openbmc/telemetry/src/interfaces/types.hpp
/openbmc/telemetry/src/metric.hpp
/openbmc/telemetry/src/persistent_json_storage.cpp
/openbmc/telemetry/src/persistent_json_storage.hpp
/openbmc/telemetry/src/report.cpp
/openbmc/telemetry/src/report.hpp
/openbmc/telemetry/src/report_factory.cpp
/openbmc/telemetry/src/report_factory.hpp
/openbmc/telemetry/src/report_manager.cpp
/openbmc/telemetry/src/report_manager.hpp
/openbmc/telemetry/src/telemetry.hpp
/openbmc/telemetry/src/utils/labeled_tuple.hpp
/openbmc/telemetry/src/utils/transform.hpp
/openbmc/telemetry/src/utils/tstring.hpp
/openbmc/telemetry/tests/meson.build
/openbmc/telemetry/tests/src/dbus_environment.cpp
/openbmc/telemetry/tests/src/dbus_environment.hpp
/openbmc/telemetry/tests/src/mocks/json_storage_mock.hpp
/openbmc/telemetry/tests/src/mocks/metric_mock.hpp
/openbmc/telemetry/tests/src/mocks/report_factory_mock.hpp
/openbmc/telemetry/tests/src/mocks/report_manager_mock.hpp
/openbmc/telemetry/tests/src/mocks/sensor_listener_mock.hpp
/openbmc/telemetry/tests/src/params/report_params.hpp
/openbmc/telemetry/tests/src/printers.hpp
/openbmc/telemetry/tests/src/printers/interfaces/json_storage.hpp
/openbmc/telemetry/tests/src/test_detached_timer.cpp
/openbmc/telemetry/tests/src/test_metric.cpp
/openbmc/telemetry/tests/src/test_persistent_json_storage.cpp
/openbmc/telemetry/tests/src/test_report.cpp
/openbmc/telemetry/tests/src/test_report_manager.cpp
/openbmc/telemetry/tests/src/test_sensor.cpp
/openbmc/telemetry/tests/src/test_sensor_cache.cpp
/openbmc/telemetry/tests/src/test_transform.cpp
/openbmc/telemetry/tests/src/test_unique_call.cpp
set_exception.hpp
c8e3a64a23-Oct-2020 Krzysztof Grobelny <krzysztof.grobelny@intel.com>

Added Periodic reportingType support to Report

When report interval expires report will collect readings from
metrics and update timestamp.

Tested:
- Added new units tests covering added code
-

Added Periodic reportingType support to Report

When report interval expires report will collect readings from
metrics and update timestamp.

Tested:
- Added new units tests covering added code
- All existing unit tests are passing

Change-Id: I7f23ca05d77efb0f18d2c0d0f138c524ffb4f6af
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>

show more ...

b564594729-Sep-2020 Krzysztof Grobelny <krzysztof.grobelny@intel.com>

Implemented sensor class

Sensor class was introduced, it monitors
xyz.openbmc_project.Sensor.Value, for change and notifies all
listeners.

Tested:
- Unit tested with service stub that provides db

Implemented sensor class

Sensor class was introduced, it monitors
xyz.openbmc_project.Sensor.Value, for change and notifies all
listeners.

Tested:
- Unit tested with service stub that provides dbus interface
xyz.openbmc_project.Sensor.Value
- All changes are delivered to listeners
- All other unit tests are passing

Change-Id: I8c9d58cc986c1fe2a4d2386815d559814016efa6
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>

show more ...

7f06f61324-Sep-2020 Krzysztof Grobelny <krzysztof.grobelny@intel.com>

Created sensor cache class

Created sensor cache and sensor interface that needs to be
implemented by sensors.

Tested:
- Sensors created by sensor cache are stored and reused if
there is try to ac

Created sensor cache class

Created sensor cache and sensor interface that needs to be
implemented by sensors.

Tested:
- Sensors created by sensor cache are stored and reused if
there is try to access same sensor multiple times.
- All other units tests are passing

Change-Id: I552b2016bca4688e1b2a223297587826af256b54
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>

show more ...