blob: b28f49955d19e0ce3932823a6a712c18cab7fff1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
TOSCA templates used to test custom datatypes.
imports:
- custom_datatype_def.yaml
topology_template:
node_templates:
# 123456789 is not a string
error in nested datatype:
type: tosca.nodes.my.SomeNode
properties:
people:
name: Mike
gender: male
addresses: {Home: 1 foo street, Office: 9 bar avenue}
contacts:
- {contact_name: Tom,
contact_email: tom@email.com,
contact_phone: 123456789}
- {contact_name: Jerry,
contact_email: jerry@email.com,
contact_phone: '321654987'}
|