aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml
blob: 8f350edd54a44d4a9eae85435d79af74337e5560 (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
70
71
72
73
74
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
create:
  implementation:
    primary:
      type: tosca.artifacts.asd.deploymentItem
      file: camunda/serviceSelect
      artifact_version: '1'
      properties:
        artifact_type: typeA
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:
        - type: delegate
          workflow: workflow1
        - type: delegate
          workflow: workflow2
    on_success:
      activities:
        - type: delegate
          workflow: workflow1
        - type: delegate
          workflow: workflow2
    on_timeout:
      activities:
        - type: delegate
          workflow: workflow1
        - type: delegate
          workflow: workflow2
stop:
  implementation: "camunda/executeAction"
  inputs:
    action:
      type: org.openecomp.resource.datatypes.Action
delete:
  implementation: "camunda/serviceDeselect"