Milestone import support
[sdc.git] / catalog-be / src / test / resources / interfaceDefinition / interfaceDefinition-legacy.yaml
1 inputs:
2   stringInput:
3     type: string
4     description: stringInput description
5     required: true
6     default: defaultValue
7     status: aStatus
8   actionInput:
9     type: org.openecomp.resource.datatypes.Action
10 type: tosca.interfaces.node.lifecycle.Standard
11 create:
12   implementation:
13     primary:
14       type: tosca.artifacts.asd.deploymentItem
15       file: camunda/serviceSelect
16       artifact_version: '1'
17       properties:
18         artifact_type: typeA
19 start:
20   implementation: "camunda/executeAction"
21   inputs:
22     action:
23       type: org.openecomp.resource.datatypes.Action
24     stringInput:
25       type: string
26       default: this is a string
27     booleanInput:
28       type: boolean
29       default: true
30     integerInput:
31       type: integer
32       description: an integer
33       status: supported
34       required: true
35       default: 11
36     floatInput:
37       type: float
38       required: false
39       default: 11.1
40     complexInput:
41       type: onap.datatypes.partner.access_details
42       status: experimental
43       default:
44         dsl_stability_profile: dsl_stability_profile_value
45         central_splitter: false
46         service_restoration_sla: service_restoration_sla_value
47         battery_backup: true
48         partner_priorty_assist: false
49   milestones:
50     on_failure:
51       activities:
52         - delegate:
53             workflow: workflow1
54         - delegate:
55             workflow: workflow2
56     on_success:
57       activities:
58         - delegate:
59             workflow: workflow1
60         - delegate:
61             workflow: workflow2
62             inputs:
63               string:
64                 testString
65               complex:
66                 jeopardyType: test
67                 name: name
68                 eventType: type
69                 message: message
70       filters:
71         - my_attribute:
72             equal:
73               get_attribute:
74                 - SELF
75                 - role
76         - my_attribute1:
77             greaterThan: my_other_value
78         - my_attribute2:
79             inRange:
80               - test1
81               - test99
82         - my_attribute3:
83             validValues:
84               - test1
85               - test2
86               - test3
87         - my_attribute4:
88             length: 12
89         - my_attribute5:
90             minLength: 4
91     on_timeout:
92       activities:
93         - delegate:
94             workflow: workflow1
95         - delegate:
96             workflow: workflow2
97 stop:
98   implementation: "camunda/executeAction"
99   inputs:
100     action:
101       type: org.openecomp.resource.datatypes.Action
102 delete:
103   implementation: "camunda/serviceDeselect"