summaryrefslogtreecommitdiffstats
path: root/dcae-analytics-model/src/main
diff options
context:
space:
mode:
authorSingla, Rajiv (rs153v) <rs153v@att.com>2017-10-16 12:26:07 -0400
committerSingla, Rajiv (rs153v) <rs153v@att.com>2017-10-16 12:27:51 -0400
commite9224a1a33a4ea3d7eb82f00302b11c3c8ebfc95 (patch)
tree4a0a9ba2f093954b4ff28957178e0d2e8521cb75 /dcae-analytics-model/src/main
parent684630e635506cbcec28067337f8df0e3ad57242 (diff)
TCA:Fixed missing version in tca alert
Change-Id: I01243753229ec11497548bbedfdfe54ad81ec122 Signed-off-by: Singla, Rajiv (rs153v) <rs153v@att.com> Issue-Id: DCAEGEN2-164
Diffstat (limited to 'dcae-analytics-model/src/main')
-rw-r--r--dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/Threshold.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/Threshold.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/Threshold.java
index 4f98fa5..536f458 100644
--- a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/Threshold.java
+++ b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/Threshold.java
@@ -119,6 +119,7 @@ public class Threshold extends BaseTCAPolicyModel {
newThreshold.setThresholdValue(threshold.getThresholdValue());
newThreshold.setDirection(threshold.getDirection());
newThreshold.setSeverity(threshold.getSeverity());
+ newThreshold.setVersion(threshold.getVersion());
newThreshold.setActualFieldValue(threshold.getActualFieldValue());
return newThreshold;
}