Adding 'name' to yamls and json in model 20/109120/1
authoraditya.puthuparambil <aditya.puthuparambil@est.tech>
Fri, 12 Jun 2020 15:39:27 +0000 (16:39 +0100)
committeraditya.puthuparambil <aditya.puthuparambil@est.tech>
Fri, 12 Jun 2020 16:17:09 +0000 (17:17 +0100)
Issue-ID: POLICY-2052
Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech>
Change-Id: I3629a2b6f9e93f6d8166e63862d15dd0198865af

53 files changed:
models-examples/src/main/resources/policies/sdnc.policy.naming.input.tosca.yaml
models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json
models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json
models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.yaml
models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json
models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.yaml
models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml
models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.json
models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.yaml
models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.json
models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
models-examples/src/main/resources/policies/vDNS.policy.guard.blacklist.input.tosca.yaml
models-examples/src/main/resources/policies/vDNS.policy.guard.frequencylimiter.input.tosca.yaml
models-examples/src/main/resources/policies/vDNS.policy.guard.minmaxvnfs.input.tosca.yaml
models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.json
models-examples/src/main/resources/policies/vDNS.policy.monitoring.input.tosca.yaml
models-examples/src/main/resources/policies/vDNS.policy.monitoring.output.tosca.yaml
models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.json
models-examples/src/main/resources/policies/vDNS.policy.operational.input.tosca.yaml
models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.json
models-examples/src/main/resources/policies/vDNS.policy.operational.output.tosca.yaml
models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.json
models-examples/src/main/resources/policies/vFirewall.policy.monitoring.input.tosca.yaml
models-examples/src/main/resources/policies/vFirewall.policy.monitoring.output.tosca.yaml
models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json
models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml
models-examples/src/main/resources/policytypes/onap.policies.Naming.yaml
models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml
models-examples/src/main/resources/policytypes/onap.policies.controlloop.Operational.yaml
models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.Common.yaml
models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.common.Blacklist.yaml
models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter.yaml
models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.common.MinMax.yaml
models-examples/src/main/resources/policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml
models-examples/src/main/resources/policytypes/onap.policies.controlloop.operational.Common.yaml
models-examples/src/main/resources/policytypes/onap.policies.controlloop.operational.common.Apex.yaml
models-examples/src/main/resources/policytypes/onap.policies.controlloop.operational.common.Drools.yaml
models-examples/src/main/resources/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app.yaml
models-examples/src/main/resources/policytypes/onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server.yaml
models-examples/src/main/resources/policytypes/onap.policies.native.Apex.yaml
models-examples/src/main/resources/policytypes/onap.policies.native.Drools.yaml
models-examples/src/main/resources/policytypes/onap.policies.native.Xacml.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.Resource.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.Service.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.resource.AffinityPolicy.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.resource.DistancePolicy.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.resource.HpaPolicy.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.resource.OptimizationPolicy.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.resource.PciPolicy.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.resource.Vim_fit.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.resource.VnfPolicy.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.service.QueryPolicy.yaml
models-examples/src/main/resources/policytypes/onap.policies.optimization.service.SubscriberPolicy.yaml

