From 50a98843cf82fe0e9977215943fcc9e6938582b9 Mon Sep 17 00:00:00 2001 From: Niranjana Date: Sun, 27 Sep 2020 09:53:42 +0530 Subject: Filter Fm notifications with CollisionAndConfusion Issue-ID: DCAEGEN2-2480 Signed-off-by: Niranjana Change-Id: I406791e28a824ee1edb5025901a4fa8b7bbee841 (cherry picked from commit 0a4ed862b66af176c5512d8bd85f0d39900be1e2) --- pom.xml | 2 +- src/main/java/org/onap/dcaegen2/services/sonhms/MainThread.java | 6 ++++-- version.properties | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 999e62a..66be5f9 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ org.onap.dcaegen2.services.son-handler son-handler dcaegen2-services-son-handler - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT 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); diff --git a/version.properties b/version.properties index 7b4ae8c..0040aea 100644 --- a/version.properties +++ b/version.properties @@ -20,7 +20,7 @@ ############################################################################### major=2 minor=1 -patch=1 +patch=2 base_version=${major}.${minor}.${patch} release_version=${base_version} snapshot_version=${base_version}-SNAPSHOT -- cgit 1.2.3-korg