summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorNiranjana <niranjana.y60@wipro.com>2020-09-27 09:53:42 +0530
committerNiranjana <niranjana.y60@wipro.com>2020-09-27 10:58:38 +0530
commit0a4ed862b66af176c5512d8bd85f0d39900be1e2 (patch)
tree0d5586712a33efd975aa8c7c2613edaf2a9e5aae /src/main
parent8dffe74e450abb232f916cd74febb41b97bad3ab (diff)
Filter Fm notifications with CollisionAndConfusion
Issue-ID: DCAEGEN2-2480 Signed-off-by: Niranjana <niranjana.y60@wipro.com> Change-Id: I406791e28a824ee1edb5025901a4fa8b7bbee841
Diffstat (limited to 'src/main')
-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);