summaryrefslogtreecommitdiffstats
path: root/common/onap-tosca-datatype/src/test/resources/mock/nodeTemplate/interfaceDefinitionForUpdResult.yaml
blob: 2782a44a0b6d3b5a4531c7f15c521ef0ffc8507a (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
38
39
40
41
42
43
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"]
        newInterface:
          inputs:
            newInput: myVal
          oper1:
            implementation:
              primary: myWf.json