Uploaded image for project: 'SAFe Program'
  1. SAFe Program
  2. SP-1794

TMC asynchronous communication

Details

    • Spike
    • Could have
    • PI11
    • None
    • Obs Mgt & Controls
    • Hide

      Design for asynchronous communication between TMC devices is worked out.

      End to end implementation of one command in TMC is available as a POC.

      The implementation passes the relevant integration tests.

      Show
      Design for asynchronous communication between TMC devices is worked out. End to end implementation of one command in TMC is available as a POC. The implementation passes the relevant integration tests.
    • 1
    • 1
    • 0
    • Sprint 5
    • Hide

      A sample implementation of TelescopeOn command on the Central node-mid is worked out to invoke commands in an asynchronous manner on the lower-level device.
      Here is the link to the TelescopeOn command implemented on CentralNode:
      https://gitlab.com/ska-telescope/ska-tmc-centralnode-mid/-/blob/master/src/ska_tmc_centralnode_mid/telescope_on_command.py
      And the exact usage of command_inout_async API:
      https://gitlab.com/ska-telescope/ska-tmc-centralnode-mid/-/blob/master/src/ska_tmc_centralnode_mid/telescope_on_command.py#L198

      List of the BDD test cases passed and used to verify the functionality:
      post-deployment/tests/acceptance/end_uses/conduct_observation/configure_scan/test_XR-13_A2-Test.py
      post-deployment/tests/acceptance/end_uses/conduct_observation/edit_subarray_resources/test_XR-13_A1.py
      post-deployment/tests/acceptance/end_uses/conduct_observation/edit_subarray_resources/test_XR-13_A4-Test.py
      post-deployment/tests/acceptance/end_uses/conduct_observation/run_a_scan/test_XR-13_A3-Test.py

      Show
      A sample implementation of TelescopeOn command on the Central node-mid is worked out to invoke commands in an asynchronous manner on the lower-level device. Here is the link to the TelescopeOn command implemented on CentralNode: https://gitlab.com/ska-telescope/ska-tmc-centralnode-mid/-/blob/master/src/ska_tmc_centralnode_mid/telescope_on_command.py And the exact usage of command_inout_async API: https://gitlab.com/ska-telescope/ska-tmc-centralnode-mid/-/blob/master/src/ska_tmc_centralnode_mid/telescope_on_command.py#L198 List of the BDD test cases passed and used to verify the functionality: post-deployment/tests/acceptance/end_uses/conduct_observation/configure_scan/test_XR-13_A2-Test.py post-deployment/tests/acceptance/end_uses/conduct_observation/edit_subarray_resources/test_XR-13_A1.py post-deployment/tests/acceptance/end_uses/conduct_observation/edit_subarray_resources/test_XR-13_A4-Test.py post-deployment/tests/acceptance/end_uses/conduct_observation/run_a_scan/test_XR-13_A3-Test.py
    • 12.6
    • Stories Completed, Outcomes Reviewed, Satisfies Acceptance Criteria, Accepted by FO

    Description

      This spike is part of the next steps identified during resolution of bugs (SP-1488 in PI#9) to address issues such as timeouts for long running commands. The spike focuses on designing the TMC commands and their callback methods.  It models the invocation of commands in an asynchronous way within TMC without breaking the functionality or creating new bugs/issues. This is verified by implementing one command as a POC.

      Consider how to use and incorporate the design solutions produced by SP-1640 and SP-1827.

      The actual work on TMC refactoring to fully implement asynchronous commands will be performed later, when the results of SP-1827 are well tested (and may even require SP-1627 and SP-1628 to be completed).

      Attachments

        Issue Links

          Structure

            Activity

              People

                s.vrcic Vrcic, Sonja
                a.patkar Patkar, Apurva
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Feature Progress

                  Story Point Burn-up: (100.00%)

                  Feature Estimate: 1.0

                  IssuesStory Points
                  To Do00.0
                  In Progress   00.0
                  Complete12.0
                  Total12.0

                  Dates

                    Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel