summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-10-21 18:38:36 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-21 18:38:36 +0000
commitdbf35255904b88111ef4ade980d2f7f851ca4ea0 (patch)
tree241bbdf896a289bac7f4a5c953f7064ebd91a50e
parent8b597b9a469f968261656eb31f5f3b369a4a75ad (diff)
parent232e832859eaf1b314d471d5a3ed5089fcb36384 (diff)
Merge "Add missing Optimization base policy type"
-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",