summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-10-21 14:01:33 -0400
committerPamela Dragosh <pdragosh@research.att.com>2019-10-21 14:01:39 -0400
commit232e832859eaf1b314d471d5a3ed5089fcb36384 (patch)
tree1d5eae52989d7839fe2b9630893f2b26dbe4f5b6
parentc0feaca7b641f6c0e3214f5333a1493c9893e0cb (diff)
Add missing Optimization base policy type
This should be there - it has "matchable" metadata needed by the XACML PDP optimization application. Issue-ID: POLICY-2066 Change-Id: Id20996f3cee1b45360e47731bc3d6a4f9457275d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r--main/src/main/java/org/onap/policy/api/main/startstop/ApiDatabaseInitializer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/main/java/org/onap/policy/api/main/startstop/ApiDatabaseInitializer.java b/main/src/main/java/org/onap/policy/api/main/startstop/ApiDatabaseInitializer.java
index 6e4321e3..3bd3e718 100644
--- a/main/src/main/java/org/onap/policy/api/main/startstop/ApiDatabaseInitializer.java
+++ b/main/src/main/java/org/onap/policy/api/main/startstop/ApiDatabaseInitializer.java
@@ -54,6 +54,7 @@ public class ApiDatabaseInitializer {
private static final String[] PRELOAD_POLICYTYPES = {
"policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app.yaml",
"policytypes/onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server.yaml",
+ "policytypes/onap.policies.Optimization.yaml",
"policytypes/onap.policies.optimization.AffinityPolicy.yaml",
"policytypes/onap.policies.optimization.DistancePolicy.yaml",
"policytypes/onap.policies.optimization.HpaPolicy.yaml",