aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap
diff options
context:
space:
mode:
authorNiranjana <niranjana.y60@wipro.com>2020-09-27 09:53:42 +0530
committerNiranjana Y <niranjana.y60@wipro.com>2020-10-12 12:35:25 +0000
commit50a98843cf82fe0e9977215943fcc9e6938582b9 (patch)
tree0d5586712a33efd975aa8c7c2613edaf2a9e5aae /src/main/java/org/onap
parent8dffe74e450abb232f916cd74febb41b97bad3ab (diff)
Filter Fm notifications with CollisionAndConfusion7.0.0-ONAPguilin
Issue-ID: DCAEGEN2-2480 Signed-off-by: Niranjana <niranjana.y60@wipro.com> Change-Id: I406791e28a824ee1edb5025901a4fa8b7bbee841 (cherry picked from commit 0a4ed862b66af176c5512d8bd85f0d39900be1e2)
Diffstat (limited to 'src/main/java/org/onap')
-rw-r--r--src/main/java/org/onap/dcaegen2/services/sonhms/MainThread.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dcaegen2/services/sonhms/MainThread.java b/src/main/java/org/onap/dcaegen2/services/sonhms/MainThread.java
index 2f30a91..a434b31 100644
--- a/src/main/java/org/onap/dcaegen2/services/sonhms/MainThread.java
+++ b/src/main/java/org/onap/dcaegen2/services/sonhms/MainThread.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* son-handler
* ================================================================================
- * Copyright (C) 2019 Wipro Limited.
+ * Copyright (C) 2019-2020 Wipro Limited.
* ==============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -164,7 +164,9 @@ public class MainThread implements Runnable {
} else if ((fmNotification.getEvent().getFaultFields().getSpecificProblem()
.equals("Collision"))
|| (fmNotification.getEvent().getFaultFields().getSpecificProblem()
- .equals("Confusion"))) {
+ .equals("Confusion"))
+ || (fmNotification.getEvent().getFaultFields().getSpecificProblem()
+ .equals("CollisionAndConfusion"))) {
faultCellId = fmNotification.getEvent().getCommonEventHeader().getSourceName();
bufferedFmNotificationCells.put(faultCellId, fmNotification);
log.info("Buffered FM cell {}", faultCellId);