aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-05-17 08:28:24 -0400
committerPamela Dragosh <pdragosh@research.att.com>2019-05-17 09:37:30 -0400
commit7f01bd7ffd464fbd3e11600db786ddff62a51a7e (patch)
treed3cc9e36bf7a416bcc517134128facbabc5a9c38
parent494d243dc151c59d8a3dc1e2195cb615f22e08be (diff)
Add SON Handler monitoring policy type
Missing for this use case is the monitoring policy type for the 5G OOF PCI use case. Updated name to follow convention. Issue-ID: POLICY-1779 Change-Id: I88c6c235288b9090161338695a2a55e5b1900b98 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r--applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java b/applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java
index 37847723..1591b919 100644
--- a/applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java
+++ b/applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java
@@ -46,6 +46,7 @@ public class MonitoringPdpApplication extends StdXacmlApplicationServiceProvider
private static final String ONAP_MONITORING_CDAP = "onap.policies.monitoring.cdap.tca.hi.lo.app";
private static final String ONAP_MONITORING_APPSERVER =
"onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server";
+ private static final String ONAP_MONITORING_SONHANDLER = "onap.policies.monitoring.docker.sonhandler.app";
private static final String ONAP_MONITORING_DERIVED_POLICY_TYPE = "onap.policies.monitoring";
private static final String VERSION_100 = "1.0.0";
@@ -62,6 +63,7 @@ public class MonitoringPdpApplication extends StdXacmlApplicationServiceProvider
supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier(ONAP_MONITORING_BASE_POLICY_TYPE, VERSION_100));
supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier(ONAP_MONITORING_CDAP, VERSION_100));
supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier(ONAP_MONITORING_APPSERVER, VERSION_100));
+ supportedPolicyTypes.add(new ToscaPolicyTypeIdentifier(ONAP_MONITORING_SONHANDLER, VERSION_100));
}
@Override
@@ -89,6 +91,7 @@ public class MonitoringPdpApplication extends StdXacmlApplicationServiceProvider
return (policyTypeId.getName().equals(ONAP_MONITORING_BASE_POLICY_TYPE)
|| policyTypeId.getName().equals(ONAP_MONITORING_CDAP)
|| policyTypeId.getName().equals(ONAP_MONITORING_APPSERVER)
+ || policyTypeId.getName().equals(ONAP_MONITORING_SONHANDLER)
|| policyTypeId.getName().startsWith(ONAP_MONITORING_DERIVED_POLICY_TYPE));
}