TOSCA Compliant Guard Policies
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.Optimization.yaml
index 49470ba..9d91685 100644 (file)
@@ -1,4 +1,4 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
+tosca_definitions_version: tosca_simple_yaml_1_1_0
 policy_types:
    onap.policies.Optimization:
       derived_from: tosca.policies.Root
@@ -8,26 +8,16 @@ policy_types:
          scope:
             description: Scope for the policy - could be for a specific release.
             type: list
-            matchable: true
-            required: true
-         services:
-            description: One or more services that the policy applies to.
-            type: list
-            matchable: true
-            required: true
-            entry_schema:
-               type: string
-         resources:
-            description: One or more VNF resources that the policy applies to.
-            type: list
-            matchable: true
+            metadata:
+               matchable: true
             required: true
             entry_schema:
                type: string
          geography:
             description: One or more geographic regions
             type: list
-            matchable: true
+            metadata:
+               matchable: true
             required: true
             entry_schema:
                type: string