summaryrefslogtreecommitdiffstats
path: root/javatoscachecker/checker/src/test/resources/spec/examples/spec-example-5.3.2.2.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'javatoscachecker/checker/src/test/resources/spec/examples/spec-example-5.3.2.2.yaml')
-rw-r--r--javatoscachecker/checker/src/test/resources/spec/examples/spec-example-5.3.2.2.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/javatoscachecker/checker/src/test/resources/spec/examples/spec-example-5.3.2.2.yaml b/javatoscachecker/checker/src/test/resources/spec/examples/spec-example-5.3.2.2.yaml
new file mode 100644
index 0000000..65f0aea
--- /dev/null
+++ b/javatoscachecker/checker/src/test/resources/spec/examples/spec-example-5.3.2.2.yaml
@@ -0,0 +1,27 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+description: expected to fail as this redeclares a common type (and the checker provides them by default)
+
+metadata:
+ outcome: "fail"
+
+data_types:
+
+ tosca.datatypes.Credential:
+ derived_from: tosca.datatypes.Root
+ properties:
+ protocol:
+ type: string
+ required: false
+ token_type:
+ type: string
+ default: password
+ token:
+ type: string
+ keys:
+ type: map
+ required: false
+ entry_schema:
+ type: string
+ user:
+ type: string
+ required: false