diff options
author | Jim Hahn <jrh3@att.com> | 2018-11-07 13:44:21 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2018-11-12 21:23:49 +0000 |
commit | 04d69aae5434a315f7931854af95905f59c45002 (patch) | |
tree | 1ec8dec9228fa7ea8535118cdfe07f9566f6b795 /controlloop/common/feature-controlloop-utils/src | |
parent | 9e4d48f1b10ab1ca3913277f46e884c4663593cd (diff) |
Close timing loop-hole when YAML updated
Noticed when YAML updates are pushed close together that some
Params objects are deleted that should not be. Fixed that by
eliminating the "active" list concept and only deleting a Params
object that has an associated cleaner. If it has no cleaner,
then it can't be deleted, regardless of timing with rule updates.
Added more tests for rule updates, including cases to check
for event objects being retracted, as well as Params objects
being retracted when rules are deleted.
Change-Id: I6b744b29fca228022f43e9322ea149b16d097675
Issue-ID: POLICY-1248
Signed-off-by: Jim Hahn <jrh3@att.com>
(cherry picked from commit 6c72ec89f54bce0741350d3f299c5b441b4f60cc)
Diffstat (limited to 'controlloop/common/feature-controlloop-utils/src')
0 files changed, 0 insertions, 0 deletions