[SDC-29] rebase continue work to align source
[sdc.git] / test-apis-ci / src / test / resources / CI / tests / importToscaResourceByCreateUrl / importAttributeSuccessFlow.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 node_types: 
3   org.openecomp.resource.MyComputeTest:
4     derived_from: tosca.nodes.Root
5     properties:
6       myProp:
7         type: tosca.datatypes.Credential
8         descritpion: hey Desc
9         default: 
10           "protocol" : hey1
11           "token_type" : hey2
12           "token" : hey3
13           "keys" : {"keyA" : "val1" , keyB : val2}
14           "user" : hey4
15     attributes:
16       private_address:
17         type: string
18         status: supported
19         default: myDefault
20       public_address:
21         type: string
22       networks:
23         type: map
24         default: {keyA : val1 , keyB : val2}
25         entry_schema:
26           type: string
27       ports:
28         type: tosca.datatypes.Credential
29         description: this is my description
30         default:
31           "protocol" : hey1
32           "token_type" : hey2
33           "token" : hey3
34           "keys" : {"keyA" : "val1" , keyB : val2}
35           "user" : hey4
36     requirements:
37       - local_storage: 
38           capability: tosca.capabilities.Attachment
39           node: tosca.nodes.BlockStorage
40           relationship: tosca.relationships.AttachesTo
41           occurrences: [0, UNBOUNDED]  
42     capabilities:
43       host: 
44         type: tosca.capabilities.Container
45         valid_source_types: [tosca.nodes.SoftwareComponent] 
46       endpoint :
47         type: tosca.capabilities.Endpoint.Admin 
48       os: 
49         type: tosca.capabilities.OperatingSystem
50       scalable:
51         type: tosca.capabilities.Scalable
52       binding:
53         type: tosca.capabilities.network.Bindable