[POLICY-105] Modifications to RefreshStateAudit 97/6197/1
authorKevin McKiou <km097d@att.com>
Mon, 24 Jul 2017 22:52:01 +0000 (17:52 -0500)
committerKevin McKiou <km097d@att.com>
Mon, 24 Jul 2017 23:13:31 +0000 (18:13 -0500)
commit8a6170b76693a10c37237978c33e94b3f8bf8f0d
tree355b553858ed08cb51d5d0185603fe668d03f9ec
parentbd4272c9ed550bd68ccaa3a850f1295bca583ed5
[POLICY-105] Modifications to RefreshStateAudit

Made the refreshStateAudit configurable and changed the default interval to 10 minutes from 1 minute.  Added a check to fpCheck to check the state of the dependent before setting the opstate to disabled.

Added a refresh to the forwardprogressentity object in stateAudit() so that we are not reading stale timestamp data.

Change-Id: I394feca083fc1fb356d11b9f6886e566c31f248a
Signed-off-by: Kevin McKiou <km097d@att.com>
integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitor.java
integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitorProperties.java
integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/IntegrityMonitorTest.java