@@ -676,6 +676,8 @@ def undeploy
676
676
LimitsEventTopic . delete ( @name , scope : @scope )
677
677
Store . del ( "#{ @scope } __openc3tlm__#{ @name } " )
678
678
Store . del ( "#{ @scope } __openc3cmd__#{ @name } " )
679
+ Store . del ( "#{ @scope } __TELEMETRYCNTS__{#{ @name } }" )
680
+ Store . del ( "#{ @scope } __COMMANDCNTS__{#{ @name } }" )
679
681
680
682
# Note: these match the names of the services in deploy_microservices
681
683
%w( MULTI DECOM COMMANDLOG DECOMCMDLOG PACKETLOG DECOMLOG REDUCER CLEANUP ) . each do |type |
@@ -795,6 +797,7 @@ def update_store_telemetry(packet_hash, clear_old: true)
795
797
if clear_old
796
798
Store . del ( "#{ @scope } __openc3tlm__#{ target_name } " )
797
799
Store . del ( "#{ @scope } __openc3tlm__#{ target_name } __allitems" )
800
+ Store . del ( "#{ @scope } __TELEMETRYCNTS__{#{ target_name } }" )
798
801
end
799
802
packets . each do |packet_name , packet |
800
803
Logger . debug "Configuring tlm packet: #{ target_name } #{ packet_name } "
@@ -816,7 +819,10 @@ def update_store_telemetry(packet_hash, clear_old: true)
816
819
817
820
def update_store_commands ( packet_hash , clear_old : true )
818
821
packet_hash . each do |target_name , packets |
819
- Store . del ( "#{ @scope } __openc3cmd__#{ target_name } " ) if clear_old
822
+ if clear_old
823
+ Store . del ( "#{ @scope } __openc3cmd__#{ target_name } " )
824
+ Store . del ( "#{ @scope } __COMMANDCNTS__{#{ target_name } }" )
825
+ end
820
826
packets . each do |packet_name , packet |
821
827
Logger . debug "Configuring cmd packet: #{ target_name } #{ packet_name } "
822
828
begin
0 commit comments