summaryrefslogtreecommitdiffstats
path: root/javatoscachecker/checker/src/test/resources/spec/node_types/node_type_with_user_defined_properties.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'javatoscachecker/checker/src/test/resources/spec/node_types/node_type_with_user_defined_properties.yaml')
-rw-r--r--javatoscachecker/checker/src/test/resources/spec/node_types/node_type_with_user_defined_properties.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/javatoscachecker/checker/src/test/resources/spec/node_types/node_type_with_user_defined_properties.yaml b/javatoscachecker/checker/src/test/resources/spec/node_types/node_type_with_user_defined_properties.yaml
new file mode 100644
index 0000000..752a973
--- /dev/null
+++ b/javatoscachecker/checker/src/test/resources/spec/node_types/node_type_with_user_defined_properties.yaml
@@ -0,0 +1,29 @@
+tosca_definitions_version: tosca_simple_yaml_1_1
+description: defines a property of a user defined data type
+
+metadata:
+ outcome: "success"
+
+imports:
+ - basic: "spec/node_types/node_type_basic.yaml"
+
+data_types:
+ org.onap.tosca.checker.SmartHouseSupport:
+ properties:
+ alexaSupport:
+ type: boolean
+ default: false
+ homekitSuppport:
+ type: boolean
+ default: false
+ googlehomeSupport:
+ type: boolean
+ default: false
+
+node_types:
+ org.onap.tosca.checker.SmartAppliance:
+ derived_from: org.onap.tosca.checker.Appliance
+ properties:
+ environmentSupport:
+ type: org.onap.tosca.checker.SmartHouseSupport
+