summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/resources/interfaceDefinition/interfaceDefinition-legacy.yaml
blob: 108c43f54751ca2a00b3df588f4b3d1b602d4363 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
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:
        - delegate:
            workflow: workflow1
        - delegate:
            workflow: workflow2
    on_success:
      activities:
        - delegate:
            workflow: workflow1
        - delegate:
            workflow: workflow2
            inputs:
              string:
                testString
              complex:
                jeopardyType: test
                name: name
                eventType: type
                message: message
      filters:
        - my_attribute:
            equal:
              get_attribute:
                - SELF
                - role
        - my_attribute1:
            greaterThan: my_other_value
        - my_attribute2:
            inRange:
              - test1
              - test99
        - my_attribute3:
            validValues:
              - test1
              - test2
              - test3
        - my_attribute4:
            length: 12
        - my_attribute5:
            minLength: 4
    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"