commit | 6c72ec89f54bce0741350d3f299c5b441b4f60cc | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Wed Nov 07 13:44:21 2018 -0500 |
committer | Jim Hahn <jrh3@att.com> | Fri Nov 09 16:47:15 2018 -0500 |
tree | dff7c94dd2665f8dd5b17d7ab7b76a054e54ebef | |
parent | 830ede893c2a05ac1e7d69068c25d25fd7cc0049 [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>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains ONAP Policy application code. To build it:
The Demo template rule is located in template.demo sub-project. Use that project to protoype and test the .drl demo rule. When finished update the archetype-closedloop-demo-rules project with the .drl. Be sure to remove the Setup rule and comment out any simulation/test code.
The other projects are supporting code used by the template.demo project.