summaryrefslogtreecommitdiffstats
path: root/common-be/src/test/resources/toscaFunctionJsonDeserializer/yamlFunction.json
blob: dfe63f00f4969620986c36d3d3aab7fb1859e93e (plain)
1
2
3
4
{
  "type": "YAML",
  "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"
}