Version History¶
v1.6.0¶
Changes:
Add rule
rules.DewPointDepression
.Add rule
rules.MTCCWFollowingRototor
: warn when the MT camera cable wrap is not following the camera rotator.Add
FilteredTopicWrapper
,FilteredFieldWrapper
, and related field wrapper classes. These allow rules to handle data from CSCs, such as the ESS, that publish the the same topic with different data for different subystems.BaseRule
changes:Add method
BaseRule.setup
for finishing construction and performing additional validation, after the model and topics are made. This is where a rule can add filtered topic and field wrappers.Add a default implementation of
BaseRule.is_usable
. Use this default implementation for all existing rules.Add an attribute
remote_keys
, which is used byBaseRule.is_usable
.
Model
changes:Change the type of
disabled_sal_components
fromlist
tofrozenset
.Call
BaseRule.setup
after creating all topics.
TopicCallback
: add support for wrapper callbacks.Add function
get_topic_key
.Use package
ts_utils
.Remove the
base
subpackage and move the contents up one level.Add
Jenkinsfile
.
Requires:
ts_utils 1
ts_salobj 6.3
ts_xml 7
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.5.3¶
Changes:
Use
unittest.IsolatedAsyncioTestCase
instead of the abandoned asynctest package.Format the code with black 20.8b1.
Requires:
ts_salobj 6.3
ts_xml 7
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.5.2¶
Changes:
Add a Kapacitor rule for the summit and rename the rule for the NCSA test stand.
Requires:
ts_salobj 6.3
ts_xml 7
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.5.1¶
Changes:
Fix handling of missing version.py file.
Requires:
ts_salobj 6.3
ts_xml 7
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.5.0¶
Changes:
Store the CSC configuration schema in code. This requires ts_salobj 6.3.
Requires:
ts_salobj 6.3
ts_xml 7
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.4.3¶
Changes:
WatcherCsc
: setversion
class variable. Test that this sets the cscVersion field of the softwareVersions event.Modernize doc/conf.py for documenteer 0.6.
Requires:
ts_salobj 6.1
ts_xml 4.6 - 6
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.4.2¶
Changes:
Update Jenkinsfile.conda to use the shared library.
Pin the versions of ts_idl and ts_salobj in conda/meta.yaml.
Requires:
ts_salobj 6.1
ts_xml 4.6 - 6
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.4.1¶
Changes:
Fix ts-idl package name run dependency in conda recipe.
Minor updates to conda recipe.
Requires:
ts_salobj 6.1
ts_xml 4.6 - 6
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.4.0¶
Changes:
Update for ts_salobj 6.1, which is required.
Add
WatcherCsc
constructor argumentsettings_to_apply
and set class variablerequire_settings = True
.Fix deprecation warnings about calling get(flush=False) on read topics.
Remove obsolete .travis.yml file.
Update to use
pre-commit
to maintainflake8
andblack
compliance.
Requires:
ts_salobj 6.1
ts_xml 4.6 - 6
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.3.3¶
Changes:
Bug fix: Model mis-handled rules with no configuration.
Improved a unit test to catch ts_salobj bug DM-27380.
Requires:
ts_salobj 6
ts_xml 4.6 - 6
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.3.2¶
Changes:
Fix the requirements for 1.3.0 and 1.3.1 in the version history.
Requires:
ts_salobj 6
ts_xml 4.6 - 6
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.3.1¶
Changes:
Add the
kapacitor
directory to save Kapacitor alert scripts.
Requires:
ts_salobj 6
ts_xml 4.6 - 6
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.3.0¶
Changes:
Add configuration for escalation.
Set the escalated fields of Alarm events.
Add optional
delay
andrepeats
configuration fields torules.test.ConfiguredSeverities
.Improve the git pre-commit hook.
Update the docs to link ts_sal and ts_xml.
Add
valid_simulation_modes
class variable toWatcherCsc
.
Requires:
ts_salobj 6
ts_xml 4.6 - 6
ts_idl 2
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.2.0¶
Changes:
Add
bin/command_watcher.py
: a Watcher commander.Stop publishing
alarm.timestampSeverityNewest
; it was causing too many unnecessary alarm messages.Make the
showAlarms
command only work if the CSC is enabled. It would fail in interesting ways if the CSC was not enabled.
Requires:
ts_salobj 5.11 - 6
ts_xml 4.6 - 6
ts_idl 1
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.1.0¶
Changes:
Update for compatibility with ts_salobj 6.
Requires:
ts_salobj 5.11 - 6
ts_xml 4.6 - 6
ts_idl 1
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.0.3¶
Changes:
Add conda package configuration file and Jenkinsfile script to manage build process.
Requires:
ts_salobj 5.11
ts_xml 4.6
ts_idl 1
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.0.2¶
Changes:
Add
tests/test_black.py
to verify that files are formatted with black. This requires ts_salobj 5.11 or later.Update test_csc.py to use
lsst.ts.salobj.BaseCscTestCase
, which also makes it compatible with salobj 5.12.Update test_remote_wrapper.py to make it compatible with salobj 5.12.
Update
.travis.yml
to removesudo: false
to github travis checks pass once again.
Requires:
ts_salobj 5.11
ts_xml 4.6
ts_idl 1
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v1.0.1¶
Major changes:
Code formatted by
black
, with a pre-commit hook to enforce this. See the README file for configuration instructions.
v1.0.0¶
Added the unacknowledge command. Added automatic unacknowledgement of active alarms and automatic acknowledgement of stale alarms, after configurable durations.
Requires:
ts_salobj 5.2
ts_xml 4.6
ts_idl 1
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v0.4.0¶
Update for ts_salobj 5.2: rename initial_simulation_mode to simulation_mode.
Requires:
ts_salobj 5.2
ts_xml 4.5
ts_idl 1
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
v0.3.0¶
Add the showAlarms
command.
Make the rules.test.ConfiguredSeverities
rule cycle forever.
Requires:
ts_salobj 5.
ts_xml 4.5.
ts_idl 1.
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
.
v0.2.2¶
Add ts_salobj to the ups table file.
Requires:
ts_salobj 4.5.
ts_xml 4.3 for the Watcher SAL component.
ts_idl 0.3 for the Watcher enums.
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
.
v0.2.1¶
Fixed an incompatibility with ts_salobj 4.5 (use of a function only available in ts_salobj v5).
Requires:
ts_salobj 4.5.
ts_xml 4.3 for the Watcher SAL component.
ts_idl 0.3 for the Watcher enums.
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
.
v0.2.0¶
Add mute
and unmute
commands.
Add a rules.Clock
rule to watch clock error.
Bug fixes:
The
acknowledge
command was documented in ts_xml to support regular expressions, but did not.Model.__aenter__
calledModel.start
instead of awaitingstart_task
. Only the constructor should callModel.start
.Model.enable
ran topic callbacks once for every remote, rather than once period.
Requires:
ts_salobj 4.5.
ts_xml 4.3 for the Watcher SAL component.
ts_idl 0.3 for the Watcher enums.
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
.
v0.1.0¶
First preliminary release.
There are a few rules and the unit tests pass, but we will need at least one configuration file in ts_config_ocs to declare it fully functional, and preferably more rules as well.
Requires:
ts_salobj 4.5.
ts_xml v4.1.0 for the Watcher SAL component.
ts_idl 0.3 for the Watcher enums.
IDL files for
Watcher
,ATDome
,ScriptQueue
, andTest
, plus any SAL components you wish to watch. These may be generated usingmake_idl_files.py
.