Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_middleware
-
Story Points:2
-
Epic Link:
-
Sprint:TSSW Sprint - Oct 10 - Oct 24
-
Team:Telescope and Site
-
Urgent?:No
Description
Add a constructor argument to salobj Controller and BaseCsc that allows commands to be missing (but still requires that any existing do_x methods have corresponding cmd_ topics). Other commands should raise salobjExpectedError with a message "not implemented". This will make it much easier to write minimal mock controllers, since they only have to implement the few commands they actually mock.
Update ts_atdometrajectory and ts_mtdometrajectory to use these. Look at ts_mtmount and ts_mtrotator as well.
I also renamed ts_ATDomeTrajectory to ts_atdometrajectory and changed HOME to WHOME in the Jenkinsfile for that package. I will rename the package on github and update the JIRA label after merging this ticket.
Pull requests: