aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-11-01 11:24:26 -0400
committerPamela Dragosh <pdragosh@research.att.com>2019-11-01 11:24:32 -0400
commit00040f75ec5dd4f0caa6f492901b05c538f00a3b (patch)
treead084912ceb127c1bfd0f5a195d5030737c18702
parentbdfdcf1a09a346400a9768736c178153072e37b0 (diff)
Preload the SDNC Naming Policy type
Needs to be available for policy creation. Issue-ID: POLICY-1740 Change-Id: Id473492ce1ba923131ec3505ecd8f27b18e30013 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r--main/src/main/java/org/onap/policy/api/main/startstop/ApiDatabaseInitializer.java3
1 files changed, 2 insertions, 1 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 3bd3e718..e6c2bb2b 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
@@ -68,7 +68,8 @@ public class ApiDatabaseInitializer {
"policytypes/onap.policies.controlloop.guard.FrequencyLimiter.yaml",
"policytypes/onap.policies.controlloop.guard.MinMax.yaml",
"policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml",
- "policytypes/onap.policies.controlloop.Operational.yaml"
+ "policytypes/onap.policies.controlloop.Operational.yaml",
+ "policytypes/onap.policies.Naming.yaml"
};
// @formatter:on