#
4444a13c |
| 08-Dec-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: adjust nlohmann-json dependency
- Simplify nlohmann-json dependency in meson.build. - Use consistent dependency variable names (based on Meson style). - Align wrap file name with meson wrapdb
meson: adjust nlohmann-json dependency
- Simplify nlohmann-json dependency in meson.build. - Use consistent dependency variable names (based on Meson style). - Align wrap file name with meson wrapdb choice for the project.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2e893fd8c300b36a16d704f2002bb966a6e52ce4
show more ...
|
#
1b03c8d6 |
| 13-Oct-2022 |
Szymon Dompke <szymon.dompke@intel.com> |
Update meson and subprojects
Few changes related to meson: - GTest and boost were updated. - Boost is now built locally in case it is not installed on system. - Minor meson.build refactor.
Testing
Update meson and subprojects
Few changes related to meson: - GTest and boost were updated. - Boost is now built locally in case it is not installed on system. - Minor meson.build refactor.
Testing done: - local build is working fine, when subprojects are not installed on the system, - local build is working fine, when subprojects are installed on the system, - yocto build is working fine.
Signed-off-by: Szymon Dompke <szymon.dompke@intel.com> Change-Id: Ib62092946d6ffafb1884d1ba3eab97bed243dd12
show more ...
|
#
3eb56865 |
| 20-Sep-2021 |
Szymon Dompke <szymon.dompke@intel.com> |
Add support for AppendLimit and ReportUpdates
Added 2 new properties for Report interface: AppendLimit and ReportUpdates. They were also added as arguments to the future version of AddReport method
Add support for AppendLimit and ReportUpdates
Added 2 new properties for Report interface: AppendLimit and ReportUpdates. They were also added as arguments to the future version of AddReport method of ReportManager.
ReportUpdates property defines the report update behavior: - Overwrite: Each report update overrides previous "Readings" property. "AppendLimit" set by user is not respected - "Readings" property size is equal to count of all sensor across all metrics defined in report. - AppendWrapsWhenFull: New readings are appended until limit specified by "AppendLimit" is reached. Then oldest readings are overwritten by new ones. - AppendStopsWhenFull: New readings are appended until limit specified by "AppendLimit" is reached. Then updates are stopped. - NewReport: not supported yet and will be implemented in the future.
Please note that if ReportingType is set to OnRequest, those 2 new properties are ignored, and Readings property will contain one reading per defined sensor, across all metrics. They are still stored, which means that if ReportingType will be changed in the runtime, those properties will be respected.
Tested: - Both new properties can be accessed from dbus. - Both properties are reflected in Readings property. - Old AddReport method is working as before the change. - UTs are passing.
Signed-off-by: Szymon Dompke <szymon.dompke@intel.com> Change-Id: I8a18f7e68215f0f6e5c403b533d2c4ff479df69e
show more ...
|
#
4416fce6 |
| 16-Mar-2021 |
Cezary Zwolak <cezary.zwolak@intel.com> |
Read persistent triggers from storage
Read json storage file for persistent triggers. Add trigger to telemetry service. Cover code with UTs.
Tested: - Passed unit tests - Tested on QEMU * s
Read persistent triggers from storage
Read json storage file for persistent triggers. Add trigger to telemetry service. Cover code with UTs.
Tested: - Passed unit tests - Tested on QEMU * starting app without configuration * restart app with configuration stored * restart app with configuration in incorrect version * restart app with configuration malformed
Change-Id: I2cb9324abdb8323be8a7f0c932ed7f70c5bc2891 Signed-off-by: Cezary Zwolak <cezary.zwolak@intel.com> Signed-off-by: Lukasz Kazmierczak <lukasz.kazmierczak@intel.com>
show more ...
|
#
a4e67616 |
| 18-Feb-2021 |
Cezary Zwolak <cezary.zwolak@intel.com> |
Save persistent triggers to storage
Create json storage file for persistent triggers. Handle persistent dbus property. Save/remove persistent triggers on add/delete. Cover code with UTs.
Tested:
Save persistent triggers to storage
Create json storage file for persistent triggers. Handle persistent dbus property. Save/remove persistent triggers on add/delete. Cover code with UTs.
Tested: - Passed unit tests - Tested on QEMU * adding new valid and invalid trigger from cli * verifying if valid trigger is properly stored * deleting existed trigger from storage
Change-Id: I243326e84833a8cb22075fbf565573b62b205b4a Signed-off-by: Cezary Zwolak <cezary.zwolak@intel.com> Signed-off-by: Lukasz Kazmierczak <lukasz.kazmierczak@intel.com>
show more ...
|
#
d2620704 |
| 28-Jun-2021 |
Szymon Dompke <szymon.dompke@intel.com> |
Add meson generated files to .gitignore
Meson is now generating subproject dependencies .wrap files inside 'subprojects' directory. As this directory contains non-generated .wrap files, .gitignore c
Add meson generated files to .gitignore
Meson is now generating subproject dependencies .wrap files inside 'subprojects' directory. As this directory contains non-generated .wrap files, .gitignore could no longer specify * rule for them.
Tested: - Git is not detecting new files after clean local build.
Change-Id: Ifb8d72aae2c19671b331ddaaf3960384a8700431 Signed-off-by: Szymon Dompke <szymon.dompke@intel.com>
show more ...
|
#
405c1e4b |
| 28-Jan-2021 |
Wludzik, Jozef <jozef.wludzik@intel.com> |
Add simple Redfish tests
Added Redfish tests to validate connection between Redfish Telemetry that is implemented in bmcweb and Telemetry service.
Change-Id: Iacc63aeb7f2852d5acac5d5615f98b402f7c44
Add simple Redfish tests
Added Redfish tests to validate connection between Redfish Telemetry that is implemented in bmcweb and Telemetry service.
Change-Id: Iacc63aeb7f2852d5acac5d5615f98b402f7c4417 Signed-off-by: Wludzik, Jozef <jozef.wludzik@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 ...
|
#
64b75a5b |
| 18-Sep-2020 |
Krzysztof Grobelny <krzysztof.grobelny@intel.com> |
Initial implementation of Telemetry service
Implemented main application of Telemetry service. Added ReportManager interface. Added MaxReports and PollRateResolution properties to ReportManager inte
Initial implementation of Telemetry service
Implemented main application of Telemetry service. Added ReportManager interface. Added MaxReports and PollRateResolution properties to ReportManager interface. Implemented simple logger.
Tested: - Built without Yocto and ran on x86 platform with success - Added telemetry to romulus image using recipe-phosphor/telemetry from meta-phosphor repository - Started as service in romulus image in QEMU with success - Verified that all added properties are present in dbus
Change-Id: I26af7a19b1f9cac32e9e9da65523d72a36e13855 Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com> Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>
show more ...
|
#
b357ed5d |
| 27-Jan-2020 |
Adrian Ambrożewicz <adrian.ambrozewicz@linux.intel.com> |
Added .clang-format, .gitignore and LICENSE
Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com> Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com> Change-Id: I490df8f7856d54bbca737
Added .clang-format, .gitignore and LICENSE
Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com> Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com> Change-Id: I490df8f7856d54bbca737495136097c6ef6932d3
show more ...
|