Details
-
Enabler
-
Should have
-
None
-
Obs Mgt & Controls
-
-
-
2
-
-
-
15.6
Description
- This feature clones
SP-1527TMC Code Refactoring. It is proposed to refactor the test cases
- Current test cases are written around Tango commands. Refactored test cases enables to write test cases to test the command classes and helper methods, making the test cases modular and simpler. Scope of this feature is restricted to refactor the test case of CentralNode Mid, SubarrayNode Mid and CSPSubarrayLeafNode Mid.
---------------------------------------------------------------
Earlier details in SP-1527 for reference only
- The feature extends the work done in PI#9 to refactor TMC nodes and achieve better separation between application logic and Tango implementation. The work includes the implementation of additional APIs in the Tango interface layer. This facilitates to get/set the device attributes values in an easier way and also provide more options while subscribing to the events of other devices.
- TMC should make use of the new version of the Tango interface layer.
- Develop a sample code that consumes the APIs provided by Tango interface layer.
- Documentation:
- The documentation of the Tango interface layer should also be improved. Providing a sample code that specifies how the APIs of the Tango interface layer can be utilized to develop SKA applications will be useful. Also, consider providing a sample that focuses on utilizing the APIs in non-tango applications.
- Verify that the alarms are raised by tmalarmhandler based on changes in the attributes of tmc devices. This is to ensure that the implementation of the Tango interface layer has not impacted the alarm handling.
- MCCS and OET code has some implementation for abstracting Tango APIs. Some discussions and exploration can be done to check if the work of these teams can be consolidated in a single codebase/library so that code is not duplicated.