Changes to KpiValueAPI for Processing Alarms:
- Added the `GetKpiAlarms` method and `KpiAlarm` message in the proto file. - Updated the client to handle the `GetKpiAlarms` method call. - Implemented the `GetKpiAlarms` method (ResponseListener). - Updated `ConvertValueToKpiValueType` to properly convert the value to the gRPC `KpiValueType` message. - Updated test and messages files.
Showing
- proto/kpi_value_api.proto 10 additions, 2 deletionsproto/kpi_value_api.proto
- src/kpi_value_api/client/KpiValueApiClient.py 21 additions, 13 deletionssrc/kpi_value_api/client/KpiValueApiClient.py
- src/kpi_value_api/service/KpiValueApiServiceServicerImpl.py 97 additions, 25 deletionssrc/kpi_value_api/service/KpiValueApiServiceServicerImpl.py
- src/kpi_value_api/tests/messages.py 7 additions, 0 deletionssrc/kpi_value_api/tests/messages.py
Loading
Please register or sign in to comment