7daba75d5e3e78a69fdff32bcbef0a810ee20331
[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         - type: delegate
53           workflow: workflow1
54         - type: delegate
55           workflow: workflow2
56     on_success:
57       activities:
58         - type: delegate
59           workflow: workflow1
60         - type: delegate
61           workflow: workflow2
62           inputs:
63             string:
64               type: string
65               value: testString
66             complex:
67               type: tosca.datatypes.nfv.VirtualCpu
68               value:
69                 virtual_cpu_oversubscription_policy: pol
70                 cpu_architecture: cpu
71                 virtual_cpu_clock: 27Hz
72                 vdu_cpu_requirements:
73                   'k1': 'v1'
74                   'k2': 'v2'
75                 virtual_cpu_pinning:
76                   virtual_cpu_pinning_policy: pol
77                   virtual_cpu_pinning_rule:
78                     - 1
79                     - 2
80     on_timeout:
81       activities:
82         - type: delegate
83           workflow: workflow1
84         - type: delegate
85           workflow: workflow2
86 stop:
87   implementation: "camunda/executeAction"
88   inputs:
89     action:
90       type: org.openecomp.resource.datatypes.Action
91 delete:
92   implementation: "camunda/serviceDeselect"