aboutsummaryrefslogtreecommitdiffstats
path: root/applications/monitoring
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-05-17 13:47:52 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-17 13:47:52 +0000
commite44bfe15cfdba6db8231818be48c52f99ea0d1e0 (patch)
treefc7b329f724419f79d753a131849e6f050ea1312 /applications/monitoring
parenta615aee346641826b8b533a025f38759ad104afb (diff)
parent7f01bd7ffd464fbd3e11600db786ddff62a51a7e (diff)
Merge "Add SON Handler monitoring policy type"
Diffstat (limited to 'applications/monitoring')
-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));
}