aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-tosca1.3.yaml
blob: 0eb1db33a97fd695d91d8e492a2b6dea46153fd8 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
inputs:
  stringInput:
    type: string
    description: stringInput description
    required: true
    default: defaultValue
    status: aStatus
  actionInput:
    type: org.openecomp.resource.datatypes.Action
type: tosca.interfaces.node.lifecycle.Standard
operations:
  create:
    implementation: "camunda/serviceSelect"
  start:
    implementation: "camunda/executeAction"
    inputs:
      action:
        type: org.openecomp.resource.datatypes.Action
      stringInput:
        type: string
        default: this is a string
      booleanInput:
        type: boolean
        default: true
      integerInput:
        type: integer
        description: an integer
        status: supported
        required: true
        default: 11
      floatInput:
        type: float
        required: false
        default: 11.1
      complexInput:
        type: onap.datatypes.partner.access_details
        status: experimental
        default:
          dsl_stability_profile: dsl_stability_profile_value
          central_splitter: false
          service_restoration_sla: service_restoration_sla_value
          battery_backup: true
          partner_priorty_assist: false
    milestones:
      on_failure:
        activities:
          - delegate:
              workflow: workflow1
          - delegate:
              workflow: workflow2
      on_success:
        activities:
          - delegate:
              workflow: workflow1
          - delegate:
              workflow: workflow2
      on_timeout:
        activities:
          - delegate:
              workflow: workflow1
          - delegate:
              workflow: workflow2
  stop:
    implementation: "camunda/executeAction"
    inputs:
      action:
        type: org.openecomp.resource.datatypes.Action
  delete:
    implementation: "camunda/serviceDeselect"