index bb90225..42287c2 100644 (file)
@@ -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:
index f7acf1e..8302ddf 100644 (file)
@@ -3,7 +3,7 @@
     "topology_template": {
         "policies": [
             {
-                "usecases": {
+                "usecases.artifacts": {
                     "type": "onap.policies.native.drools.Artifact",
                     "type_version": "1.0.0",
                     "name": "usecases.artifacts",
index 406d12e..19afd8c 100644 (file)
@@ -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": {
                     "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": {
                     "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
                     "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
                     "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
                     "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
                     "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
                     "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
                     "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
                     "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
                     "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
index d4969eb..5e07915 100644 (file)
@@ -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
index 5690a7b..d8bd4d4 100644 (file)
@@ -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" : {
index 44533e5..51fcd32 100644 (file)
@@ -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
index 4928bbe..51fcd32 100644 (file)
@@ -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
index 06cd617..d5bae5f 100644 (file)
@@ -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",
index 020daa9..700ef6c 100644 (file)
@@ -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
index c57103e..d03b126 100644 (file)
@@ -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
index 1d8927d..b48f492 100644 (file)
@@ -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
index 7cc6bc5..16ed72b 100644 (file)
@@ -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:
index 964e181..6926a68 100644 (file)
@@ -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:
index 4c3afb7..f8bd155 100644 (file)
@@ -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:
index eba46b0..f17f32f 100644 (file)
@@ -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"
index c47c0f3..d2a28f6 100644 (file)
@@ -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:
index d2f07ce..ce37151 100644 (file)
@@ -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
index 5860fe2..b2cf26c 100644 (file)
@@ -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"
                     },
index abe6b21..b1b8ca5 100644 (file)
@@ -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:
index 5c9bbfd..66ce270 100644 (file)
@@ -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"
                     },
index 1fe2132..33adaec 100644 (file)
@@ -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:
index b4f8ee0..ffb5c25 100644 (file)
@@ -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"
index 1468d75..7831380 100644 (file)
@@ -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:
index 496e314..c52ddac 100644 (file)
@@ -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
index 2b41b7d..d21c763 100644 (file)
@@ -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"
                     },
index e96e86a..67caf94 100644 (file)
@@ -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:
index 748e0c0..a444351 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
     onap.policies.Naming:
         derived_from: tosca.policies.Root
         version: 1.0.0
+        name: onap.policies.Naming
         description: Virtual policy node for naming
         properties:
             policy-instance-name:
index 9d91685..55b2061 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.Optimization:
       derived_from: tosca.policies.Root
       version: 1.0.0
+      name: onap.policies.Optimization
       description: The base policy type for all policies that govern optimization
       properties:
          scope:
index 391abb4..f47934d 100644 (file)
@@ -3,4 +3,5 @@ policy_types:
    onap.policies.controlloop.Operational:
       derived_from: tosca.policies.Root
       version: 1.0.0
+      name: onap.policies.controlloop.Operational
       description: Operational Policy for Control Loops Supporting Legacy YAML Policy Definition.
\ No newline at end of file
index b262879..fe4b817 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
     onap.policies.controlloop.guard.Common:
         derived_from: tosca.policies.Root
         version: 1.0.0
+        name: onap.policies.controlloop.guard.Common
         description: |
             This is the base Policy Type for Guard policies that guard the execution of Operational
             Policies.
index 0456f43..2c6e6e4 100644 (file)
@@ -4,6 +4,7 @@ policy_types:
         derived_from: onap.policies.controlloop.guard.Common
         type_version: 1.0.0
         version: 1.0.0
+        name: onap.policies.controlloop.guard.common.Blacklist
         description: Supports blacklist of entity id's from performing control loop actions on.
         properties:
             blacklist:
index bda3e4c..dadef6f 100644 (file)
@@ -4,6 +4,7 @@ policy_types:
         derived_from: onap.policies.controlloop.guard.Common
         type_version: 1.0.0
         version: 1.0.0
+        name: onap.policies.controlloop.guard.common.FrequencyLimiter
         description: Supports limiting the frequency of actions being taken by a Actor.
         properties:
             timeWindow:
index fb376d4..5c76891 100644 (file)
@@ -4,6 +4,7 @@ policy_types:
         derived_from: onap.policies.controlloop.guard.Common
         type_version: 1.0.0
         version: 1.0.0
+        name: onap.policies.controlloop.guard.common.MinMax
         description: |
             Supports Min/Max number of entity for scaling operations. Although min and max fields are marked as not
             required, you need to have at least one or the other.
index 936cc65..ca2a402 100644 (file)
@@ -3,14 +3,17 @@ policy_types:
    onap.policies.controlloop.Guard:
       derived_from: tosca.policies.Root
       version: 1.0.0
+      name: onap.policies.controlloop.Guard
       description: Guard Policies for Control Loop Operational Policies
    onap.policies.controlloop.guard.Coordination:
       derived_from: onap.policies.controlloop.Guard
       version: 1.0.0
+      name: onap.policies.controlloop.guard.Coordination
       description: Guard Policies for Control Loop Coordination
    onap.policies.controlloop.guard.coordination.FirstBlocksSecond:
       derived_from: onap.policies.controlloop.guard.Coordination
       version: 1.0.0
+      name: onap.policies.controlloop.guard.coordination.FirstBlocksSecond
       description: Supports one Control Loop blocking another
       properties:
          controlLoop:
index 2d7de06..fe6f974 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
     onap.policies.controlloop.operational.Common:
         derived_from: tosca.policies.Root
         version: 1.0.0
+        name: onap.policies.controlloop.operational.Common
         description: |
             Operational Policy for Control Loop execution. Originated in Frankfurt to support TOSCA Compliant
             Policy Types. This does NOT support the legacy Policy YAML policy type.
index 5303f56..54b69c2 100644 (file)
@@ -4,6 +4,7 @@ policy_types:
         derived_from: onap.policies.controlloop.operational.Common
         type_version: 1.0.0
         version: 1.0.0
+        name: onap.policies.controlloop.operational.common.Apex
         description: Operational policies for Apex PDP
         properties:
             engineServiceParameters:
index acdecc2..69d73db 100644 (file)
@@ -4,6 +4,7 @@ policy_types:
         derived_from: onap.policies.controlloop.operational.Common
         type_version: 1.0.0
         version: 1.0.0
+        name: onap.policies.controlloop.operational.common.Drools
         description: Operational policies for Drools PDP
         properties:
             controllerName:
index 3c17c90..f614ca4 100644 (file)
@@ -3,10 +3,12 @@ policy_types:
    onap.policies.Monitoring:
       derived_from: tosca.policies.Root
       version: 1.0.0
+      name: onap.policies.Monitoring
       description: a base policy type for all policies that govern monitoring provisioning
    onap.policies.monitoring.cdap.tca.hi.lo.app:
       derived_from: onap.policies.Monitoring
       version: 1.0.0
+      name: onap.policies.monitoring.cdap.tca.hi.lo.app
       properties:
          tca_policy:
             type: onap.datatypes.monitoring.tca_policy
index 98bba9e..f5c1816 100644 (file)
@@ -4,9 +4,11 @@ policy_types:
       derived_from: tosca.policies.Root
       description: a base policy type for all policies that govern monitoring provisioning
       version: 1.0.0
+      name: onap.policies.Monitoring
    onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server:
       derived_from: onap.policies.Monitoring
       version: 1.0.0
+      name: onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server
       properties:
          buscontroller_feed_publishing_endpoint:
             type: string
index 75533ed..9a17ece 100644 (file)
@@ -4,10 +4,12 @@ policy_types:
         derived_from: tosca.policies.Root
         description: a base policy type for all native PDP policies
         version: 1.0.0
+        name: onap.policies.Native
     onap.policies.native.Apex:
         derived_from: onap.policies.Native
         description: a policy type for native apex policies
         version: 1.0.0
+        name: onap.policies.native.Apex
         properties:
             engine_service:
                 type: onap.datatypes.native.apex.EngineService
index 38b18cf..382999f 100644 (file)
@@ -4,14 +4,17 @@ policy_types:
         derived_from: tosca.policies.Root
         description: a base policy type for all native PDP policies
         version: 1.0.0
+        name: onap.policies.Native
     onap.policies.native.Drools:
         derived_from: onap.policies.Native
         description: a base policy type for all native PDP policies
         version: 1.0.0
+        name: onap.policies.native.Drools
     onap.policies.native.drools.Controller:
         derived_from: onap.policies.native.Drools
         description: a policy type for a drools controller configuration
         version: 1.0.0
+        name: onap.policies.native.drools.Controller
         properties:
             controllerName:
                 type: string
@@ -39,6 +42,7 @@ policy_types:
         derived_from: onap.policies.native.Drools
         description: a policy type for native drools artifact policies
         version: 1.0.0
+        name: onap.policies.native.drools.Artifact
         properties:
             rulesArtifact:
                 type: onap.datatypes.native.rules_artifact
index 415735d..4eefa4e 100644 (file)
@@ -4,10 +4,12 @@ policy_types:
         derived_from: tosca.policies.Root
         description: a base policy type for all native PDP policies
         version: 1.0.0
+        name: onap.policies.Native
     onap.policies.native.Xacml:
         derived_from: onap.policies.Native
         description: a policy type for native xacml policies
         version: 1.0.0
+        name: onap.policies.native.Xacml
         properties:
             policy:
                 type: string
index 3aaa607..f4879e3 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.optimization.Resource:
       derived_from: onap.policies.Optimization
       version: 1.0.0
+      name: onap.policies.optimization.Resource
       description: The base policy type for all policies that govern optimization for a Resource in a Service.
       properties:
          services:
index 67f7dd6..69d86df 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.optimization.Service:
       derived_from: onap.policies.Optimization
       version: 1.0.0
+      name: onap.policies.optimization.Service
       description: The base policy type for all policies that govern optimization for a Service.
       properties:
          services:
@@ -12,4 +13,4 @@ policy_types:
                matchable: true
             required: true
             entry_schema:
-               type: string               
\ No newline at end of file
+               type: string
\ No newline at end of file
index 3fb8525..b01a145 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.optimization.resource.AffinityPolicy:
       derived_from: onap.policies.optimization.Resource
       version: 1.0.0
+      name: onap.policies.optimization.resource.AffinityPolicy
       properties:
          applicableResources:
             type: list
index 196ba9e..d677366 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.optimization.resource.DistancePolicy:
       derived_from: onap.policies.optimization.Resource
       version: 1.0.0
+      name: onap.policies.optimization.resource.DistancePolicy
       properties:
          applicableResources:
             type: list
index 0c82833..d3ed97e 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.optimization.resource.HpaPolicy:
       derived_from: onap.policies.optimization.Resource
       version: 1.0.0
+      name: onap.policies.optimization.resource.HpaPolicy
       properties:
          flavorFeatures:
             type: list
index fae050b..1ef7480 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.optimization.resource.OptimizationPolicy:
       derived_from: onap.policies.optimization.Resource
       version: 1.0.0
+      name: onap.policies.optimization.resource.OptimizationPolicy
       properties:
          objective:
             type: list
index 021cff9..4e672df 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.optimization.resource.PciPolicy:
       derived_from: onap.policies.optimization.Resource
       version: 1.0.0
+      name: onap.policies.optimization.resource.PciPolicy
       properties:
          pciProperties:
             type: list
index 6ba2ae1..6054cd4 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.optimization.resource.Vim_fit:
       derived_from: onap.policies.optimization.Resource
       version: 1.0.0
+      name: onap.policies.optimization.resource.Vim_fit
       properties:
          applicableResources:
             type: list
index 1c7d3b6..4f4e404 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.optimization.resource.VnfPolicy:
       derived_from: onap.policies.optimization.Resource
       version: 1.0.0
+      name: onap.policies.optimization.resource.VnfPolicy
       properties:
          applicableResources:
             type: list
index 2a615ab..97af745 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
    onap.policies.optimization.service.QueryPolicy:
       derived_from: onap.policies.optimization.Service
       version: 1.0.0
+      name: onap.policies.optimization.service.QueryPolicy
       properties:
          queryProperties:
             type: list
index 60da742..f128aca 100644 (file)
@@ -3,6 +3,7 @@ policy_types:
     onap.policies.optimization.service.SubscriberPolicy:
         derived_from: onap.policies.optimization.Service
         version: 1.0.0
+        name: onap.policies.optimization.service.SubscriberPolicy
         properties:
             subscriberProperties:
                 type: policy.data.subscriberProperties_properties