summaryrefslogtreecommitdiffstats
path: root/models-tosca/src/test/resources/onap.policies.NoVersion.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'models-tosca/src/test/resources/onap.policies.NoVersion.yaml')
-rw-r--r--models-tosca/src/test/resources/onap.policies.NoVersion.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/models-tosca/src/test/resources/onap.policies.NoVersion.yaml b/models-tosca/src/test/resources/onap.policies.NoVersion.yaml
new file mode 100644
index 000000000..7d1262b7d
--- /dev/null
+++ b/models-tosca/src/test/resources/onap.policies.NoVersion.yaml
@@ -0,0 +1,30 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+policy_types:
+ onap.policies.NoVersion:
+ derived_from: onap.policies.Optimization
+ properties:
+ applicableResources:
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ constraints:
+ - valid_values:
+ - any
+ - all
+ affinityProperties:
+ type: policy.data.affinityProperties_properties
+ required: true
+data_types:
+ policy.data.affinityProperties_properties:
+ derived_from: tosca.nodes.Root
+ properties:
+ qualifier:
+ type: string
+ constraints:
+ - valid_values:
+ - same
+ - different
+ category:
+ type: string
+ required: true \ No newline at end of file