aboutsummaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies
diff options
context:
space:
mode:
Diffstat (limited to 'models-examples/src/main/resources/policies')
-rw-r--r--models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json2
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json18
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.yaml14
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json4
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.yaml2
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.json4
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.yaml2
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.json1
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.guard.frequencylimiter.input.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.guard.minmaxvnfs.input.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.json1
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.monitoring.output.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.json1
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.json1
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.json1
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.monitoring.output.tosca.yaml1
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json1
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml1
26 files changed, 60 insertions, 5 deletions
diff --git a/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml b/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml
index bb9022512..42287c2bc 100644
--- a/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml
@@ -5,6 +5,7 @@ topology_template:
type: onap.policies.Naming
version: 1.0.0
type_version: 1.0.0
+ name: SDNC_Policy.ONAP_NF_NAMING_TIMESTAMP
properties:
policy-instance-name: ONAP_NF_NAMING_TIMESTAMP
naming-models:
diff --git a/models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json b/models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json
index f7acf1eef..8302ddff4 100644
--- a/models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json
+++ b/models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json
@@ -3,7 +3,7 @@
"topology_template": {
"policies": [
{
- "usecases": {
+ "usecases.artifacts": {
"type": "onap.policies.native.drools.Artifact",
"type_version": "1.0.0",
"name": "usecases.artifacts",
diff --git a/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json b/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json
index 406d12e13..19afd8cf2 100644
--- a/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json
+++ b/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json
@@ -7,6 +7,7 @@
"type": "onap.policies.optimization.resource.AffinityPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Affinity_Default",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Affinity_Default",
"policy-version": 1
@@ -30,6 +31,7 @@
"type": "onap.policies.optimization.resource.AffinityPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Affinity_Default_US",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Affinity_Default_US",
"policy-version": 1
@@ -55,6 +57,7 @@
"type": "onap.policies.optimization.resource.AffinityPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0",
"policy-version": 1
@@ -82,8 +85,9 @@
"type": "onap.policies.optimization.resource.AffinityPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1",
"metadata": {
- "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1",
+ "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1",
"policy-version": 1
},
"properties": {
@@ -115,8 +119,9 @@
"type": "onap.policies.optimization.resource.AffinityPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1",
"metadata": {
- "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1",
+ "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1",
"policy-version": 1
},
"properties": {
@@ -148,6 +153,7 @@
"type": "onap.policies.optimization.resource.Vim_fit",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Capacity_vG_1",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Capacity_vG_1",
"policy-version": 1
@@ -178,6 +184,7 @@
"type": "onap.policies.optimization.resource.Vim_fit",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Capacity_vG_2",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Capacity_vG_2",
"policy-version": 1
@@ -208,6 +215,7 @@
"type": "onap.policies.optimization.resource.DistancePolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Distance_vG_1",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Distance_vG_1",
"policy-version": 1
@@ -244,6 +252,7 @@
"type": "onap.policies.optimization.resource.HpaPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.hpa_policy_Default",
"metadata": {
"policy-id": "OSDF_CASABLANCA.hpa_policy_Default",
"policy-version": 1
@@ -321,6 +330,7 @@
"type": "onap.policies.optimization.resource.HpaPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.hpa_policy_vG_1",
"metadata": {
"policy-id": "OSDF_CASABLANCA.hpa_policy_vG_1",
"policy-version": 1
@@ -403,6 +413,7 @@
"type": "onap.policies.optimization.service.QueryPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.queryPolicy_vCPE",
"metadata": {
"policy-id": "OSDF_CASABLANCA.queryPolicy_vCPE",
"policy-version": 1
@@ -452,6 +463,7 @@
"type": "onap.policies.optimization.service.SubscriberPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.SubscriberPolicy_v1",
"metadata": {
"policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v1",
"policy-version": 1
@@ -482,6 +494,7 @@
"type": "onap.policies.optimization.service.SubscriberPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.SubscriberPolicy_v2",
"metadata": {
"policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v2",
"policy-version": 1
@@ -512,6 +525,7 @@
"type": "onap.policies.optimization.resource.VnfPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.vnfPolicy_vG",
"metadata": {
"policy-id": "OSDF_CASABLANCA.vnfPolicy_vG",
"policy-version": 1
diff --git a/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.yaml b/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.yaml
index d4969eb44..5e079159b 100644
--- a/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.yaml
@@ -6,6 +6,7 @@ topology_template:
type: onap.policies.optimization.resource.AffinityPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.Affinity_Default
metadata:
policy-id: OSDF_CASABLANCA.Affinity_Default
policy-version: 1
@@ -24,6 +25,7 @@ topology_template:
type: onap.policies.optimization.resource.AffinityPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.Affinity_Default_US
metadata:
policy-id: OSDF_CASABLANCA.Affinity_Default_US
policy-version: 1
@@ -42,6 +44,7 @@ topology_template:
type: onap.policies.optimization.resource.AffinityPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.Affinity_Default_vCPE_US_0
metadata:
policy-id: OSDF_CASABLANCA.Affinity_Default_vCPE_US_0
policy-version: 1
@@ -60,6 +63,7 @@ topology_template:
type: onap.policies.optimization.resource.AffinityPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1
metadata:
policy-id: OSDF_CASABLANCA.Affinity_vCPE_1
policy-version: 1
@@ -78,6 +82,7 @@ topology_template:
type: onap.policies.optimization.resource.AffinityPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1
metadata:
policy-id: OSDF_CASABLANCA.Affinity_vCPE_1
policy-version: 1
@@ -96,6 +101,7 @@ topology_template:
type: onap.policies.optimization.resource.Vim_fit
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.Capacity_vG_1
metadata:
policy-id: OSDF_CASABLANCA.Capacity_vG_1
policy-version: 1
@@ -114,6 +120,7 @@ topology_template:
type: onap.policies.optimization.resource.Vim_fit
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.Capacity_vG_2
metadata:
policy-id: OSDF_CASABLANCA.Capacity_vG_2
policy-version: 1
@@ -132,6 +139,7 @@ topology_template:
type: onap.policies.optimization.resource.DistancePolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.Distance_vG_1
metadata:
policy-id: OSDF_CASABLANCA.Distance_vG_1
policy-version: 1
@@ -153,6 +161,7 @@ topology_template:
type: onap.policies.optimization.resource.HpaPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.hpa_policy_Default
metadata:
policy-id: OSDF_CASABLANCA.hpa_policy_Default
policy-version: 1
@@ -201,6 +210,7 @@ topology_template:
type: onap.policies.optimization.resource.HpaPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.hpa_policy_vG_1
metadata:
policy-id: OSDF_CASABLANCA.hpa_policy_vG_1
policy-version: 1
@@ -249,6 +259,7 @@ topology_template:
type: onap.policies.optimization.service.QueryPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.queryPolicy_vCPE
metadata:
policy-id: OSDF_CASABLANCA.queryPolicy_vCPE
policy-version: 1
@@ -283,6 +294,7 @@ topology_template:
type: onap.policies.optimization.service.SubscriberPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.SubscriberPolicy_v1
metadata:
policy-id: OSDF_CASABLANCA.SubscriberPolicy_v1
policy-version: 1
@@ -299,6 +311,7 @@ topology_template:
type: onap.policies.optimization.service.SubscriberPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.SubscriberPolicy_v2
metadata:
policy-id: OSDF_CASABLANCA.SubscriberPolicy_v2
policy-version: 1
@@ -315,6 +328,7 @@ topology_template:
type: onap.policies.optimization.resource.VnfPolicy
version: 1.0.0
type_version: 1.0.0
+ name: OSDF_CASABLANCA.vnfPolicy_vG
metadata:
policy-id: OSDF_CASABLANCA.vnfPolicy_vG
policy-version: 1
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json b/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json
index 5690a7b20..d8bd4d42f 100644
--- a/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json
+++ b/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json
@@ -7,8 +7,10 @@
"type": "onap.policies.monitoring.cdap.tca.hi.lo.app",
"type_version": "1.0.0",
"version": "1.0.0",
+ "name": "onap.restart.tca",
"metadata": {
- "policy-id": "onap.restart.tca"
+ "policy-id": "onap.restart.tca",
+ "policy-version": 1
},
"properties": {
"tca_policy" : {
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.yaml b/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.yaml
index 44533e5fd..51fcd3221 100644
--- a/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.yaml
@@ -6,8 +6,10 @@ topology_template:
type: onap.policies.monitoring.cdap.tca.hi.lo.app
type_version: 1.0.0
version: 1.0.0
+ name: onap.restart.tca
metadata:
policy-id: onap.restart.tca
+ policy-version: 1
properties:
tca_policy:
domain: measurementsForVfScaling
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml b/models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml
index 4928bbe80..51fcd3221 100644
--- a/models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml
@@ -6,6 +6,7 @@ topology_template:
type: onap.policies.monitoring.cdap.tca.hi.lo.app
type_version: 1.0.0
version: 1.0.0
+ name: onap.restart.tca
metadata:
policy-id: onap.restart.tca
policy-version: 1
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.json b/models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.json
index 06cd617a0..d5bae5f66 100644
--- a/models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.json
+++ b/models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.json
@@ -7,8 +7,10 @@
"type": "onap.policies.controlloop.operational.common.Drools",
"type_version": "1.0.0",
"version": "1.0.0",
+ "name": "operational.restart",
"metadata": {
- "policy-id": "operational.restart"
+ "policy-id": "operational.restart",
+ "policy-version": 1
},
"properties": {
"id": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e",
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.yaml b/models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.yaml
index 020daa9ec..700ef6c74 100644
--- a/models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.yaml
@@ -5,8 +5,10 @@ topology_template:
type: onap.policies.controlloop.operational.common.Drools
type_version: 1.0.0
version: 1.0.0
+ name: operational.restart
metadata:
policy-id: operational.restart
+ policy-version: 1
properties:
id: ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e
timeout: 3600
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.json b/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.json
index c57103eb5..d03b126ae 100644
--- a/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.json
+++ b/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.json
@@ -6,6 +6,7 @@
"operational.restart": {
"type": "onap.policies.controlloop.Operational",
"version": "1.0.0",
+ "name": "operational.restart",
"metadata": {
"policy-id": "operational.restart",
"policy-version": 1
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml b/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
index 1d8927d25..b48f49281 100644
--- a/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
@@ -6,6 +6,7 @@ topology_template:
type: onap.policies.controlloop.Operational
type_version: 1.0.0
version: 1.0.0
+ name: operational.restart
metadata:
policy-id: operational.restart
policy-version: 1
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml b/models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml
index 7cc6bc5a9..16ed72b3c 100644
--- a/models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml
@@ -5,6 +5,7 @@ topology_template:
type: onap.policies.controlloop.guard.common.Blacklist
type_version: 1.0.0
version: 1.0.0
+ name: guard.blacklist.scaleout
metadata:
policy-id: guard.blacklist.scaleout
properties:
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.guard.frequencylimiter.input.tosca.yaml b/models-examples/src/main/resources/policies/vDNS.policy.guard.frequencylimiter.input.tosca.yaml
index 964e1811c..6926a6836 100644
--- a/models-examples/src/main/resources/policies/vDNS.policy.guard.frequencylimiter.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vDNS.policy.guard.frequencylimiter.input.tosca.yaml
@@ -6,6 +6,7 @@ topology_template:
type: onap.policies.controlloop.guard.common.FrequencyLimiter
type_version: 1.0.0
version: 1.0.0
+ name: guard.frequency.scaleout
metadata:
policy-id : guard.frequency.scaleout
properties:
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.guard.minmaxvnfs.input.tosca.yaml b/models-examples/src/main/resources/policies/vDNS.policy.guard.minmaxvnfs.input.tosca.yaml
index 4c3afb745..f8bd155c2 100644
--- a/models-examples/src/main/resources/policies/vDNS.policy.guard.minmaxvnfs.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vDNS.policy.guard.minmaxvnfs.input.tosca.yaml
@@ -5,6 +5,7 @@ topology_template:
type: onap.policies.controlloop.guard.common.MinMax
type_version: 1.0.0
version: 1.0.0
+ name: guard.minmax.scaleout
metadata:
policy-id: guard.minmax.scaleout
properties:
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.json b/models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.json
index eba46b006..f17f32f0d 100644
--- a/models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.json
+++ b/models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.json
@@ -10,6 +10,7 @@
"type": "onap.policies.monitoring.cdap.tca.hi.lo.app",
"type_version": "1.0.0",
"version": "1.0.0",
+ "name": "onap.scaleout.tca",
"metadata":
{
"policy-id": "onap.scaleout.tca"
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.yaml b/models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.yaml
index c47c0f301..d2a28f627 100644
--- a/models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.yaml
@@ -6,6 +6,7 @@ topology_template:
type: onap.policies.monitoring.cdap.tca.hi.lo.app
type_version: 1.0.0
version: 1.0.0
+ name: onap.scaleout.tca
metadata:
policy-id: onap.scaleout.tca
properties:
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.monitoring.output.tosca.yaml b/models-examples/src/main/resources/policies/vDNS.policy.monitoring.output.tosca.yaml
index d2f07ce57..ce37151f4 100644
--- a/models-examples/src/main/resources/policies/vDNS.policy.monitoring.output.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vDNS.policy.monitoring.output.tosca.yaml
@@ -6,6 +6,7 @@ topology_template:
type: onap.policies.monitoring.cdap.tca.hi.lo.app
type_version: 1.0.0
version: 1.0.0
+ name: onap.scaleout.tca
metadata:
policy-id: onap.scaleout.tca
policy-version: 1
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.json b/models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.json
index 5860fe26a..b2cf26cb9 100644
--- a/models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.json
+++ b/models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.json
@@ -7,6 +7,7 @@
"type": "onap.policies.controlloop.operational.common.Drools",
"type_version": "1.0.0",
"version": "1.0.0",
+ "name": "operational.scaleout",
"metadata": {
"policy-id": "operational.scaleout"
},
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.yaml b/models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.yaml
index abe6b2193..b1b8ca5b4 100644
--- a/models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.yaml
@@ -5,6 +5,7 @@ topology_template:
type: onap.policies.controlloop.operational.common.Drools
type_version: 1.0.0
version: 1.0.0
+ name: operational.scaleout
metadata:
policy-id: operational.scaleout
properties:
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.json b/models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.json
index 5c9bbfd57..66ce2706e 100644
--- a/models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.json
+++ b/models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.json
@@ -6,6 +6,7 @@
"operational.scaleout": {
"type": "onap.policies.controlloop.operational.common.Drools",
"type_version": "1.0.0",
+ "name": "operational.scaleout",
"metadata": {
"policy-id": "operational.scaleout"
},
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.yaml b/models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.yaml
index 1fe2132df..33adaec29 100644
--- a/models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.yaml
@@ -5,6 +5,7 @@ topology_template:
type: onap.policies.controlloop.operational.common.Drools
type_version: 1.0.0
version: 1.0.0
+ name: operational.scaleout
metadata:
policy-id: operational.scaleout
properties:
diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.json b/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.json
index b4f8ee039..ffb5c25fb 100644
--- a/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.json
+++ b/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.json
@@ -10,6 +10,7 @@
"type": "onap.policies.monitoring.cdap.tca.hi.lo.app",
"type_version": "1.0.0",
"version": "1.0.0",
+ "name": "onap.vfirewall.tca",
"metadata":
{
"policy-id": "onap.vfirewall.tca"
diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.yaml b/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.yaml
index 1468d75ee..7831380f3 100644
--- a/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.yaml
@@ -6,6 +6,7 @@ topology_template:
type: onap.policies.monitoring.cdap.tca.hi.lo.app
type_version: 1.0.0
version: 1.0.0
+ name: onap.vfirewall.tca
metadata:
policy-id: onap.vfirewall.tca
properties:
diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.output.tosca.yaml b/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.output.tosca.yaml
index 496e3147d..c52ddac9d 100644
--- a/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.output.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vFirewall.policy.monitoring.output.tosca.yaml
@@ -6,6 +6,7 @@ topology_template:
type: onap.policy.monitoring.cdap.tca.hi.lo.app
type_version: 1.0.0
version: 1.0.0
+ name: onap.vfirewall.tca
metadata:
policy-id: onap.vfirewall.tca
policy-version: 1
diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json
index 2b41b7dce..d21c763b5 100644
--- a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json
+++ b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json
@@ -7,6 +7,7 @@
"type": "onap.policies.controlloop.operational.common.Drools",
"type_version": "1.0.0",
"version": "1.0.0",
+ "name": "operational.modifyconfig",
"metadata": {
"policy-id": "operational.modifyconfig"
},
diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml
index e96e86a4b..67caf9471 100644
--- a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml
@@ -5,6 +5,7 @@ topology_template:
type: onap.policies.controlloop.operational.common.Drools
type_version: 1.0.0
version: 1.0.0
+ name: operational.modifyconfig
metadata:
policy-id: operational.modifyconfig
properties: