summaryrefslogtreecommitdiffstats
path: root/common/onap-tosca-datatype/src/test/resources/mock/nodeTemplate/normalizeInterfaceDefinition.yaml
blob: 5f91e1e39ffa314a8edb2ec5111f186d248d2f7b (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
26
27
28
29
30
31
32
33
34
35
36
37
tosca_definitions_version: tosca_simple_yaml_1_0_0

node_types:
  amdocs.nodes.nodeInterface:
    derived_from: tosca.nodes.Root
    properties:
      prop1:
        type: string
        required: true
    interfaces:
      Standard:
        type: tosca.interfaces.node.lifecycle.Standard
        inputs:
          url_path:
            type: string
        create:
          inputs:
            name:
              type: string

topology_template:
  description: topology template descroption
  node_templates:
    nodeWithInterface:
      type: amdocs.nodes.nodeInterface
      properties:
        prop1: abcd
      interfaces:
        Standard:
          inputs:
            url_path: { get_property: [ SELF, prop1 ] }
          create:
            implementation:
              primary: Artifacts/Deployment/WORKFLOW/nodeCreateWorkFlow.json
            inputs:
              name: myName
              last: ["a","b"]