Add version to preloaded policy types
Change-Id: Iee60e74742dce9df03b5409356dcf2cb433c811c
Issue-ID: POLICY-1724
Signed-off-by: Jim Hahn <jrh3@att.com>
diff --git a/main/src/main/resources/preloadedPolicyTypes/onap.policies.monitoring.cdap.tca.hi.lo.app.json b/main/src/main/resources/preloadedPolicyTypes/onap.policies.monitoring.cdap.tca.hi.lo.app.json
index 1d1a4d6..ce46dac 100644
--- a/main/src/main/resources/preloadedPolicyTypes/onap.policies.monitoring.cdap.tca.hi.lo.app.json
+++ b/main/src/main/resources/preloadedPolicyTypes/onap.policies.monitoring.cdap.tca.hi.lo.app.json
@@ -4,6 +4,7 @@
{
"onap.policies.Monitoring": {
"derived_from": "tosca.policies.Root",
+ "version": "1.0.0",
"description": "a base policy type for all policies that governs monitoring provisioning"
}
},
@@ -220,4 +221,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.AffinityPolicy.json b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.AffinityPolicy.json
index ad4f4a9..62ad6ef 100644
--- a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.AffinityPolicy.json
+++ b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.AffinityPolicy.json
@@ -11,6 +11,7 @@
{
"onap.policies.optimization.AffinityPolicy": {
"derived_from": "onap.policies.Optimization",
+ "version": "1.0.0",
"properties": {
"policyScope": {
"type": "list",
@@ -99,4 +100,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.DistancePolicy.json b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.DistancePolicy.json
index 1291817..16cd649 100644
--- a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.DistancePolicy.json
+++ b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.DistancePolicy.json
@@ -11,6 +11,7 @@
{
"onap.policies.optimization.DistancePolicy": {
"derived_from": "onap.policies.Optimization",
+ "version": "1.0.0",
"properties": {
"policyScope": {
"type": "list",
@@ -129,4 +130,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.HpaPolicy.json b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.HpaPolicy.json
index 3f42873..b02e17c 100644
--- a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.HpaPolicy.json
+++ b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.HpaPolicy.json
@@ -11,6 +11,7 @@
{
"onap.policies.optimization.HpaPolicy": {
"derived_from": "onap.policies.Optimization",
+ "version": "1.0.0",
"properties": {
"policyScope": {
"type": "list",
@@ -201,4 +202,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.OptimizationPolicy.json b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.OptimizationPolicy.json
index 9807d9b..153b1e3 100644
--- a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.OptimizationPolicy.json
+++ b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.OptimizationPolicy.json
@@ -11,6 +11,7 @@
{
"onap.policies.optimization.OptimizationPolicy": {
"derived_from": "onap.policies.Optimization",
+ "version": "1.0.0",
"properties": {
"policyScope": {
"type": "list",
@@ -137,4 +138,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.PciPolicy.json b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.PciPolicy.json
index d775f22..4adb631 100644
--- a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.PciPolicy.json
+++ b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.PciPolicy.json
@@ -11,6 +11,7 @@
{
"onap.policies.optimization.PciPolicy": {
"derived_from": "onap.policies.Optimization",
+ "version": "1.0.0",
"properties": {
"policyScope": {
"type": "list",
@@ -88,4 +89,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.QueryPolicy.json b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.QueryPolicy.json
index d784268..98bd340 100644
--- a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.QueryPolicy.json
+++ b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.QueryPolicy.json
@@ -11,6 +11,7 @@
{
"onap.policies.optimization.QueryPolicy": {
"derived_from": "onap.policies.Optimization",
+ "version": "1.0.0",
"properties": {
"policyScope": {
"type": "list",
@@ -73,4 +74,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.SubscriberPolicy.json b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.SubscriberPolicy.json
index fbc6cdb..81e0b0a 100644
--- a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.SubscriberPolicy.json
+++ b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.SubscriberPolicy.json
@@ -11,6 +11,7 @@
{
"onap.policies.optimization.SubscriberPolicy": {
"derived_from": "onap.policies.Optimization",
+ "version": "1.0.0",
"properties": {
"policyScope": {
"type": "list",
@@ -79,4 +80,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.Vim_fit.json b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.Vim_fit.json
index 6ef619a..a7894b3 100644
--- a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.Vim_fit.json
+++ b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.Vim_fit.json
@@ -11,6 +11,7 @@
{
"onap.policies.optimization.Vim_fit": {
"derived_from": "onap.policies.Optimization",
+ "version": "1.0.0",
"properties": {
"policyScope": {
"type": "list",
@@ -88,4 +89,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.VnfPolicy.json b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.VnfPolicy.json
index 6e46573..8c7c1be 100644
--- a/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.VnfPolicy.json
+++ b/main/src/main/resources/preloadedPolicyTypes/onap.policies.optimization.VnfPolicy.json
@@ -11,6 +11,7 @@
{
"onap.policies.optimization.VnfPolicy": {
"derived_from": "onap.policies.Optimization",
+ "version": "1.0.0",
"properties": {
"policyScope": {
"type": "list",
@@ -112,4 +113,4 @@
}
}
]
-}
\ No newline at end of file
+}