summaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/tosca-with-constraints.yaml
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-04-26 14:04:20 +0200
committersebdet <sebastien.determe@intl.att.com>2021-04-26 15:12:08 +0200
commit4423d367c47d818493fbad627a43ba68f87d15f2 (patch)
tree77c5deabfa27dccd74f70ed0d45b7a77a9c56778 /src/test/resources/tosca/tosca-with-constraints.yaml
parent48a2a182fe73768af38774df3596719ed2b087a1 (diff)
Remove dead code
Remove dead code due to change done to add tosca file to PEF directly. Issue-ID: POLICY-3229 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I4e48fd5401e304b131406b739268134dd7e7997f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/test/resources/tosca/tosca-with-constraints.yaml')
-rw-r--r--src/test/resources/tosca/tosca-with-constraints.yaml54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/test/resources/tosca/tosca-with-constraints.yaml b/src/test/resources/tosca/tosca-with-constraints.yaml
deleted file mode 100644
index 959bc483b..000000000
--- a/src/test/resources/tosca/tosca-with-constraints.yaml
+++ /dev/null
@@ -1,54 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-policy_types:
- onap.policies.Monitoring:
- derived_from: tosca.policies.Root
- description: a base policy type for all policies that governs monitoring provisioning
- onap.policies.monitoring.example.app:
- derived_from: onap.policies.Monitoring
- version: 1.0.0
- properties:
- example_policy:
- type: map
- description: Properties with constraints
- entry_schema:
- type: onap.datatypes.monitoring.example_policy
-data_types:
- onap.datatypes.monitoring.example_policy:
- derived_from: tosca.datatypes.Root
- properties:
- cpus:
- type: string
- required: true
- default: 1
- constraints:
- - in_range: [ 1, 4 ]
- ports:
- type: integer
- constraints:
- - in_range: [ 9000, 9010 ]
- memSize:
- type: integer
- required: true
- description: memory size
- constraints:
- - greater_or_equal: 2
- - less_or_equal: 10
- appPassword:
- type: string
- description: application password
- constraints:
- - min_length: 6
- - max_length: 10
- cost:
- type: float
- constraints:
- - less_than: 100.50
- - greater_than: 50.50
- algorithm:
- type: string
- constraints:
- - equal: aes
- keylength:
- type: integer
- constraints:
- - valid_values: [ 128, 256 ]