6ccfcbf5 | 04-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 ...
|
f32f6fef | 30-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 ...
|
e2362796 | 27-Oct-2020 |
Wludzik, Jozef <jozef.wludzik@intel.com> |
Implement Report persistency
Now Report properties are stored in non-volatile memory. It allows to restore Report after system restart. Persistency of a report is controlled by Persistency property
Implement Report persistency
Now Report properties are stored in non-volatile memory. It allows to restore Report after system restart. Persistency of a report is controlled by Persistency property in Report interface.
Tested: - Passed unit tests - Verified that report is stored in /var/lib/telemetry dir - Verified that report is restored from storage after telemetry service start
Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com> Change-Id: Iccfe21603eecffc4e174a4403f699b03de320db9
show more ...
|
0e29f439 | 17-Nov-2020 |
Wludzik, Jozef <jozef.wludzik@intel.com> |
Fix CI job
Decreased meson version to 0.54.3 to enable CI jobs. Fixed Invoke arguments in unit tests.
Change-Id: I75cdce3ebb2bffd7732db30b2f718a3728c277c8 Signed-off-by: Wludzik, Jozef <jozef.wludz
Fix CI job
Decreased meson version to 0.54.3 to enable CI jobs. Fixed Invoke arguments in unit tests.
Change-Id: I75cdce3ebb2bffd7732db30b2f718a3728c277c8 Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com>
show more ...
|
c8e3a64a | 23-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 ...
|
2f9f9b87 | 13-Oct-2020 |
Wludzik, Jozef <jozef.wludzik@intel.com> |
Add ReportManager and Report unit tests
Introduced ReportFactory to seperate Report and ReportManager unit tests. Implemented mocks for Report, ReportManager and ReportFactory classes. Added tests f
Add ReportManager and Report unit tests
Introduced ReportFactory to seperate Report and ReportManager unit tests. Implemented mocks for Report, ReportManager and ReportFactory classes. Added tests for DBus Properties and Methods provided by telemetry service.
Tested: - Ran unit-tests with success
Change-Id: I1860e280d26ee4becc52de98dd65e5697d26b376 Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com>
show more ...
|
b5645947 | 29-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 ...
|
7f06f613 | 24-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 ...
|
73da6906 | 24-Sep-2020 |
Krzysztof Grobelny <krzysztof.grobelny@intel.com> |
Added PersistentJsonStorageClass
PersistentJsonStorage is used to store persistent information in json format. This class will be used by ReportManager to save persistent report configuration.
Test
Added PersistentJsonStorageClass
PersistentJsonStorage is used to store persistent information in json format. This class will be used by ReportManager to save persistent report configuration.
Tested: - Added unit tests for new functionality - All other unit tests are passing
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com> Change-Id: Ib496e6782e849d910fe37c02c355047afda5c79c
show more ...
|