aboutsummaryrefslogtreecommitdiffstats
path: root/feature-lifecycle/src/main/java
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2021-02-22 10:54:15 -0600
committerjhh <jorge.hernandez-herrero@att.com>2021-02-22 10:54:15 -0600
commit0b54008e634faf5a111ea61ea94c1e4f9ae2a347 (patch)
tree896e90b98065f27ff8abb0fdb7252465bf57b40f /feature-lifecycle/src/main/java
parent9ca3f1b4c7891fab169d13f91434793c3a7a8678 (diff)
support policy execution counts in lifecycle
Issue-ID: POLICY-3033 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ic9150b9b76a04ee39cb0c0a78081ad22b21dcd02
Diffstat (limited to 'feature-lifecycle/src/main/java')
-rw-r--r--feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java
index 1fb1d4f5..438db030 100644
--- a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java
+++ b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java
@@ -591,7 +591,7 @@ public class LifecycleFsm implements Startable {
updateStats.setTimeStamp(Instant.now());
try {
- BeanUtils.copyProperties(updateStats, PolicyEngineConstants.getManager().getStats());
+ BeanUtils.copyProperties(updateStats, PolicyEngineConstants.getManager().getStats().getGroupStat());
} catch (IllegalAccessException | InvocationTargetException ex) {
logger.debug("statistics mapping failure", ex);
}