summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorNiranjana <niranjana.y60@wipro.com>2020-04-24 19:54:02 +0530
committerNiranjana <niranjana.y60@wipro.com>2020-04-24 19:54:02 +0530
commit9e7b2f1eecf15c6f1f4fa7c42a9ad2aeb08d334d (patch)
tree83b73f9a0bf1a13b781a14902aac7c23f8ef7bec /src/main
parenteeb52b53a4b8a209553698ac0df3155cf731a005 (diff)
Change Policy notification in son-handler to align with policy component updates
Issue-ID: DCAEGEN2-2216 Signed-off-by: Niranjana <niranjana.y60@wipro.com> Change-Id: I6361cc68c20ae601ad89754eab8633985b794244
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/dcaegen2/services/sonhms/model/PolicyNotification.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dcaegen2/services/sonhms/model/PolicyNotification.java b/src/main/java/org/onap/dcaegen2/services/sonhms/model/PolicyNotification.java
index 972b1f4..2cb1335 100644
--- a/src/main/java/org/onap/dcaegen2/services/sonhms/model/PolicyNotification.java
+++ b/src/main/java/org/onap/dcaegen2/services/sonhms/model/PolicyNotification.java
@@ -74,12 +74,12 @@ public class PolicyNotification {
this.from = "PCIMS";
this.version = "1.0.2";
this.action = action;
- this.target = "generic-vnf.vnf-id";
+ this.target = "pnf.pnf-name";
this.targetType = "PNF";
this.aai = new HashMap<>();
aai.put("generic-vnf.is-closed-loop-disabled", "false");
aai.put("generic-vnf.prov-status", "ACTIVE");
- aai.put("generic-vnf.vnf-id", pnfName);
+ aai.put("pnf.pnf-name", pnfName);
}
public long getClosedLoopAlarmStart() {