Support a custom yaml value in tosca function
[sdc.git] / common-be / src / test / resources / toscaFunctionJsonDeserializer / yamlFunction.json
1 {
2   "type": "YAML",
3   "value": "tosca_definitions_version: tosca_simple_yaml_1_0_0\nnode_types: \n  tosca.nodes.Compute:\n    derived_from: tosca.nodes.Root\n    attributes:\n      private_address:\n        type: string\n      public_address:\n        type: string\n      networks:\n        type: map\n        entry_schema:\n          type: tosca.datatypes.network.NetworkInfo\n      ports:\n        type: map\n        entry_schema:\n          type: tosca.datatypes.network.PortInfo\n    requirements:\n      - local_storage: \n          capability: tosca.capabilities.Attachment\n          node: tosca.nodes.BlockStorage\n          relationship: tosca.relationships.AttachesTo\n          occurrences: [0, UNBOUNDED]  \n    capabilities:\n      host: \n        type: tosca.capabilities.Container\n        valid_source_types: [tosca.nodes.SoftwareComponent] \n      endpoint :\n        type: tosca.capabilities.Endpoint.Admin \n      os: \n        type: tosca.capabilities.OperatingSystem\n      scalable:\n        type: tosca.capabilities.Scalable\n      binding:\n        type: tosca.capabilities.network.Bindable\n"
4 }