summaryrefslogtreecommitdiffstats
path: root/javatoscachecker/checker/src/test/resources/spec/data_types/user_defined_with_unknown_supertype.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'javatoscachecker/checker/src/test/resources/spec/data_types/user_defined_with_unknown_supertype.yaml')
-rw-r--r--javatoscachecker/checker/src/test/resources/spec/data_types/user_defined_with_unknown_supertype.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/javatoscachecker/checker/src/test/resources/spec/data_types/user_defined_with_unknown_supertype.yaml b/javatoscachecker/checker/src/test/resources/spec/data_types/user_defined_with_unknown_supertype.yaml
new file mode 100644
index 0000000..483dd70
--- /dev/null
+++ b/javatoscachecker/checker/src/test/resources/spec/data_types/user_defined_with_unknown_supertype.yaml
@@ -0,0 +1,27 @@
+tosca_definitions_version: tosca_simple_yaml_1_1
+
+metadata:
+ outcome: "fail"
+ error: ""
+
+data_types:
+ org.onap.tosca.checker.SomeDataType:
+ derived_from: tosca.datatypes.Rooter
+ properties:
+ firstName:
+ type: string
+ required: true
+ lastName:
+ type: string
+ required: true
+ streetNo:
+ type: integer
+ required: true
+ streetName:
+ type: string
+ required: true
+ state:
+ type: string
+ constraints:
+ - valid_values: [AK,AL,AR,AZ,CA,CO,CT,DE,FL,GA,HI,IA,ID,IL,IN,KS,KY,LA,MA,MD,ME,MI,MN,MO,MS,MT,NC,ND,NE,NH,NJ,NM,NV,NY,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VA,VT,WA,WI,WV,WY]
+